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.2 to 0.2.3

8

lib/nodes/basic-types/Node.js

@@ -62,2 +62,6 @@ "use strict";

this._isConnected = isConnected;
for (var _i = 0, _a = this.childNodes; _i < _a.length; _i++) {
var child = _a[_i];
child.isConnected = isConnected;
}
// eslint-disable-next-line

@@ -68,6 +72,2 @@ if (this.shadowRoot) {

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

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

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

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

@@ -54,2 +54,6 @@ import NodeType from './NodeType';

for (const child of this.childNodes) {
child.isConnected = isConnected;
}
// eslint-disable-next-line

@@ -61,6 +65,2 @@ if ((<any>this).shadowRoot) {

for (const child of this.childNodes) {
child.isConnected = isConnected;
}
if (isConnected && this.connectedCallback) {

@@ -67,0 +67,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