@falsejs/falsejs 4.1.3 → 4.1.5
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 +16 -16
- package/package.json +20 -13
package/index.js
CHANGED
|
@@ -46,7 +46,7 @@ if (isComputerOnFire()) {
|
|
|
46
46
|
equal(equal(whatev.fn(), whatev.string), whatev.object.whatev) // get the true value from whatev.
|
|
47
47
|
|
|
48
48
|
require("get-member")() // add Object.prototype.getMember.
|
|
49
|
-
require("array-get-member")
|
|
49
|
+
whatev.array.constructor.prototype.getMember = require("array-get-member").arrayGetMember // add Array.prototype.getMember.
|
|
50
50
|
|
|
51
51
|
global.jQuery = require("jquery") // make jquery global
|
|
52
52
|
require("jquery-basic-arithmetic-plugin") // add arithmetic to jquery
|
|
@@ -79,10 +79,9 @@ if (isComputerOnFire()) {
|
|
|
79
79
|
const cheerio = require("cheerio") // cheerio!
|
|
80
80
|
const { JSDOM } = require("jsdom") // a fake dom
|
|
81
81
|
const striptags = require("striptags") // strip tags!
|
|
82
|
-
const chalk = require("chalk4096") // color is the best! especially when its 10x!
|
|
82
|
+
const chalk = require("chalk4096").default // color is the best! especially when its 10x!
|
|
83
83
|
var clc = require("cli-color") // another color module
|
|
84
84
|
const colors = require("@colors/colors/safe") // colors
|
|
85
|
-
const chalkbox = require("chalkbox") // with a box
|
|
86
85
|
const c = require("ansi-colors") // nothing wrong with even more colors
|
|
87
86
|
const pc = require("picocolors") // maybe even more colors libraries
|
|
88
87
|
const axios = require("axios") // so we can send requests
|
|
@@ -117,7 +116,6 @@ if (isComputerOnFire()) {
|
|
|
117
116
|
const kgryteNoop = require("@kgryte/noop") // how do you pronounce this guy's name
|
|
118
117
|
const blackHole = require("a-black-hole") // OH NO WE ARE GOING IN TO THE BLACK HOLE
|
|
119
118
|
const infinoop = require("infinoop") // noop. for ever. for. ev. er. FOR. EV. ER
|
|
120
|
-
const mNoop = require("m.noop").noop // the only other true noop i could find besides true-noop itself
|
|
121
119
|
const ahsmNoop = require("@ahsm/noop") // ahsm noop
|
|
122
120
|
const { noop: qcCoreNoop, nullFn: Null } = require("qc-core") // the qc core
|
|
123
121
|
const nooop = require("nooop") // someone put too many o's
|
|
@@ -158,7 +156,7 @@ if (isComputerOnFire()) {
|
|
|
158
156
|
const isOdd = require("is-odd") // why does everyone think this is the dumbest package ever. its not
|
|
159
157
|
const isOd = require("is-od") // forget a d
|
|
160
158
|
const isOddAndrew = require("is-odd-andrew") // isOddAndrew
|
|
161
|
-
const isOddNum = require("is-odd-num") // another odd checker
|
|
159
|
+
// const isOddNum = require("is-odd-num") // another odd checker // sadly commented out as this package is vulnerable
|
|
162
160
|
const isIntegerOdd = require("is-integer-odd") // another!!!!
|
|
163
161
|
const noteven = require("not-even") // not even
|
|
164
162
|
const isUneven = require("is-uneven") // whysomany
|
|
@@ -260,7 +258,7 @@ if (isComputerOnFire()) {
|
|
|
260
258
|
const twentytwo = require("twentytwo")() // 22
|
|
261
259
|
const sixtyseven = require("sixty-seven").SixtySeven
|
|
262
260
|
const { TWENTY_THREE } = require("twenty-three-tools") // 23 tools
|
|
263
|
-
const hundred = require("
|
|
261
|
+
const hundred = require("fizzbuzz-enterprise/source/main/constants/magic-numbers/Hundred") // skip right to 100! and get it from FIZZBUZZ
|
|
264
262
|
const numberOneHundred = hundred // other variable name for 100!
|
|
265
263
|
const theNumberSeven = require("@onesneakymofo/the-number-seven").default // back down to 7 (this is actually a string for some reason)
|
|
266
264
|
const inf = require("infinities") // INFINITE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
@@ -271,9 +269,9 @@ if (isComputerOnFire()) {
|
|
|
271
269
|
const If = require("if") // always good to have another if statement!
|
|
272
270
|
const not = require("@not-js/not") // safer negation with not
|
|
273
271
|
const { functions, _return } = require("returndotjs/safe") // better returning
|
|
274
|
-
const vretriever = require("vretriever") // a
|
|
275
|
-
const immo = require("@_immo/return") // also a
|
|
276
|
-
const isEqualTo = require("is-equal-
|
|
272
|
+
const vretriever = require("vretriever") // a identity function
|
|
273
|
+
const immo = require("@_immo/return") // also a identity function, but a weird one
|
|
274
|
+
const isEqualTo = require("is-equal-to2") // cant hurt to have a better way to check if something is equal
|
|
277
275
|
const isEqual = require("is-equal") // more complex ways too.
|
|
278
276
|
const strictlyEqual = require("@10xly/strict-equals") // and strict equality.
|
|
279
277
|
const notStrictlyEqual = not(strictlyEqual)
|
|
@@ -338,7 +336,7 @@ if (isComputerOnFire()) {
|
|
|
338
336
|
const isAprilFools = require("is-april-fools") // Is it april fools
|
|
339
337
|
const meow = require("meow.js") // library for meowing
|
|
340
338
|
const { ErrorType: ERROR, immediateError } = require("immediate-error") // throw errors
|
|
341
|
-
const throwError = require("throw-
|
|
339
|
+
const throwError = require("throw-error2") // throw errors
|
|
342
340
|
const hello = require("hello-vga-function").default // hello vga function
|
|
343
341
|
|
|
344
342
|
// A useful function to get a DHTML string.
|
|
@@ -913,7 +911,6 @@ if (isComputerOnFire()) {
|
|
|
913
911
|
kgryteNoop()
|
|
914
912
|
blackHole()
|
|
915
913
|
infinoop()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()
|
|
916
|
-
mNoop()
|
|
917
914
|
ahsmNoop()
|
|
918
915
|
qcCoreNoop()
|
|
919
916
|
nooop()
|
|
@@ -1633,11 +1630,14 @@ if (isComputerOnFire()) {
|
|
|
1633
1630
|
)
|
|
1634
1631
|
)*/
|
|
1635
1632
|
})
|
|
1633
|
+
/*
|
|
1636
1634
|
If(isIsOdd(isOddNum))
|
|
1637
1635
|
.Then(() => {
|
|
1638
1636
|
logger.log(pc.green(`[falsejs] Good for prasundas`))
|
|
1639
1637
|
})
|
|
1640
1638
|
.Else(noop4())
|
|
1639
|
+
// sadly commentd out because is-odd-num is vulnerable.
|
|
1640
|
+
*/
|
|
1641
1641
|
If(isIsOdd(isIntegerOdd))
|
|
1642
1642
|
.Then(() => {
|
|
1643
1643
|
logger.log(pc.green(`[falsejs] Good for hoanduy1710`))
|
|
@@ -2194,7 +2194,7 @@ if (isComputerOnFire()) {
|
|
|
2194
2194
|
ltc(
|
|
2195
2195
|
concat(
|
|
2196
2196
|
clc.cyanBright(`[falsejs]`).concat(SPACE),
|
|
2197
|
-
|
|
2197
|
+
colors.magenta(
|
|
2198
2198
|
generalConcat(
|
|
2199
2199
|
"The attempt that succeeded was attempt ",
|
|
2200
2200
|
succeededAttempt,
|
|
@@ -2210,19 +2210,19 @@ if (isComputerOnFire()) {
|
|
|
2210
2210
|
ltc(
|
|
2211
2211
|
generalConcat(
|
|
2212
2212
|
clc.cyanBright(`[falsejs]`).concat(SPACE),
|
|
2213
|
-
|
|
2213
|
+
colors.rainbow(`Thanks for using this package`),
|
|
2214
2214
|
),
|
|
2215
2215
|
)
|
|
2216
2216
|
ltc(
|
|
2217
2217
|
concat(
|
|
2218
2218
|
clc.cyanBright(`[falsejs]`).concat(SPACE),
|
|
2219
|
-
|
|
2219
|
+
colors.random(`I really appreciate it`),
|
|
2220
2220
|
),
|
|
2221
2221
|
)
|
|
2222
2222
|
ltc(
|
|
2223
2223
|
generalConcat(
|
|
2224
2224
|
clc.cyanBright(`[falsejs]`).concat(SPACE),
|
|
2225
|
-
|
|
2225
|
+
colors.america(`Star the repo and follow me on GitHub: `),
|
|
2226
2226
|
),
|
|
2227
2227
|
)
|
|
2228
2228
|
ltc(
|
|
@@ -2238,7 +2238,7 @@ if (isComputerOnFire()) {
|
|
|
2238
2238
|
clc.cyanBright(`And a very big random number is`),
|
|
2239
2239
|
SPACE,
|
|
2240
2240
|
) +
|
|
2241
|
-
`${
|
|
2241
|
+
`${colors.rainbow(
|
|
2242
2242
|
numberFormatter.format(
|
|
2243
2243
|
MathRound(
|
|
2244
2244
|
surpriseArray.reduce((v, _, i, a) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@falsejs/falsejs",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "Returns false.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@ahsm/noop": "^1.0.0",
|
|
20
20
|
"@colors/colors": "^1.6.0",
|
|
21
21
|
"@falsejs/is-true-helper": "^1.0.2",
|
|
22
|
-
"@identity-js/identity": "^1.
|
|
22
|
+
"@identity-js/identity": "^1.2.13",
|
|
23
23
|
"@is-(unknown)/is-nil": "^1.2.0",
|
|
24
24
|
"@is-(unknown)/is-null": "^1.2.2",
|
|
25
25
|
"@is-(unknown)/is-undefined": "^1.2.0",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"@ryotah/noop": "^1.0.0",
|
|
32
32
|
"@sir_wernich/taco-wrap": "^1.0.8",
|
|
33
33
|
"@stdlib/utils-noop": "^0.2.2",
|
|
34
|
+
"@substack/is-match": "^1.0.0",
|
|
34
35
|
"@types/bluebird": "^3.5.42",
|
|
35
36
|
"@types/cli-color": "^2.0.6",
|
|
36
37
|
"@types/lodash.noop": "^3.0.9",
|
|
@@ -51,8 +52,7 @@
|
|
|
51
52
|
"blank-space": "^0.0.1",
|
|
52
53
|
"bluebird": "^3.7.2",
|
|
53
54
|
"brototype": "^0.0.6",
|
|
54
|
-
"chalk4096": "^1.0.
|
|
55
|
-
"chalkbox": "^1.0.0",
|
|
55
|
+
"chalk4096": "^1.0.1",
|
|
56
56
|
"cheerio": "^1.0.0",
|
|
57
57
|
"cli-color": "^2.0.4",
|
|
58
58
|
"co-noop": "^0.0.1",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"const": "^1.0.0",
|
|
61
61
|
"construct-new": "^2.0.3",
|
|
62
62
|
"convert-to-lower-case": "^3.0.1",
|
|
63
|
+
"core-js": "^3.48.0",
|
|
63
64
|
"cowsay": "^1.6.0",
|
|
64
65
|
"dolphin-fact": "^1.2.2",
|
|
65
66
|
"eight-toolkit": "^1.0.0",
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
"eleven": "^0.0.1",
|
|
68
69
|
"emoji-100": "^1.3.0",
|
|
69
70
|
"empty-string": "^1.1.1",
|
|
70
|
-
"enterprise-number-classification-sdk": "^1.0.
|
|
71
|
+
"enterprise-number-classification-sdk": "^1.0.3",
|
|
71
72
|
"es-logical-and-operator": "^1.0.0",
|
|
72
73
|
"es-logical-not-operator": "^1.0.0",
|
|
73
74
|
"es-logical-or-operator": "^1.0.0",
|
|
@@ -77,6 +78,7 @@
|
|
|
77
78
|
"false-value": "^2.0.1",
|
|
78
79
|
"fifteen-point-eight-three-five-two-six-six-eight-two-and-so-on": "^1.0.0",
|
|
79
80
|
"five": "^0.8.0",
|
|
81
|
+
"fizzbuzz-enterprise": "^1.0.0",
|
|
80
82
|
"fj-noop": "^1.0.0",
|
|
81
83
|
"fourteen": "^2.0.0",
|
|
82
84
|
"gabriel-brotas-is-odd": "^1.1.0",
|
|
@@ -110,7 +112,7 @@
|
|
|
110
112
|
"is-eq-zero": "^1.1.0",
|
|
111
113
|
"is-equal": "^1.7.0",
|
|
112
114
|
"is-equal-four": "^1.0.0",
|
|
113
|
-
"is-equal-
|
|
115
|
+
"is-equal-to2": "^1.0.0",
|
|
114
116
|
"is-february": "^1.0.4",
|
|
115
117
|
"is-freebsd": "^1.0.3",
|
|
116
118
|
"is-friday": "^1.0.1",
|
|
@@ -135,7 +137,6 @@
|
|
|
135
137
|
"is-odd": "^3.0.1",
|
|
136
138
|
"is-odd-andrew": "^1.0.4",
|
|
137
139
|
"is-odd-faster": "^1.0.0",
|
|
138
|
-
"is-odd-num": "^1.1.1",
|
|
139
140
|
"is-odd-number": "^1.0.0",
|
|
140
141
|
"is-one": "^1.0.0",
|
|
141
142
|
"is-osx": "^1.0.2",
|
|
@@ -157,7 +158,7 @@
|
|
|
157
158
|
"is-two": "^1.0.9",
|
|
158
159
|
"is-uneven": "^1.0.0",
|
|
159
160
|
"is-unnull": "^1.0.0",
|
|
160
|
-
"is-useless": "
|
|
161
|
+
"is-useless": "1.3.4",
|
|
161
162
|
"is-wednesday": "^1.1.0",
|
|
162
163
|
"is-weekend": "^1.0.0",
|
|
163
164
|
"is-windows": "^1.0.2",
|
|
@@ -170,7 +171,7 @@
|
|
|
170
171
|
"left-pad": "^1.3.0",
|
|
171
172
|
"leftpad": "^0.0.1",
|
|
172
173
|
"literally": "^1.0.0",
|
|
173
|
-
"lodash": "^4.17.
|
|
174
|
+
"lodash": "^4.17.23",
|
|
174
175
|
"lodash._noop": "^2.2.1",
|
|
175
176
|
"lodash.constant": "^3.0.0",
|
|
176
177
|
"lodash.noop": "^3.0.1",
|
|
@@ -179,7 +180,6 @@
|
|
|
179
180
|
"lolite": "^1.1.15",
|
|
180
181
|
"lua-interpreter": "^0.0.3",
|
|
181
182
|
"luaparse": "^0.3.1",
|
|
182
|
-
"m.noop": "^2.0.0",
|
|
183
183
|
"meow.js": "^1.0.6",
|
|
184
184
|
"meta-noop": "^1.0.1",
|
|
185
185
|
"n0p3": "^1.0.2",
|
|
@@ -208,7 +208,6 @@
|
|
|
208
208
|
"number-fifteen": "^1.0.0",
|
|
209
209
|
"number-is-odd": "^1.0.0",
|
|
210
210
|
"number-kind": "^0.1.0",
|
|
211
|
-
"number-one-hundred": "^1.0.0",
|
|
212
211
|
"number-six": "^1.0.1",
|
|
213
212
|
"numbertwenty": "^1.0.2",
|
|
214
213
|
"numeric-constant-three": "^1.0.0",
|
|
@@ -239,7 +238,7 @@
|
|
|
239
238
|
"the-number-one": "^1.0.1",
|
|
240
239
|
"the-number-ten": "^0.0.2",
|
|
241
240
|
"thirteen": "^1.0.3",
|
|
242
|
-
"throw-
|
|
241
|
+
"throw-error2": "^1.0.0",
|
|
243
242
|
"tru": "^1.0.0",
|
|
244
243
|
"true-bool": "^1.0.2",
|
|
245
244
|
"true-noop": "^1.3.1",
|
|
@@ -278,7 +277,7 @@
|
|
|
278
277
|
"bin": {
|
|
279
278
|
"false": "cli/cli.js"
|
|
280
279
|
},
|
|
281
|
-
"bugs": "https://github.com/
|
|
280
|
+
"bugs": "https://github.com/10xly/FalseJS/issues",
|
|
282
281
|
"keywords": [
|
|
283
282
|
"false",
|
|
284
283
|
"javascript",
|
|
@@ -388,5 +387,13 @@
|
|
|
388
387
|
"devDependencies": {
|
|
389
388
|
"@biomejs/biome": "2.2.6",
|
|
390
389
|
"typescript": "^5.9.3"
|
|
390
|
+
},
|
|
391
|
+
"overrides": {
|
|
392
|
+
"envify": "npm:@((()/-@999999.0.0-9999999999999999.ZZZZZ.aaaaa.-.---.0.1",
|
|
393
|
+
"is-boolean": "npm:is-boolean-object@1.2.2",
|
|
394
|
+
"is-equal-to": "npm:is-equal-to2@1.0.0",
|
|
395
|
+
"is-match": "npm:@substack/is-match@1.0.0",
|
|
396
|
+
"lodash": "^4.17.23",
|
|
397
|
+
"throw-error": "npm:throw-error2@^1.0.0"
|
|
391
398
|
}
|
|
392
399
|
}
|