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

contra

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contra - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

bower.json
{
"name": "contra",
"description": "Asynchronous flow control with a functional taste to it",
"version": "1.2.1",
"version": "1.2.2",
"homepage": "https://github.com/bevacqua/contra",

@@ -6,0 +6,0 @@ "author": {

@@ -15,2 +15,23 @@ (function (Object, Array) {

}
if (!Array.prototype.indexOf) {
Array.prototype.indexOf = function (what, start) {
if (this === undefined || this === null) {
throw new TypeError( '"this" is null or not defined' );
}
var length = this.length;
start = +start || 0;
if (Math.abs(start) === Infinity) {
start = 0;
} else if (start < 0) {
start += length;
if (start < 0) { start = 0; }
}
for (; start < length; start++) {
if (this[start] === what) {
return start;
}
}
return -1;
};
}
if (!Array.prototype.filter) {

@@ -17,0 +38,0 @@ Array.prototype.filter = function (fn, ctx) {

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

!function(t,o){"use strict";if(o.prototype.forEach||(o.prototype.forEach=function(t,o){if(void 0===this||null===this||"function"!=typeof t)throw new TypeError;for(var r=this,n=r.length,e=0;n>e;e++)e in r&&t.call(o,r[e],e,r)}),o.prototype.filter||(o.prototype.filter=function(t,o){var r=[];return this.forEach(function(n,e,i){t.call(o,n,e,i)&&r.push(n)},o),r}),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var r=o.prototype.slice.call(arguments,1),n=this,e=function(){},i=function(){var i=this instanceof e&&t?this:t,p=r.concat(o.prototype.slice.call(arguments));return n.apply(i,p)};return e.prototype=this.prototype,i.prototype=new e,i}),t.keys||(t.keys=function(t){var o=[];for(var r in t)t.hasOwnProperty(r)&&o.push(r);return o}),t.defineProperty)try{t.defineProperty({},"x",{})}catch(r){t.definePropertyPartial=!0}}(Object,Array);
!function(t,r){"use strict";if(r.prototype.forEach||(r.prototype.forEach=function(t,r){if(void 0===this||null===this||"function"!=typeof t)throw new TypeError;for(var o=this,n=o.length,e=0;n>e;e++)e in o&&t.call(r,o[e],e,o)}),r.prototype.indexOf||(r.prototype.indexOf=function(t,r){if(void 0===this||null===this)throw new TypeError('"this" is null or not defined');var o=this.length;for(r=+r||0,1/0===Math.abs(r)?r=0:0>r&&(r+=o,0>r&&(r=0));o>r;r++)if(this[r]===t)return r;return-1}),r.prototype.filter||(r.prototype.filter=function(t,r){var o=[];return this.forEach(function(n,e,i){t.call(r,n,e,i)&&o.push(n)},r),o}),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var o=r.prototype.slice.call(arguments,1),n=this,e=function(){},i=function(){var i=this instanceof e&&t?this:t,p=o.concat(r.prototype.slice.call(arguments));return n.apply(i,p)};return e.prototype=this.prototype,i.prototype=new e,i}),t.keys||(t.keys=function(t){var r=[];for(var o in t)t.hasOwnProperty(o)&&r.push(o);return r}),t.defineProperty)try{t.defineProperty({},"x",{})}catch(o){t.definePropertyPartial=!0}}(Object,Array);
{
"name": "contra",
"description": "Asynchronous flow control with a functional taste to it",
"version": "1.2.1",
"version": "1.2.2",
"homepage": "https://github.com/bevacqua/contra",

@@ -6,0 +6,0 @@ "author": {

@@ -15,2 +15,23 @@ (function (Object, Array) {

}
if (!Array.prototype.indexOf) {
Array.prototype.indexOf = function (what, start) {
if (this === undefined || this === null) {
throw new TypeError( '"this" is null or not defined' );
}
var length = this.length;
start = +start || 0;
if (Math.abs(start) === Infinity) {
start = 0;
} else if (start < 0) {
start += length;
if (start < 0) { start = 0; }
}
for (; start < length; start++) {
if (this[start] === what) {
return start;
}
}
return -1;
};
}
if (!Array.prototype.filter) {

@@ -17,0 +38,0 @@ Array.prototype.filter = function (fn, ctx) {

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