@yao-pkg/pkg 6.9.0 → 6.10.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/lib-es5/sea.js +1 -2
- package/package.json +2 -2
package/lib-es5/sea.js
CHANGED
|
@@ -213,8 +213,7 @@ async function bake(nodePath, target, blobPath) {
|
|
|
213
213
|
const outPath = (0, path_1.resolve)(process.cwd(), target.output);
|
|
214
214
|
log_1.log.info(`Creating executable for ${target.nodeRange}-${target.platform}-${target.arch}....`);
|
|
215
215
|
if (!(await exists((0, path_1.dirname)(outPath)))) {
|
|
216
|
-
|
|
217
|
-
return;
|
|
216
|
+
await (0, promises_1.mkdir)((0, path_1.dirname)(outPath), { recursive: true });
|
|
218
217
|
}
|
|
219
218
|
// check if executable_path exists
|
|
220
219
|
if (await exists(outPath)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yao-pkg/pkg",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.10.0",
|
|
4
4
|
"description": "Package your Node.js project into an executable",
|
|
5
5
|
"main": "lib-es5/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@babel/generator": "^7.23.0",
|
|
26
26
|
"@babel/parser": "^7.23.0",
|
|
27
27
|
"@babel/types": "^7.23.0",
|
|
28
|
-
"@yao-pkg/pkg-fetch": "3.5.
|
|
28
|
+
"@yao-pkg/pkg-fetch": "3.5.30",
|
|
29
29
|
"into-stream": "^6.0.0",
|
|
30
30
|
"minimist": "^1.2.6",
|
|
31
31
|
"multistream": "^4.1.0",
|