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

mixinable

Package Overview
Dependencies
Maintainers
5
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mixinable - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

dist/index.modern.js

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [5.0.2](https://github.com/untool/mixinable/compare/v5.0.1...v5.0.2) (2020-05-11)
### [5.0.1](https://github.com/untool/mixinable/compare/v5.0.0...v5.0.1) (2020-04-24)

@@ -7,0 +9,0 @@

2

dist/index.js

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

function n(n){for(var r=[],o=arguments.length-1;o-- >0;)r[o]=arguments[o+1];var t=n.slice().pop();if(p(t))return t.apply(void 0,r)}function r(n){for(var r=[],o=arguments.length-1;o-- >0;)r[o]=arguments[o+1];var t=n.map(function(n){return n.apply(void 0,r)});return t.find(a)?Promise.all(t):t}function o(n,r){for(var o=[],t=arguments.length-2;t-- >0;)o[t]=arguments[t+2];return n.reduce(function(n,r){return a(n)?n.then(function(n){return r.apply(void 0,[n].concat(o))}):r.apply(void 0,[n].concat(o))},r)}function t(n){for(var r=[],t=arguments.length-1;t-- >0;)r[t]=arguments[t+1];return o.apply(void 0,[n.slice().reverse()].concat(r))}var e={callable:function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return u(n).apply(void 0,r)},override:function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return u(n).apply(void 0,r)},parallel:function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return u(r).apply(void 0,n)},pipe:function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return u(o).apply(void 0,n)},compose:function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return u(t).apply(void 0,n)}},i={callable:function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return l(n).apply(void 0,r)},override:function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return l(n).apply(void 0,r)},sequence:function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return l(r).apply(void 0,n)},parallel:function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return l(r).apply(void 0,n)},pipe:function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return l(o).apply(void 0,n)},compose:function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return l(t).apply(void 0,n)}};function p(n){return"function"==typeof n}function a(n){return n&&p(n.then)&&n instanceof Promise}function u(n){return function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];var t=n.apply(void 0,r);return a(t)?t:Promise.resolve(t)}}function l(n){return function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];var t=n.apply(void 0,r);if(a(t))throw new Error("got promise in sync mode");return t}}exports.define=function(n,r){var o=function(){for(var o=this,t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=(r||[]).map(function(n){return new(Function.prototype.bind.apply(n,[null].concat(t)))});Object.keys(n||{}).forEach(function(r){o[r]=n[r].bind(o,i.reduce(function(n,o){return p(o[r])&&n.push(o[r].bind(o)),n},[])),i.forEach(function(n){n[r]=o[r]})})};return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return new(Function.prototype.bind.apply(o,[null].concat(n)))}},exports.override=n,exports.callable=n,exports.parallel=r,exports.pipe=o,exports.compose=t,exports.async=e,exports.sync=i;
function n(e,r){return(n=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(e,r)}function e(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function r(t,c,l){return(r=e()?Reflect.construct:function(e,r,t){var c=[null];c.push.apply(c,r);var l=new(Function.bind.apply(e,c));return t&&n(l,t.prototype),l}).apply(null,arguments)}function t(n){var e=n.slice().pop();if(u(e))return e.apply(void 0,[].slice.call(arguments,1))}function c(n){var e=arguments,r=n.map(function(n){return n.apply(void 0,[].slice.call(e,1))});return r.find(p)?Promise.all(r):r}function l(n,e){var r=[].slice.call(arguments,2);return n.reduce(function(n,e){return p(n)?n.then(function(n){return e.apply(void 0,[n].concat(r))}):e.apply(void 0,[n].concat(r))},e)}function o(n){return l.apply(void 0,[n.slice().reverse()].concat([].slice.call(arguments,1)))}var i={callable:function(){return f(t).apply(void 0,[].slice.call(arguments))},override:function(){return f(t).apply(void 0,[].slice.call(arguments))},sequence:function(){return f(c).apply(void 0,[].slice.call(arguments))},parallel:function(){return f(c).apply(void 0,[].slice.call(arguments))},pipe:function(){return f(l).apply(void 0,[].slice.call(arguments))},compose:function(){return f(o).apply(void 0,[].slice.call(arguments))}};function u(n){return"function"==typeof n}function p(n){return n&&u(n.then)&&n instanceof Promise}function a(n){return function(){var e=n.apply(void 0,[].slice.call(arguments));return p(e)?e:Promise.resolve(e)}}function f(n){return function(){var e=n.apply(void 0,[].slice.call(arguments));if(p(e))throw new Error("got promise in sync mode");return e}}exports.async={callable:function(){return a(t).apply(void 0,[].slice.call(arguments))},override:function(){return a(t).apply(void 0,[].slice.call(arguments))},parallel:function(){return a(c).apply(void 0,[].slice.call(arguments))},pipe:function(){return a(l).apply(void 0,[].slice.call(arguments))},compose:function(){return a(o).apply(void 0,[].slice.call(arguments))}},exports.callable=t,exports.compose=o,exports.define=function(n,e){var t=function(){var t=arguments,c=this,l=(e||[]).map(function(n){return r(n,[].slice.call(t))});Object.keys(n||{}).forEach(function(e){c[e]=n[e].bind(c,l.reduce(function(n,r){return u(r[e])&&n.push(r[e].bind(r)),n},[])),l.forEach(function(n){n[e]=c[e]})})};return function(){return r(t,[].slice.call(arguments))}},exports.override=t,exports.parallel=c,exports.pipe=l,exports.sync=i;
//# sourceMappingURL=index.js.map

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

!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(n.mixinable={})}(this,function(n){function r(n){for(var r=[],e=arguments.length-1;e-- >0;)r[e]=arguments[e+1];var o=n.slice().pop();if(a(o))return o.apply(void 0,r)}function e(n){for(var r=[],e=arguments.length-1;e-- >0;)r[e]=arguments[e+1];var o=n.map(function(n){return n.apply(void 0,r)});return o.find(f)?Promise.all(o):o}function o(n,r){for(var e=[],o=arguments.length-2;o-- >0;)e[o]=arguments[o+2];return n.reduce(function(n,r){return f(n)?n.then(function(n){return r.apply(void 0,[n].concat(e))}):r.apply(void 0,[n].concat(e))},r)}function t(n){for(var r=[],e=arguments.length-1;e-- >0;)r[e]=arguments[e+1];return o.apply(void 0,[n.slice().reverse()].concat(r))}var i={callable:function(){for(var n=[],e=arguments.length;e--;)n[e]=arguments[e];return p(r).apply(void 0,n)},override:function(){for(var n=[],e=arguments.length;e--;)n[e]=arguments[e];return p(r).apply(void 0,n)},parallel:function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return p(e).apply(void 0,n)},pipe:function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return p(o).apply(void 0,n)},compose:function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return p(t).apply(void 0,n)}},u={callable:function(){for(var n=[],e=arguments.length;e--;)n[e]=arguments[e];return l(r).apply(void 0,n)},override:function(){for(var n=[],e=arguments.length;e--;)n[e]=arguments[e];return l(r).apply(void 0,n)},sequence:function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return l(e).apply(void 0,n)},parallel:function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return l(e).apply(void 0,n)},pipe:function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return l(o).apply(void 0,n)},compose:function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return l(t).apply(void 0,n)}};function a(n){return"function"==typeof n}function f(n){return n&&a(n.then)&&n instanceof Promise}function p(n){return function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var o=n.apply(void 0,r);return f(o)?o:Promise.resolve(o)}}function l(n){return function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];var o=n.apply(void 0,r);if(f(o))throw new Error("got promise in sync mode");return o}}n.define=function(n,r){var e=function(){for(var e=this,o=[],t=arguments.length;t--;)o[t]=arguments[t];var i=(r||[]).map(function(n){return new(Function.prototype.bind.apply(n,[null].concat(o)))});Object.keys(n||{}).forEach(function(r){e[r]=n[r].bind(e,i.reduce(function(n,e){return a(e[r])&&n.push(e[r].bind(e)),n},[])),i.forEach(function(n){n[r]=e[r]})})};return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return new(Function.prototype.bind.apply(e,[null].concat(n)))}},n.override=r,n.callable=r,n.parallel=e,n.pipe=o,n.compose=t,n.async=i,n.sync=u});
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((n=n||self).mixinable={})}(this,function(n){function e(n,t){return(e=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,t)}function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function c(n,r,l){return(c=t()?Reflect.construct:function(n,t,c){var r=[null];r.push.apply(r,t);var l=new(Function.bind.apply(n,r));return c&&e(l,c.prototype),l}).apply(null,arguments)}function r(n){var e=n.slice().pop();if(a(e))return e.apply(void 0,[].slice.call(arguments,1))}function l(n){var e=arguments,t=n.map(function(n){return n.apply(void 0,[].slice.call(e,1))});return t.find(p)?Promise.all(t):t}function i(n,e){var t=[].slice.call(arguments,2);return n.reduce(function(n,e){return p(n)?n.then(function(n){return e.apply(void 0,[n].concat(t))}):e.apply(void 0,[n].concat(t))},e)}function o(n){return i.apply(void 0,[n.slice().reverse()].concat([].slice.call(arguments,1)))}var u={callable:function(){return s(r).apply(void 0,[].slice.call(arguments))},override:function(){return s(r).apply(void 0,[].slice.call(arguments))},sequence:function(){return s(l).apply(void 0,[].slice.call(arguments))},parallel:function(){return s(l).apply(void 0,[].slice.call(arguments))},pipe:function(){return s(i).apply(void 0,[].slice.call(arguments))},compose:function(){return s(o).apply(void 0,[].slice.call(arguments))}};function a(n){return"function"==typeof n}function p(n){return n&&a(n.then)&&n instanceof Promise}function f(n){return function(){var e=n.apply(void 0,[].slice.call(arguments));return p(e)?e:Promise.resolve(e)}}function s(n){return function(){var e=n.apply(void 0,[].slice.call(arguments));if(p(e))throw new Error("got promise in sync mode");return e}}n.async={callable:function(){return f(r).apply(void 0,[].slice.call(arguments))},override:function(){return f(r).apply(void 0,[].slice.call(arguments))},parallel:function(){return f(l).apply(void 0,[].slice.call(arguments))},pipe:function(){return f(i).apply(void 0,[].slice.call(arguments))},compose:function(){return f(o).apply(void 0,[].slice.call(arguments))}},n.callable=r,n.compose=o,n.define=function(n,e){var t=function(){var t=arguments,r=this,l=(e||[]).map(function(n){return c(n,[].slice.call(t))});Object.keys(n||{}).forEach(function(e){r[e]=n[e].bind(r,l.reduce(function(n,t){return a(t[e])&&n.push(t[e].bind(t)),n},[])),l.forEach(function(n){n[e]=r[e]})})};return function(){return c(t,[].slice.call(arguments))}},n.override=r,n.parallel=l,n.pipe=i,n.sync=u});
//# sourceMappingURL=index.umd.js.map
{
"name": "mixinable",
"version": "5.0.1",
"version": "5.0.2",
"description": "Functional JavaScript Mixin Utility",

@@ -41,9 +41,9 @@ "source": "src/index.js",

"cz-conventional-changelog": "^3.0.0",
"eslint": "^6.0.0",
"eslint": "^7.0.0",
"esm": "^3.2.25",
"husky": "^4.0.0",
"lint-staged": "^10.0.0",
"microbundle": "^0.11.0",
"microbundle": "^0.12.0",
"prettier": "^1.13.4",
"standard-version": "^7.0.0"
"standard-version": "^8.0.0"
},

@@ -50,0 +50,0 @@ "renovate": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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