@netlify/edge-bundler 14.9.16 → 14.9.17
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.
|
@@ -98,9 +98,12 @@ export const bundle = async ({ buildID, deno, distDirectory, functions, importMa
|
|
|
98
98
|
// List files to include in the tarball as paths relative to the bundle dir.
|
|
99
99
|
// Using absolute paths here leads to platform-specific quirks (notably on Windows),
|
|
100
100
|
// where entries can include drive letters and break extraction/imports.
|
|
101
|
+
// The './' prefix is required to prevent node-tar from interpreting entries
|
|
102
|
+
// starting with '@' as GNU tar archive-include directives, which would cause
|
|
103
|
+
// it to strip the '@' and stat a non-existent path (ENOENT).
|
|
101
104
|
const files = (await listRecursively(bundleDir.path))
|
|
102
105
|
.map((p) => path.relative(bundleDir.path, p))
|
|
103
|
-
.map((p) => getUnixPath(p))
|
|
106
|
+
.map((p) => './' + getUnixPath(p))
|
|
104
107
|
.sort();
|
|
105
108
|
await tar.create({
|
|
106
109
|
cwd: bundleDir.path,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/edge-bundler",
|
|
3
|
-
"version": "14.9.
|
|
3
|
+
"version": "14.9.17",
|
|
4
4
|
"description": "Intelligently prepare Netlify Edge Functions for deployment",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/node/index.js",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"urlpattern-polyfill": "8.0.2",
|
|
82
82
|
"uuid": "^11.0.0"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "4c1f6b11490fca02a044a8f0e3bed51ef6b7c85a"
|
|
85
85
|
}
|