Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,18 @@
},
"pnpm": {
"overrides": {
"app-builder-lib>tar": "8.1.2",
"exceljs>uuid": "11.1.1",
"get-uri>basic-ftp": "6.2.6",
"minimatch@>=7 <11.0.1": "11.0.9"
"minimatch@>=7 <11.0.1": "11.0.9",
"node-gyp@12.4.0>tar": "8.1.2"
},
"onlyBuiltDependencies": [
"electron",
"esbuild"
]
],
"patchedDependencies": {
"node-gyp@12.4.0": "patches/node-gyp@12.4.0.patch"
}
}
}
14 changes: 14 additions & 0 deletions patches/node-gyp@12.4.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/lib/install.js b/lib/install.js
index 3580cdd003b210dd1a93baa759c7cddb05e8c79d..e71c75e368a669cc9d051a0d76582c7538066de8 100644
--- a/lib/install.js
+++ b/lib/install.js
@@ -231,7 +231,8 @@ async function install (gyp, argv) {
contentShasums[filename] = checksum
log.verbose('content checksum', filename, checksum)
}),
- tar.extract({
+ (source) => tar.extract({
+ input: source,
strip: 1,
cwd: tarExtractDir,
filter: isValid,
63 changes: 15 additions & 48 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.