@thi.ng/checks
Advanced tools
Comparing version 1.5.8 to 1.5.9
@@ -31,2 +31,3 @@ export * from "./exists-not-null"; | ||
export * from "./is-node"; | ||
export * from "./is-not-string-iterable"; | ||
export * from "./is-null"; | ||
@@ -33,0 +34,0 @@ export * from "./is-number"; |
@@ -36,2 +36,3 @@ "use strict"; | ||
__export(require("./is-node")); | ||
__export(require("./is-not-string-iterable")); | ||
__export(require("./is-null")); | ||
@@ -38,0 +39,0 @@ __export(require("./is-number")); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const OBJP = Object.getPrototypeOf({}); | ||
/** | ||
@@ -12,4 +13,4 @@ * Similar to `isObject()`, but also checks if prototype is that of | ||
return Object.prototype.toString.call(x) === "[object Object]" && | ||
(proto = Object.getPrototypeOf(x), proto === null || proto === Object.getPrototypeOf({})); | ||
(proto = Object.getPrototypeOf(x), proto === null || proto === OBJP); | ||
} | ||
exports.isPlainObject = isPlainObject; |
{ | ||
"name": "@thi.ng/checks", | ||
"version": "1.5.8", | ||
"version": "1.5.9", | ||
"description": "Single-function sub-modules for type, feature & value checks", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
35612
110
519
0