1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-02-04 16:18:41 +00:00

Compare commits

...

4 commits

Author SHA1 Message Date
dependabot[bot]
32f3d08f7e
Merge 8015c78eb4 into 5f09fbedc1 2023-10-25 09:40:17 +00:00
5f09fbedc1
fix 2023-10-25 16:49:26 +09:00
574b7a2906
create node-sea 2023-10-25 16:30:49 +09:00
dependabot[bot]
8015c78eb4
Bump decode-uri-component from 0.2.0 to 0.2.2 in /vad
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 15:28:58 +00:00
4 changed files with 37 additions and 3 deletions

29
node-sea/README.md Normal file
View file

@ -0,0 +1,29 @@
# Node.js Single Executable Application
```
$ node --experimental-sea-config sea-config.json
$ cp "$(which node)" hello
$ npx postject hello NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2
$ ./hello
Hello, undefined!
(node:918684) ExperimentalWarning: Single executable application is an experimental feature and might change at any time
(Use `hello --trace-warnings ...` to show where the warning was created)
```
## Environment
```
$ npx envinfo --system --binaries
System:
OS: Linux 6.2 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
CPU: (12) x64 13th Gen Intel(R) Core(TM) i7-1365U
Memory: 19.25 GB / 31.00 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 20.5.1 - /usr/bin/node
Yarn: 1.22.19 - ~/.local/bin/yarn
npm: 9.8.0 - /usr/bin/npm
pnpm: 8.6.2 - ~/.local/bin/pnpm
```

1
node-sea/hello.js Normal file
View file

@ -0,0 +1 @@
console.log(`Hello, ${process.argv[2]}!`);

4
node-sea/sea-config.json Normal file
View file

@ -0,0 +1,4 @@
{
"main": "hello.js",
"output": "sea-prep.blob"
}

View file

@ -2084,9 +2084,9 @@ debug@^2.2.0, debug@^2.3.3:
ms "2.0.0"
decode-uri-component@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=
version "0.2.2"
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9"
integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==
define-properties@^1.1.2:
version "1.1.3"