@design-edito/tools 0.4.0 → 0.4.1

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 (145) hide show
  1. package/agnostic/arrays/index.d.ts +1 -1
  2. package/agnostic/arrays/index.js +1 -1
  3. package/agnostic/colors/index.d.ts +5 -5
  4. package/agnostic/colors/index.js +5 -5
  5. package/agnostic/css/bem/index.js +3 -3
  6. package/agnostic/css/index.d.ts +2 -2
  7. package/agnostic/css/index.js +2 -2
  8. package/agnostic/css/scale/index.js +3 -3
  9. package/agnostic/html/hyper-json/cast/index.js +11 -12
  10. package/agnostic/html/hyper-json/index.js +13 -14
  11. package/agnostic/html/hyper-json/method/index.d.ts +2 -2
  12. package/agnostic/html/hyper-json/serialize/index.js +3 -3
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +11 -12
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +11 -12
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +11 -12
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +11 -12
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +11 -12
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +11 -12
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +11 -12
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +11 -12
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +11 -12
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +11 -12
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +11 -12
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +11 -12
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +11 -12
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +11 -12
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +11 -12
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +8 -8
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +8 -8
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +11 -12
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +11 -12
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +11 -12
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +11 -12
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +11 -12
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +11 -12
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +11 -12
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +11 -12
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +11 -12
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +11 -12
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +11 -12
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +11 -12
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +11 -12
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +11 -12
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +11 -12
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +11 -12
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +11 -12
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +11 -12
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +11 -12
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +11 -12
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +11 -12
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +11 -12
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +11 -12
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +11 -12
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +11 -12
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +11 -12
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +11 -12
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +11 -12
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +11 -12
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +11 -12
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +11 -12
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +11 -12
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +11 -12
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +11 -12
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +11 -12
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +11 -12
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +11 -12
  67. package/agnostic/html/hyper-json/smart-tags/index.d.ts +8 -1
  68. package/agnostic/html/hyper-json/smart-tags/index.js +2 -2
  69. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +3 -1
  70. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +3 -3
  71. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +3 -1
  72. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +3 -3
  73. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +11 -12
  74. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +11 -12
  75. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +11 -12
  76. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +11 -12
  77. package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +1 -1
  78. package/agnostic/html/hyper-json/smart-tags/isolated/index.js +1 -1
  79. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +2 -1
  80. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +11 -12
  81. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +3 -1
  82. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +3 -3
  83. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +11 -12
  84. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +11 -12
  85. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +11 -12
  86. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +11 -12
  87. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +11 -12
  88. package/agnostic/html/hyper-json/transformer/index.d.ts +7 -7
  89. package/agnostic/html/hyper-json/transformer/index.js +1 -1
  90. package/agnostic/html/hyper-json/tree/index.js +11 -12
  91. package/agnostic/html/hyper-json/types/index.d.ts +4 -4
  92. package/agnostic/html/hyper-json/utils/index.js +11 -12
  93. package/agnostic/html/index.d.ts +1 -1
  94. package/agnostic/html/index.js +1 -1
  95. package/agnostic/index.d.ts +4 -4
  96. package/agnostic/index.js +4 -4
  97. package/agnostic/misc/crossenv/index.d.ts +1 -1
  98. package/agnostic/misc/crossenv/index.js +1 -1
  99. package/agnostic/misc/index.d.ts +1 -1
  100. package/agnostic/misc/index.js +1 -1
  101. package/agnostic/misc/logs/index.d.ts +1 -1
  102. package/agnostic/misc/logs/index.js +1 -1
  103. package/agnostic/numbers/index.d.ts +2 -2
  104. package/agnostic/numbers/index.js +2 -2
  105. package/agnostic/objects/index.d.ts +1 -1
  106. package/agnostic/objects/index.js +1 -1
  107. package/agnostic/strings/index.d.ts +2 -2
  108. package/agnostic/strings/index.js +2 -2
  109. package/agnostic/strings/replace-all/index.js +14 -3
  110. package/agnostic/time/index.d.ts +1 -1
  111. package/agnostic/time/index.js +1 -1
  112. package/chunks/{chunk-FJH35B3Q.js → chunk-B4HGXMP3.js} +2 -2
  113. package/chunks/{chunk-3JPY46VO.js → chunk-E33STMH3.js} +41 -46
  114. package/chunks/{chunk-QDHET2TE.js → chunk-HYGUIF2O.js} +5 -2
  115. package/chunks/{chunk-4STX5SQX.js → chunk-LEBGVBYD.js} +9 -2
  116. package/chunks/{chunk-FCABYQRX.js → chunk-MSU7JU63.js} +13 -1
  117. package/chunks/{chunk-H4KLHV6B.js → chunk-O32IRXDX.js} +1 -1
  118. package/chunks/{chunk-DU6U226H.js → chunk-RJRNYRPM.js} +2 -2
  119. package/components/Scrllgngn/index.js +5 -5
  120. package/components/index.d.ts +5 -5
  121. package/components/index.js +5 -5
  122. package/node/@aws-s3/storage/file/index.d.ts +3 -3
  123. package/node/@aws-s3/storage/file/index.js +3 -3
  124. package/node/@google-cloud/storage/file/index.d.ts +2 -2
  125. package/node/@google-cloud/storage/file/index.js +2 -2
  126. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +3 -3
  127. package/node/cloud-storage/operations/index.d.ts +2 -2
  128. package/node/cloud-storage/operations/index.js +2 -2
  129. package/node/files/index.d.ts +1 -1
  130. package/node/files/index.js +1 -1
  131. package/node/ftps/file/index.d.ts +3 -3
  132. package/node/ftps/file/index.js +3 -3
  133. package/node/images/transform/index.js +23 -23
  134. package/node/images/transform/operations/index.d.ts +4 -4
  135. package/node/images/transform/operations/index.js +4 -4
  136. package/node/index.d.ts +2 -2
  137. package/node/index.js +2 -2
  138. package/node/process/index.d.ts +1 -1
  139. package/node/process/index.js +1 -1
  140. package/node/sftp/directory/index.d.ts +1 -1
  141. package/node/sftp/directory/index.js +1 -1
  142. package/node/sftp/file/index.d.ts +1 -1
  143. package/node/sftp/file/index.js +1 -1
  144. package/package.json +1 -1
  145. package/chunks/chunk-EPUHVR7J.js +0 -17
@@ -1,61 +1,61 @@
1
- import {
2
- isRotateOperationParams,
3
- rotate
4
- } from "../../../chunks/chunk-U6SGKHHA.js";
5
1
  import {
6
2
  isSaturateOperationParams,
7
3
  saturate
8
4
  } from "../../../chunks/chunk-MDVGDZU6.js";
9
5
  import {
10
- brighten,
11
- isBrightenOperationParams
12
- } from "../../../chunks/chunk-OFYGPRWE.js";
6
+ isNormalizeOperationParams,
7
+ normalize
8
+ } from "../../../chunks/chunk-TNZGRXKJ.js";
13
9
  import {
14
10
  flop
15
11
  } from "../../../chunks/chunk-YA2YCZUF.js";
12
+ import {
13
+ flatten,
14
+ isFlattenOperationParams
15
+ } from "../../../chunks/chunk-I5MRXMHR.js";
16
16
  import {
17
17
  hue,
18
18
  isHueOperationParams
19
19
  } from "../../../chunks/chunk-OT7QXCH6.js";
20
- import {
21
- isLevelOperationParams,
22
- level
23
- } from "../../../chunks/chunk-VPBZS3S4.js";
24
20
  import {
25
21
  isLightenOperationParams,
26
22
  lighten
27
23
  } from "../../../chunks/chunk-W7PJ5NQQ.js";
28
24
  import {
29
- isNormalizeOperationParams,
30
- normalize
31
- } from "../../../chunks/chunk-TNZGRXKJ.js";
25
+ isLevelOperationParams,
26
+ level
27
+ } from "../../../chunks/chunk-VPBZS3S4.js";
32
28
  import {
33
29
  isOverlayOperationParams,
34
30
  overlay
35
31
  } from "../../../chunks/chunk-3RNLPW7B.js";
32
+ import {
33
+ isRotateOperationParams,
34
+ rotate
35
+ } from "../../../chunks/chunk-U6SGKHHA.js";
36
36
  import {
37
37
  isResizeOperationParams,
38
38
  resize
39
39
  } from "../../../chunks/chunk-NIBRPZJD.js";
40
40
  import {
41
- blur,
42
- isBlurOperationParams
43
- } from "../../../chunks/chunk-RART44AF.js";
41
+ brighten,
42
+ isBrightenOperationParams
43
+ } from "../../../chunks/chunk-OFYGPRWE.js";
44
44
  import {
45
45
  extend,
46
46
  isExtendOperationParams
47
47
  } from "../../../chunks/chunk-ML22TIBW.js";
48
48
  import {
49
- flatten,
50
- isFlattenOperationParams
51
- } from "../../../chunks/chunk-I5MRXMHR.js";
52
- import {
53
- flip
54
- } from "../../../chunks/chunk-WNDMYNDU.js";
49
+ blur,
50
+ isBlurOperationParams
51
+ } from "../../../chunks/chunk-RART44AF.js";
55
52
  import {
56
53
  extract,
57
54
  isExtractOperationParams
58
55
  } from "../../../chunks/chunk-ZJR5ASR3.js";
56
+ import {
57
+ flip
58
+ } from "../../../chunks/chunk-WNDMYNDU.js";
59
59
  import "../../../chunks/chunk-5NTPCRFH.js";
60
60
  import {
61
61
  toSharpInstance
@@ -2,14 +2,14 @@ export * as blur from './blur/index.js'
2
2
  export * as brighten from './brighten/index.js'
3
3
  export * as extend from './extend/index.js'
4
4
  export * as extract from './extract/index.js'
5
+ export * as flatten from './flatten/index.js'
5
6
  export * as flip from './flip/index.js'
6
7
  export * as flop from './flop/index.js'
7
- export * as level from './level/index.js'
8
- export * as flatten from './flatten/index.js'
9
8
  export * as hue from './hue/index.js'
9
+ export * as level from './level/index.js'
10
10
  export * as lighten from './lighten/index.js'
11
- export * as overlay from './overlay/index.js'
12
11
  export * as normalize from './normalize/index.js'
12
+ export * as overlay from './overlay/index.js'
13
13
  export * as resize from './resize/index.js'
14
- export * as saturate from './saturate/index.js'
15
14
  export * as rotate from './rotate/index.js'
15
+ export * as saturate from './saturate/index.js'
@@ -2,14 +2,14 @@ export * as blur from './blur/index.js'
2
2
  export * as brighten from './brighten/index.js'
3
3
  export * as extend from './extend/index.js'
4
4
  export * as extract from './extract/index.js'
5
+ export * as flatten from './flatten/index.js'
5
6
  export * as flip from './flip/index.js'
6
7
  export * as flop from './flop/index.js'
7
- export * as level from './level/index.js'
8
- export * as flatten from './flatten/index.js'
9
8
  export * as hue from './hue/index.js'
9
+ export * as level from './level/index.js'
10
10
  export * as lighten from './lighten/index.js'
11
- export * as overlay from './overlay/index.js'
12
11
  export * as normalize from './normalize/index.js'
12
+ export * as overlay from './overlay/index.js'
13
13
  export * as resize from './resize/index.js'
14
- export * as saturate from './saturate/index.js'
15
14
  export * as rotate from './rotate/index.js'
15
+ export * as saturate from './saturate/index.js'
package/node/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  export * as awsS3 from './@aws-s3/index.js'
2
2
  export * as designEdito from './@design-edito/index.js'
3
3
  export * as express from './@express/index.js'
4
+ export * as googleCloud from './@google-cloud/index.js'
4
5
  export * as cloudStorage from './cloud-storage/index.js'
5
6
  export * as encryption from './encryption/index.js'
6
7
  export * as files from './files/index.js'
7
8
  export * as ftps from './ftps/index.js'
8
9
  export * as images from './images/index.js'
9
- export * as googleCloud from './@google-cloud/index.js'
10
- export * as sftp from './sftp/index.js'
11
10
  export * as process from './process/index.js'
11
+ export * as sftp from './sftp/index.js'
package/node/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  export * as awsS3 from './@aws-s3/index.js'
2
2
  export * as designEdito from './@design-edito/index.js'
3
3
  export * as express from './@express/index.js'
4
+ export * as googleCloud from './@google-cloud/index.js'
4
5
  export * as cloudStorage from './cloud-storage/index.js'
5
6
  export * as encryption from './encryption/index.js'
6
7
  export * as files from './files/index.js'
7
8
  export * as ftps from './ftps/index.js'
8
9
  export * as images from './images/index.js'
9
- export * as googleCloud from './@google-cloud/index.js'
10
- export * as sftp from './sftp/index.js'
11
10
  export * as process from './process/index.js'
11
+ export * as sftp from './sftp/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as onExit from './on-exit/index.js'
2
- export * as promptContinue from './prompt-continue/index.js'
3
2
  export * as spawner from './spawner/index.js'
3
+ export * as promptContinue from './prompt-continue/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as onExit from './on-exit/index.js'
2
- export * as promptContinue from './prompt-continue/index.js'
3
2
  export * as spawner from './spawner/index.js'
3
+ export * as promptContinue from './prompt-continue/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as copyDir from './copy-dir/index.js'
2
2
  export * as list from './list/index.js'
3
- export * as removeDir from './remove-dir/index.js'
4
3
  export * as moveDir from './move-dir/index.js'
4
+ export * as removeDir from './remove-dir/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as copyDir from './copy-dir/index.js'
2
2
  export * as list from './list/index.js'
3
- export * as removeDir from './remove-dir/index.js'
4
3
  export * as moveDir from './move-dir/index.js'
4
+ export * as removeDir from './remove-dir/index.js'
@@ -2,6 +2,6 @@ export * as copy from './copy/index.js'
2
2
  export * as download from './download/index.js'
3
3
  export * as exists from './exists/index.js'
4
4
  export * as move from './move/index.js'
5
+ export * as remove from './remove/index.js'
5
6
  export * as stat from './stat/index.js'
6
7
  export * as upload from './upload/index.js'
7
- export * as remove from './remove/index.js'
@@ -2,6 +2,6 @@ export * as copy from './copy/index.js'
2
2
  export * as download from './download/index.js'
3
3
  export * as exists from './exists/index.js'
4
4
  export * as move from './move/index.js'
5
+ export * as remove from './remove/index.js'
5
6
  export * as stat from './stat/index.js'
6
7
  export * as upload from './upload/index.js'
7
- export * as remove from './remove/index.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-edito/tools",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",
@@ -1,17 +0,0 @@
1
- // src/agnostic/strings/replace-all/index.ts
2
- function replaceAll(input, pattern, replacer) {
3
- console.warn("[DEPRECATED] Use String.replaceAll instead");
4
- const found = Array.from(input.match(pattern) ?? []);
5
- const foundReplaced = typeof replacer === "string" ? found.map(() => replacer) : found.map((e) => replacer(e));
6
- const splitted = input.split(pattern);
7
- const replaced = splitted.map((chunk, chunkPos) => {
8
- const isLast = chunkPos === splitted.length - 1;
9
- if (isLast) return [chunk];
10
- return [chunk, foundReplaced[chunkPos] ?? ""];
11
- }).flat().join("");
12
- return replaced;
13
- }
14
-
15
- export {
16
- replaceAll
17
- };