@falsejs/falsejs 4.1.9 → 4.1.11
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/README.md +11 -5
- package/index.js +3473 -2949
- package/package.json +10 -3
package/README.md
CHANGED
|
@@ -104,6 +104,13 @@ console.log(falsejs.isFalse("hi")) // false
|
|
|
104
104
|
|
|
105
105
|
`falsejs.isFalse` can also be used as an alternative to running the `falsejs.False` function and instead just passing a value that isn't false into `falsejs.isFalse`.
|
|
106
106
|
|
|
107
|
+
## Important
|
|
108
|
+
FalseJS collects telemetry and insights such as average succeeded attempts, your OS, node version, and CPU usage running FalseJS. To bypass this, simply set the `FalseJSTelemetryOptOut` global property to a truthy value before importing FalseJS:
|
|
109
|
+
```js
|
|
110
|
+
global.FalseJSTelemetryOptOut = "yes"
|
|
111
|
+
```
|
|
112
|
+
All collected data is publicly available at [this link](https://falsejs-telemetry.vercel.app). We do not collect sensitive data like username and session ID.
|
|
113
|
+
|
|
107
114
|
## CLI
|
|
108
115
|
|
|
109
116
|
NPM:
|
|
@@ -217,10 +224,7 @@ const falseValue = falsejs.False(
|
|
|
217
224
|
)
|
|
218
225
|
```
|
|
219
226
|
|
|
220
|
-
##
|
|
221
|
-
Note: Installing FalseJS may show you a lot of deprecation warnings and vulnerabilities. This is normal, as FalseJS installs a total of more than 1000 dependencies. Don't worry, that's for a good reason - they're all used.
|
|
222
|
-
|
|
223
|
-
## Other important note
|
|
227
|
+
## important note
|
|
224
228
|
In the console you may see this error:
|
|
225
229
|
```
|
|
226
230
|
Warning: React does not recognize the `getMember` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `getmember` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
|
|
@@ -241,8 +245,10 @@ FalseJS uses multiple libraries for testing. Run `npm test` to test FalseJS.
|
|
|
241
245
|
- [alternative-true](https://github.com/donavon/alternative-true)
|
|
242
246
|
- [undefined-is-a-function](https://github.com/donavon/undefined-is-a-function)
|
|
243
247
|
|
|
244
|
-
##
|
|
248
|
+
## Licence
|
|
245
249
|
|
|
246
250
|
FalseJS uses the [EGPSL10X-1.0](https://github.com/10xEngineersQualityProgramming/EGPSL10X-1.0) license
|
|
247
251
|
|
|
252
|
+
Read [legal](https://github.com/10xly/legal)
|
|
253
|
+
|
|
248
254
|
## made with HEAVY BLACK HEART U+2764
|