Socket
Socket
Sign inDemoInstall

@whatwg-node/events

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@whatwg-node/events - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

tests/events.spec.ts

6

CHANGELOG.md
# @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 @@

2

dist/node-ponyfill.js

@@ -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>",

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