Skip to content

Commit 925fa8a

Browse files
authored
Merge branch 'main' into fix/less-globbing
2 parents 8d47f55 + 8fe146b commit 925fa8a

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## [6.2.0](https://github.com/yao-pkg/pkg/compare/v6.1.1...v6.2.0) (2024-12-28)
2+
3+
### Features
4+
5+
- bump fetch with Node v22.12.0 and v20.18.1 ([a8568a5](https://github.com/yao-pkg/pkg/commit/a8568a56d8c30f077f9add61e9c256764333b225))
6+
- use unofficial builds in SEA ([#126](https://github.com/yao-pkg/pkg/issues/126)) ([20e8dda](https://github.com/yao-pkg/pkg/commit/20e8ddaf2944867569b0f63d45d09c2f6abc9c11))
7+
8+
### Bug Fixes
9+
10+
- navigate back to previous directory after SEA build ([#131](https://github.com/yao-pkg/pkg/issues/131)) ([1489e94](https://github.com/yao-pkg/pkg/commit/1489e946332f6cba69e4be5fe0b66e798b8a23ce))
11+
112
## [6.1.1](https://github.com/yao-pkg/pkg/compare/v6.1.0...v6.1.1) (2024-11-13)
213

314
### Bug Fixes

lib/sea.ts

+3
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ export default async function sea(entryPoint: string, opts: SeaOptions) {
358358

359359
await mkdir(tmpDir, { recursive: true });
360360

361+
const previousDirectory = process.cwd();
361362
try {
362363
// change working directory to the temp directory
363364
process.chdir(tmpDir);
@@ -416,5 +417,7 @@ export default async function sea(entryPoint: string, opts: SeaOptions) {
416417
await rm(tmpDir, { recursive: true }).catch(() => {
417418
log.warn(`Failed to cleanup the temp directory ${tmpDir}`);
418419
});
420+
421+
process.chdir(previousDirectory);
419422
}
420423
}

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@yao-pkg/pkg",
3-
"version": "6.1.1",
3+
"version": "6.2.0",
44
"description": "Package your Node.js project into an executable",
55
"main": "lib-es5/index.js",
66
"license": "MIT",
@@ -25,7 +25,7 @@
2525
"@babel/generator": "^7.23.0",
2626
"@babel/parser": "^7.23.0",
2727
"@babel/types": "^7.23.0",
28-
"@yao-pkg/pkg-fetch": "3.5.17",
28+
"@yao-pkg/pkg-fetch": "3.5.18",
2929
"into-stream": "^6.0.0",
3030
"minimist": "^1.2.6",
3131
"multistream": "^4.1.0",

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -752,10 +752,10 @@
752752
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
753753
integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==
754754

755-
"@yao-pkg/[email protected].17":
756-
version "3.5.17"
757-
resolved "https://registry.yarnpkg.com/@yao-pkg/pkg-fetch/-/pkg-fetch-3.5.17.tgz#a259b293561d8eb95a95aef123fd1c9d571b5690"
758-
integrity sha512-2gD2K8JUwHwvFFZbwVXwmm90P0U3s8Kqiym4w7t2enTajH28LMhpXaqh/x+SzKeNwvPGoaRUhV0h2nPtWTDoDA==
755+
"@yao-pkg/[email protected].18":
756+
version "3.5.18"
757+
resolved "https://registry.yarnpkg.com/@yao-pkg/pkg-fetch/-/pkg-fetch-3.5.18.tgz#a76510026b4f53485bbc13f4f31b58eb06ccecd3"
758+
integrity sha512-tdUT7zS2lyXeJwkA8lDI4aVxHwauAc5lKj6Xui3/BtDe6vDsQ8KP+f66u07AI28DuTzKxjRJKNNXVdyGv2Ndsg==
759759
dependencies:
760760
https-proxy-agent "^5.0.0"
761761
node-fetch "^2.6.6"

0 commit comments

Comments
 (0)