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

arguments-extended

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arguments-extended - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

arguments-extended.min.js

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

/*! arguments-extended - v0.0.2 - 2013-06-05
/*! arguments-extended - v0.0.3 - 2013-06-06
* Copyright (c) 2013 Doug Martin; Licensed MIT */
(function(){"use strict";function e(e,t){function n(e,t){if(!d(e))throw new TypeError("args must be an Arguments object");return t=t||0,r.call(e,t)}var r=Array.prototype.slice,d=t.isArguments;return e.define(d,{toArray:n}).expose({argsToArray:n})}"undefined"!=typeof exports?"undefined"!=typeof module&&module.exports&&(module.exports=e(require("extended"),require("is-extended"))):"function"==typeof define&&define.amd?define(["extended","is-extended"],function(t,n){return e(t,n)}):this.argumentsExtended=e(this.extended,this.isExtended)}).call(this);
(function(){"use strict";function e(e,t){function n(e,t){var n=-1,r=0,d=e.length,i=[];for(t=t||0,n+=t;d>++n;)i[r++]=e[n];return i}var r=(Array.prototype.slice,t.isArguments);return e.define(r,{toArray:n}).expose({argsToArray:n})}"undefined"!=typeof exports?"undefined"!=typeof module&&module.exports&&(module.exports=e(require("extended"),require("is-extended"))):"function"==typeof define&&define.amd?define(["extended","is-extended"],function(t,n){return e(t,n)}):this.argumentsExtended=e(this.extended,this.isExtended)}).call(this);

@@ -10,7 +10,9 @@ (function () {

function argsToArray(args, slice) {
if (!isArguments(args)) {
throw new TypeError("args must be an Arguments object");
var i = -1, j = 0, l = args.length, ret = [];
slice = slice || 0;
i += slice;
while (++i < l) {
ret[j++] = args[i];
}
slice = slice || 0;
return pSlice.call(args, slice);
return ret;
}

@@ -17,0 +19,0 @@

{
"name": "arguments-extended",
"version": "0.0.2",
"version": "0.0.3",
"description": "Utilities for working with arguments object",

@@ -5,0 +5,0 @@ "main": "index.js",

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