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.2.1 to 0.2.2

8

lib/nodes/basic-types/Node.js

@@ -67,7 +67,5 @@ "use strict";

}
else {
for (var _i = 0, _a = this.childNodes; _i < _a.length; _i++) {
var child = _a[_i];
child.isConnected = isConnected;
}
for (var _i = 0, _a = this.childNodes; _i < _a.length; _i++) {
var child = _a[_i];
child.isConnected = isConnected;
}

@@ -74,0 +72,0 @@ if (isConnected && this.connectedCallback) {

{
"name": "happy-dom",
"version": "0.2.1",
"version": "0.2.2",
"license": "MIT",

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

@@ -58,8 +58,8 @@ import NodeType from './NodeType';

(<any>this).shadowRoot.isConnected = isConnected;
} else {
for (const child of this.childNodes) {
child.isConnected = isConnected;
}
}
for (const child of this.childNodes) {
child.isConnected = isConnected;
}
if (isConnected && this.connectedCallback) {

@@ -66,0 +66,0 @@ this.connectedCallback();

Sorry, the diff of this file is not supported yet

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