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

is-nan-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-nan-x - npm Package Compare versions

Comparing version 2.0.30 to 2.1.0

55

dist/is-nan-x.js

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

"copywrite": "Copyright (c) 2017-present",
"date": "2019-07-31T21:41:29.786Z",
"date": "2019-08-14T14:23:19.967Z",
"describe": "",
"description": "ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.",
"file": "is-nan-x.js",
"hash": "bd51c37a153af57104ff",
"hash": "37476c682c14de6a7950",
"license": "MIT",
"version": "2.0.30"
"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-07-31T21:41:29.786Z",
"date": "2019-08-14T14:23:19.967Z",
"describe": "",
"description": "ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.",
"file": "is-nan-x.min.js",
"hash": "f60d085a0e920e6c016d",
"hash": "22a0c3b6c28041d39c94",
"license": "MIT",
"version": "2.0.30"
"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.isNanX=t():e.isNanX=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);t.default=function(e){return e!=e}}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.isNanX=t():e.isNanX=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);t.default=function(e){return e!=e}}])});
//# sourceMappingURL=is-nan-x.min.js.map
{
"name": "is-nan-x",
"version": "2.0.30",
"version": "2.1.0",
"description": "ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.",

@@ -42,2 +42,3 @@ "homepage": "https://github.com/Xotic750/is-nan-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"

@@ -62,5 +63,6 @@ },

"@babel/runtime": "^7.5.5",
"@types/jest": "^24.0.16",
"@types/node": "^12.6.8",
"@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",

@@ -70,5 +72,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",

@@ -83,6 +86,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",

@@ -107,5 +110,6 @@ "eslint-plugin-prefer-object-spread": "^1.2.1",

"typescript": "^3.5.3",
"webpack": "^4.38.0",
"webpack": "^4.39.1",
"webpack-bundle-analyzer": "^3.4.1",
"webpack-cli": "^3.3.6",
"webpack-global-object-x": "^1.0.0",
"webpack-merge": "^4.2.1"

@@ -112,0 +116,0 @@ },

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

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

@@ -40,0 +46,0 @@ <a name="module_is-nan-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