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 2.0.24 to 2.1.0

55

dist/is-array-x.js

@@ -5,9 +5,9 @@ /*!

"copywrite": "Copyright (c) 2017-present",
"date": "2019-08-05T21:14:40.813Z",
"date": "2019-08-14T14:59:00.376Z",
"describe": "",
"description": "Determines whether the passed value is an Array.",
"file": "is-array-x.js",
"hash": "54be4328fe94e0152ade",
"hash": "e18e9f2aa20696317a33",
"license": "MIT",
"version": "2.0.24"
"version": "2.1.0"
}

@@ -27,15 +27,44 @@ */

if (typeof self !== 'undefined') {
return self;
}
var ObjectCtr = {}.constructor;
var objectPrototype = ObjectCtr.prototype;
var defineProperty = ObjectCtr.defineProperty;
var $globalThis;
var getGlobalFallback = function() {
if (typeof self !== 'undefined') {
return self;
}
if (typeof window !== 'undefined') {
return window;
}
if (typeof window !== 'undefined') {
return window;
}
if (typeof global !== 'undefined') {
return global;
if (typeof global !== 'undefined') {
return global;
}
return void 0;
};
var returnThis = function() {
return this;
};
try {
if (defineProperty) {
defineProperty(objectPrototype, '$$globalThis$$', {
get: returnThis,
configurable: true
});
} else {
objectPrototype.__defineGetter__('$$globalThis$$', returnThis);
}
$globalThis = typeof $$globalThis$$ === 'undefined' ? getGlobalFallback() : $$globalThis$$;
delete objectPrototype.$$globalThis$$;
return $globalThis;
} catch (error) {
return getGlobalFallback();
}
return Function('return this')();
}()), function() {

@@ -42,0 +71,0 @@ return /******/ (function(modules) { // webpackBootstrap

@@ -5,12 +5,12 @@ /*!

"copywrite": "Copyright (c) 2017-present",
"date": "2019-08-05T21:14:40.813Z",
"date": "2019-08-14T14:59:00.376Z",
"describe": "",
"description": "Determines whether the passed value is an Array.",
"file": "is-array-x.min.js",
"hash": "1facdf1f3208307f21b4",
"hash": "53e3899fcbe09d59d92a",
"license": "MIT",
"version": "2.0.24"
"version": "2.1.0"
}
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.isArrayX=t():e.isArrayX=t()}(function(){"use strict";return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Function("return this")()}(),function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var r=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{threw:!1,value:e.apply(this,n)}}catch(e){return{threw:!0,value:e}}},o={}.toString,u=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":o.call(e)};n.d(t,"implementation",function(){return a});var i=[].isArray,f="function"==typeof i&&i,l=r(function(){return!0===f([])&&!1===f({length:0})}),c=!1===l.threw&&!0===l.value,a=function(e){return"[object Array]"===u(e)},d=c?f:a;t.default=d}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.isArrayX=t():e.isArrayX=t()}(function(){"use strict";var e,t={}.constructor,n=t.prototype,r=t.defineProperty,o=function(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0},u=function(){return this};try{return r?r(n,"$$globalThis$$",{get:u,configurable:!0}):n.__defineGetter__("$$globalThis$$",u),e="undefined"==typeof $$globalThis$$?o():$$globalThis$$,delete n.$$globalThis$$,e}catch(e){return o()}}(),function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var r=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{threw:!1,value:e.apply(this,n)}}catch(e){return{threw:!0,value:e}}},o={}.toString,u=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":o.call(e)};n.d(t,"implementation",function(){return a});var i=[].isArray,f="function"==typeof i&&i,l=r(function(){return!0===f([])&&!1===f({length:0})}),c=!1===l.threw&&!0===l.value,a=function(e){return"[object Array]"===u(e)},d=c?f:a;t.default=d}])});
//# sourceMappingURL=is-array-x.min.js.map
{
"name": "is-array-x",
"version": "2.0.24",
"version": "2.1.0",
"description": "Determines whether the passed value is an Array.",

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

"test:ci": "npm run test -- --ci --maxWorkers=2",
"test:ci-coveralls": "npm run test:ci -- --coverage --coverageReporters=text-lcov | coveralls",
"test:coverage": "npm run test -- --coverage"

@@ -54,4 +55,4 @@ },

"dependencies": {
"attempt-x": "^2.0.23",
"to-string-tag-x": "^2.0.27"
"attempt-x": "^2.1.0",
"to-string-tag-x": "^2.1.0"
},

@@ -66,5 +67,6 @@ "devDependencies": {

"@babel/runtime": "^7.5.5",
"@types/jest": "^24.0.16",
"@types/node": "^12.6.9",
"@xotic750/eslint-config-recommended": "^1.0.5",
"@types/jest": "^24.0.17",
"@types/node": "^12.7.1",
"@types/webpack": "^4.32.1",
"@xotic750/eslint-config-recommended": "^1.1.2",
"babel-core": "^7.0.0-0",

@@ -74,5 +76,6 @@ "babel-eslint": "^10.0.2",

"babel-plugin-lodash": "^3.3.4",
"caniuse-lite": "^1.0.30000988",
"caniuse-lite": "^1.0.30000989",
"coveralls": "^3.0.6",
"cross-env": "^5.2.0",
"eslint": "=5.16.0",
"eslint": "^6.1.0",
"eslint-friendly-formatter": "^4.0.1",

@@ -87,6 +90,6 @@ "eslint-import-resolver-webpack": "^0.11.1",

"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.14.1",
"eslint-plugin-jest": "^22.15.1",
"eslint-plugin-jsdoc": "^15.8.0",
"eslint-plugin-json": "^1.4.0",
"eslint-plugin-lodash": "^5.1.0",
"eslint-plugin-lodash": "^6.0.0",
"eslint-plugin-no-use-extend-native": "^0.4.1",

@@ -114,2 +117,3 @@ "eslint-plugin-prefer-object-spread": "^1.2.1",

"webpack-cli": "^3.3.6",
"webpack-global-object-x": "^1.0.0",
"webpack-merge": "^4.2.1"

@@ -116,0 +120,0 @@ },

@@ -38,2 +38,8 @@ <a

</a>
<a
href="https://coveralls.io/github/Xotic750/is-array-x?branch=master"
title="Coverage Status">
<img src="https://coveralls.io/repos/github/Xotic750/is-array-x/badge.svg?branch=master"
alt="Coverage Status" height="18">
</a>

@@ -40,0 +46,0 @@ <a name="module_is-array-x"></a>

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