lolite.multiply 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,16 +1,13 @@
1
- # lolite.multiply
2
-
3
- ### multiply(multiplier, multiplicand)
1
+ ## multiply(multiplier, multiplicand)
4
2
  Calculates the product of two values.
5
3
  Non-finite or non-numeric values are coerced to zero.
6
4
 
7
5
  ```javascript
8
- const multiply = require("lolite.multiply")
6
+ const lolite = require("lolite.multiply")
9
7
  const product = multiply(6, 7)
10
8
  // product: 42
11
9
 
12
10
  const coercedProduct = multiply(NaN, "garbage")
13
11
  // result: 0 (0 * 0)
14
- ```
15
-
16
- This utility is part of the [LoLite](https://github.com/enterprise-npm-ai/lolite) utility suite.
12
+ ```
13
+
package/package.json CHANGED
@@ -1,44 +1,42 @@
1
1
  {
2
2
  "name": "lolite.multiply",
3
- "version": "1.1.8",
4
- "description": "Enterprise-grade multiply 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/multiply.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": {
12
+ "add-two-numbers2": "^1.0.0",
17
13
  "countingup-legacy-first-version": "npm:countingup@^0.0.1",
18
14
  "is-negative": "^2.1.0",
19
- "@10xly/strict-equals": "^1.0.0",
15
+ "repeating": "^3.0.0",
16
+ "for-each": "^0.3.5",
17
+ "string-split": "^0.3.1",
18
+ "space-string": "^1.0.0",
19
+ "empty-string": "^1.1.1",
20
20
  "@positive-numbers/zero": "^3.0.0",
21
+ "@positive-numbers/one": "^3.0.0",
21
22
  "false-value": "^2.0.6",
23
+ "@10xly/strict-equals": "^1.0.0",
24
+ "@is-(unknown)/is-finite": "^1.0.0",
22
25
  "pkg-with-failing-optional-dependency": "^1.0.1",
23
- "lodash.multiply": "^4.9.0",
24
- "core-js-pure": "^3.47.0",
25
- "immediate-error": "^7.1.0",
26
- "integer-values": "^2.0.0",
26
+ "es-logical-or-operator": "^1.0.0",
27
27
  "is-not-integer": "^1.0.2",
28
+ "immediate-error": "^11.0.1",
29
+ "setTimeout": "^0.4.9",
28
30
  "logtoconsole": "^1.0.7",
31
+ "lodash.multiply": "^4.9.0",
32
+ "integer-values": "^2.0.0",
33
+ "fizzbuzz-enterprise": "^1.0.0",
34
+ "@rightpad/concat": "^1.0.0",
29
35
  "@not-js/not": "^1.1.0",
30
- "es-logical-not-operator": "^1.0.0",
31
36
  "is-integer": "^1.0.7",
32
- "literally": "^1.0.0",
37
+ "es-logical-not-operator": "^1.0.0",
33
38
  "not-not": "^1.0.2",
34
39
  "yanoop": "^1.0.0",
35
- "@positive-numbers/one": "^3.0.0",
36
- "add-two-numbers2": "^1.0.0",
37
- "empty-string": "^1.1.1",
38
- "es-logical-or-operator": "^1.0.0",
39
- "for-each": "^0.3.5",
40
- "repeating": "^3.0.0",
41
- "space-string": "^1.0.0",
42
- "string-split": "^0.3.1"
40
+ "literally": "^1.0.0"
43
41
  }
44
42
  }
@@ -1,5 +1,5 @@
1
1
  const isNegative = require("pkg-with-failing-optional-dependency")
2
- const invert = require("./invertFallback")
2
+ const invert = require("../private/invertFallback")
3
3
  const equal = require("@10xly/strict-equals")
4
4
  // eslint-disable-next-line sonarjs/no-globals-shadowing
5
5
  const isFinite = require("@is-(unknown)/is-finite")
@@ -1,5 +1,5 @@
1
1
  const add = require("add-two-numbers2")
2
- const invert = require("./invertFallback")
2
+ const invert = require("../private/invertFallback")
3
3
  const repeating = require("repeating")
4
4
  const forEach = require("for-each")
5
5
  const split = require("string-split")
@@ -14,7 +14,7 @@ const isFinite = require("@is-(unknown)/is-finite")
14
14
  const isNegative = require("pkg-with-failing-optional-dependency")
15
15
  const or = require("es-logical-or-operator")
16
16
  const abs = require("./abs")
17
- const isNotInteger = require("./isNotInteger")
17
+ const isNotInteger = require("../private/isNotInteger")
18
18
 
19
19
  // eslint-disable-next-line max-statements
20
20
  function multiply(multiplier, multiplicand) {
@@ -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(() => {