@whatwg-node/events
Advanced tools
Comparing version 0.0.1 to 0.0.2
# @whatwg-node/events | ||
## 0.0.2 | ||
### Patch Changes | ||
- [`c0d5c43`](https://github.com/ardatan/whatwg-node/commit/c0d5c43a1c4d3d9fcdf542472fabdebd5118fe23) Thanks [@ardatan](https://github.com/ardatan)! - Fix dispatchEvent on Node 14 | ||
## 0.0.1 | ||
@@ -4,0 +10,0 @@ |
@@ -51,3 +51,3 @@ module.exports.Event = globalThis.Event; | ||
dispatchEvent(event) { | ||
if (!(event instanceof Event)) { | ||
if (!(event instanceof module.exports.Event)) { | ||
throw new TypeError( | ||
@@ -54,0 +54,0 @@ `Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'.` |
{ | ||
"name": "@whatwg-node/events", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Cross Platform Smart Event API Ponyfill", | ||
@@ -5,0 +5,0 @@ "author": "Arda TANRIKULU <ardatanrikulu@gmail.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6652
7
138