Socket
Socket
Sign inDemoInstall

happy-dom

Package Overview
Dependencies
Maintainers
1
Versions
576
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

happy-dom - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

2

package.json
{
"name": "happy-dom",
"version": "0.4.4",
"version": "0.4.5",
"license": "MIT",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/capricorn86/happy-dom#readme",

@@ -145,6 +145,3 @@ # Happy DOM

const sandbox = new AsyncWindow();
sandbox['window'] = sandbox;
sandbox['global'] = global;
const context = VM.createContext(sandbox);
const context = VM.createContext(new AsyncWindow());
const window = context.window;

@@ -151,0 +148,0 @@ const html = `

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc