New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

linkedom

Package Overview
Dependencies
Maintainers
1
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkedom - npm Package Compare versions

Comparing version 0.13.4 to 0.13.5

10

cjs/interface/event-target.js

@@ -6,8 +6,8 @@ 'use strict';

function dispatch({target, listener}) {
function dispatch(event, listener) {
if (typeof listener === 'function')
listener.call(target, this);
listener.call(event.target, event);
else
listener.handleEvent(this);
return this._stopImmediatePropagationFlag;
listener.handleEvent(event);
return event._stopImmediatePropagationFlag;
}

@@ -30,3 +30,3 @@

listeners.delete(listener);
if (dispatch.call(this, {target: this, listener}))
if (dispatch(this, listener))
break;

@@ -33,0 +33,0 @@ }

@@ -5,8 +5,8 @@ // https://dom.spec.whatwg.org/#interface-eventtarget

function dispatch({target, listener}) {
function dispatch(event, listener) {
if (typeof listener === 'function')
listener.call(target, this);
listener.call(event.target, event);
else
listener.handleEvent(this);
return this._stopImmediatePropagationFlag;
listener.handleEvent(event);
return event._stopImmediatePropagationFlag;
}

@@ -29,3 +29,3 @@

listeners.delete(listener);
if (dispatch.call(this, {target: this, listener}))
if (dispatch(this, listener))
break;

@@ -32,0 +32,0 @@ }

{
"name": "linkedom",
"version": "0.13.4",
"version": "0.13.5",
"description": "A triple-linked lists based DOM implementation",

@@ -5,0 +5,0 @@ "main": "./cjs/index.js",

Sorry, the diff of this file is too big to display

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