@falsejs/falsejs 4.0.1 → 4.1.1

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +2 -1
  3. package/package.json +2 -1
package/README.md CHANGED
@@ -234,7 +234,7 @@ FalseJS uses multiple libraries for testing. Run `npm test` to test FalseJS.
234
234
 
235
235
  ## Related Projects
236
236
 
237
- - [true-value](https://github.com/js-constant/false-value) (more lightweight version of this)
237
+ - [false-value](https://github.com/js-constant/false-value) (more lightweight version of this)
238
238
  - [true-value](https://github.com/js-constant/true-value) (returns true)
239
239
  - [false](https://github.com/mde/false)
240
240
  - [true](https://github.com/mde/true)
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.1",
3
+ "version": "4.1.1",
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",