workerd 0.20230628.0 → 0.20230801.0
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 +1 -1
- package/install.js +4 -4
- package/lib/main.js +3 -3
- package/package.json +6 -6
package/bin/workerd
CHANGED
|
@@ -123,7 +123,7 @@ by workerd to install the correct binary executable for your current platform.`)
|
|
|
123
123
|
"node_modules",
|
|
124
124
|
".cache",
|
|
125
125
|
"workerd",
|
|
126
|
-
`pnpapi-${pkg.replace("/", "-")}-${"0.
|
|
126
|
+
`pnpapi-${pkg.replace("/", "-")}-${"0.20230801.0"}-${import_path.default.basename(subpath)}`
|
|
127
127
|
);
|
|
128
128
|
if (!import_fs.default.existsSync(binTargetPath)) {
|
|
129
129
|
import_fs.default.mkdirSync(import_path.default.dirname(binTargetPath), { recursive: true });
|
package/install.js
CHANGED
|
@@ -94,10 +94,10 @@ operating system, or missing some shared libraries.`;
|
|
|
94
94
|
console.error(msg);
|
|
95
95
|
return;
|
|
96
96
|
}
|
|
97
|
-
if (stdout !== `workerd ${"2023-
|
|
97
|
+
if (stdout !== `workerd ${"2023-08-01"}`) {
|
|
98
98
|
throw new Error(
|
|
99
99
|
`Expected ${JSON.stringify(
|
|
100
|
-
"2023-
|
|
100
|
+
"2023-08-01"
|
|
101
101
|
)} but got ${JSON.stringify(stdout)}`
|
|
102
102
|
);
|
|
103
103
|
}
|
|
@@ -153,7 +153,7 @@ function installUsingNPM(pkg, subpath, binPath) {
|
|
|
153
153
|
try {
|
|
154
154
|
import_fs.default.writeFileSync(import_path2.default.join(installDir, "package.json"), "{}");
|
|
155
155
|
import_child_process.default.execSync(
|
|
156
|
-
`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.
|
|
156
|
+
`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.20230801.0"}`,
|
|
157
157
|
{ cwd: installDir, stdio: "pipe", env }
|
|
158
158
|
);
|
|
159
159
|
const installedBinPath = import_path2.default.join(
|
|
@@ -200,7 +200,7 @@ function maybeOptimizePackage(binPath) {
|
|
|
200
200
|
}
|
|
201
201
|
async function downloadDirectlyFromNPM(pkg, subpath, binPath) {
|
|
202
202
|
const unscopedPkg = pkg.substring(pkg.indexOf("/") + 1);
|
|
203
|
-
const url = `https://registry.npmjs.org/${pkg}/-/${unscopedPkg}-${"0.
|
|
203
|
+
const url = `https://registry.npmjs.org/${pkg}/-/${unscopedPkg}-${"0.20230801.0"}.tgz`;
|
|
204
204
|
console.error(`[workerd] Trying to download ${JSON.stringify(url)}`);
|
|
205
205
|
try {
|
|
206
206
|
import_fs.default.writeFileSync(
|
package/lib/main.js
CHANGED
|
@@ -137,7 +137,7 @@ by workerd to install the correct binary executable for your current platform.`)
|
|
|
137
137
|
"node_modules",
|
|
138
138
|
".cache",
|
|
139
139
|
"workerd",
|
|
140
|
-
`pnpapi-${pkg.replace("/", "-")}-${"0.
|
|
140
|
+
`pnpapi-${pkg.replace("/", "-")}-${"0.20230801.0"}-${import_path.default.basename(subpath)}`
|
|
141
141
|
);
|
|
142
142
|
if (!import_fs.default.existsSync(binTargetPath)) {
|
|
143
143
|
import_fs.default.mkdirSync(import_path.default.dirname(binTargetPath), { recursive: true });
|
|
@@ -152,8 +152,8 @@ by workerd to install the correct binary executable for your current platform.`)
|
|
|
152
152
|
// npm/lib/node-path.ts
|
|
153
153
|
var { binPath } = generateBinPath();
|
|
154
154
|
var node_path_default = binPath;
|
|
155
|
-
var compatibilityDate = "2023-
|
|
156
|
-
var version = "0.
|
|
155
|
+
var compatibilityDate = "2023-08-01";
|
|
156
|
+
var version = "0.20230801.0";
|
|
157
157
|
// Annotate the CommonJS export names for ESM import in node:
|
|
158
158
|
0 && (module.exports = {
|
|
159
159
|
compatibilityDate,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workerd",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20230801.0",
|
|
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": "0.
|
|
18
|
-
"@cloudflare/workerd-darwin-64": "0.
|
|
19
|
-
"@cloudflare/workerd-linux-arm64": "0.
|
|
20
|
-
"@cloudflare/workerd-linux-64": "0.
|
|
21
|
-
"@cloudflare/workerd-windows-64": "0.
|
|
17
|
+
"@cloudflare/workerd-darwin-arm64": "0.20230801.0",
|
|
18
|
+
"@cloudflare/workerd-darwin-64": "0.20230801.0",
|
|
19
|
+
"@cloudflare/workerd-linux-arm64": "0.20230801.0",
|
|
20
|
+
"@cloudflare/workerd-linux-64": "0.20230801.0",
|
|
21
|
+
"@cloudflare/workerd-windows-64": "0.20230801.0"
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0"
|
|
24
24
|
}
|