Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@riotjs/dom-bindings

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@riotjs/dom-bindings - npm Package Compare versions

Comparing version 4.6.8 to 4.7.0

8

dist/esm.dom-bindings.js

@@ -1166,2 +1166,4 @@ /**

const getCallbackAndOptions = value => Array.isArray(value) ? value : [value, false];
/**

@@ -1180,7 +1182,7 @@ * Set a new event listener

if (oldValue) {
node.removeEventListener(normalizedEventName, oldValue);
node.removeEventListener(normalizedEventName, ...getCallbackAndOptions(oldValue));
}
if (value) {
node.addEventListener(normalizedEventName, value, false);
node.addEventListener(normalizedEventName, ...getCallbackAndOptions(value));
}

@@ -1700,3 +1702,3 @@ }

const templateTagOffset = isTemplateTag ? Math.max(
Array.from(parentNode.children).indexOf(el),
Array.from(parentNode.childNodes).indexOf(el),
0

@@ -1703,0 +1705,0 @@ ) : null;

@@ -1172,2 +1172,4 @@ (function (global, factory) {

const getCallbackAndOptions = value => Array.isArray(value) ? value : [value, false];
/**

@@ -1186,7 +1188,7 @@ * Set a new event listener

if (oldValue) {
node.removeEventListener(normalizedEventName, oldValue);
node.removeEventListener(normalizedEventName, ...getCallbackAndOptions(oldValue));
}
if (value) {
node.addEventListener(normalizedEventName, value, false);
node.addEventListener(normalizedEventName, ...getCallbackAndOptions(value));
}

@@ -1706,3 +1708,3 @@ }

const templateTagOffset = isTemplateTag ? Math.max(
Array.from(parentNode.children).indexOf(el),
Array.from(parentNode.childNodes).indexOf(el),
0

@@ -1709,0 +1711,0 @@ ) : null;

{
"name": "@riotjs/dom-bindings",
"version": "4.6.8",
"version": "4.7.0",
"description": "Riot.js DOM bindings",

@@ -47,12 +47,12 @@ "main": "dist/umd.dom-bindings.js",

"esm": "^3.2.25",
"jsdom": "^16.0.0",
"jsdom": "^16.2.0",
"jsdom-global": "3.0.2",
"mocha": "^7.0.1",
"mocha": "^7.1.0",
"nyc": "^15.0.0",
"rollup": "^1.31.0",
"rollup": "^2.0.2",
"rollup-plugin-alias": "^2.2.0",
"rollup-plugin-node-resolve": "^5.2.0",
"sinon": "^8.1.1",
"sinon-chai": "^3.4.0",
"typescript": "^3.7.5"
"sinon": "^9.0.0",
"sinon-chai": "^3.5.0",
"typescript": "^3.8.3"
},

@@ -59,0 +59,0 @@ "dependencies": {

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