mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-24 19:56:37 +00:00
patch: upgrade etcher-sdk to 9.0.0 and axios to 1.6.0
This commit is contained in:
parent
4ee8055b20
commit
3eea1c48a0
@ -70,14 +70,14 @@ export async function isElevated(): Promise<boolean> {
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return process.geteuid() === UNIX_SUPERUSER_USER_ID;
|
return process.geteuid!() === UNIX_SUPERUSER_USER_ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @summary Check if the current process is running with elevated permissions
|
* @summary Check if the current process is running with elevated permissions
|
||||||
*/
|
*/
|
||||||
export function isElevatedUnixSync(): boolean {
|
export function isElevatedUnixSync(): boolean {
|
||||||
return process.geteuid() === UNIX_SUPERUSER_USER_ID;
|
return process.geteuid!() === UNIX_SUPERUSER_USER_ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
function escapeSh(value: any): string {
|
function escapeSh(value: any): string {
|
||||||
|
22789
npm-shrinkwrap.json
generated
22789
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
@ -74,7 +74,7 @@
|
|||||||
"@types/terser-webpack-plugin": "5.0.4",
|
"@types/terser-webpack-plugin": "5.0.4",
|
||||||
"@types/tmp": "0.2.5",
|
"@types/tmp": "0.2.5",
|
||||||
"analytics-client": "^2.0.1",
|
"analytics-client": "^2.0.1",
|
||||||
"axios": "^0.27.2",
|
"axios": "^1.6.0",
|
||||||
"chai": "4.3.10",
|
"chai": "4.3.10",
|
||||||
"copy-webpack-plugin": "11.0.0",
|
"copy-webpack-plugin": "11.0.0",
|
||||||
"css-loader": "5.2.7",
|
"css-loader": "5.2.7",
|
||||||
@ -85,7 +85,7 @@
|
|||||||
"electron-notarize": "1.2.2",
|
"electron-notarize": "1.2.2",
|
||||||
"electron-updater": "6.1.4",
|
"electron-updater": "6.1.4",
|
||||||
"esbuild-loader": "4.0.2",
|
"esbuild-loader": "4.0.2",
|
||||||
"etcher-sdk": "8.7.2",
|
"etcher-sdk": "9.0.0",
|
||||||
"file-loader": "6.2.0",
|
"file-loader": "6.2.0",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
"i18next": "23.6.0",
|
"i18next": "23.6.0",
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
"node_modules/drivelist/**",
|
"node_modules/drivelist/**",
|
||||||
"node_modules/mountutils/**",
|
"node_modules/mountutils/**",
|
||||||
"node_modules/winusb-driver-generator/**",
|
"node_modules/winusb-driver-generator/**",
|
||||||
"node_modules/node-raspberrypi-usbboot/**"
|
"node_modules/node-raspberrypi-usbboot/**",
|
||||||
|
"node_modules/axios/**"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2019",
|
"target": "ES2020",
|
||||||
"allowJs": false,
|
"allowJs": false,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"esModuleInterop": false,
|
"esModuleInterop": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"typeRoots": ["./node_modules/@types", "./typings"],
|
"typeRoots": ["./node_modules/@types", "./typings"],
|
||||||
"module": "CommonJS",
|
"module": "commonjs",
|
||||||
"moduleResolution": "Node",
|
"moduleResolution": "Node",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user