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

args-to-arr

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

args-to-arr - npm Package Compare versions

Comparing version 1.4.5 to 1.4.6

6

CHANGELOG.md
# args-to-arr changelog
## v1.4.6
***29-AUG-2019***
* dependencies updated
## v1.4.5

@@ -4,0 +10,0 @@

4

dist/args-to-arr.cjs.js

@@ -7,3 +7,3 @@ 'use strict';

if (!isArrayLike(args) && args !== "") {
throw new TypeError((args + " can't be converted to array."));
throw new TypeError(args + " can't be converted to array.");
}

@@ -16,3 +16,3 @@

if (typeof start !== "number" || !isFinite(start)) {
throw new TypeError((start + " is not a valid start point."));
throw new TypeError(start + " is not a valid start point.");
}

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

@@ -5,3 +5,3 @@ import isArrayLike from 'is-array-like';

if (!isArrayLike(args) && args !== "") {
throw new TypeError((args + " can't be converted to array."));
throw new TypeError(args + " can't be converted to array.");
}

@@ -14,3 +14,3 @@

if (typeof start !== "number" || !isFinite(start)) {
throw new TypeError((start + " is not a valid start point."));
throw new TypeError(start + " is not a valid start point.");
}

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

@@ -95,3 +95,3 @@ (function (global, factory) {

if (!isArrayLike(args) && args !== "") {
throw new TypeError((args + " can't be converted to array."));
throw new TypeError(args + " can't be converted to array.");
}

@@ -104,3 +104,3 @@

if (typeof start !== "number" || !isFinite(start)) {
throw new TypeError((start + " is not a valid start point."));
throw new TypeError(start + " is not a valid start point.");
}

@@ -107,0 +107,0 @@

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

var t,e;t=this,e=function(){"use strict";var t=Array.isArray,e=Object.prototype.toString,n=t||function(t){return!!t&&"[object Array]"==e.call(t)},r=function(t){var e=o.call(t);return"[object Function]"===e||"function"==typeof t&&"[object RegExp]"!==e||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)},o=Object.prototype.toString,i=function(t){if(!t)return!1;if(n(t))return!0;if(r(t)||function(t){if(null==t)return!1;var e=Object(t);return e===e.window}(t))return!1;var e="length"in(t=Object(t))&&t.length;return!(1!==t.nodeType||!e)||(0===e||"number"==typeof e&&e>0&&e-1 in t)};return function(t,e){if(!i(t)&&""!==t)throw new TypeError(t+" can't be converted to array.");if(null==e&&(e=0),"number"!=typeof e||!isFinite(e))throw new TypeError(e+" is not a valid start point.");var n=t.length;e<0&&(e+=n);for(var r=Object(t),o=new Array(n-e),f=e;f<n;f++)f in r&&(o[f-e]=r[f]);return o}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).toArray=e();
var t,e;t=this,e=function(){"use strict";var t=Array.isArray,e=Object.prototype.toString,n=t||function(t){return!!t&&"[object Array]"==e.call(t)},r=function(t){var e=o.call(t);return"[object Function]"===e||"function"==typeof t&&"[object RegExp]"!==e||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)},o=Object.prototype.toString,i=function(t){if(!t)return!1;if(n(t))return!0;if(r(t)||function(t){if(null==t)return!1;var e=Object(t);return e===e.window}(t))return!1;var e="length"in(t=Object(t))&&t.length;return!(1!==t.nodeType||!e)||0===e||"number"==typeof e&&e>0&&e-1 in t};return function(t,e){if(!i(t)&&""!==t)throw new TypeError(t+" can't be converted to array.");if(null==e&&(e=0),"number"!=typeof e||!isFinite(e))throw new TypeError(e+" is not a valid start point.");var n=t.length;e<0&&(e+=n);for(var r=Object(t),o=new Array(n-e),f=e;f<n;f++)f in r&&(o[f-e]=r[f]);return o}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).toArray=e();
//# sourceMappingURL=args-to-arr.umd.min.js.map
{
"name": "args-to-arr",
"version": "1.4.5",
"version": "1.4.6",
"description": "converts arguments or any other array-like object into an array starting from specific index.",

@@ -31,3 +31,3 @@ "main": "dist/args-to-arr.cjs.js",

"test": "jest --color -w 3",
"preversion": "npm run clean && npm run build && npm test"
"preversion": "npm run clean && npm test && npm run build"
},

@@ -42,11 +42,12 @@ "files": [

"devDependencies": {
"@types/jest": "^24.0.15",
"@types/node": "^12.0.12",
"bundlib": "^0.8.4",
"eslint": "^6.0.1",
"husky": "^3.0.0",
"jest": "^24.8.0",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.2",
"bundlib": "^0.12.2",
"chokidar": "^3.0.2",
"eslint": "^6.2.2",
"husky": "^3.0.4",
"jest": "^24.9.0",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"typescript": "^3.5.2"
"tslint": "^5.19.0",
"typescript": "^3.6.2"
},

@@ -53,0 +54,0 @@ "author": {

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