This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
Releases: vercel/pkg
Releases · vercel/pkg
4.1.3
4.1.2
Patches
- [email protected]: 06a0648
- Make --no-bytecode error more descriptive: de88da6
- Append '.exe' when single windows target. fixes #148: 42ff8cb
- Dictionary: bunyan: #154
- Pretify debug targets JSON: #70
- Add 'snapshot' entry to readdir('/') results: e29c883
- Workaround not needed for bindings since callsites fix: d3228e2
- Prevent poisoning Module._pathCache with snapshot fs value: f7a9b71
Credits
Huge thanks to @weirongxu and @martinstarman for their help!
4.1.1
Patches
- Pass entrypoint through walker (like refiner). fixes #134: fb59976
- Several possible paths from projectToFilesystem. fixes #141: a0155fe
- Include nodegit extensions into binary. fixes #120: 99fc006
- Experimental option --no-bytecode for cross-cpu packaging: a216876
- Add support for oauth2orize. fixes #102: 5d42177
- [email protected] to address #146: dae7c7d
4.1.0
4.0.0
- Until now V8 cached data was used to make executables without sources inside. Now cached data is also used to speed up application boot time.
- Hence, application boot up is around 20% faster in pkg’ed state than using ‘node’.
- Now possible to add resources (icon) to executables on Windows (ResourceHacker, etc).
- V8 callsites work properly. Stacktraces contain names of files as they were at compilation time.
- Supports Node.js versions 0.12, 4, 6, 7, 8 as targets.
- Consumes much less memory during compilation process (important for Raspberry Pi or low-mem VMs).
- Hence, it's possible to make big executables without “process out of memory” during compilation (installers, geoip-lite, etc).
- Improvement of how
spawn
hook works internally. Also implementedexecFile
andexec
hooks.
3.0.5
Patches
- Speedup insideSnapshot: 8d121cc
- Switch from deprecated fs-promise to fs-extra: 5330967
- Placing root to snapshot properly: f28d01d
- Populate insideSnapshot per platform instead of comparing: b82aed8
- Remove run-time area regexps from common.js: bb9b269
- IsPermissive to cover more cases: ef490ed
- Remove empiric rules for FLAG_DISABLE_DOT_NODE. fixes sha3: af10e79
3.0.4
Patches
- Express example, root for serve-static: fcacd56
- Show version before compilation: #77
- Check Buffer.alloc. fixes #82: 6a52fdc
- Dictionary: tabtab. probably fixes #83: 52b790c
- Dictionary: engine.io. fixes #86: 1bcdc72
- Dictionary: fix uglify-js: 0f124f3
- Apply derivatives immediately after activation: f335245
Credits
Huge thanks to @martinstarman for their help!
3.0.3
3.0.2
Patches
- Adopt 'padded-blocks' eslint rule: 740c0eb
- Typos + simplify code: #56
- Fix for #57 + regression test: c0dd254
- Fixes #54: 3542cf9
- [cli] Show version: #59
- Temporary fix for #58: d94d3ad
- Fixes #37: 104c60f
- Fix 'require-uncached' after 'callsites': 5b94def
- Fix 'jsdom': d87bcc5
Credits
Huge thanks to @martinstarman for their help!