can-dom-mutate
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -5,3 +5,3 @@ 'use strict'; | ||
function makeMutationEvent (defaultEventType, subscription) { | ||
function makeMutationEvent (defaultEventType, subscription, bubbles) { | ||
var elementSubscriptions = new Map(); | ||
@@ -29,3 +29,3 @@ return { | ||
dispatch(target, eventData); | ||
dispatch(target, eventData, bubbles !== false); | ||
}); | ||
@@ -53,4 +53,4 @@ } | ||
attributes: makeMutationEvent('attributes', domMutate.onNodeAttributeChange), | ||
inserted: makeMutationEvent('inserted', domMutate.onNodeInsertion), | ||
inserted: makeMutationEvent('inserted', domMutate.onNodeInsertion, false), | ||
removed: makeMutationEvent('removed', domMutate.onNodeRemoval) | ||
}; |
{ | ||
"name": "can-dom-mutate", | ||
"description": "Dispatch and listen for DOM mutations", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"author": { | ||
@@ -17,2 +17,3 @@ "name": "DoneJS Team", | ||
"devDependencies": { | ||
"can-dom-events": "^1.3.0", | ||
"fixpack": "^2.3.1", | ||
@@ -19,0 +20,0 @@ "jshint": "^2.9.1", |
import './test/can-dom-mutate-test'; | ||
import './test/dom-events-test'; | ||
import './test/node-test'; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
54519
17
1286
7
1