@design-edito/tools 0.3.17 → 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 (148) hide show
  1. package/agnostic/colors/index.d.ts +1 -1
  2. package/agnostic/colors/index.js +1 -1
  3. package/agnostic/css/bem/index.js +3 -3
  4. package/agnostic/css/index.d.ts +1 -1
  5. package/agnostic/css/index.js +1 -1
  6. package/agnostic/css/scale/index.js +3 -3
  7. package/agnostic/html/hyper-json/cast/index.js +8 -9
  8. package/agnostic/html/hyper-json/index.d.ts +1 -0
  9. package/agnostic/html/hyper-json/index.js +13 -12
  10. package/agnostic/html/hyper-json/method/index.d.ts +2 -2
  11. package/agnostic/html/hyper-json/serialize/index.js +2 -2
  12. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +8 -9
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +8 -9
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +8 -9
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +8 -9
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +8 -9
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +8 -9
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +8 -9
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +8 -9
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +8 -9
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +8 -9
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +8 -9
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +8 -9
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +8 -9
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +8 -9
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +8 -9
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +6 -6
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +6 -6
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +8 -9
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +8 -9
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +8 -9
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +8 -9
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +8 -9
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +8 -9
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +8 -9
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +8 -9
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +8 -9
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +8 -9
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +8 -9
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +8 -9
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +8 -9
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +8 -9
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +8 -9
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +8 -9
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +8 -9
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +8 -9
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +8 -9
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +8 -9
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +8 -9
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +8 -9
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +8 -9
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +8 -9
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +8 -9
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +8 -9
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +8 -9
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +8 -9
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +8 -9
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +8 -9
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +8 -9
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +8 -9
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +8 -9
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +8 -9
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +8 -9
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +8 -9
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +8 -9
  66. package/agnostic/html/hyper-json/smart-tags/index.d.ts +8 -1
  67. package/agnostic/html/hyper-json/smart-tags/index.js +2 -2
  68. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +3 -1
  69. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +3 -3
  70. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +3 -1
  71. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +3 -3
  72. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +8 -9
  73. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +8 -9
  74. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +8 -9
  75. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +8 -9
  76. package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +2 -3
  77. package/agnostic/html/hyper-json/smart-tags/isolated/index.js +2 -3
  78. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +2 -1
  79. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +8 -9
  80. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +3 -1
  81. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +3 -3
  82. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +8 -9
  83. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +8 -9
  84. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +8 -9
  85. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +8 -9
  86. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +8 -9
  87. package/agnostic/html/hyper-json/transformer/index.d.ts +7 -7
  88. package/agnostic/html/hyper-json/transformer/index.js +1 -1
  89. package/agnostic/html/hyper-json/tree/index.d.ts +3 -5
  90. package/agnostic/html/hyper-json/tree/index.js +8 -9
  91. package/agnostic/html/hyper-json/types/index.d.ts +4 -10
  92. package/agnostic/html/hyper-json/utils/index.js +8 -9
  93. package/agnostic/html/index.d.ts +2 -2
  94. package/agnostic/html/index.js +2 -2
  95. package/agnostic/index.d.ts +4 -4
  96. package/agnostic/index.js +4 -4
  97. package/agnostic/misc/index.d.ts +5 -5
  98. package/agnostic/misc/index.js +5 -5
  99. package/agnostic/misc/logs/index.d.ts +1 -1
  100. package/agnostic/misc/logs/index.js +1 -1
  101. package/agnostic/numbers/index.d.ts +1 -1
  102. package/agnostic/numbers/index.js +1 -1
  103. package/agnostic/objects/index.d.ts +3 -3
  104. package/agnostic/objects/index.js +3 -3
  105. package/agnostic/optim/index.d.ts +1 -1
  106. package/agnostic/optim/index.js +1 -1
  107. package/agnostic/sanitization/index.d.ts +1 -1
  108. package/agnostic/sanitization/index.js +1 -1
  109. package/agnostic/strings/index.d.ts +3 -3
  110. package/agnostic/strings/index.js +3 -3
  111. package/agnostic/strings/replace-all/index.js +14 -3
  112. package/chunks/{chunk-FJH35B3Q.js → chunk-B4HGXMP3.js} +2 -2
  113. package/chunks/{chunk-QQPOSZFR.js → chunk-E33STMH3.js} +37 -64
  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/index.d.ts +2 -2
  120. package/components/index.js +2 -2
  121. package/index.d.ts +1 -1
  122. package/index.js +1 -1
  123. package/node/@aws-s3/storage/file/index.d.ts +2 -2
  124. package/node/@aws-s3/storage/file/index.js +2 -2
  125. package/node/@google-cloud/storage/directory/index.d.ts +1 -1
  126. package/node/@google-cloud/storage/directory/index.js +1 -1
  127. package/node/@google-cloud/storage/file/index.d.ts +3 -3
  128. package/node/@google-cloud/storage/file/index.js +3 -3
  129. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +3 -3
  130. package/node/cloud-storage/index.d.ts +1 -1
  131. package/node/cloud-storage/index.js +1 -1
  132. package/node/cloud-storage/operations/index.d.ts +2 -2
  133. package/node/cloud-storage/operations/index.js +2 -2
  134. package/node/ftps/file/index.d.ts +2 -2
  135. package/node/ftps/file/index.js +2 -2
  136. package/node/images/transform/index.js +28 -28
  137. package/node/images/transform/operations/index.d.ts +5 -5
  138. package/node/images/transform/operations/index.js +5 -5
  139. package/node/index.d.ts +2 -2
  140. package/node/index.js +2 -2
  141. package/node/process/index.d.ts +1 -1
  142. package/node/process/index.js +1 -1
  143. package/node/sftp/directory/index.d.ts +1 -1
  144. package/node/sftp/directory/index.js +1 -1
  145. package/package.json +1 -8
  146. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.d.ts +0 -2
  147. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +0 -25
  148. package/chunks/chunk-EPUHVR7J.js +0 -17
@@ -1,49 +1,42 @@
1
- import {
2
- isRotateOperationParams,
3
- rotate
4
- } from "../../../chunks/chunk-U6SGKHHA.js";
5
- import {
6
- isOverlayOperationParams,
7
- overlay
8
- } from "../../../chunks/chunk-3RNLPW7B.js";
9
1
  import {
10
2
  isSaturateOperationParams,
11
3
  saturate
12
4
  } from "../../../chunks/chunk-MDVGDZU6.js";
13
5
  import {
14
- extract,
15
- isExtractOperationParams
16
- } from "../../../chunks/chunk-ZJR5ASR3.js";
6
+ isNormalizeOperationParams,
7
+ normalize
8
+ } from "../../../chunks/chunk-TNZGRXKJ.js";
17
9
  import {
18
- flip
19
- } from "../../../chunks/chunk-WNDMYNDU.js";
10
+ flop
11
+ } from "../../../chunks/chunk-YA2YCZUF.js";
20
12
  import {
21
- isLightenOperationParams,
22
- lighten
23
- } from "../../../chunks/chunk-W7PJ5NQQ.js";
13
+ flatten,
14
+ isFlattenOperationParams
15
+ } from "../../../chunks/chunk-I5MRXMHR.js";
24
16
  import {
25
17
  hue,
26
18
  isHueOperationParams
27
19
  } from "../../../chunks/chunk-OT7QXCH6.js";
28
20
  import {
29
- flop
30
- } from "../../../chunks/chunk-YA2YCZUF.js";
21
+ isLightenOperationParams,
22
+ lighten
23
+ } from "../../../chunks/chunk-W7PJ5NQQ.js";
31
24
  import {
32
25
  isLevelOperationParams,
33
26
  level
34
27
  } from "../../../chunks/chunk-VPBZS3S4.js";
35
28
  import {
36
- isNormalizeOperationParams,
37
- normalize
38
- } from "../../../chunks/chunk-TNZGRXKJ.js";
29
+ isOverlayOperationParams,
30
+ overlay
31
+ } from "../../../chunks/chunk-3RNLPW7B.js";
32
+ import {
33
+ isRotateOperationParams,
34
+ rotate
35
+ } from "../../../chunks/chunk-U6SGKHHA.js";
39
36
  import {
40
37
  isResizeOperationParams,
41
38
  resize
42
39
  } from "../../../chunks/chunk-NIBRPZJD.js";
43
- import {
44
- blur,
45
- isBlurOperationParams
46
- } from "../../../chunks/chunk-RART44AF.js";
47
40
  import {
48
41
  brighten,
49
42
  isBrightenOperationParams
@@ -53,9 +46,16 @@ import {
53
46
  isExtendOperationParams
54
47
  } from "../../../chunks/chunk-ML22TIBW.js";
55
48
  import {
56
- flatten,
57
- isFlattenOperationParams
58
- } from "../../../chunks/chunk-I5MRXMHR.js";
49
+ blur,
50
+ isBlurOperationParams
51
+ } from "../../../chunks/chunk-RART44AF.js";
52
+ import {
53
+ extract,
54
+ isExtractOperationParams
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
@@ -1,15 +1,15 @@
1
+ export * as blur from './blur/index.js'
1
2
  export * as brighten from './brighten/index.js'
2
- export * as extract from './extract/index.js'
3
3
  export * as extend from './extend/index.js'
4
+ export * as extract from './extract/index.js'
5
+ export * as flatten from './flatten/index.js'
4
6
  export * as flip from './flip/index.js'
5
7
  export * as flop from './flop/index.js'
6
- export * as blur from './blur/index.js'
8
+ export * as hue from './hue/index.js'
7
9
  export * as level from './level/index.js'
8
- export * as flatten from './flatten/index.js'
9
10
  export * as lighten from './lighten/index.js'
10
- export * as hue from './hue/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
14
  export * as rotate from './rotate/index.js'
15
15
  export * as saturate from './saturate/index.js'
@@ -1,15 +1,15 @@
1
+ export * as blur from './blur/index.js'
1
2
  export * as brighten from './brighten/index.js'
2
- export * as extract from './extract/index.js'
3
3
  export * as extend from './extend/index.js'
4
+ export * as extract from './extract/index.js'
5
+ export * as flatten from './flatten/index.js'
4
6
  export * as flip from './flip/index.js'
5
7
  export * as flop from './flop/index.js'
6
- export * as blur from './blur/index.js'
8
+ export * as hue from './hue/index.js'
7
9
  export * as level from './level/index.js'
8
- export * as flatten from './flatten/index.js'
9
10
  export * as lighten from './lighten/index.js'
10
- export * as hue from './hue/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
14
  export * as rotate from './rotate/index.js'
15
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
- export * as express from './@express/index.js'
3
2
  export * as designEdito from './@design-edito/index.js'
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
10
  export * as process from './process/index.js'
10
- export * as googleCloud from './@google-cloud/index.js'
11
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
- export * as express from './@express/index.js'
3
2
  export * as designEdito from './@design-edito/index.js'
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
10
  export * as process from './process/index.js'
10
- export * as googleCloud from './@google-cloud/index.js'
11
11
  export * as sftp from './sftp/index.js'
@@ -1,3 +1,3 @@
1
- export * as promptContinue from './prompt-continue/index.js'
2
1
  export * as onExit from './on-exit/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
- export * as promptContinue from './prompt-continue/index.js'
2
1
  export * as onExit from './on-exit/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'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-edito/tools",
3
- "version": "0.3.17",
3
+ "version": "0.4.1",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",
@@ -711,13 +711,6 @@
711
711
  "./agnostic/html/hyper-json/smart-tags/isolated/get/index.js": {
712
712
  "import": "./agnostic/html/hyper-json/smart-tags/isolated/get/index.js"
713
713
  },
714
- "./agnostic/html/hyper-json/smart-tags/isolated/global": {
715
- "import": "./agnostic/html/hyper-json/smart-tags/isolated/global/index.js",
716
- "types": "./agnostic/html/hyper-json/smart-tags/isolated/global/index.d.ts"
717
- },
718
- "./agnostic/html/hyper-json/smart-tags/isolated/global/index.js": {
719
- "import": "./agnostic/html/hyper-json/smart-tags/isolated/global/index.js"
720
- },
721
714
  "./agnostic/html/hyper-json/smart-tags/isolated/guess": {
722
715
  "import": "./agnostic/html/hyper-json/smart-tags/isolated/guess/index.js",
723
716
  "types": "./agnostic/html/hyper-json/smart-tags/isolated/guess/index.d.ts"
@@ -1,2 +0,0 @@
1
- import { type Types } from '../../../types/index.js';
2
- export declare const global: [string, Types.SmartTags.SmartTag<Types.Tree.RestingValue, Types.Tree.RestingArrayValue, Types.Tree.RestingRecordValue>];
@@ -1,25 +0,0 @@
1
- import {
2
- global
3
- } from "../../../../../../chunks/chunk-QQPOSZFR.js";
4
- import "../../../../../../chunks/chunk-FJH35B3Q.js";
5
- import "../../../../../../chunks/chunk-DU6U226H.js";
6
- import "../../../../../../chunks/chunk-QDHET2TE.js";
7
- import "../../../../../../chunks/chunk-FCABYQRX.js";
8
- import "../../../../../../chunks/chunk-H4KLHV6B.js";
9
- import "../../../../../../chunks/chunk-4STX5SQX.js";
10
- import "../../../../../../chunks/chunk-RW7VAKJW.js";
11
- import "../../../../../../chunks/chunk-XEQ2PBT2.js";
12
- import "../../../../../../chunks/chunk-XA4HVHJ4.js";
13
- import "../../../../../../chunks/chunk-XNF5MLCQ.js";
14
- import "../../../../../../chunks/chunk-E6MSDKON.js";
15
- import "../../../../../../chunks/chunk-YDIBNEGA.js";
16
- import "../../../../../../chunks/chunk-6XL25OZX.js";
17
- import "../../../../../../chunks/chunk-EPUHVR7J.js";
18
- import "../../../../../../chunks/chunk-LUAYN7VJ.js";
19
- import "../../../../../../chunks/chunk-57YKZBJR.js";
20
- import "../../../../../../chunks/chunk-HQLRJ7XW.js";
21
- import "../../../../../../chunks/chunk-PUQUSA6S.js";
22
- import "../../../../../../chunks/chunk-WSFCRVEQ.js";
23
- export {
24
- global
25
- };
@@ -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
- };