@bleedingdev/modern-js-utils 3.9.3-ultramodern.1 → 3.9.3-ultramodern.10

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.
Files changed (81) hide show
  1. package/dist/compiled/address/provenance.json +1 -1
  2. package/dist/compiled/browserslist/index.js +7 -7
  3. package/dist/compiled/browserslist/provenance.json +1 -1
  4. package/dist/compiled/chalk/provenance.json +1 -1
  5. package/dist/compiled/chokidar/index.d.mts +18 -9
  6. package/dist/compiled/chokidar/index.d.ts +18 -9
  7. package/dist/compiled/chokidar/index.js +194 -171
  8. package/dist/compiled/chokidar/index.mjs +94 -71
  9. package/dist/compiled/chokidar/provenance.json +2 -2
  10. package/dist/compiled/commander/provenance.json +1 -1
  11. package/dist/compiled/debug/provenance.json +1 -1
  12. package/dist/compiled/dotenv-expand/LICENSE +11 -7
  13. package/dist/compiled/dotenv-expand/declaration-licenses/dotenv-expand/LICENSE +11 -7
  14. package/dist/compiled/dotenv-expand/index.js +5545 -61
  15. package/dist/compiled/dotenv-expand/licenses-cjs.txt +12 -7
  16. package/dist/compiled/dotenv-expand/package.json +1 -1
  17. package/dist/compiled/dotenv-expand/provenance.json +7 -7
  18. package/dist/compiled/execa/index.d.mts +67 -33
  19. package/dist/compiled/execa/index.d.ts +67 -33
  20. package/dist/compiled/execa/index.js +1848 -1369
  21. package/dist/compiled/execa/index.mjs +1851 -1372
  22. package/dist/compiled/execa/package.json +1 -1
  23. package/dist/compiled/execa/provenance.json +3 -3
  24. package/dist/compiled/filesize/index.js +26 -25
  25. package/dist/compiled/filesize/index.js.LICENSE.txt +1 -1
  26. package/dist/compiled/filesize/index.mjs +25 -24
  27. package/dist/compiled/filesize/index.mjs.LICENSE.txt +1 -1
  28. package/dist/compiled/filesize/package.json +1 -1
  29. package/dist/compiled/filesize/provenance.json +4 -4
  30. package/dist/compiled/fs-extra/provenance.json +1 -1
  31. package/dist/compiled/glob/provenance.json +3 -3
  32. package/dist/compiled/globby/index.js +431 -139
  33. package/dist/compiled/globby/index.mjs +576 -284
  34. package/dist/compiled/globby/provenance.json +1 -1
  35. package/dist/compiled/gzip-size/provenance.json +1 -1
  36. package/dist/compiled/import-lazy/provenance.json +1 -1
  37. package/dist/compiled/inquirer/index.d.mts +10 -0
  38. package/dist/compiled/inquirer/index.d.ts +10 -0
  39. package/dist/compiled/inquirer/index.js +112 -96
  40. package/dist/compiled/inquirer/index.mjs +98 -82
  41. package/dist/compiled/inquirer/licenses-cjs.txt +26 -0
  42. package/dist/compiled/inquirer/licenses-esm.txt +26 -0
  43. package/dist/compiled/inquirer/package.json +1 -1
  44. package/dist/compiled/inquirer/provenance.json +18 -18
  45. package/dist/compiled/js-yaml/index.js +258 -208
  46. package/dist/compiled/js-yaml/index.js.LICENSE.txt +1 -1
  47. package/dist/compiled/js-yaml/index.mjs +328 -278
  48. package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -1
  49. package/dist/compiled/js-yaml/package.json +1 -1
  50. package/dist/compiled/js-yaml/provenance.json +4 -4
  51. package/dist/compiled/json5/provenance.json +1 -1
  52. package/dist/compiled/lodash/common/function.d.ts +2 -2
  53. package/dist/compiled/lodash/provenance.json +2 -2
  54. package/dist/compiled/mime-types/provenance.json +1 -1
  55. package/dist/compiled/minimist/provenance.json +1 -1
  56. package/dist/compiled/nanoid/index.d.mts +3 -3
  57. package/dist/compiled/nanoid/index.d.ts +3 -3
  58. package/dist/compiled/nanoid/index.js +10 -10
  59. package/dist/compiled/nanoid/index.mjs +10 -10
  60. package/dist/compiled/nanoid/package.json +1 -1
  61. package/dist/compiled/nanoid/provenance.json +4 -4
  62. package/dist/compiled/ora/index.js +310 -286
  63. package/dist/compiled/ora/index.mjs +651 -627
  64. package/dist/compiled/ora/provenance.json +1 -1
  65. package/dist/compiled/pkg-up/provenance.json +1 -1
  66. package/dist/compiled/semver/provenance.json +1 -1
  67. package/dist/compiled/signale/provenance.json +1 -1
  68. package/dist/compiled/slash/provenance.json +1 -1
  69. package/dist/compiled/strip-ansi/index.js +1 -1
  70. package/dist/compiled/strip-ansi/index.mjs +3 -3
  71. package/dist/compiled/strip-ansi/provenance.json +1 -1
  72. package/dist/compiled/tsconfig-paths/provenance.json +1 -1
  73. package/dist/compiled/upath/provenance.json +1 -1
  74. package/dist/compiled/url-join/index.js +56 -29
  75. package/dist/compiled/url-join/index.mjs +57 -30
  76. package/dist/compiled/url-join/package.json +1 -1
  77. package/dist/compiled/url-join/provenance.json +4 -4
  78. package/dist/types/cli/commands.d.ts +1 -1
  79. package/dist/types/cli/modulePath.d.ts +1 -1
  80. package/dist/types/compiled.d.ts +13 -13
  81. package/package.json +8 -8
@@ -1 +1 @@
1
- /*! js-yaml 5.4.2 https://github.com/nodeca/js-yaml @license MIT */
1
+ /*! js-yaml 5.5.0 https://github.com/nodeca/js-yaml @license MIT */
@@ -1 +1 @@
1
- {"name":"js-yaml","author":"Vladimir Zapparov <dervus.grim@gmail.com>","version":"5.4.2","funding":[{"type":"github","url":"https://github.com/sponsors/puzrin"},{"type":"github","url":"https://github.com/sponsors/nodeca"}],"license":"MIT","types":"index.d.ts"}
1
+ {"name":"js-yaml","author":"Vladimir Zapparov <dervus.grim@gmail.com>","version":"5.5.0","funding":[{"type":"github","url":"https://github.com/sponsors/puzrin"},{"type":"github","url":"https://github.com/sponsors/nodeca"}],"license":"MIT","types":"index.d.ts"}
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "js-yaml",
3
3
  "sourceName": "js-yaml",
4
- "version": "5.4.2",
5
- "entrySha256": "b2443737dcff290d790328252d6c454ee4ecaffc24289e4b36aa33aac84d752b",
4
+ "version": "5.5.0",
5
+ "entrySha256": "b9e4f9b63c9fc56b034f0b032127d57028d347070fdabdc33b3a28abc02bc5b0",
6
6
  "license": "MIT",
7
7
  "repository": "nodeca/js-yaml",
8
8
  "producer": "scripts/prebundle",
@@ -11,9 +11,9 @@
11
11
  "declarationSources": [
12
12
  {
13
13
  "name": "js-yaml",
14
- "version": "5.4.2",
14
+ "version": "5.5.0",
15
15
  "license": "MIT"
16
16
  }
17
17
  ],
18
- "lockfileSha256": "486928a3a1b80a640cc67d3eeba705a259b639085fe1299dd4f566602b51ede6"
18
+ "lockfileSha256": "b3ac341ea4d3fbd3adf92aa1683e1d5d49f8e7a90ee6b84d9af8904f4643cdd4"
19
19
  }
@@ -18,5 +18,5 @@
18
18
  "license": "MIT"
19
19
  }
20
20
  ],
21
- "lockfileSha256": "486928a3a1b80a640cc67d3eeba705a259b639085fe1299dd4f566602b51ede6"
21
+ "lockfileSha256": "b3ac341ea4d3fbd3adf92aa1683e1d5d49f8e7a90ee6b84d9af8904f4643cdd4"
22
22
  }
@@ -537,8 +537,8 @@ declare module "../index" {
537
537
  /**
538
538
  * Creates a function that memoizes the result of func. If resolver is provided it determines the cache key for
539
539
  * storing the result based on the arguments provided to the memoized function. By default, the first argument
540
- * provided to the memoized function is coerced to a string and used as the cache key. The func is invoked with
541
- * the this binding of the memoized function.
540
+ * provided to the memoized function is used as the map cache key. The func is invoked with the this binding of
541
+ * the memoized function.
542
542
  *
543
543
  * @param func The function to have its output memoized.
544
544
  * @param resolver The function to resolve the cache key.
@@ -11,9 +11,9 @@
11
11
  "declarationSources": [
12
12
  {
13
13
  "name": "@types/lodash",
14
- "version": "4.17.25",
14
+ "version": "4.17.26",
15
15
  "license": "MIT"
16
16
  }
17
17
  ],
18
- "lockfileSha256": "486928a3a1b80a640cc67d3eeba705a259b639085fe1299dd4f566602b51ede6"
18
+ "lockfileSha256": "b3ac341ea4d3fbd3adf92aa1683e1d5d49f8e7a90ee6b84d9af8904f4643cdd4"
19
19
  }
@@ -15,5 +15,5 @@
15
15
  "license": "MIT"
16
16
  }
17
17
  ],
18
- "lockfileSha256": "486928a3a1b80a640cc67d3eeba705a259b639085fe1299dd4f566602b51ede6"
18
+ "lockfileSha256": "b3ac341ea4d3fbd3adf92aa1683e1d5d49f8e7a90ee6b84d9af8904f4643cdd4"
19
19
  }
@@ -18,5 +18,5 @@
18
18
  "license": "MIT"
19
19
  }
20
20
  ],
21
- "lockfileSha256": "486928a3a1b80a640cc67d3eeba705a259b639085fe1299dd4f566602b51ede6"
21
+ "lockfileSha256": "b3ac341ea4d3fbd3adf92aa1683e1d5d49f8e7a90ee6b84d9af8904f4643cdd4"
22
22
  }
@@ -59,9 +59,9 @@ declare function customAlphabet<Type extends string>(
59
59
  * import { customRandom } from 'nanoid'
60
60
  *
61
61
  * const nanoid = customRandom('abcdef', 5, size => {
62
- * const random = []
62
+ * const random = new Uint8Array(size)
63
63
  * for (let i = 0; i < size; i++) {
64
- * random.push(randomByte())
64
+ * random[i] = randomByte()
65
65
  * }
66
66
  * return random
67
67
  * })
@@ -85,7 +85,7 @@ declare function customRandom<Type extends string>(
85
85
  * URL safe symbols.
86
86
  *
87
87
  * ```js
88
- * import { urlAlphabet } from 'nanoid'
88
+ * import { customAlphabet, urlAlphabet } from 'nanoid'
89
89
  * const nanoid = customAlphabet(urlAlphabet, 10)
90
90
  * nanoid() //=> "Uakgb_J5m9"
91
91
  * ```
@@ -59,9 +59,9 @@ declare function customAlphabet<Type extends string>(
59
59
  * import { customRandom } from 'nanoid'
60
60
  *
61
61
  * const nanoid = customRandom('abcdef', 5, size => {
62
- * const random = []
62
+ * const random = new Uint8Array(size)
63
63
  * for (let i = 0; i < size; i++) {
64
- * random.push(randomByte())
64
+ * random[i] = randomByte()
65
65
  * }
66
66
  * return random
67
67
  * })
@@ -85,7 +85,7 @@ declare function customRandom<Type extends string>(
85
85
  * URL safe symbols.
86
86
  *
87
87
  * ```js
88
- * import { urlAlphabet } from 'nanoid'
88
+ * import { customAlphabet, urlAlphabet } from 'nanoid'
89
89
  * const nanoid = customAlphabet(urlAlphabet, 10)
90
90
  * nanoid() //=> "Uakgb_J5m9"
91
91
  * ```
@@ -31,7 +31,7 @@
31
31
  random: ()=>random,
32
32
  urlAlphabet: ()=>l
33
33
  });
34
- let l = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
34
+ let l = "57X6y3wQZNzYjJB2L_10pxbackgroundhimselfUTF-8DEMOGRAPHICSVqvt4KW9";
35
35
  const r = 65536;
36
36
  function fillRandom(e) {
37
37
  let t = 0;
@@ -57,7 +57,7 @@
57
57
  let o = "";
58
58
  while(true){
59
59
  let t = l(n);
60
- let a = n;
60
+ let a = n |= 0;
61
61
  while(a--){
62
62
  o += e[t[a] & r];
63
63
  if (o.length >= n) return o;
@@ -65,16 +65,16 @@
65
65
  }
66
66
  };
67
67
  }
68
- let n = Math.ceil(409.6 * t / r);
69
- return (o = t)=>{
70
- if (!o) return "";
71
- let a = "";
68
+ return (n = t)=>{
69
+ if (!n) return "";
70
+ let o = "";
71
+ let a = Math.ceil(409.6 * n / r);
72
72
  while(true){
73
- let t = l(n);
74
- let i = n;
73
+ let t = l(a);
74
+ let i = a;
75
75
  while(i--)if (t[i] < r) {
76
- a += e[t[i] % e.length];
77
- if (a.length >= o) return a;
76
+ o += e[t[i] % e.length];
77
+ if (o.length >= n) return o;
78
78
  }
79
79
  }
80
80
  };
@@ -20,7 +20,7 @@ t.d(e, {
20
20
  yT: ()=>random,
21
21
  xO: ()=>r
22
22
  });
23
- let r = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
23
+ let r = "57X6y3wQZNzYjJB2L_10pxbackgroundhimselfUTF-8DEMOGRAPHICSVqvt4KW9";
24
24
  const l = 65536;
25
25
  function fillRandom(t) {
26
26
  let e = 0;
@@ -46,7 +46,7 @@ function customRandom(t, e, r) {
46
46
  let a = "";
47
47
  while(true){
48
48
  let e = r(n);
49
- let o = n;
49
+ let o = n |= 0;
50
50
  while(o--){
51
51
  a += t[e[o] & l];
52
52
  if (a.length >= n) return a;
@@ -54,16 +54,16 @@ function customRandom(t, e, r) {
54
54
  }
55
55
  };
56
56
  }
57
- let n = Math.ceil(409.6 * e / l);
58
- return (a = e)=>{
59
- if (!a) return "";
60
- let o = "";
57
+ return (n = e)=>{
58
+ if (!n) return "";
59
+ let a = "";
60
+ let o = Math.ceil(409.6 * n / l);
61
61
  while(true){
62
- let e = r(n);
63
- let i = n;
62
+ let e = r(o);
63
+ let i = o;
64
64
  while(i--)if (e[i] < l) {
65
- o += t[e[i] % t.length];
66
- if (o.length >= a) return o;
65
+ a += t[e[i] % t.length];
66
+ if (a.length >= n) return a;
67
67
  }
68
68
  }
69
69
  };
@@ -1 +1 @@
1
- {"name":"nanoid","author":"Andrey Sitnik <andrey@sitnik.es>","version":"6.0.1","funding":[{"type":"github","url":"https://github.com/sponsors/ai"}],"license":"MIT","types":"index.d.ts"}
1
+ {"name":"nanoid","author":"Andrey Sitnik <andrey@sitnik.es>","version":"6.0.2","funding":[{"type":"github","url":"https://github.com/sponsors/ai"}],"license":"MIT","types":"index.d.ts"}
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "nanoid",
3
3
  "sourceName": "nanoid",
4
- "version": "6.0.1",
5
- "entrySha256": "4fde1e51160adc20b8a631138a2b021f5a88f488cff57a0e12f87017a557f64e",
4
+ "version": "6.0.2",
5
+ "entrySha256": "6d92c5d40b3eecfeb072c3543be4e74e331d23984de552ec6eec6efb3f7eff19",
6
6
  "license": "MIT",
7
7
  "repository": "ai/nanoid",
8
8
  "producer": "scripts/prebundle",
@@ -11,9 +11,9 @@
11
11
  "declarationSources": [
12
12
  {
13
13
  "name": "nanoid",
14
- "version": "6.0.1",
14
+ "version": "6.0.2",
15
15
  "license": "MIT"
16
16
  }
17
17
  ],
18
- "lockfileSha256": "486928a3a1b80a640cc67d3eeba705a259b639085fe1299dd4f566602b51ede6"
18
+ "lockfileSha256": "b3ac341ea4d3fbd3adf92aa1683e1d5d49f8e7a90ee6b84d9af8904f4643cdd4"
19
19
  }