edge-runtime
Advanced tools
Comparing version 2.5.4 to 2.5.5
@@ -12,3 +12,2 @@ "use strict"; | ||
const edge_runtime_1 = require("../edge-runtime"); | ||
const [NODE_MAJOR] = process.versions.node.split('.').map((v) => Number(v)); | ||
const format = (0, format_1.createFormat)(); | ||
@@ -32,14 +31,2 @@ const writer = (output) => { | ||
}); | ||
if (NODE_MAJOR < 16) { | ||
repl.context.util = { | ||
inspect: (...args) => { | ||
var _a; | ||
const stack = (_a = new Error().stack) !== null && _a !== void 0 ? _a : ''; | ||
if (!stack.includes('internal/repl/utils.js')) { | ||
throw new Error('util.inspect is not available in Edge Runtime'); | ||
} | ||
return format(...args).replace(/\n */g, ' '); | ||
}, | ||
}; | ||
} | ||
//# sourceMappingURL=repl.js.map |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://edge-runtime.vercel.app/packages/runtime", | ||
"version": "2.5.4", | ||
"version": "2.5.5", | ||
"main": "dist/index.js", | ||
@@ -36,3 +36,3 @@ "bin": { | ||
"@edge-runtime/format": "2.2.0", | ||
"@edge-runtime/vm": "3.1.4" | ||
"@edge-runtime/vm": "3.1.5" | ||
}, | ||
@@ -39,0 +39,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78470
656
+ Added@edge-runtime/primitives@4.0.3(transitive)
+ Added@edge-runtime/vm@3.1.5(transitive)
- Removed@edge-runtime/primitives@4.0.2(transitive)
- Removed@edge-runtime/vm@3.1.4(transitive)
Updated@edge-runtime/vm@3.1.5