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

is-array-x

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-array-x - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

tests/index.html

2

index.js
/**
* @file Determines whether the passed value is an Array.
* @version 1.2.0
* @version 1.2.1
* @author Xotic750 <Xotic750@gmail.com>

@@ -5,0 +5,0 @@ * @copyright Xotic750

@@ -1,5 +0,5 @@

(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.returnExports = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.returnExports = f()}})(function(){var define,module,exports;return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}return e})()({1:[function(_dereq_,module,exports){
/**
* @file Determines whether the passed value is an Array.
* @version 1.2.0
* @version 1.2.1
* @author Xotic750 <Xotic750@gmail.com>

@@ -45,3 +45,3 @@ * @copyright Xotic750

* @file Invokes function, returning an object of the results.
* @version 1.1.1
* @version 1.1.3
* @author Xotic750 <Xotic750@gmail.com>

@@ -164,3 +164,3 @@ * @copyright Xotic750

* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring|19.1.3.6 Object.prototype.toString ( )}
* @version 1.4.2
* @version 1.4.3
* @author Xotic750 <Xotic750@gmail.com>

@@ -167,0 +167,0 @@ * @copyright Xotic750

@@ -1,4 +0,5 @@

!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){/**
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){
/**
* @file Determines whether the passed value is an Array.
* @version 1.2.0
* @version 1.2.1
* @author Xotic750 <Xotic750@gmail.com>

@@ -9,5 +10,6 @@ * @copyright Xotic750

*/
"use strict";var $isArray,nativeIsArray="function"==typeof Array.isArray&&Array.isArray,testRes=nativeIsArray&&_dereq_("attempt-x")(function(){return!0===nativeIsArray([])&&!1===nativeIsArray({length:0})});if(testRes&&!1===testRes.threw&&!0===testRes.value)$isArray=nativeIsArray;else{var toStringTag=_dereq_("to-string-tag-x");$isArray=function isArray(obj){return"[object Array]"===toStringTag(obj)}}module.exports=$isArray},{"attempt-x":2,"to-string-tag-x":4}],2:[function(_dereq_,module,exports){/**
"use strict";var $isArray,nativeIsArray="function"==typeof Array.isArray&&Array.isArray,testRes=nativeIsArray&&_dereq_("attempt-x")(function(){return!0===nativeIsArray([])&&!1===nativeIsArray({length:0})});if(testRes&&!1===testRes.threw&&!0===testRes.value)$isArray=nativeIsArray;else{var toStringTag=_dereq_("to-string-tag-x");$isArray=function isArray(obj){return"[object Array]"===toStringTag(obj)}}module.exports=$isArray},{"attempt-x":2,"to-string-tag-x":4}],2:[function(_dereq_,module,exports){
/**
* @file Invokes function, returning an object of the results.
* @version 1.1.1
* @version 1.1.3
* @author Xotic750 <Xotic750@gmail.com>

@@ -18,6 +20,7 @@ * @copyright Xotic750

*/
"use strict";var getArgs=function _getArgs(args){var length=args.length>>>0,array=[],argLength=length-1;if(argLength<1)return array;array.length=argLength;for(var index=1;index<length;index+=1)array[index-1]=args[index];return array};module.exports=function attempt(fn){try{return{threw:!1,value:fn.apply(this,getArgs(arguments))}}catch(e){return{threw:!0,value:e}}}},{}],3:[function(_dereq_,module,exports){module.exports=function isNull(value){return null===value}},{}],4:[function(_dereq_,module,exports){/**
"use strict";module.exports=function attempt(fn){try{return{threw:!1,value:fn.apply(this,function _getArgs(args){var length=args.length>>>0,array=[],argLength=length-1;if(argLength<1)return array;array.length=argLength;for(var index=1;index<length;index+=1)array[index-1]=args[index];return array}(arguments))}}catch(e){return{threw:!0,value:e}}}},{}],3:[function(_dereq_,module,exports){module.exports=function isNull(value){return null===value}},{}],4:[function(_dereq_,module,exports){
/**
* @file Get an object's ES6 @@toStringTag.
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring|19.1.3.6 Object.prototype.toString ( )}
* @version 1.4.2
* @version 1.4.3
* @author Xotic750 <Xotic750@gmail.com>

@@ -24,0 +27,0 @@ * @copyright Xotic750

{
"name": "is-array-x",
"version": "1.2.0",
"version": "1.2.1",
"description": "Determines whether the passed value is an Array.",

@@ -10,3 +10,3 @@ "homepage": "https://github.com/Xotic750/is-array-x",

},
"copyright": "Copyright (c) 2017",
"copyright": "Copyright (c) 2017-present",
"keywords": [

@@ -33,18 +33,19 @@ "Array",

"dependencies": {
"attempt-x": "^1.1.1",
"to-string-tag-x": "^1.4.2"
"attempt-x": "^1.1.3",
"to-string-tag-x": "^1.4.3"
},
"devDependencies": {
"@xotic750/eslint-config-standard-x": "^2.2.1",
"browserify": "^14.4.0",
"@xotic750/eslint-config-standard-x": "^3.1.1",
"ajv": "^6.1.1",
"browserify": "^16.1.0",
"browserify-derequire": "^0.9.4",
"cross-env": "^5.0.1",
"es5-shim": "^4.5.9",
"cross-env": "^5.1.3",
"es5-shim": "^4.5.10",
"es6-shim": "^0.35.3",
"es7-shim": "^6.0.0",
"eslint": "^4.2.0",
"eslint-plugin-compat": "^1.0.4",
"eslint-plugin-css-modules": "^2.7.2",
"eslint-plugin-eslint-comments": "^1.0.2",
"eslint-plugin-jsdoc": "^3.1.1",
"eslint": "^4.18.1",
"eslint-plugin-compat": "^2.2.0",
"eslint-plugin-css-modules": "^2.7.5",
"eslint-plugin-eslint-comments": "^2.0.2",
"eslint-plugin-jsdoc": "^3.5.0",
"eslint-plugin-json": "^1.2.0",

@@ -54,13 +55,13 @@ "eslint-plugin-no-use-extend-native": "^0.3.12",

"jasmine-node": "^1.14.5",
"jsdoc-to-markdown": "^3.0.0",
"jsdoc-to-markdown": "^4.0.1",
"json3": "^3.3.2",
"make-jasmine-spec-runner-html": "^1.3.0",
"ncp": "^2.0.0",
"nodemon": "^1.11.0",
"nsp": "^2.6.3",
"parallelshell": "^3.0.1",
"nodemon": "^1.15.1",
"nsp": "^3.2.1",
"parallelshell": "^3.0.2",
"replace-x": "^1.5.0",
"rimraf": "^2.6.1",
"serve": "^6.0.2",
"uglify-js": "^3.0.24"
"rimraf": "^2.6.2",
"serve": "^6.4.11",
"uglify-js": "^3.3.12"
},

@@ -67,0 +68,0 @@ "scripts": {

@@ -26,3 +26,3 @@ <a href="https://travis-ci.org/Xotic750/is-array-x"

**Version**: 1.2.0
**Version**: 1.2.1
**Author**: Xotic750 <Xotic750@gmail.com>

@@ -29,0 +29,0 @@ **License**: [MIT](&lt;https://opensource.org/licenses/MIT&gt;)

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