@netlify/edge-bundler 12.2.0 → 12.2.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/bridge.d.ts +1 -1
- package/dist/node/bridge.js +3 -1
- package/dist/node/config.js +2 -0
- package/package.json +2 -2
package/dist/node/bridge.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type WriteStream } from 'fs';
|
|
2
2
|
import { ExecaChildProcess } from 'execa';
|
|
3
3
|
import { Logger } from './logger.js';
|
|
4
|
-
declare const DENO_VERSION_RANGE = "
|
|
4
|
+
declare const DENO_VERSION_RANGE = "1.37.0 - 1.44.4";
|
|
5
5
|
type OnBeforeDownloadHook = () => void | Promise<void>;
|
|
6
6
|
type OnAfterDownloadHook = (error?: Error) => void | Promise<void>;
|
|
7
7
|
interface DenoOptions {
|
package/dist/node/bridge.js
CHANGED
|
@@ -11,7 +11,9 @@ import { getBinaryExtension } from './platform.js';
|
|
|
11
11
|
const DENO_VERSION_FILE = 'version.txt';
|
|
12
12
|
// When updating DENO_VERSION_RANGE, ensure that the deno version installed in the
|
|
13
13
|
// build-image/buildbot does satisfy this range!
|
|
14
|
-
|
|
14
|
+
// We're pinning the range because of an issue with v1.45.0 of the Deno CLI:
|
|
15
|
+
// https://linear.app/netlify/issue/FRP-775/deno-cli-v1450-causing-issues
|
|
16
|
+
const DENO_VERSION_RANGE = '1.37.0 - 1.44.4';
|
|
15
17
|
class DenoBridge {
|
|
16
18
|
constructor(options) {
|
|
17
19
|
var _a, _b, _c, _d, _e;
|
package/dist/node/config.js
CHANGED
|
@@ -47,6 +47,8 @@ export const getFunctionConfig = async ({ func, importMap, deno, log, }) => {
|
|
|
47
47
|
`--allow-write=${collector.path}`,
|
|
48
48
|
'--quiet',
|
|
49
49
|
`--import-map=${importMap.toDataURL()}`,
|
|
50
|
+
'--no-config',
|
|
51
|
+
'--node-modules-dir=false',
|
|
50
52
|
extractorPath,
|
|
51
53
|
pathToFileURL(func.path).href,
|
|
52
54
|
pathToFileURL(collector.path).href,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/edge-bundler",
|
|
3
|
-
"version": "12.2.
|
|
3
|
+
"version": "12.2.2",
|
|
4
4
|
"description": "Intelligently prepare Netlify Edge Functions for deployment",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/node/index.js",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"urlpattern-polyfill": "8.0.2",
|
|
85
85
|
"uuid": "^9.0.0"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "11ec8d0f0bd573150a134cd9af077f5b56afdbb6"
|
|
88
88
|
}
|