@vercel/node 5.5.17 → 5.5.18
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/dist/dev-server.mjs +4 -2
- package/package.json +4 -4
package/dist/dev-server.mjs
CHANGED
|
@@ -419,7 +419,8 @@ function createEdgeWasmPlugin() {
|
|
|
419
419
|
const wasmFile = data.path.replace(/\?module$/, "");
|
|
420
420
|
const resolvedPath = await b.resolve(wasmFile, {
|
|
421
421
|
importer: data.importer,
|
|
422
|
-
resolveDir: data.resolveDir
|
|
422
|
+
resolveDir: data.resolveDir,
|
|
423
|
+
kind: data.kind
|
|
423
424
|
});
|
|
424
425
|
if (!resolvedPath.path) {
|
|
425
426
|
return {
|
|
@@ -445,7 +446,8 @@ function createEdgeWasmPlugin() {
|
|
|
445
446
|
return { plugin, wasmAssets };
|
|
446
447
|
}
|
|
447
448
|
function sha1(data) {
|
|
448
|
-
|
|
449
|
+
const input = typeof data === "string" ? data : new Uint8Array(data);
|
|
450
|
+
return createHash("sha1").update(input).digest("hex");
|
|
449
451
|
}
|
|
450
452
|
|
|
451
453
|
// src/edge-functions/edge-node-compat-plugin.mts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/node",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.18",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"cjs-module-lexer": "1.2.3",
|
|
23
23
|
"edge-runtime": "2.5.9",
|
|
24
24
|
"es-module-lexer": "1.4.1",
|
|
25
|
-
"esbuild": "0.
|
|
25
|
+
"esbuild": "0.27.0",
|
|
26
26
|
"etag": "1.8.1",
|
|
27
27
|
"mime-types": "2.1.35",
|
|
28
28
|
"node-fetch": "2.6.9",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"typescript": "4.9.5",
|
|
34
34
|
"typescript5": "npm:typescript@5.9.3",
|
|
35
35
|
"undici": "5.28.4",
|
|
36
|
+
"@vercel/build-utils": "13.2.6",
|
|
36
37
|
"@vercel/error-utils": "2.0.3",
|
|
37
|
-
"@vercel/static-config": "3.1.2"
|
|
38
|
-
"@vercel/build-utils": "13.2.5"
|
|
38
|
+
"@vercel/static-config": "3.1.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@babel/core": "7.24.4",
|