@hyperfrontend/immutable-api-utils/built-in-copy/numbernumber
Locked, prototype-pollution-resistant copies of the global Number static methods, constants, and the global numeric parsers.
References to Number.MAX_VALUE, Number.MIN_VALUE, Number.MAX_SAFE_INTEGER, Number.MIN_SAFE_INTEGER, Number.EPSILON, Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, Number.isFinite, Number.isInteger, Number.isNaN, Number.isSafeInteger, plus the global parseInt, parseFloat, isNaN, and isFinite, are captured at module-load time and frozen into a tamper-proof namespace. Effective only when imported before any untrusted code has had a chance to mutate the prototype chain.
API Reference
● Variables
(Safe copy) The difference between 1 and the smallest floating point number greater than 1.
(Safe copy) Global isFinite function (coerces to number first, less strict than Number.isFinite).
(Safe copy) Global isNaN function (coerces to number first, less strict than Number.isNaN).
(Safe copy) Determines whether the passed value is NaN (Number method, stricter than global isNaN).
(Safe copy) Namespace object containing all Number utilities. Note: Importing this imports all methods in this namespace (no tree-shaking).