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.5 to 0.4.6

2

package.json
{
"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');

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