@miniflare/runner-vm
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -75,6 +75,6 @@ var __create = Object.create; | ||
function defineHasInstance(insideTarget) { | ||
const outsideTarget = outsideTargets[insideTarget.name]; | ||
Object.defineProperty(insideTarget, Symbol.hasInstance, { | ||
value(value) { | ||
return instanceOf(value, insideTarget, outsideTarget); | ||
const outsideTarget = outsideTargets[this.name]; | ||
return instanceOf(value, this, outsideTarget); | ||
} | ||
@@ -92,8 +92,2 @@ }); | ||
defineHasInstance(Error); | ||
defineHasInstance(EvalError); | ||
defineHasInstance(RangeError); | ||
defineHasInstance(ReferenceError); | ||
defineHasInstance(SyntaxError); | ||
defineHasInstance(TypeError); | ||
defineHasInstance(URIError); | ||
})`, { filename: "<defineHasInstancesScript>" }); | ||
@@ -100,0 +94,0 @@ function defineHasInstances(ctx) { |
{ | ||
"name": "@miniflare/runner-vm", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "VM script runner module for Miniflare: a fun, full-featured, fully-local simulator for Cloudflare Workers", | ||
@@ -38,7 +38,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@miniflare/shared": "2.2.0" | ||
"@miniflare/shared": "2.3.0" | ||
}, | ||
"devDependencies": { | ||
"@miniflare/shared-test": "2.2.0" | ||
"@miniflare/shared-test": "2.3.0" | ||
} | ||
} |
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
20531
318
+ Added@miniflare/shared@2.3.0(transitive)
- Removed@miniflare/shared@2.2.0(transitive)
Updated@miniflare/shared@2.3.0