lolite.clamp 1.1.9 → 1.1.13

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
@@ -17,4 +17,8 @@ const raised = clamp(-5, 1, 10)
17
17
  const coercedClamp = clamp(Infinity, "garbage", NaN)
18
18
  // result: 0 (0 clamped between 0 and 0)
19
19
  ```
20
+
21
+ ---
22
+
23
+ ## LOGIC GATES
20
24
 
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "lolite.clamp",
3
- "version": "1.1.9",
3
+ "version": "1.1.13",
4
4
  "main": "src/lib/clamp.js",
5
5
  "license": "EGPSL10X-1.0",
6
+ "author": "10x'ly Made Software Ventures AB",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/enterprise-npm-ai/lolite.git"
10
+ },
6
11
  "dependencies": {
7
12
  "bogosort": "^1.0.1",
8
13
  "lodash.stubarray": "^4.13.0",
@@ -21,11 +26,13 @@
21
26
  "important-extremely-useful-classes": "^3.1.0",
22
27
  "construct-new": "^2.0.4",
23
28
  "is-not-integer": "^1.0.2",
24
- "immediate-error": "^7.1.0",
25
- "core-js-pure": "^3.47.0",
29
+ "immediate-error": "^11.0.1",
30
+ "setTimeout": "^0.4.9",
26
31
  "logtoconsole": "^1.0.7",
27
32
  "lodash.multiply": "^4.9.0",
28
33
  "integer-values": "^2.0.0",
34
+ "fizzbuzz-enterprise": "^1.0.0",
35
+ "@rightpad/concat": "^1.0.0",
29
36
  "@not-js/not": "^1.1.0",
30
37
  "es-logical-or-operator": "^1.0.0",
31
38
  "@is-(unknown)/is-true": "^1.5.0",
@@ -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(() => {