happy-dom
Advanced tools
Comparing version 0.4.5 to 0.4.6
{ | ||
"name": "happy-dom", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/capricorn86/happy-dom#readme", |
@@ -143,3 +143,3 @@ # Happy DOM | ||
import { AsyncWindow } from 'happy-dom'; | ||
import { Script, createContext } from 'vm'; | ||
import VM from 'vm'; | ||
@@ -160,3 +160,3 @@ const context = VM.createContext(new AsyncWindow()); | ||
`; | ||
const script = new Script(` | ||
const script = new VM.Script(` | ||
const element = document.createElement('div'); | ||
@@ -163,0 +163,0 @@ const myContainer = document.querySelector('.myContainer'); |
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
549890