edge-runtime
Advanced tools
Comparing version 1.1.0-beta.10 to 1.1.0-beta.11
@@ -17,2 +17,8 @@ "use strict"; | ||
Object.assign(repl.context, runtime.context); | ||
Object.defineProperty(repl.context, 'EdgeRuntime', { | ||
configurable: false, | ||
enumerable: false, | ||
writable: false, | ||
value: runtime.context.EdgeRuntime, | ||
}); | ||
const nodeMajorVersion = parseInt(process.versions.node.split('.')[0]); | ||
@@ -19,0 +25,0 @@ if (nodeMajorVersion < 16) { |
@@ -5,3 +5,2 @@ "use strict"; | ||
const vm_1 = require("@edge-runtime/vm"); | ||
const version_1 = require("./version"); | ||
/** | ||
@@ -45,3 +44,3 @@ * Store handlers that the user defined from code so that we can invoke them | ||
writable: false, | ||
value: { version: version_1.VERSION }, | ||
value: 'edge-runtime', | ||
}); | ||
@@ -48,0 +47,0 @@ this.evaluate(getDefineEventListenersCode()); |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://edge-runtime.vercel.app/packages/runtime", | ||
"version": "1.1.0-beta.10", | ||
"version": "1.1.0-beta.11", | ||
"main": "dist/index.js", | ||
@@ -25,4 +25,4 @@ "bin": { | ||
"dependencies": { | ||
"@edge-runtime/format": "^1.0.0", | ||
"@edge-runtime/vm": "^1.1.0-beta.10", | ||
"@edge-runtime/format": "^1.1.0-beta.11", | ||
"@edge-runtime/vm": "^1.1.0-beta.11", | ||
"exit-hook": "2.2.1", | ||
@@ -46,3 +46,2 @@ "http-status": "~1.5.0", | ||
"postversion": "pnpm run build", | ||
"prebuild": "node -p \"'export const VERSION = ' + JSON.stringify(require('./package.json').version)\" > src/version.ts", | ||
"test": "jest" | ||
@@ -66,3 +65,3 @@ }, | ||
"types": "dist/index.d.ts", | ||
"gitHead": "7a48989c137eb2fe439efb6e155b3b38c931c440" | ||
"gitHead": "5381871804e3d5c58a61154a82296e0a7096afb9" | ||
} |
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
76285
650