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

unipointer

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unipointer - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

3

bower.json
{
"name": "unipointer",
"main": "unipointer.js",
"version": "2.0.0",
"dependencies": {
"eventEmitter": "~4.2.11"
"ev-emitter": "~1.0.1"
},

@@ -8,0 +7,0 @@ "homepage": "https://github.com/metafizzy/unipointer",

{
"name": "unipointer",
"version": "2.0.0",
"version": "2.1.0",
"description": "Do one thing with one pointer",
"main": "unipointer.js",
"dependencies": {
"wolfy87-eventemitter": "~4.2.11"
"ev-emitter": "~1.0.1"
},

@@ -9,0 +9,0 @@ "scripts": {

/*!
* Unipointer v2.0.0
* Unipointer v2.1.0
* base class for doing one thing with pointer event

@@ -8,14 +8,12 @@ * MIT license

/*jshint browser: true, undef: true, unused: true, strict: true */
/*global define: false, module: false, require: false */
( function( window, factory ) {
'use strict';
// universal module definition
/* jshint strict: false */ /*global define, module, require */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( [
'eventEmitter/EventEmitter'
], function( EventEmitter ) {
return factory( window, EventEmitter );
'ev-emitter/ev-emitter'
], function( EvEmitter ) {
return factory( window, EvEmitter );
});

@@ -26,3 +24,3 @@ } else if ( typeof module == 'object' && module.exports ) {

window,
require('wolfy87-eventemitter')
require('ev-emitter')
);

@@ -33,7 +31,7 @@ } else {

window,
window.EventEmitter
window.EvEmitter
);
}
}( window, function factory( window, EventEmitter ) {
}( window, function factory( window, EvEmitter ) {

@@ -46,4 +44,4 @@ 'use strict';

// inherit EventEmitter
var proto = Unipointer.prototype = Object.create( EventEmitter.prototype );
// inherit EvEmitter
var proto = Unipointer.prototype = Object.create( EvEmitter.prototype );

@@ -50,0 +48,0 @@ proto.bindStartEvent = function( elem ) {

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