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

angular-wheelie

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-wheelie - npm Package Compare versions

Comparing version 2.1.0 to 3.0.1

2

bower.json
{
"name": "angular-wheelie",
"version": "2.1.0",
"version": "3.0.1",
"description": "Mousewheel as an angular service",

@@ -5,0 +5,0 @@ "main": "dist/angular-wheelie.js",

/**
* angular-wheelie
* Version: 2.1.0
* (c) 2016 Joel Mukuthu
* Version: 3.0.1
* (c) 2016-2017 Joel Mukuthu
* MIT License
* Built on: 10-11-2016 13:50:20 GMT+0100
* Built on: 06-03-2017 12:12:32 GMT+0100
**/
if (typeof exports === 'object') {
module.exports = 'wheelie';
}
angular.module('wheelie', []);
angular
.module('wheelie')
.factory('wheelie', [function () {
angular.module('wheelie').factory('wheelie', [function () {
var isDefined = angular.isDefined;

@@ -15,0 +17,0 @@ var isFunction = angular.isFunction;

@@ -1,2 +0,2 @@

/* angular-wheelie v2.1.0, (c) 2016 Joel Mukuthu, MIT License, built: 10-11-2016 13:50:20 GMT+0100 */
angular.module("wheelie",[]),angular.module("wheelie").factory("wheelie",[function(){var a=angular.isDefined,b=angular.isFunction;return{bind:function(c,d,e){function f(a){a.originalEvent&&(a=a.originalEvent),e&&angular.element(a.target).hasClass(e)||(a.deltaX&&(a.deltaX<0&&d.left&&d.left(a),a.deltaX>0&&d.right&&d.right(a)),a.deltaY&&(a.deltaY<0&&d.up&&d.up(a),a.deltaY>0&&d.down&&d.down(a)))}if(d=d||{},a(d.up)&&!b(d.up))throw new Error("The 'up' callback must be a function");if(a(d.down)&&!b(d.down))throw new Error("The 'down' callback must be a function");if(a(d.left)&&!b(d.left))throw new Error("The 'left' callback must be a function");if(a(d.right)&&!b(d.right))throw new Error("The 'right' callback must be a function");if(!(a(d.up)||a(d.down)||a(d.left)||a(d.right)))throw new Error("At least one callback ('up', 'down', 'left' or 'right') must be provided");c.data("___wheelie_bindWheel___",f),c.on("wheel",f)},unbind:function(a){var c=a.data("___wheelie_bindWheel___");b(c)&&(a.data("___wheelie_bindWheel___",null),a.off("wheel",c))}}}]);
/* angular-wheelie v3.0.1, (c) 2016-2017 Joel Mukuthu, MIT License, built: 06-03-2017 12:12:32 GMT+0100 */
"object"==typeof exports&&(module.exports="wheelie"),angular.module("wheelie",[]),angular.module("wheelie").factory("wheelie",[function(){var a=angular.isDefined,b=angular.isFunction;return{bind:function(c,d,e){function f(a){a.originalEvent&&(a=a.originalEvent),e&&angular.element(a.target).hasClass(e)||(a.deltaX&&(a.deltaX<0&&d.left&&d.left(a),a.deltaX>0&&d.right&&d.right(a)),a.deltaY&&(a.deltaY<0&&d.up&&d.up(a),a.deltaY>0&&d.down&&d.down(a)))}if(d=d||{},a(d.up)&&!b(d.up))throw new Error("The 'up' callback must be a function");if(a(d.down)&&!b(d.down))throw new Error("The 'down' callback must be a function");if(a(d.left)&&!b(d.left))throw new Error("The 'left' callback must be a function");if(a(d.right)&&!b(d.right))throw new Error("The 'right' callback must be a function");if(!(a(d.up)||a(d.down)||a(d.left)||a(d.right)))throw new Error("At least one callback ('up', 'down', 'left' or 'right') must be provided");c.data("___wheelie_bindWheel___",f),c.on("wheel",f)},unbind:function(a){var c=a.data("___wheelie_bindWheel___");b(c)&&(a.data("___wheelie_bindWheel___",null),a.off("wheel",c))}}}]);

@@ -12,4 +12,4 @@ 'use strict';

banner: {
short: '/* <%= pkg.name %> v<%= pkg.version %>, (c) <%= grunt.template.today("yyyy") %> Joel Mukuthu, MIT License, built: <%= grunt.template.date("dd-mm-yyyy HH:MM:ss Z") %> */\n',
long: '/**\n * <%= pkg.name %>\n * Version: <%= pkg.version %>\n * (c) <%= grunt.template.today("yyyy") %> Joel Mukuthu\n * MIT License\n * Built on: <%= grunt.template.date("dd-mm-yyyy HH:MM:ss Z") %>\n **/\n\n'
short: '/* <%= pkg.name %> v<%= pkg.version %>, (c) 2016-<%= grunt.template.today("yyyy") %> Joel Mukuthu, MIT License, built: <%= grunt.template.date("dd-mm-yyyy HH:MM:ss Z") %> */\n',
long: '/**\n * <%= pkg.name %>\n * Version: <%= pkg.version %>\n * (c) 2016-<%= grunt.template.today("yyyy") %> Joel Mukuthu\n * MIT License\n * Built on: <%= grunt.template.date("dd-mm-yyyy HH:MM:ss Z") %>\n **/\n\n'
}

@@ -16,0 +16,0 @@ },

The MIT License
Copyright (c) 2016, Joel Mukuthu.
Copyright (c) 2016-2017, Joel Mukuthu.

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "angular-wheelie",
"version": "2.1.0",
"version": "3.0.1",
"description": "Mousewheel as an angular service",

@@ -25,3 +25,3 @@ "main": "dist/angular-wheelie.js",

"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-uglify": "^1.0.1",
"grunt-contrib-uglify": "^2.2.0",
"grunt-release-it": "^1.0.1",

@@ -28,0 +28,0 @@ "karma": "^1.1.1",

@@ -1,4 +0,2 @@

angular
.module('wheelie')
.factory('wheelie', [function () {
angular.module('wheelie').factory('wheelie', [function () {
var isDefined = angular.isDefined;

@@ -5,0 +3,0 @@ var isFunction = angular.isFunction;

@@ -0,1 +1,5 @@

if (typeof exports === 'object') {
module.exports = 'wheelie';
}
angular.module('wheelie', []);
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