@todesktop/shared 7.195.0 → 7.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/lib/cjs/base.d.ts +22 -1
- package/lib/cjs/desktopify.d.ts +1 -0
- package/lib/cjs/desktopify.js +1 -0
- package/lib/esm/base.d.ts +22 -1
- package/lib/esm/desktopify.d.ts +1 -0
- package/lib/esm/desktopify.js +1 -0
- package/package.json +2 -1
- package/src/base.ts +23 -1
- package/src/desktopify.ts +1 -0
package/CHANGELOG.md
CHANGED
package/lib/cjs/base.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export interface IAppMeta {
|
|
|
60
60
|
shouldCodeSign?: boolean;
|
|
61
61
|
shouldRelease?: boolean;
|
|
62
62
|
shouldSendCompletionEmail?: boolean;
|
|
63
|
+
source?: 'security-update';
|
|
63
64
|
sourceArchiveDetails?: {
|
|
64
65
|
bucket: string;
|
|
65
66
|
hash?: string;
|
|
@@ -102,6 +103,24 @@ export interface IAppMeta {
|
|
|
102
103
|
tempHSMCertName: string;
|
|
103
104
|
};
|
|
104
105
|
}
|
|
106
|
+
export interface ElectronFuses {
|
|
107
|
+
/** Controls whether the cookie store on disk is encrypted using OS-level cryptography. Default: false (disabled). */
|
|
108
|
+
enableCookieEncryption?: boolean;
|
|
109
|
+
/** Controls whether Electron validates the integrity of the app.asar file. Default: false (disabled). */
|
|
110
|
+
enableEmbeddedAsarIntegrityValidation?: boolean;
|
|
111
|
+
/** Controls whether command line arguments like --inspect are respected. Default: true (enabled). */
|
|
112
|
+
enableNodeCliInspectArguments?: boolean;
|
|
113
|
+
/** Controls whether the NODE_OPTIONS environment variable is respected. Default: true (enabled). */
|
|
114
|
+
enableNodeOptionsEnvironmentVariable?: boolean;
|
|
115
|
+
/** Controls whether pages loaded via file:// protocol get extra privileges. Requires Electron 29+. Default: true (enabled). */
|
|
116
|
+
grantFileProtocolExtraPrivileges?: boolean;
|
|
117
|
+
/** Controls whether the browser process uses a V8 snapshot file. Default: false (disabled). */
|
|
118
|
+
loadBrowserProcessSpecificV8Snapshot?: boolean;
|
|
119
|
+
/** Controls whether Electron only loads the app from an asar archive. Default: false (disabled). */
|
|
120
|
+
onlyLoadAppFromAsar?: boolean;
|
|
121
|
+
/** Controls whether the ELECTRON_RUN_AS_NODE environment variable is respected. Default: true (enabled). */
|
|
122
|
+
runAsNode?: boolean;
|
|
123
|
+
}
|
|
105
124
|
export interface ToDesktopJson {
|
|
106
125
|
appBuilderLibVersion?: string;
|
|
107
126
|
appFiles?: string[];
|
|
@@ -112,6 +131,7 @@ export interface ToDesktopJson {
|
|
|
112
131
|
asarUnpack?: boolean | string[];
|
|
113
132
|
bucket?: string;
|
|
114
133
|
buildVersion?: string;
|
|
134
|
+
bunVersion?: string;
|
|
115
135
|
bytenode?: {
|
|
116
136
|
enabled?: boolean;
|
|
117
137
|
files?: string[];
|
|
@@ -133,6 +153,7 @@ export interface ToDesktopJson {
|
|
|
133
153
|
extraResources?: ExtraFileReference[];
|
|
134
154
|
fileAssociations?: IAppBuilderLib['config']['fileAssociations'];
|
|
135
155
|
filesForDistribution?: string[];
|
|
156
|
+
fuses?: ElectronFuses;
|
|
136
157
|
icon: FilePath;
|
|
137
158
|
id: string;
|
|
138
159
|
includeSubNodeModules?: boolean;
|
|
@@ -163,7 +184,7 @@ export interface ToDesktopJson {
|
|
|
163
184
|
};
|
|
164
185
|
nodeVersion?: string;
|
|
165
186
|
npmVersion?: string;
|
|
166
|
-
packageManager?: 'npm' | 'pnpm' | 'yarn';
|
|
187
|
+
packageManager?: 'bun' | 'npm' | 'pnpm' | 'yarn';
|
|
167
188
|
pnpmVersion?: string;
|
|
168
189
|
productName?: string;
|
|
169
190
|
rebuildLibrary?: '@electron/rebuild' | 'app-builder';
|
package/lib/cjs/desktopify.d.ts
CHANGED
package/lib/cjs/desktopify.js
CHANGED
|
@@ -9,6 +9,7 @@ var PlatformName;
|
|
|
9
9
|
})(PlatformName || (exports.PlatformName = PlatformName = {}));
|
|
10
10
|
var PackageManager;
|
|
11
11
|
(function (PackageManager) {
|
|
12
|
+
PackageManager["bun"] = "bun";
|
|
12
13
|
PackageManager["npm"] = "npm";
|
|
13
14
|
PackageManager["pnpm"] = "pnpm";
|
|
14
15
|
PackageManager["yarn"] = "yarn";
|
package/lib/esm/base.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export interface IAppMeta {
|
|
|
60
60
|
shouldCodeSign?: boolean;
|
|
61
61
|
shouldRelease?: boolean;
|
|
62
62
|
shouldSendCompletionEmail?: boolean;
|
|
63
|
+
source?: 'security-update';
|
|
63
64
|
sourceArchiveDetails?: {
|
|
64
65
|
bucket: string;
|
|
65
66
|
hash?: string;
|
|
@@ -102,6 +103,24 @@ export interface IAppMeta {
|
|
|
102
103
|
tempHSMCertName: string;
|
|
103
104
|
};
|
|
104
105
|
}
|
|
106
|
+
export interface ElectronFuses {
|
|
107
|
+
/** Controls whether the cookie store on disk is encrypted using OS-level cryptography. Default: false (disabled). */
|
|
108
|
+
enableCookieEncryption?: boolean;
|
|
109
|
+
/** Controls whether Electron validates the integrity of the app.asar file. Default: false (disabled). */
|
|
110
|
+
enableEmbeddedAsarIntegrityValidation?: boolean;
|
|
111
|
+
/** Controls whether command line arguments like --inspect are respected. Default: true (enabled). */
|
|
112
|
+
enableNodeCliInspectArguments?: boolean;
|
|
113
|
+
/** Controls whether the NODE_OPTIONS environment variable is respected. Default: true (enabled). */
|
|
114
|
+
enableNodeOptionsEnvironmentVariable?: boolean;
|
|
115
|
+
/** Controls whether pages loaded via file:// protocol get extra privileges. Requires Electron 29+. Default: true (enabled). */
|
|
116
|
+
grantFileProtocolExtraPrivileges?: boolean;
|
|
117
|
+
/** Controls whether the browser process uses a V8 snapshot file. Default: false (disabled). */
|
|
118
|
+
loadBrowserProcessSpecificV8Snapshot?: boolean;
|
|
119
|
+
/** Controls whether Electron only loads the app from an asar archive. Default: false (disabled). */
|
|
120
|
+
onlyLoadAppFromAsar?: boolean;
|
|
121
|
+
/** Controls whether the ELECTRON_RUN_AS_NODE environment variable is respected. Default: true (enabled). */
|
|
122
|
+
runAsNode?: boolean;
|
|
123
|
+
}
|
|
105
124
|
export interface ToDesktopJson {
|
|
106
125
|
appBuilderLibVersion?: string;
|
|
107
126
|
appFiles?: string[];
|
|
@@ -112,6 +131,7 @@ export interface ToDesktopJson {
|
|
|
112
131
|
asarUnpack?: boolean | string[];
|
|
113
132
|
bucket?: string;
|
|
114
133
|
buildVersion?: string;
|
|
134
|
+
bunVersion?: string;
|
|
115
135
|
bytenode?: {
|
|
116
136
|
enabled?: boolean;
|
|
117
137
|
files?: string[];
|
|
@@ -133,6 +153,7 @@ export interface ToDesktopJson {
|
|
|
133
153
|
extraResources?: ExtraFileReference[];
|
|
134
154
|
fileAssociations?: IAppBuilderLib['config']['fileAssociations'];
|
|
135
155
|
filesForDistribution?: string[];
|
|
156
|
+
fuses?: ElectronFuses;
|
|
136
157
|
icon: FilePath;
|
|
137
158
|
id: string;
|
|
138
159
|
includeSubNodeModules?: boolean;
|
|
@@ -163,7 +184,7 @@ export interface ToDesktopJson {
|
|
|
163
184
|
};
|
|
164
185
|
nodeVersion?: string;
|
|
165
186
|
npmVersion?: string;
|
|
166
|
-
packageManager?: 'npm' | 'pnpm' | 'yarn';
|
|
187
|
+
packageManager?: 'bun' | 'npm' | 'pnpm' | 'yarn';
|
|
167
188
|
pnpmVersion?: string;
|
|
168
189
|
productName?: string;
|
|
169
190
|
rebuildLibrary?: '@electron/rebuild' | 'app-builder';
|
package/lib/esm/desktopify.d.ts
CHANGED
package/lib/esm/desktopify.js
CHANGED
package/package.json
CHANGED
package/src/base.ts
CHANGED
|
@@ -74,6 +74,7 @@ export interface IAppMeta {
|
|
|
74
74
|
shouldCodeSign?: boolean;
|
|
75
75
|
shouldRelease?: boolean;
|
|
76
76
|
shouldSendCompletionEmail?: boolean;
|
|
77
|
+
source?: 'security-update';
|
|
77
78
|
sourceArchiveDetails?: {
|
|
78
79
|
bucket: string;
|
|
79
80
|
hash?: string;
|
|
@@ -117,6 +118,25 @@ export interface IAppMeta {
|
|
|
117
118
|
};
|
|
118
119
|
}
|
|
119
120
|
|
|
121
|
+
export interface ElectronFuses {
|
|
122
|
+
/** Controls whether the cookie store on disk is encrypted using OS-level cryptography. Default: false (disabled). */
|
|
123
|
+
enableCookieEncryption?: boolean;
|
|
124
|
+
/** Controls whether Electron validates the integrity of the app.asar file. Default: false (disabled). */
|
|
125
|
+
enableEmbeddedAsarIntegrityValidation?: boolean;
|
|
126
|
+
/** Controls whether command line arguments like --inspect are respected. Default: true (enabled). */
|
|
127
|
+
enableNodeCliInspectArguments?: boolean;
|
|
128
|
+
/** Controls whether the NODE_OPTIONS environment variable is respected. Default: true (enabled). */
|
|
129
|
+
enableNodeOptionsEnvironmentVariable?: boolean;
|
|
130
|
+
/** Controls whether pages loaded via file:// protocol get extra privileges. Requires Electron 29+. Default: true (enabled). */
|
|
131
|
+
grantFileProtocolExtraPrivileges?: boolean;
|
|
132
|
+
/** Controls whether the browser process uses a V8 snapshot file. Default: false (disabled). */
|
|
133
|
+
loadBrowserProcessSpecificV8Snapshot?: boolean;
|
|
134
|
+
/** Controls whether Electron only loads the app from an asar archive. Default: false (disabled). */
|
|
135
|
+
onlyLoadAppFromAsar?: boolean;
|
|
136
|
+
/** Controls whether the ELECTRON_RUN_AS_NODE environment variable is respected. Default: true (enabled). */
|
|
137
|
+
runAsNode?: boolean;
|
|
138
|
+
}
|
|
139
|
+
|
|
120
140
|
export interface ToDesktopJson {
|
|
121
141
|
appBuilderLibVersion?: string;
|
|
122
142
|
appFiles?: string[];
|
|
@@ -127,6 +147,7 @@ export interface ToDesktopJson {
|
|
|
127
147
|
asarUnpack?: boolean | string[];
|
|
128
148
|
bucket?: string;
|
|
129
149
|
buildVersion?: string;
|
|
150
|
+
bunVersion?: string;
|
|
130
151
|
bytenode?: {
|
|
131
152
|
enabled?: boolean;
|
|
132
153
|
files?: string[];
|
|
@@ -148,6 +169,7 @@ export interface ToDesktopJson {
|
|
|
148
169
|
extraResources?: ExtraFileReference[];
|
|
149
170
|
fileAssociations?: IAppBuilderLib['config']['fileAssociations'];
|
|
150
171
|
filesForDistribution?: string[];
|
|
172
|
+
fuses?: ElectronFuses;
|
|
151
173
|
icon: FilePath;
|
|
152
174
|
id: string;
|
|
153
175
|
includeSubNodeModules?: boolean;
|
|
@@ -178,7 +200,7 @@ export interface ToDesktopJson {
|
|
|
178
200
|
};
|
|
179
201
|
nodeVersion?: string;
|
|
180
202
|
npmVersion?: string;
|
|
181
|
-
packageManager?: 'npm' | 'pnpm' | 'yarn';
|
|
203
|
+
packageManager?: 'bun' | 'npm' | 'pnpm' | 'yarn';
|
|
182
204
|
pnpmVersion?: string;
|
|
183
205
|
productName?: string;
|
|
184
206
|
rebuildLibrary?: '@electron/rebuild' | 'app-builder';
|