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

remixin

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remixin - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

dist/remixin-cjs.js
/*!
* Remixin v1.0.1
* Remixin v1.0.3
* (c) SoundCloud 2015
* Remixin may be freely distributed under the MIT license.
*/
!function(t){var n=t(require("underscore"));module.exports=n}(function(t){function n(){this.mixins=t.initial(arguments),this.properties=t.last(arguments)}function r(t,n){this.applyTo=function(r){t.applyTo(r,n)}}function e(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2]);case 4:return t.call(n,r[0],r[1],r[2],r[3]);default:return t.apply(n,r)}}function i(t,n){return null==t?n.slice():o(c(t),n)}function o(n,r){return n.concat(t.difference(r,n))}function u(t,n){return null==t?n:i(s(t),s(n)).join(" ")}function a(n,r){return t.extend({},r,n)}function s(n){return t.compact(n.split(l))}function c(n){return t.isArray(n)?n:[n]}var f=["before","after","around","requires","override","defaults","applyTo","requirePrototype","merge"],l=/\s+/;return t.extend(n.prototype,{applyTo:function(n,r){var e=this.properties;this.defaults(n,e.defaults),this.extend(n,e),this.merge(n,e.merge),t.invoke(this.mixins,"applyTo",n),["requires","requirePrototype","override","before","after","around"].forEach(function(t){this[t](n,e[t])},this),e.applyTo&&e.applyTo.call(this,n,r)},withOptions:function(t){return new r(this,t)},before:function(n,r){t.each(r,function(t,r){var i=n[r];n[r]=function(){for(var n=Array(arguments.length),r=0;r<arguments.length;++r)n[r]=arguments[r];return e(t,this,n),e(i,this,n)}})},after:function(n,r){t.each(r,function(t,r){var i=n[r];n[r]=function(){for(var n=Array(arguments.length),r=0;r<arguments.length;++r)n[r]=arguments[r];var o=e(i,this,n);return e(t,this,n),o}})},around:function(n,r){t.each(r,function(t,r){var i=n[r];n[r]=function(){var n=0,r=arguments.length,o=Array(r+1);for(o[0]=i.bind(this);r>n;++n)o[n+1]=arguments[n];return e(t,this,o)}})},override:function(n,r){t.extend(n,r)},defaults:function(n,r){t.each(r,function(t,r){n.hasOwnProperty(r)||(n[r]=t)})},merge:function(n,r){t.each(r,function(r,e){if(null!=r){var o=n[e];n[e]=t.isArray(r)?i(o,r):t.isString(r)?u(o,r):a(o,r)}})},extend:function(n,r){var e=t.omit(r,f);t.extend(n,e)},requires:t.noop,requirePrototype:t.noop}),r.prototype=n.prototype,n});
!function(r){var t=r(require("underscore"));module.exports=t}(function(r){function t(){this.mixins=r.initial(arguments),this.properties=r.last(arguments)}function n(r,t){this.applyTo=function(n){r.applyTo(n,t)}}function e(r,t,n){switch(n.length){case 0:return r.call(t);case 1:return r.call(t,n[0]);case 2:return r.call(t,n[0],n[1]);case 3:return r.call(t,n[0],n[1],n[2]);case 4:return r.call(t,n[0],n[1],n[2],n[3]);default:return r.apply(t,n)}}function i(r,t){return null==r?t.slice():o(c(r),t)}function o(t,n){return t.concat(r.difference(n,t))}function u(r,t){return null==r?t:i(s(r),s(t)).join(" ")}function a(t,n){return r.extend({},n,t)}function s(t){return r.compact(t.split(l))}function c(t){return r.isArray(t)?t:[t]}var f=["before","after","around","requires","override","defaults","applyTo","requirePrototype","merge"],l=/\s+/;return r.extend(t.prototype,{applyTo:function(t,n){var e=this.properties;this.defaults(t,e.defaults),this.extend(t,e),this.merge(t,e.merge),r.invoke(this.mixins,"applyTo",t),["requires","requirePrototype","override","before","after","around"].forEach(function(r){this[r](t,e[r])},this),e.applyTo&&e.applyTo.call(this,t,n)},withOptions:function(r){return new n(this,r)},before:function(t,n){r.each(n,function(r,n){var i=t[n];t[n]=function(){for(var t=Array(arguments.length),n=0;n<arguments.length;++n)t[n]=arguments[n];return e(r,this,t),e(i,this,t)}})},after:function(t,n){r.each(n,function(r,n){var i=t[n];t[n]=function(){for(var t=Array(arguments.length),n=0;n<arguments.length;++n)t[n]=arguments[n];var o=e(i,this,t);return e(r,this,t),o}})},around:function(t,n){r.each(n,function(r,n){var i=t[n];t[n]=function(){var t=arguments.length,n=Array(t+1);n[0]=i.bind(this);for(var o=0;t>o;++o)n[o+1]=arguments[o];return e(r,this,n)}})},override:function(t,n){r.extend(t,n)},defaults:function(t,n){r.each(n,function(r,n){t.hasOwnProperty(n)||(t[n]=r)})},merge:function(t,n){r.each(n,function(n,e){if(null!=n){var o=t[e];t[e]=r.isArray(n)?i(o,n):r.isString(n)?u(o,n):a(o,n)}})},extend:function(t,n){var e=r.omit(n,f);r.extend(t,e)},requires:r.noop,requirePrototype:r.noop}),n.prototype=t.prototype,t});
/*!
* Remixin v1.0.1
* Remixin v1.0.3
* (c) SoundCloud 2015

@@ -160,5 +160,5 @@ * Remixin may be freely distributed under the MIT license.

obj[prop] = function() {
var i = 0, l = arguments.length, args = new Array(l + 1);
var l = arguments.length, args = new Array(l + 1);
args[0] = origFn.bind(this);
for (;l > i; ++i) {
for (var i = 0; l > i; ++i) {
args[i + 1] = arguments[i];

@@ -165,0 +165,0 @@ }

/*!
* Remixin v1.0.1
* Remixin v1.0.3
* (c) SoundCloud 2015

@@ -165,5 +165,5 @@ * Remixin may be freely distributed under the MIT license.

obj[prop] = function() {
var i = 0, l = arguments.length, args = new Array(l + 1);
var l = arguments.length, args = new Array(l + 1);
args[0] = origFn.bind(this);
for (;l > i; ++i) {
for (var i = 0; l > i; ++i) {
args[i + 1] = arguments[i];

@@ -170,0 +170,0 @@ }

/*!
* Remixin v1.0.1
* Remixin v1.0.3
* (c) SoundCloud 2015
* Remixin may be freely distributed under the MIT license.
*/
!function(n){var t,r=this,e=n;t=r.Remixin,r.Remixin=e,e.noConflict=function(){return r.Remixin=t,e}}(function(n){function t(){this.mixins=n.initial(arguments),this.properties=n.last(arguments)}function r(n,t){this.applyTo=function(r){n.applyTo(r,t)}}function e(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2]);case 4:return n.call(t,r[0],r[1],r[2],r[3]);default:return n.apply(t,r)}}function i(n,t){return null==n?t.slice():o(s(n),t)}function o(t,r){return t.concat(n.difference(r,t))}function u(n,t){return null==n?t:i(c(n),c(t)).join(" ")}function a(t,r){return n.extend({},r,t)}function c(t){return n.compact(t.split(l))}function s(t){return n.isArray(t)?t:[t]}var f=["before","after","around","requires","override","defaults","applyTo","requirePrototype","merge"],l=/\s+/;return n.extend(t.prototype,{applyTo:function(t,r){var e=this.properties;this.defaults(t,e.defaults),this.extend(t,e),this.merge(t,e.merge),n.invoke(this.mixins,"applyTo",t),["requires","requirePrototype","override","before","after","around"].forEach(function(n){this[n](t,e[n])},this),e.applyTo&&e.applyTo.call(this,t,r)},withOptions:function(n){return new r(this,n)},before:function(t,r){n.each(r,function(n,r){var i=t[r];t[r]=function(){for(var t=Array(arguments.length),r=0;r<arguments.length;++r)t[r]=arguments[r];return e(n,this,t),e(i,this,t)}})},after:function(t,r){n.each(r,function(n,r){var i=t[r];t[r]=function(){for(var t=Array(arguments.length),r=0;r<arguments.length;++r)t[r]=arguments[r];var o=e(i,this,t);return e(n,this,t),o}})},around:function(t,r){n.each(r,function(n,r){var i=t[r];t[r]=function(){var t=0,r=arguments.length,o=Array(r+1);for(o[0]=i.bind(this);r>t;++t)o[t+1]=arguments[t];return e(n,this,o)}})},override:function(t,r){n.extend(t,r)},defaults:function(t,r){n.each(r,function(n,r){t.hasOwnProperty(r)||(t[r]=n)})},merge:function(t,r){n.each(r,function(r,e){if(null!=r){var o=t[e];t[e]=n.isArray(r)?i(o,r):n.isString(r)?u(o,r):a(o,r)}})},extend:function(t,r){var e=n.omit(r,f);n.extend(t,e)},requires:n.noop,requirePrototype:n.noop}),r.prototype=t.prototype,t});
!function(n){var t,r=this,e=n;t=r.Remixin,r.Remixin=e,e.noConflict=function(){return r.Remixin=t,e}}(function(n){function t(){this.mixins=n.initial(arguments),this.properties=n.last(arguments)}function r(n,t){this.applyTo=function(r){n.applyTo(r,t)}}function e(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2]);case 4:return n.call(t,r[0],r[1],r[2],r[3]);default:return n.apply(t,r)}}function i(n,t){return null==n?t.slice():o(s(n),t)}function o(t,r){return t.concat(n.difference(r,t))}function u(n,t){return null==n?t:i(c(n),c(t)).join(" ")}function a(t,r){return n.extend({},r,t)}function c(t){return n.compact(t.split(l))}function s(t){return n.isArray(t)?t:[t]}var f=["before","after","around","requires","override","defaults","applyTo","requirePrototype","merge"],l=/\s+/;return n.extend(t.prototype,{applyTo:function(t,r){var e=this.properties;this.defaults(t,e.defaults),this.extend(t,e),this.merge(t,e.merge),n.invoke(this.mixins,"applyTo",t),["requires","requirePrototype","override","before","after","around"].forEach(function(n){this[n](t,e[n])},this),e.applyTo&&e.applyTo.call(this,t,r)},withOptions:function(n){return new r(this,n)},before:function(t,r){n.each(r,function(n,r){var i=t[r];t[r]=function(){for(var t=Array(arguments.length),r=0;r<arguments.length;++r)t[r]=arguments[r];return e(n,this,t),e(i,this,t)}})},after:function(t,r){n.each(r,function(n,r){var i=t[r];t[r]=function(){for(var t=Array(arguments.length),r=0;r<arguments.length;++r)t[r]=arguments[r];var o=e(i,this,t);return e(n,this,t),o}})},around:function(t,r){n.each(r,function(n,r){var i=t[r];t[r]=function(){var t=arguments.length,r=Array(t+1);r[0]=i.bind(this);for(var o=0;t>o;++o)r[o+1]=arguments[o];return e(n,this,r)}})},override:function(t,r){n.extend(t,r)},defaults:function(t,r){n.each(r,function(n,r){t.hasOwnProperty(r)||(t[r]=n)})},merge:function(t,r){n.each(r,function(r,e){if(null!=r){var o=t[e];t[e]=n.isArray(r)?i(o,r):n.isString(r)?u(o,r):a(o,r)}})},extend:function(t,r){var e=n.omit(r,f);n.extend(t,e)},requires:n.noop,requirePrototype:n.noop}),r.prototype=t.prototype,t});
{
"name": "remixin",
"version": "1.0.2",
"version": "1.0.3",
"description": "Aspect-oriented, mixin library",

@@ -21,3 +21,3 @@ "main": "index.js",

"dependencies": {
"underscore": "1.7.0"
"underscore": "1.8.2"
},

@@ -24,0 +24,0 @@ "devDependencies": {

/*!
* Remixin v1.0.1
* Remixin v1.0.3
* (c) SoundCloud 2015

@@ -4,0 +4,0 @@ * Remixin may be freely distributed under the MIT license.

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