workerd 1.20260804.1 → 1.20260807.2
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/bin/workerd +3 -2
- package/install.js +6 -5
- package/lib/main.js +5 -4
- package/package.json +6 -6
- package/worker.mjs +169 -62
- package/workerd.capnp +51 -1
package/bin/workerd
CHANGED
|
@@ -31,7 +31,8 @@ var knownPackages = {
|
|
|
31
31
|
"darwin x64 LE": "@cloudflare/workerd-darwin-64",
|
|
32
32
|
"linux arm64 LE": "@cloudflare/workerd-linux-arm64",
|
|
33
33
|
"linux x64 LE": "@cloudflare/workerd-linux-64",
|
|
34
|
-
"win32 x64 LE": "@cloudflare/workerd-windows-64"
|
|
34
|
+
"win32 x64 LE": "@cloudflare/workerd-windows-64",
|
|
35
|
+
"win32 arm64 LE": "@cloudflare/workerd-windows-64"
|
|
35
36
|
};
|
|
36
37
|
var maybeExeExtension = process.platform === "win32" ? ".exe" : "";
|
|
37
38
|
function pkgAndSubpathForCurrentPlatform() {
|
|
@@ -122,7 +123,7 @@ by workerd to install the correct binary executable for your current platform.`)
|
|
|
122
123
|
"node_modules",
|
|
123
124
|
".cache",
|
|
124
125
|
"workerd",
|
|
125
|
-
`pnpapi-${pkg.replace("/", "-")}-${"1.
|
|
126
|
+
`pnpapi-${pkg.replace("/", "-")}-${"1.20260807.2"}-${import_path.default.basename(subpath)}`
|
|
126
127
|
);
|
|
127
128
|
if (!import_fs.default.existsSync(binTargetPath)) {
|
|
128
129
|
import_fs.default.mkdirSync(import_path.default.dirname(binTargetPath), { recursive: true });
|
package/install.js
CHANGED
|
@@ -29,7 +29,8 @@ var knownPackages = {
|
|
|
29
29
|
"darwin x64 LE": "@cloudflare/workerd-darwin-64",
|
|
30
30
|
"linux arm64 LE": "@cloudflare/workerd-linux-arm64",
|
|
31
31
|
"linux x64 LE": "@cloudflare/workerd-linux-64",
|
|
32
|
-
"win32 x64 LE": "@cloudflare/workerd-windows-64"
|
|
32
|
+
"win32 x64 LE": "@cloudflare/workerd-windows-64",
|
|
33
|
+
"win32 arm64 LE": "@cloudflare/workerd-windows-64"
|
|
33
34
|
};
|
|
34
35
|
var maybeExeExtension = process.platform === "win32" ? ".exe" : "";
|
|
35
36
|
function pkgAndSubpathForCurrentPlatform() {
|
|
@@ -94,10 +95,10 @@ operating system, or missing some shared libraries.`;
|
|
|
94
95
|
console.error(msg);
|
|
95
96
|
return;
|
|
96
97
|
}
|
|
97
|
-
if (stdout !== `workerd ${"2026-08-
|
|
98
|
+
if (stdout !== `workerd ${"2026-08-07"}`) {
|
|
98
99
|
throw new Error(
|
|
99
100
|
`Expected ${JSON.stringify(
|
|
100
|
-
"2026-08-
|
|
101
|
+
"2026-08-07"
|
|
101
102
|
)} but got ${JSON.stringify(stdout)}`
|
|
102
103
|
);
|
|
103
104
|
}
|
|
@@ -152,7 +153,7 @@ function installUsingNPM(pkg, subpath, binPath) {
|
|
|
152
153
|
try {
|
|
153
154
|
import_fs.default.writeFileSync(import_path2.default.join(installDir, "package.json"), "{}");
|
|
154
155
|
import_child_process.default.execSync(
|
|
155
|
-
`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"1.
|
|
156
|
+
`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"1.20260807.2"}`,
|
|
156
157
|
{ cwd: installDir, stdio: "pipe", env }
|
|
157
158
|
);
|
|
158
159
|
const installedBinPath = import_path2.default.join(
|
|
@@ -197,7 +198,7 @@ function maybeOptimizePackage(binPath) {
|
|
|
197
198
|
}
|
|
198
199
|
async function downloadDirectlyFromNPM(pkg, subpath, binPath) {
|
|
199
200
|
const unscopedPkg = pkg.substring(pkg.indexOf("/") + 1);
|
|
200
|
-
const url = `https://registry.npmjs.org/${pkg}/-/${unscopedPkg}-${"1.
|
|
201
|
+
const url = `https://registry.npmjs.org/${pkg}/-/${unscopedPkg}-${"1.20260807.2"}.tgz`;
|
|
201
202
|
console.error(`[workerd] Trying to download ${JSON.stringify(url)}`);
|
|
202
203
|
try {
|
|
203
204
|
import_fs.default.writeFileSync(
|
package/lib/main.js
CHANGED
|
@@ -45,7 +45,8 @@ var knownPackages = {
|
|
|
45
45
|
"darwin x64 LE": "@cloudflare/workerd-darwin-64",
|
|
46
46
|
"linux arm64 LE": "@cloudflare/workerd-linux-arm64",
|
|
47
47
|
"linux x64 LE": "@cloudflare/workerd-linux-64",
|
|
48
|
-
"win32 x64 LE": "@cloudflare/workerd-windows-64"
|
|
48
|
+
"win32 x64 LE": "@cloudflare/workerd-windows-64",
|
|
49
|
+
"win32 arm64 LE": "@cloudflare/workerd-windows-64"
|
|
49
50
|
};
|
|
50
51
|
var maybeExeExtension = process.platform === "win32" ? ".exe" : "";
|
|
51
52
|
function pkgAndSubpathForCurrentPlatform() {
|
|
@@ -136,7 +137,7 @@ by workerd to install the correct binary executable for your current platform.`)
|
|
|
136
137
|
"node_modules",
|
|
137
138
|
".cache",
|
|
138
139
|
"workerd",
|
|
139
|
-
`pnpapi-${pkg.replace("/", "-")}-${"1.
|
|
140
|
+
`pnpapi-${pkg.replace("/", "-")}-${"1.20260807.2"}-${import_path.default.basename(subpath)}`
|
|
140
141
|
);
|
|
141
142
|
if (!import_fs.default.existsSync(binTargetPath)) {
|
|
142
143
|
import_fs.default.mkdirSync(import_path.default.dirname(binTargetPath), { recursive: true });
|
|
@@ -151,8 +152,8 @@ by workerd to install the correct binary executable for your current platform.`)
|
|
|
151
152
|
// npm/lib/node-path.ts
|
|
152
153
|
var { binPath } = generateBinPath();
|
|
153
154
|
var node_path_default = binPath;
|
|
154
|
-
var compatibilityDate = "2026-08-
|
|
155
|
-
var version = "1.
|
|
155
|
+
var compatibilityDate = "2026-08-07";
|
|
156
|
+
var version = "1.20260807.2";
|
|
156
157
|
// Annotate the CommonJS export names for ESM import in node:
|
|
157
158
|
0 && (module.exports = {
|
|
158
159
|
compatibilityDate,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workerd",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20260807.2",
|
|
4
4
|
"description": "👷 workerd, Cloudflare's JavaScript/Wasm Runtime",
|
|
5
5
|
"repository": "https://github.com/cloudflare/workerd",
|
|
6
6
|
"scripts": {
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"workerd": "bin/workerd"
|
|
15
15
|
},
|
|
16
16
|
"optionalDependencies": {
|
|
17
|
-
"@cloudflare/workerd-darwin-arm64": "1.
|
|
18
|
-
"@cloudflare/workerd-darwin-64": "1.
|
|
19
|
-
"@cloudflare/workerd-linux-arm64": "1.
|
|
20
|
-
"@cloudflare/workerd-linux-64": "1.
|
|
21
|
-
"@cloudflare/workerd-windows-64": "1.
|
|
17
|
+
"@cloudflare/workerd-darwin-arm64": "1.20260807.2",
|
|
18
|
+
"@cloudflare/workerd-darwin-64": "1.20260807.2",
|
|
19
|
+
"@cloudflare/workerd-linux-arm64": "1.20260807.2",
|
|
20
|
+
"@cloudflare/workerd-linux-64": "1.20260807.2",
|
|
21
|
+
"@cloudflare/workerd-windows-64": "1.20260807.2"
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0"
|
|
24
24
|
}
|