happy-dom
Advanced tools
Comparing version 0.2.13 to 0.2.14
@@ -96,3 +96,3 @@ "use strict"; | ||
var sandbox = new AsyncWindow_1.default(); | ||
sandbox['window'] = window; | ||
sandbox['window'] = sandbox; | ||
sandbox['global'] = global; | ||
@@ -99,0 +99,0 @@ return vm_1.default.createContext(sandbox); |
{ | ||
"name": "happy-dom", | ||
"version": "0.2.13", | ||
"version": "0.2.14", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/capricorn86/happy-dom#readme", |
@@ -146,3 +146,3 @@ # Happy DOM | ||
const sandbox = new AsyncWindow(); | ||
sandbox['window'] = window; | ||
sandbox['window'] = sandbox; | ||
sandbox['global'] = global; | ||
@@ -149,0 +149,0 @@ const context = VM.createContext(sandbox); |
@@ -62,3 +62,3 @@ import VM from 'vm'; | ||
const sandbox = new AsyncWindow(); | ||
sandbox['window'] = window; | ||
sandbox['window'] = sandbox; | ||
sandbox['global'] = global; | ||
@@ -65,0 +65,0 @@ return VM.createContext(sandbox); |
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
530538