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.8.3 to 0.8.4

2

lib/nodes/basic-types/node/Node.js

@@ -392,3 +392,3 @@ "use strict";

var returnValue = _super.prototype.dispatchEvent.call(this, event);
if (event.bubbles && this.parentNode !== null && !this.dispatchEvent(event)) {
if (event.bubbles && this.parentNode !== null && !this.parentNode.dispatchEvent(event)) {
returnValue = false;

@@ -395,0 +395,0 @@ }

{
"name": "happy-dom",
"version": "0.8.3",
"version": "0.8.4",
"license": "MIT",

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

@@ -221,2 +221,3 @@ # Happy DOM

| ------- | ---------- | ---------------- |
| 0.8.4 | 2019-11-25 | Fixes bug with dispatchEvent() not bubbling correctly. |
| 0.8.3 | 2019-11-22 | Fixes bug with cloneNode() also copying non-node properties. |

@@ -223,0 +224,0 @@ | 0.8.0 | 2019-11-22 | Adds support for previousElementSibling and nextElementSibling. (#18) |

@@ -220,2 +220,3 @@ import NodeType from './NodeType';

}
return clone;

@@ -388,3 +389,3 @@ }

if (event.bubbles && this.parentNode !== null && !this.dispatchEvent(event)) {
if (event.bubbles && this.parentNode !== null && !this.parentNode.dispatchEvent(event)) {
returnValue = false;

@@ -391,0 +392,0 @@ }

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