@falsejs/falsejs 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +2 -1
package/index.js
CHANGED
|
@@ -68,6 +68,7 @@ if (isComputerOnFire() && (1 & (3 << 2)) > 4) {
|
|
|
68
68
|
const logicalNot = require("es-logical-not-operator") // ! in fp
|
|
69
69
|
const logicalAnd = require("es-logical-and-operator") // && in fp
|
|
70
70
|
const logicalOr = require("es-logical-or-operator") // || in fp
|
|
71
|
+
const identity = require("@identity-js/identity") // identity function
|
|
71
72
|
const _ = require("lodash") // every project needs lodash
|
|
72
73
|
const underscore = require("underscore") // underscore.js. the predecessor of lodash.
|
|
73
74
|
const React = require("react") // the hype framework everyone uses for some reason
|
|
@@ -435,7 +436,7 @@ if (isComputerOnFire() && (1 & (3 << 2)) > 4) {
|
|
|
435
436
|
}
|
|
436
437
|
log(log) {
|
|
437
438
|
if (isEqualTo(this.enableLogging, t())) {
|
|
438
|
-
log instanceof weirdLtc // SO WERID
|
|
439
|
+
identity(log) instanceof weirdLtc // SO WERID
|
|
439
440
|
}
|
|
440
441
|
}
|
|
441
442
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@falsejs/falsejs",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Returns false.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"@colors/colors": "^1.6.0",
|
|
20
20
|
"@extremejs/utils": "^1.0.0-beta.22",
|
|
21
21
|
"@falsejs/is-true-helper": "^1.0.2",
|
|
22
|
+
"@identity-js/identity": "^1.0.0",
|
|
22
23
|
"@is-(unknown)/is-nil": "^1.2.0",
|
|
23
24
|
"@is-(unknown)/is-null": "^1.2.2",
|
|
24
25
|
"@is-(unknown)/is-undefined": "^1.2.0",
|