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

eventify

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventify - npm Package Compare versions

Comparing version

to
1.1.0

30

lib/eventify.js

@@ -24,5 +24,20 @@ // Eventify

} else {
global[name] = definition(name, global);
// global[name] = definition(name, global);
var self = definition(),
// Save the previous value of the `Eventify` variable.
prev = global[name];
// Run Eventify in *noConflict* mode, returning the `Eventify`
// variable to its previous owner. Returns a reference to
// the Eventify object.
self.noConflict = function () {
global[name] = prev;
return self;
};
global[name] = self;
}
}(this.localEventifyLibraryName || "Eventify", this, function (localName, root) {
}(this.localEventifyLibraryName || "Eventify", this, function () {
'use strict';

@@ -110,4 +125,2 @@

// Save the previous value of the `Eventify` variable.
previousEventify = root.Eventify,
_ = miniscore(),

@@ -131,3 +144,3 @@

version: "1.0.0",
version: "1.1.0",

@@ -267,9 +280,2 @@ // Event Functions

// Run Eventify in *noConflict* mode, returning the `Eventify`
// variable to its previous owner. Returns a reference to
// the Eventify object.
noConflict: function () {
root.Eventify = previousEventify;
return this;
},

@@ -276,0 +282,0 @@ // Adds the methods on, off and trigger to a target Object

18

package.json
{
"name": "eventify",
"version": "1.0.1",
"version": "1.1.0",
"description": "Lightweight module that can be mixed in to any object in order to provide it with custom events. For node.js and the browser. Based on Backbone.Events",

@@ -40,10 +40,10 @@ "author": "Bermi Ferrer <bermi@bermilabs.com>",

"blanket": "1.1.6",
"grunt": "~0.4.x",
"grunt-cli": "^0.1.13",
"grunt-contrib-concat": "^0.4.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-uglify": "^0.5.0",
"grunt-contrib-watch": "^0.6.1",
"mocha": "~1.9.0",
"expect.js": "~0.2.0",
"grunt": "0.4.x",
"grunt-cli": "0.1.13",
"grunt-contrib-concat": "0.4.0",
"grunt-contrib-jshint": "0.10.0",
"grunt-contrib-uglify": "0.5.0",
"grunt-contrib-watch": "0.6.1",
"mocha": "1.9.0",
"expect.js": "0.2.0",
"mocha-spec-cov": "0.0.3"

@@ -50,0 +50,0 @@ },