Comparing version 1.5.1 to 1.5.2
{ | ||
"name": "contra", | ||
"description": "Asynchronous flow control with a functional taste to it", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"homepage": "https://github.com/bevacqua/contra", | ||
@@ -6,0 +6,0 @@ "author": { |
/** | ||
* contra - Asynchronous flow control with a functional taste to it | ||
* @version v1.5.1 | ||
* @version v1.5.2 | ||
* @link https://github.com/bevacqua/contra | ||
@@ -5,0 +5,0 @@ * @license MIT |
@@ -1,2 +0,2 @@ | ||
// contra@v1.5.1, MIT licensed. https://github.com/bevacqua/contra | ||
// contra@v1.5.2, MIT licensed. https://github.com/bevacqua/contra | ||
!function(n,t,e){"use strict";function r(t){return"[object Array]"===n.prototype.toString.call(t)}function u(n,t){return Array.prototype.slice.call(n,t)}function i(n,t,e){n&&g(function(){n.apply(e||null,t||[])})}function o(n){function t(){e||(e=!0,n.apply(null,arguments))}var e;return t.discard=function(){e=!0},t}function f(n,t,e){var r=n.shift();return r?(e&&e.discard(),i(t,[r]),!0):void 0}function c(){var n=u(arguments),t=n.shift();return function(){var e=u(arguments);t.apply(t,n.concat(e))}}function a(n,t){function e(){var r=o(t);return o(function(){var t=u(arguments),o=n.shift();if(o){if(f(t,r))return;t.push(e()),i(o,t)}else i(r,arguments)})}e()()}function s(t,e,c){function a(n,e){function r(){var t=u(arguments);f(t,s)||(m[n]=t.shift(),e())}i(t[n],[r])}c||(c=e,e=x);var s=o(c),l=v(a,e),p=n.keys(t),m=r(t)?[]:{};l.unshift(p),l.on("drain",function(){s(null,m)})}function l(n,t){s(n,k,t)}function p(t,e){return function(u,i,o,f){2===arguments.length&&(o=i,i=x),3===arguments.length&&"number"!=typeof i&&(f=o,o=i,i=x);var c=n.keys(u),a=r(u)?[]:{};c.forEach(function(n){a[n]=function(t){o(u[n],t)}}),s(a,t||i,e?e(u,f):f)}}function m(n){function t(n,t){return function(n){t(n)}}return p(n,t)}function d(t){function e(t,e){return function(u,i){function o(n,t){return!!i[t]}function f(){var e={};return n.keys(t).forEach(function(n){o(null,n)&&(e[n]=t[n])}),e}return u?void e(u):void e(null,r(i)?t.filter(o):f())}}return p(t,e)}function h(n){var t={};return n===e&&(n={}),n.on=function(n,e){t[n]?t[n].push(e):t[n]=[e]},n.once=function(t,e){e._once=!0,n.on(t,e)},n.off=function(n,e){var r=t[n];r&&r.splice(r.indexOf(e),1)},n.emit=function(){var n=u(arguments),e=n.shift(),r=t[e];if("error"===e&&!r)throw 1===n.length?n[0]:n;r&&(t[e]=r.filter(function(t){return i(t,n),!t._once}))},n}function v(t,e){function f(n){var t=n?"unshift":"push";return function(n,e){var u=r(n)?n:[n];u.forEach(function(n){l[t]({t:n,done:e})}),i(c)}}function c(){if(!(s||m!==x&&p>=m)){if(!l.length)return void(0===p&&d.emit("drain"));p++;var n=l.pop();t(n.t,o(a.bind(null,n))),i(c)}}function a(n){p--,i(n.done,u(arguments,1)),i(c)}var s,l=[],p=0,m=e||1,d=h({push:f(!1),unshift:f(!0),pause:function(){s=!0},resume:function(){s=!1,i(c)},pending:l});return n.defineProperty&&!n.definePropertyPartial&&n.defineProperty(d,"length",{get:function(){return l.length}}),d}var g,y="undefined",k=1,x=1/0,b="function"==typeof setImmediate;g=typeof process!==y&&process.nextTick?b?setImmediate:process.nextTick:b?function(n){setImmediate(n)}:function(n){setTimeout(n,0)};var P={curry:c,concurrent:s,series:l,waterfall:a,each:m(),map:p(),filter:d(),queue:v,emitter:h};P.each.series=m(k),P.map.series=p(k),P.filter.series=d(k),typeof module!==y&&module.exports?module.exports=P:t.contra=P}(Object,this); |
/** | ||
* contra - Asynchronous flow control with a functional taste to it | ||
* @version v1.5.1 | ||
* @version v1.5.2 | ||
* @link https://github.com/bevacqua/contra | ||
@@ -5,0 +5,0 @@ * @license MIT |
@@ -1,2 +0,2 @@ | ||
// contra@v1.5.1, MIT licensed. https://github.com/bevacqua/contra | ||
// contra@v1.5.2, MIT licensed. https://github.com/bevacqua/contra | ||
!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;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.5.1", | ||
"version": "1.5.2", | ||
"homepage": "https://github.com/bevacqua/contra", | ||
@@ -82,5 +82,2 @@ "author": { | ||
}, | ||
"dependencies": { | ||
"gulp-header": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
@@ -92,2 +89,3 @@ "assert": "~1.1.0", | ||
"gulp-git": "~0.2.0", | ||
"gulp-header": "^1.0.2", | ||
"gulp-jshint": "~1.3.4", | ||
@@ -94,0 +92,0 @@ "gulp-mocha": "~0.3.0", |
@@ -329,3 +329,3 @@ ![contra.png][logo] | ||
## `λ.emitter(thing)` | ||
## `λ.emitter(thing={})` | ||
@@ -332,0 +332,0 @@ Augments `thing` with the event emitter methods listed below. If `thing` isn't provided, an event emitter is created for you. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
231583
0
34
6784
16
10
- Removedgulp-header@^1.0.2
- Removedconcat-with-sourcemaps@1.1.0(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedgulp-header@1.8.12(transitive)
- Removedinherits@2.0.4(transitive)
- Removedisarray@1.0.0(transitive)
- Removedlodash._reinterpolate@3.0.0(transitive)
- Removedlodash.template@4.5.0(transitive)
- Removedlodash.templatesettings@4.2.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedxtend@4.0.2(transitive)