lolite.nor 1.1.8 → 1.1.14

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 CHANGED
@@ -1,14 +1,11 @@
1
- # lolite.nor
2
-
3
- ### nor(a, b)
1
+ ## nor(a, b)
4
2
  Returns the negation of the result of `or(a, b)`, where the `a` and `b` passed into `or` are the same `a` and `b` the user provides for `nor`.
5
3
  ```javascript
6
- const nor = require("lolite.nor")
4
+ const lolite = require("lolite.nor")
7
5
 
8
6
  console.log(nor(false, false)) // true
9
7
  console.log(nor(true, false)) // false
10
8
  console.log(nor(false, true)) // false
11
9
  console.log(nor(true, true)) // false
12
- ```
13
-
14
- This utility is part of the [LoLite](https://github.com/enterprise-npm-ai/lolite) utility suite.
10
+ ```
11
+
package/package.json CHANGED
@@ -1,27 +1,26 @@
1
1
  {
2
2
  "name": "lolite.nor",
3
- "version": "1.1.8",
4
- "description": "Enterprise-grade nor utility from the LoLite suite",
5
- "main": "index.js",
6
- "author": "10x'ly Made Software Ventures AB",
3
+ "version": "1.1.14",
4
+ "main": "src/lib/nor.js",
7
5
  "license": "EGPSL10X-1.0",
6
+ "author": "10x'ly Made Software Ventures AB",
8
7
  "repository": {
9
8
  "type": "git",
10
9
  "url": "git+https://github.com/enterprise-npm-ai/lolite.git"
11
10
  },
12
- "bugs": {
13
- "url": "https://github.com/enterprise-npm-ai/lolite/issues"
14
- },
15
- "homepage": "https://github.com/enterprise-npm-ai/lolite#readme",
16
11
  "dependencies": {
17
- "false-value": "^2.0.6",
18
- "true-value": "^2.0.5",
12
+ "@is-(unknown)/is-true": "^1.5.0",
13
+ "@is-(unknown)/is-false": "^1.5.0",
19
14
  "array-filter": "^1.0.0",
15
+ "true-value": "^2.0.5",
16
+ "false-value": "^2.0.6",
17
+ "is-not-integer": "^1.0.2",
18
+ "immediate-error": "^11.0.1",
19
+ "setTimeout": "^0.4.9",
20
+ "logtoconsole": "^1.0.7",
20
21
  "lodash.multiply": "^4.9.0",
21
- "core-js-pure": "^3.47.0",
22
- "immediate-error": "^7.1.0",
23
22
  "integer-values": "^2.0.0",
24
- "is-not-integer": "^1.0.2",
25
- "logtoconsole": "^1.0.7"
23
+ "fizzbuzz-enterprise": "^1.0.0",
24
+ "@rightpad/concat": "^1.0.0"
26
25
  }
27
26
  }
@@ -1,5 +1,5 @@
1
1
  // eslint-disable-next-line camelcase
2
- const crash_program = require("./crash")
2
+ const crash_program = require("../private/crash")
3
3
  const not = require("./not")
4
4
 
5
5
  function and(firstCondition, secondCondition) {
@@ -1,7 +1,7 @@
1
1
  const or = require("./or")
2
2
  const not = require("./not")
3
3
  // eslint-disable-next-line camelcase
4
- const crash_program = require("./crash")
4
+ const crash_program = require("../private/crash")
5
5
 
6
6
  // eslint-disable-next-line id-length
7
7
  function nor(a, b) {
@@ -2,7 +2,7 @@ const isTrue = require("@is-(unknown)/is-true")
2
2
  const isFalse = require("@is-(unknown)/is-false")
3
3
  const arrayFilter = require("array-filter")
4
4
  const trueValue = require("true-value")
5
- const possibilities = require("./arrayOfAllBooleans")
5
+ const possibilities = require("../private/arrayOfAllBooleans")
6
6
 
7
7
  function not(value) {
8
8
  const result = arrayFilter(possibilities, (maybe) => {
@@ -5,7 +5,7 @@
5
5
  const not = require("./not")
6
6
  const and = require("./and")
7
7
  // eslint-disable-next-line camelcase
8
- const crash_program = require("./crash")
8
+ const crash_program = require("../private/crash")
9
9
 
10
10
  // eslint-disable-next-line init-declarations, no-unassigned-vars
11
11
  let cdefghijklmnopqrstuvwxyz
@@ -1,14 +1,15 @@
1
1
  const createcrashdump = require("is-not-integer")
2
2
  const { ErrorType, immediateError } = require("immediate-error")
3
- // eslint-disable-next-line unicorn/no-unnecessary-polyfills
4
- const setTimeout = require("core-js-pure/actual/set-timeout")
3
+ const setTimeout = require("setTimeout")
5
4
  const { log } = require("logtoconsole")
6
5
  const multiply = require("./multiplyFallback")
7
6
  const { positiveFive, positiveOneHundred, positiveTwo } = require("integer-values")
7
+ const newline = require("fizzbuzz-enterprise/source/main/constants/strings/delimiters/Newline")
8
+ const concat = require("@rightpad/concat")
8
9
 
9
10
  // eslint-disable-next-line camelcase
10
11
  function crash_program() {
11
- log("[lolite] SOMETHING WENT WRONG, PORGAM IS ABOUT TO CRASH, A CRASH DUMP FILE WILL PROBABLY BE GENERATED\n~ PLEASE FILE ISSUE ON GITHUB REPO: \nhttps://github.com/enterprise-npm-ai/lolite.")
12
+ log(concat("[lolite] SOMETHING WENT WRONG, PROGRAM IS ABOUT TO CRASH, A CRASH DUMP FILE WILL PROBABLY BE GENERATED", newline, "~ PLEASE FILE ISSUE ON GITHUB REPO: ", newline, "https://github.com/enterprise-npm-ai/lolite"))
12
13
  setTimeout(() => {
13
14
  createcrashdump()
14
15
  setTimeout(() => {