Skip to content

Commit 4fb3ad0

Browse files
authored
Update dependencies (#900)
* [01-empty-app/] [DotnetMauiVue/] Update npm dependencies * [01-empty-app/] [electron/] Update npm dependencies * [01-empty-app/] [neutralinojs/] Updated neutralinojs * [01-empty-app/] [nodegui/] Update npm dependencies * [01-empty-app/] [nw.js/] Update npm dependencies * [01-empty-app/] [tauri/] Update npm dependencies * [01-empty-app/] [tauri/] Update tauri dependencies * [01-empty-app/] [wails/] Update npm dependencies * [02-empty-app-frameless/] [electron/] Update npm dependencies * [02-empty-app-frameless/] [neutralinojs/] Updated neutralinojs * [02-empty-app-frameless/] [nodegui/] Update npm dependencies * [02-empty-app-frameless/] [nw.js/] Update npm dependencies * [02-empty-app-frameless/] [tauri/] Update npm dependencies * [02-empty-app-frameless/] [tauri/] Update tauri dependencies * [02-empty-app-frameless/] [wails/] Update npm dependencies * Update benchmark for 01-empty-app on ubuntu-latest * Update benchmark for 02-empty-app-frameless on ubuntu-latest * Update benchmark for 01-empty-app on windows-latest * Update benchmark for 02-empty-app-frameless on windows-latest * Update benchmark for 01-empty-app on macos-latest * Update benchmark for 02-empty-app-frameless on macos-latest
1 parent 1b43e46 commit 4fb3ad0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+32897
-33077
lines changed

README.md

Lines changed: 46 additions & 46 deletions
Large diffs are not rendered by default.

benchmark/01-empty-app/DotnetMauiVue/vue-project/package-lock.json

Lines changed: 310 additions & 589 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmark/01-empty-app/DotnetMauiVue/vue-project/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@
1111
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
1212
},
1313
"dependencies": {
14-
"pinia": "^2.2.2",
15-
"vue": "^3.4.38",
16-
"vue-router": "^4.4.3"
14+
"pinia": "^2.2.4",
15+
"vue": "^3.5.10",
16+
"vue-router": "^4.4.5"
1717
},
1818
"devDependencies": {
1919
"@dotnet/jsinterop": "^3.1.31",
2020
"@rushstack/eslint-patch": "^1.10.4",
2121
"@types/jsdom": "^21.1.7",
22-
"@types/node": "^22.5.2",
23-
"@vitejs/plugin-vue": "^5.1.3",
22+
"@types/node": "^22.7.4",
23+
"@vitejs/plugin-vue": "^5.1.4",
2424
"@vue/eslint-config-prettier": "^9.0.0",
2525
"@vue/eslint-config-typescript": "^13.0.0",
2626
"@vue/test-utils": "^2.4.6",
2727
"@vue/tsconfig": "^0.5.1",
2828
"eslint": "^8.57.0",
29-
"eslint-plugin-vue": "^9.27.0",
30-
"jsdom": "^25.0.0",
29+
"eslint-plugin-vue": "^9.28.0",
30+
"jsdom": "^25.0.1",
3131
"npm-run-all": "^4.1.5",
3232
"prettier": "^3.3.3",
33-
"typescript": "^5.5.4",
34-
"vite": "^5.4.2",
35-
"vitest": "^2.0.5",
36-
"vue-tsc": "^2.1.4"
33+
"typescript": "^5.6.2",
34+
"vite": "^5.4.8",
35+
"vitest": "^2.1.1",
36+
"vue-tsc": "^2.1.6"
3737
}
3838
}

benchmark/01-empty-app/electron/package-lock.json

Lines changed: 7 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmark/01-empty-app/electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "",
1515
"license": "ISC",
1616
"devDependencies": {
17-
"electron": "^32.0.1",
17+
"electron": "^32.1.2",
1818
"electron-packager": "^17.1.2"
1919
}
2020
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

benchmark/01-empty-app/neutralinojs/neutralino.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"resourcesPath": "/resources/",
7676
"extensionsPath": "/extensions/",
7777
"clientLibrary": "/resources/js/neutralino.js",
78-
"binaryVersion": "5.3.0",
79-
"clientVersion": "5.3.0"
78+
"binaryVersion": "5.4.0",
79+
"clientVersion": "5.4.0"
8080
}
8181
}

benchmark/01-empty-app/neutralinojs/resources/js/neutralino.d.ts

Lines changed: 110 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for Neutralino 5.3.0
1+
// Type definitions for Neutralino 5.4.0
22
// Project: https://github.com/neutralinojs
33
// Definitions project: https://github.com/neutralinojs/neutralino.js
44

@@ -95,30 +95,30 @@ namespace os {
9595
}
9696
//clipboard
9797
enum ClipboardFormat {
98-
unknown = 0,
99-
text = 1,
100-
image = 2
98+
unknown = "unknown",
99+
text = "text",
100+
image = "image"
101101
}
102102
// NL_GLOBALS
103103
enum Mode {
104-
window = 0,
105-
browser = 1,
106-
cloud = 2,
107-
chrome = 3
104+
window = "window",
105+
browser = "browser",
106+
cloud = "cloud",
107+
chrome = "chrome"
108108
}
109109
enum OperatingSystem {
110-
Linux = 0,
111-
Windows = 1,
112-
Darwin = 2,
113-
FreeBSD = 3,
114-
Unknown = 4
110+
Linux = "Linux",
111+
Windows = "Windows",
112+
Darwin = "Darwin",
113+
FreeBSD = "FreeBSD",
114+
Unknown = "Unknown"
115115
}
116116
enum Architecture {
117-
x64 = 0,
118-
arm = 1,
119-
itanium = 2,
120-
ia32 = 3,
121-
unknown = 4
117+
x64 = "x64",
118+
arm = "arm",
119+
itanium = "itanium",
120+
ia32 = "ia32",
121+
unknown = "unknown"
122122
}
123123
interface ExecCommandOptions {
124124
stdIn?: string;
@@ -262,30 +262,30 @@ namespace debug {
262262
}
263263
//clipboard
264264
enum ClipboardFormat {
265-
unknown = 0,
266-
text = 1,
267-
image = 2
265+
unknown = "unknown",
266+
text = "text",
267+
image = "image"
268268
}
269269
// NL_GLOBALS
270270
enum Mode {
271-
window = 0,
272-
browser = 1,
273-
cloud = 2,
274-
chrome = 3
271+
window = "window",
272+
browser = "browser",
273+
cloud = "cloud",
274+
chrome = "chrome"
275275
}
276276
enum OperatingSystem {
277-
Linux = 0,
278-
Windows = 1,
279-
Darwin = 2,
280-
FreeBSD = 3,
281-
Unknown = 4
277+
Linux = "Linux",
278+
Windows = "Windows",
279+
Darwin = "Darwin",
280+
FreeBSD = "FreeBSD",
281+
Unknown = "Unknown"
282282
}
283283
enum Architecture {
284-
x64 = 0,
285-
arm = 1,
286-
itanium = 2,
287-
ia32 = 3,
288-
unknown = 4
284+
x64 = "x64",
285+
arm = "arm",
286+
itanium = "itanium",
287+
ia32 = "ia32",
288+
unknown = "unknown"
289289
}
290290
function log(message: string, type?: LoggerType): Promise<void>;
291291
}
@@ -340,6 +340,8 @@ namespace window {
340340
function unmaximize(): Promise<void>;
341341
function isMaximized(): Promise<boolean>;
342342
function minimize(): Promise<void>;
343+
function unminimize(): Promise<void>;
344+
function isMinimized(): Promise<boolean>;
343345
function setFullScreen(): Promise<void>;
344346
function exitFullScreen(): Promise<void>;
345347
function isFullScreen(): Promise<boolean>;
@@ -350,8 +352,30 @@ namespace window {
350352
function setIcon(icon: string): Promise<void>;
351353
function move(x: number, y: number): Promise<void>;
352354
function center(): Promise<void>;
353-
function setDraggableRegion(domElementOrId: string | HTMLElement): Promise<void>;
354-
function unsetDraggableRegion(domElementOrId: string | HTMLElement): Promise<void>;
355+
type DraggableRegionOptions = {
356+
/**
357+
* If set to `true`, the region will always capture the pointer,
358+
* ensuring dragging doesn't break on fast pointer movement.
359+
* Note that it prevents child elements from receiving any pointer events.
360+
* Defaults to `false`.
361+
*/
362+
alwaysCapture?: boolean;
363+
/**
364+
* Minimum distance between cursor's starting and current position
365+
* after which dragging is started. This helps prevent accidental dragging
366+
* while interacting with child elements.
367+
* Defaults to `10`. (In pixels.)
368+
*/
369+
dragMinDistance?: number;
370+
};
371+
function setDraggableRegion(domElementOrId: string | HTMLElement, options?: DraggableRegionOptions): Promise<{
372+
success: true;
373+
message: string;
374+
}>;
375+
function unsetDraggableRegion(domElementOrId: string | HTMLElement): Promise<{
376+
success: true;
377+
message: string;
378+
}>;
355379
function setSize(options: WindowSizeOptions): Promise<void>;
356380
function getSize(): Promise<WindowSizeOptions>;
357381
function getPosition(): Promise<WindowPosOptions>;
@@ -424,30 +448,30 @@ namespace clipboard {
424448
}
425449
//clipboard
426450
enum ClipboardFormat {
427-
unknown = 0,
428-
text = 1,
429-
image = 2
451+
unknown = "unknown",
452+
text = "text",
453+
image = "image"
430454
}
431455
// NL_GLOBALS
432456
enum Mode {
433-
window = 0,
434-
browser = 1,
435-
cloud = 2,
436-
chrome = 3
457+
window = "window",
458+
browser = "browser",
459+
cloud = "cloud",
460+
chrome = "chrome"
437461
}
438462
enum OperatingSystem {
439-
Linux = 0,
440-
Windows = 1,
441-
Darwin = 2,
442-
FreeBSD = 3,
443-
Unknown = 4
463+
Linux = "Linux",
464+
Windows = "Windows",
465+
Darwin = "Darwin",
466+
FreeBSD = "FreeBSD",
467+
Unknown = "Unknown"
444468
}
445469
enum Architecture {
446-
x64 = 0,
447-
arm = 1,
448-
itanium = 2,
449-
ia32 = 3,
450-
unknown = 4
470+
x64 = "x64",
471+
arm = "arm",
472+
itanium = "itanium",
473+
ia32 = "ia32",
474+
unknown = "unknown"
451475
}
452476
function getFormat(): Promise<ClipboardFormat>;
453477
function readText(): Promise<string>;
@@ -456,6 +480,12 @@ namespace clipboard {
456480
function writeImage(image: ClipboardImage): Promise<void>;
457481
function clear(): Promise<void>;
458482
}
483+
namespace resources {
484+
function getFiles(): Promise<string[]>;
485+
function extractFile(path: string, destination: string): Promise<void>;
486+
function readFile(path: string): Promise<string>;
487+
function readBinaryFile(path: string): Promise<ArrayBuffer>;
488+
}
459489
namespace custom {
460490
function getMethods(): Promise<string[]>;
461491
}
@@ -666,21 +696,21 @@ type Builtin = "ready" | "trayMenuItemClicked" | "windowClose" | "serverOffline"
666696
}
667697

668698
// debug
669-
export enum LoggerType {
699+
enum LoggerType {
670700
WARNING = 'WARNING',
671701
ERROR = 'ERROR',
672702
INFO = 'INFO'
673703
}
674704

675705
// os
676-
export enum Icon {
706+
enum Icon {
677707
WARNING = 'WARNING',
678708
ERROR = 'ERROR',
679709
INFO = 'INFO',
680710
QUESTION = 'QUESTION'
681711
}
682712

683-
export enum MessageBoxChoice {
713+
enum MessageBoxChoice {
684714
OK = 'OK',
685715
OK_CANCEL = 'OK_CANCEL',
686716
YES_NO = 'YES_NO',
@@ -690,43 +720,43 @@ export enum MessageBoxChoice {
690720
}
691721

692722
//clipboard
693-
export enum ClipboardFormat {
694-
unknown,
695-
text,
696-
image
723+
enum ClipboardFormat {
724+
unknown = 'unknown',
725+
text = 'text',
726+
image = 'image'
697727
}
698728

699729
// NL_GLOBALS
700-
export enum Mode {
701-
window,
702-
browser,
703-
cloud,
704-
chrome
730+
enum Mode {
731+
window = 'window',
732+
browser = 'browser',
733+
cloud = 'cloud',
734+
chrome = 'chrome'
705735
}
706736

707-
export enum OperatingSystem {
708-
Linux,
709-
Windows,
710-
Darwin,
711-
FreeBSD,
712-
Unknown
737+
enum OperatingSystem {
738+
Linux = 'Linux',
739+
Windows = 'Windows',
740+
Darwin = 'Darwin',
741+
FreeBSD = 'FreeBSD',
742+
Unknown = 'Unknown'
713743
}
714744

715-
export enum Architecture {
716-
x64,
717-
arm,
718-
itanium,
719-
ia32,
720-
unknown
745+
enum Architecture {
746+
x64 = 'x64',
747+
arm = 'arm',
748+
itanium = 'itanium',
749+
ia32 = 'ia32',
750+
unknown = 'unknown'
721751
}
722752

723753

724-
export interface Response {
754+
interface Response {
725755
success: boolean;
726756
message: string;
727757
}
728758

729-
export type Builtin =
759+
type Builtin =
730760
'ready' |
731761
'trayMenuItemClicked' |
732762
'windowClose' |

0 commit comments

Comments
 (0)