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

can-dom-mutate

Package Overview
Dependencies
Maintainers
6
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-dom-mutate - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

test/dom-events-test.js

6

dom-events.js

@@ -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';
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