From cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 27 Mar 2019 21:01:33 +0100 Subject: remove node_modules --- node_modules/es5-ext/number/is-integer/implement.js | 8 -------- node_modules/es5-ext/number/is-integer/index.js | 5 ----- node_modules/es5-ext/number/is-integer/is-implemented.js | 7 ------- node_modules/es5-ext/number/is-integer/shim.js | 8 -------- 4 files changed, 28 deletions(-) delete mode 100644 node_modules/es5-ext/number/is-integer/implement.js delete mode 100644 node_modules/es5-ext/number/is-integer/index.js delete mode 100644 node_modules/es5-ext/number/is-integer/is-implemented.js delete mode 100644 node_modules/es5-ext/number/is-integer/shim.js (limited to 'node_modules/es5-ext/number/is-integer') diff --git a/node_modules/es5-ext/number/is-integer/implement.js b/node_modules/es5-ext/number/is-integer/implement.js deleted file mode 100644 index dd1f3bd0e..000000000 --- a/node_modules/es5-ext/number/is-integer/implement.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; - -if (!require("./is-implemented")()) { - Object.defineProperty(Number, "isInteger", { value: require("./shim"), - configurable: true, -enumerable: false, -writable: true }); -} diff --git a/node_modules/es5-ext/number/is-integer/index.js b/node_modules/es5-ext/number/is-integer/index.js deleted file mode 100644 index 71cde73a0..000000000 --- a/node_modules/es5-ext/number/is-integer/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -module.exports = require("./is-implemented")() - ? Number.isInteger - : require("./shim"); diff --git a/node_modules/es5-ext/number/is-integer/is-implemented.js b/node_modules/es5-ext/number/is-integer/is-implemented.js deleted file mode 100644 index f357c7178..000000000 --- a/node_modules/es5-ext/number/is-integer/is-implemented.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; - -module.exports = function () { - var isInteger = Number.isInteger; - if (typeof isInteger !== "function") return false; - return !isInteger("23") && isInteger(34) && !isInteger(32.34); -}; diff --git a/node_modules/es5-ext/number/is-integer/shim.js b/node_modules/es5-ext/number/is-integer/shim.js deleted file mode 100644 index 12058b5a4..000000000 --- a/node_modules/es5-ext/number/is-integer/shim.js +++ /dev/null @@ -1,8 +0,0 @@ -// Credit: http://www.2ality.com/2014/05/is-integer.html - -"use strict"; - -module.exports = function (value) { - if (typeof value !== "number") return false; - return value % 1 === 0; -}; -- cgit v1.2.3