@netlify/edge-bundler 14.10.1 → 14.10.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/dist/node/bundler.js +2 -2
- package/package.json +4 -5
package/dist/node/bundler.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import crypto from 'crypto';
|
|
1
2
|
import { promises as fs } from 'fs';
|
|
2
3
|
import { join } from 'path';
|
|
3
4
|
import commonPathPrefix from 'common-path-prefix';
|
|
4
|
-
import { v4 as uuidv4 } from 'uuid';
|
|
5
5
|
import { importMapSpecifier } from '../shared/consts.js';
|
|
6
6
|
import { DenoBridge, LEGACY_DENO_VERSION_RANGE, } from './bridge.js';
|
|
7
7
|
import { getFunctionConfig } from './config.js';
|
|
@@ -38,7 +38,7 @@ export const bundle = async (sourceDirectories, distDirectory, tomlDeclarations
|
|
|
38
38
|
// The name of the bundle will be the hash of its contents, which we can't
|
|
39
39
|
// compute until we run the bundle process. For now, we'll use a random ID
|
|
40
40
|
// to create the bundle artifacts and rename them later.
|
|
41
|
-
const buildID =
|
|
41
|
+
const buildID = crypto.randomUUID();
|
|
42
42
|
// Loading any configuration options from the deploy configuration API, if it
|
|
43
43
|
// exists.
|
|
44
44
|
const deployConfig = await loadDeployConfig(configPath, logger);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/edge-bundler",
|
|
3
|
-
"version": "14.10.
|
|
3
|
+
"version": "14.10.2",
|
|
4
4
|
"description": "Intelligently prepare Netlify Edge Functions for deployment",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/node/index.js",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"better-ajv-errors": "^1.2.0",
|
|
67
67
|
"common-path-prefix": "^3.0.0",
|
|
68
68
|
"env-paths": "^3.0.0",
|
|
69
|
-
"esbuild": "0.
|
|
69
|
+
"esbuild": "0.28.0",
|
|
70
70
|
"execa": "^8.0.0",
|
|
71
71
|
"find-up": "^7.0.0",
|
|
72
72
|
"get-port": "^7.0.0",
|
|
@@ -78,8 +78,7 @@
|
|
|
78
78
|
"semver": "^7.3.8",
|
|
79
79
|
"tar": "^7.5.12",
|
|
80
80
|
"tmp-promise": "^3.0.3",
|
|
81
|
-
"urlpattern-polyfill": "8.0.2"
|
|
82
|
-
"uuid": "^11.0.0"
|
|
81
|
+
"urlpattern-polyfill": "8.0.2"
|
|
83
82
|
},
|
|
84
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "0f6098d436437ff65fa97f6c191137f83e42918c"
|
|
85
84
|
}
|