@netlify/edge-bundler 14.5.1 → 14.5.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.
|
@@ -6,7 +6,7 @@ import tmp from 'tmp-promise';
|
|
|
6
6
|
import { BundleFormat } from '../bundle.js';
|
|
7
7
|
import { listRecursively } from '../utils/fs.js';
|
|
8
8
|
import { getFileHash } from '../utils/sha256.js';
|
|
9
|
-
const TARBALL_EXTENSION = '.tar';
|
|
9
|
+
const TARBALL_EXTENSION = '.tar.gz';
|
|
10
10
|
const getUnixPath = (input) => input.split(path.sep).join('/');
|
|
11
11
|
export const bundle = async ({ basePath, buildID, deno, distDirectory, functions, importMap, vendorDirectory, }) => {
|
|
12
12
|
const bundleDir = await tmp.dir({ unsafeCleanup: true });
|
|
@@ -60,6 +60,7 @@ export const bundle = async ({ basePath, buildID, deno, distDirectory, functions
|
|
|
60
60
|
await tar.create({
|
|
61
61
|
cwd: bundleDir.path,
|
|
62
62
|
file: tarballPath,
|
|
63
|
+
gzip: true,
|
|
63
64
|
noDirRecurse: true,
|
|
64
65
|
onWriteEntry(entry) {
|
|
65
66
|
const relativePath = path.relative(bundleDir.path, path.join('/', entry.path));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/edge-bundler",
|
|
3
|
-
"version": "14.5.
|
|
3
|
+
"version": "14.5.2",
|
|
4
4
|
"description": "Intelligently prepare Netlify Edge Functions for deployment",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/node/index.js",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"urlpattern-polyfill": "8.0.2",
|
|
81
81
|
"uuid": "^11.0.0"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "e1251f7e7c36b6de4cf0d88777b9f362817520f3"
|
|
84
84
|
}
|