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

can-event-queue

Package Overview
Dependencies
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-event-queue - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

dist/amd/can-event-queue.js

15

can-event-queue.js

@@ -72,3 +72,14 @@ var canDev = require("can-util/js/dev/dev");

//!steal-remove-start
//!steal-remove-start
if (!event.reasonLog) {
event.reasonLog = [ canReflect.getName(this), "dispatched", '"' + event + '"', "with" ].concat(args);
}
if (!event.makeMeta) {
event.makeMeta = function makeMeta(handler, context, args) {
return {
log: [ canReflect.getName(handler), "called because" ].concat(args[0].reasonLog),
};
};
}
var meta = ensureMeta(this);

@@ -102,3 +113,3 @@ if (typeof meta._log === "function") {

getHandlers(this).delete([key, "event", queueName || "mutate", handler]);
}
}
};

@@ -105,0 +116,0 @@ props.on = props.addEventListener;

2

package.json
{
"name": "can-event-queue",
"main": "./can-event-queue.js",
"version": "0.2.0",
"version": "0.2.1",
"description": "A event mixin that uses queues to dispatch handlers",

@@ -6,0 +6,0 @@ "homepage": "",

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