git apply ..\pkg-fetch\patches\node.v18.12.1.cpp.patch --reject If no rejects, great! you are ready to make your new patch file. git add -A git diff --staged --src-prefix=node/ --dst-prefix=node/ > ..\pkg-fetch\patches\node.v18.13.0.cpp.patch ...
Compiles and stores base binaries for pkg. Latest version: 3.5.2, last published: 2 years ago. Start using pkg-fetch in your project by running `npm i pkg-fetch`. There are 40 other projects in the npm registry using pkg-fetch.
Clone Node.js as a sibling to your current pkg-fetch clone git clone https://github.com/nodejs/node.git cd nodeCheckout the tag you wish to generate a patch for git checkout v18.13.0 Attempt to apply the closest patch (e.g. applying the existing patch for 18.12.1 when trying to ...
pkg-fetch/places.json Version: 152 BJSONView Raw 1 { 2 "localPlace": "~/.pkg-cache/{tag}/{from}-{nodeVersion}-{platform}-{arch}", 3 "remotePlace": "uploaded-{tag}-node-{nodeVersion}-{platform}-{arch}" 4 } Build: a7ebffa © 2025 UNPKG...
pkg-fetch/patches/node.v8.17.0.cpp.patch Version: 19.1 kBPlain TextView Raw 1 --- node/deps/v8/include/v8.h 2 +++ node/deps/v8/include/v8.h 3 @@ -7911,10 +7911,14 @@ 4 */ 5 static void SetFlagsFromCommandLine(int* argc, 6 char** argv, 7 bool remove_flags)...
linuxstatic:https://github.com/vercel/pkg-fetch/actions/runs/752615423 macos:https://github.com/vercel/pkg-fetch/actions/runs/752615807 win:https://github.com/vercel/pkg-fetch/actions/runs/752615557 3.0.4: added binaries workflows:https://github.com/vercel/pkg-fetch/tree/7c8ca68ade5d3d4c70f8...
linuxstatic:https://github.com/vercel/pkg-fetch/actions/runs/752615423 macos:https://github.com/vercel/pkg-fetch/actions/runs/752615807 win:https://github.com/vercel/pkg-fetch/actions/runs/752615557 3.0.4: added binaries workflows:https://github.com/vercel/pkg-fetch/tree/7c8ca68ade5d3d4c70f8...
A utility to fetch or build patched Node binaries used by pkg to generate executables. This repo hosts prebuilt binaries in Releases. Binary Compatibility NodePlatformArchitecturesMinimum OS version 8[1], 10[1], 12, 14, 16 alpine x64, arm64 3.7.3, other distros with musl libc >= 1.1.18...
pkg:对用户代码进行处理,“放入”pkc-fetch 编译好的二进制文件中。 简单来说,pkg 将用户代码和 Node.js 环境打包到一起,实际上用户代码是二进制文件中的一段 Buffer,并通过修改 Node.js 的自启动方式,让它来直接执行这段 Buffer。 pkg 打包的大致流程如下: ...
经查询https://github.com/vercel/pkg-fetch/blob/main/patches/patches.json { "v18.12.1": ["node.v18.12.1.cpp.patch"], "v16.18.1": ["node.v16.18.1.cpp.patch"], "v14.21.1": ["node.v14.21.1.cpp.patch"], "v12.22.11": ["node.v12.22.11.cpp.patch"], ...