@design-edito/tools 0.2.17 → 0.2.19

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 (231) hide show
  1. package/agnostic/arrays/index.js +8 -8
  2. package/agnostic/arrays/random-pick/index.js +4 -4
  3. package/agnostic/booleans/index.js +3 -12
  4. package/agnostic/colors/channels/index.js +4 -3
  5. package/agnostic/colors/contrast/index.js +5 -4
  6. package/agnostic/colors/convert/index.js +3 -2
  7. package/agnostic/colors/distance/index.js +4 -3
  8. package/agnostic/colors/grayscale/index.js +4 -3
  9. package/agnostic/colors/index.js +22 -20
  10. package/agnostic/colors/invert/index.js +4 -3
  11. package/agnostic/colors/lerp/index.js +4 -3
  12. package/agnostic/colors/luminance/index.js +4 -3
  13. package/agnostic/colors/palette/index.js +6 -5
  14. package/agnostic/colors/rotate/index.js +5 -4
  15. package/agnostic/colors/tidy/index.js +3 -2
  16. package/agnostic/colors/typechecks/index.js +2 -1
  17. package/agnostic/colors/types.js +7 -0
  18. package/agnostic/css/index.js +9 -29
  19. package/agnostic/css/styles-set/index.js +4 -4
  20. package/agnostic/errors/index.js +2 -2
  21. package/agnostic/html/hyper-json/cast/index.js +5 -5
  22. package/agnostic/html/hyper-json/index.js +6 -6
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +5 -5
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +5 -5
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +5 -5
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +5 -5
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +5 -5
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +5 -5
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +5 -5
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +5 -5
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +5 -5
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +5 -5
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +5 -5
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +5 -5
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +5 -5
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +5 -5
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +5 -5
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +5 -5
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +5 -5
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +5 -5
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +5 -5
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +5 -5
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +5 -5
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +5 -5
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +5 -5
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +5 -5
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +5 -5
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +5 -5
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +5 -5
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +5 -5
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +5 -5
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +5 -5
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +5 -5
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +5 -5
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +5 -5
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +5 -5
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +5 -5
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +5 -5
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +5 -5
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +5 -5
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +5 -5
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +5 -5
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +5 -5
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +5 -5
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +5 -5
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +5 -5
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +5 -5
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +5 -5
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +5 -5
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +5 -5
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +5 -5
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +5 -5
  73. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +5 -5
  74. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +5 -5
  75. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +5 -5
  76. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +5 -5
  77. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +5 -5
  78. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +5 -5
  79. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +5 -5
  80. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +5 -5
  81. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +5 -5
  82. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +5 -5
  83. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +5 -5
  84. package/agnostic/html/hyper-json/tree/index.js +5 -5
  85. package/agnostic/html/hyper-json/utils/index.js +5 -5
  86. package/agnostic/html/index.js +17 -43
  87. package/agnostic/html/sanitize/index.js +4 -4
  88. package/agnostic/html/selector-to-element/index.js +4 -4
  89. package/agnostic/html/string-to-nodes/index.js +5 -5
  90. package/agnostic/index.js +144 -0
  91. package/agnostic/misc/assert/index.js +3 -3
  92. package/agnostic/misc/index.js +44 -66
  93. package/agnostic/misc/logs/index.js +2 -2
  94. package/agnostic/misc/lorem-ipsum/index.js +9 -9
  95. package/agnostic/numbers/index.js +7 -26
  96. package/agnostic/objects/index.js +10 -38
  97. package/agnostic/optim/index.js +4 -14
  98. package/agnostic/regexps/index.js +3 -88
  99. package/agnostic/strings/index.js +9 -38
  100. package/agnostic/time/index.js +4 -4
  101. package/chunks/{chunk-L5VJAZVW.js → chunk-2T2U5AD3.js} +33 -69
  102. package/chunks/chunk-3ED56VVR.js +31 -0
  103. package/chunks/{chunk-VA67YLZL.js → chunk-3LCD73SB.js} +1 -1
  104. package/chunks/{chunk-IDXUS2IO.js → chunk-4P6V6CHL.js} +5 -5
  105. package/chunks/{chunk-UX2O74SG.js → chunk-4PEPTXU3.js} +8 -8
  106. package/chunks/{chunk-MN4FVOU2.js → chunk-5CTAKAIP.js} +2 -2
  107. package/chunks/chunk-67V4BGOB.js +107 -0
  108. package/chunks/chunk-6KM4UT6T.js +34 -0
  109. package/chunks/chunk-6YQGM6N6.js +19 -0
  110. package/chunks/chunk-7ED4HK2W.js +43 -0
  111. package/chunks/{chunk-UG5EMKGN.js → chunk-7UGMWTP5.js} +1 -102
  112. package/chunks/chunk-7YJ4BB73.js +20 -0
  113. package/chunks/{chunk-D7PZ7633.js → chunk-A2C4VISH.js} +8 -8
  114. package/chunks/chunk-BLDUC7TT.js +17 -0
  115. package/chunks/{chunk-AQBJ6HNB.js → chunk-C7SRAQMW.js} +1 -1
  116. package/chunks/{chunk-ZBBU2P4D.js → chunk-CQEDNACN.js} +2 -2
  117. package/chunks/{chunk-O7VEAOGY.js → chunk-CRLUUTBS.js} +14 -14
  118. package/chunks/{chunk-BKIF2ELV.js → chunk-D5CCWCEI.js} +1 -1
  119. package/chunks/{chunk-JNQPNZTB.js → chunk-DPIPDGYH.js} +8 -8
  120. package/chunks/{chunk-WAMSK4A3.js → chunk-E4FJHD5R.js} +1 -1
  121. package/chunks/{chunk-D7SXHHU3.js → chunk-EGBJXHCW.js} +1 -1
  122. package/chunks/chunk-FKDPPFHV.js +42 -0
  123. package/chunks/{chunk-YZVZKBVJ.js → chunk-FNQAF6CQ.js} +4 -2
  124. package/chunks/{chunk-RXBMGIPJ.js → chunk-GHAF5VTP.js} +8 -8
  125. package/chunks/chunk-HXEFDFYT.js +20 -0
  126. package/chunks/{chunk-J4WGYUFY.js → chunk-IG4V2EWV.js} +4 -4
  127. package/chunks/chunk-IRTPQATN.js +16 -0
  128. package/chunks/{chunk-HX5PHI2P.js → chunk-JEMWHVTN.js} +8 -8
  129. package/chunks/chunk-JRRN5FOZ.js +32 -0
  130. package/chunks/{chunk-KDOMQ4LM.js → chunk-KGRQKEDD.js} +4 -4
  131. package/chunks/{chunk-ZQY2MR66.js → chunk-KVZMRVOB.js} +8 -8
  132. package/chunks/{chunk-P4YT4RBG.js → chunk-L7PIZQFC.js} +1 -1
  133. package/chunks/{chunk-IAOZM4EN.js → chunk-MCRHFVAD.js} +5 -5
  134. package/chunks/{chunk-XAYMIITK.js → chunk-MFIGSRSO.js} +1 -1
  135. package/chunks/chunk-MMXUMHPQ.js +112 -0
  136. package/chunks/{chunk-ISUDTAMN.js → chunk-MMZRJLHD.js} +8 -7
  137. package/chunks/chunk-MZQXUVFW.js +43 -0
  138. package/chunks/{chunk-ZJ63OCMA.js → chunk-NCYE5WML.js} +1 -1
  139. package/chunks/{chunk-RBCZWVQH.js → chunk-NLCZUDXC.js} +4 -4
  140. package/chunks/{chunk-CGITTQIW.js → chunk-OBTCE47R.js} +8 -8
  141. package/chunks/chunk-OKFZJ6DJ.js +9 -0
  142. package/chunks/{chunk-TIER4TF4.js → chunk-P2H6PV4O.js} +1 -1
  143. package/chunks/chunk-PB3KFN3E.js +20 -0
  144. package/chunks/chunk-PKCW2NJ4.js +16 -0
  145. package/chunks/{chunk-O7VFJHQX.js → chunk-PNJI3RCF.js} +4 -4
  146. package/chunks/{chunk-2EHYEUX4.js → chunk-PVRYR5KX.js} +1 -1
  147. package/chunks/{chunk-STW5RKR7.js → chunk-PX4DPCZM.js} +1 -1
  148. package/chunks/{chunk-XNWEMAIP.js → chunk-QB5OBWPS.js} +8 -8
  149. package/chunks/chunk-QHAB6XYD.js +30 -0
  150. package/chunks/{chunk-XB3EGDBI.js → chunk-RDQJSWRC.js} +1 -1
  151. package/chunks/{chunk-S7637BQZ.js → chunk-S3K2QPZ6.js} +4 -4
  152. package/chunks/{chunk-TFZOOTCF.js → chunk-SPLPZBQR.js} +8 -8
  153. package/chunks/chunk-TGJAXXJZ.js +84 -0
  154. package/chunks/{chunk-YVWQXQTE.js → chunk-TMB3PV3Q.js} +8 -8
  155. package/chunks/{chunk-HONCMQHQ.js → chunk-TTYILNFU.js} +1 -1
  156. package/chunks/chunk-UKD6DFES.js +31 -0
  157. package/chunks/chunk-UNXRB2AV.js +16 -0
  158. package/chunks/{chunk-JJ7DN7NN.js → chunk-VI2MRY6N.js} +7 -7
  159. package/chunks/{chunk-65NTXENV.js → chunk-WSC3WODJ.js} +1 -1
  160. package/chunks/{chunk-ZUQEHFGL.js → chunk-WWTWL2OF.js} +8 -8
  161. package/chunks/{chunk-SKBOSWM2.js → chunk-X5HMM3LD.js} +1 -1
  162. package/chunks/{chunk-QJXJT5JS.js → chunk-XLHOA3NR.js} +2 -2
  163. package/chunks/{chunk-GUBFCOBT.js → chunk-XPGAVZGK.js} +1 -1
  164. package/chunks/chunk-YPTFPS76.js +91 -0
  165. package/chunks/chunk-YUSINH7T.js +16 -0
  166. package/chunks/{chunk-QW34TQCS.js → chunk-YXLHZ2KW.js} +2 -2
  167. package/chunks/chunk-ZJSABMHZ.js +20 -0
  168. package/chunks/{chunk-5LK2YLTK.js → chunk-ZLBSI4TR.js} +1 -1
  169. package/chunks/chunk-ZQQ6H6BY.js +41 -0
  170. package/components/Comp/index.js +3 -6
  171. package/components/index.js +13 -0
  172. package/node/@aws-s3/index.js +6 -5
  173. package/node/@aws-s3/storage/directory/index.js +4 -4
  174. package/node/@aws-s3/storage/file/index.js +4 -4
  175. package/node/@aws-s3/storage/index.js +5 -5
  176. package/node/@design-edito/index.js +1 -0
  177. package/node/@express/index.js +1 -0
  178. package/node/@google-cloud/index.js +10 -9
  179. package/node/@google-cloud/storage/bucket/index.js +4 -4
  180. package/node/@google-cloud/storage/directory/index.js +4 -4
  181. package/node/@google-cloud/storage/file/index.js +8 -8
  182. package/node/@google-cloud/storage/index.js +11 -11
  183. package/node/cloud-storage/index.js +21 -20
  184. package/node/cloud-storage/operations/copy-dir/index.js +1 -1
  185. package/node/cloud-storage/operations/copy-file/index.js +1 -1
  186. package/node/cloud-storage/operations/download-file/index.js +1 -1
  187. package/node/cloud-storage/operations/exists-file/index.js +1 -1
  188. package/node/cloud-storage/operations/index.js +23 -23
  189. package/node/cloud-storage/operations/list-dir/index.js +1 -1
  190. package/node/cloud-storage/operations/move-dir/index.js +1 -1
  191. package/node/cloud-storage/operations/move-file/index.js +1 -1
  192. package/node/cloud-storage/operations/remove-dir/index.js +1 -1
  193. package/node/cloud-storage/operations/remove-file/index.js +1 -1
  194. package/node/cloud-storage/operations/stat-file/index.js +1 -1
  195. package/node/cloud-storage/operations/upload-file/index.js +1 -1
  196. package/node/encryption/index.js +4 -3
  197. package/node/files/index.js +9 -15
  198. package/node/ftps/directory/index.js +4 -4
  199. package/node/ftps/file/index.js +4 -4
  200. package/node/ftps/index.js +7 -6
  201. package/node/images/create/index.js +15 -14
  202. package/node/images/format/index.js +15 -14
  203. package/node/images/index.js +34 -30
  204. package/node/images/metadata/index.js +15 -14
  205. package/node/images/transform/index.js +27 -25
  206. package/node/images/transform/operations/extend/index.js +15 -14
  207. package/node/images/transform/operations/flatten/index.js +15 -14
  208. package/node/images/transform/operations/overlay/index.js +15 -14
  209. package/node/images/transform/operations/resize/index.js +15 -14
  210. package/node/images/transform/operations/rotate/index.js +15 -14
  211. package/node/images/types.js +9 -0
  212. package/node/images/utils/index.js +14 -13
  213. package/node/index.js +172 -0
  214. package/node/process/index.js +7 -13
  215. package/node/sftp/directory/index.js +4 -4
  216. package/node/sftp/file/index.js +4 -4
  217. package/node/sftp/index.js +7 -6
  218. package/package.json +1 -1
  219. package/{chunks/chunk-ALMK24GK.js → agnostic/optim/throttle-debounce/types.js} +0 -0
  220. package/chunks/{chunk-WH6BPDAC.js → chunk-2KT7AKRW.js} +3 -3
  221. package/chunks/{chunk-X5F6XGEP.js → chunk-4HPG6TEE.js} +3 -3
  222. package/chunks/{chunk-ASCJDM27.js → chunk-4P4MXSRC.js} +3 -3
  223. package/chunks/{chunk-ZBAKY6DB.js → chunk-G6C3VTOA.js} +3 -3
  224. package/chunks/{chunk-A7K5DUP7.js → chunk-IGFA7IDA.js} +3 -3
  225. package/chunks/{chunk-X5VXP4GS.js → chunk-IK3YAMUY.js} +3 -3
  226. package/chunks/{chunk-CNMP2GU4.js → chunk-LE23WL3C.js} +3 -3
  227. package/chunks/{chunk-QN3UAKIU.js → chunk-MJQF3YZO.js} +3 -3
  228. package/chunks/{chunk-UEAMPAHK.js → chunk-OMTDHKJI.js} +3 -3
  229. package/chunks/{chunk-2DW5MV3U.js → chunk-PCWD23PL.js} +3 -3
  230. package/chunks/{chunk-RBH5MYJ7.js → chunk-SQ7G3ZA7.js} +7 -7
  231. package/chunks/{chunk-7SZXDQVJ.js → chunk-WAPVSFU4.js} +11 -11
@@ -1,14 +1,14 @@
1
1
  import {
2
- move as move4
2
+ move as move2
3
3
  } from "./chunk-6IYUA43Q.js";
4
4
  import {
5
- move as move3
5
+ move
6
6
  } from "./chunk-QWZ4ZNFA.js";
7
7
  import {
8
- move
8
+ move as move3
9
9
  } from "./chunk-HRNDUTZE.js";
10
10
  import {
11
- move as move2
11
+ move as move4
12
12
  } from "./chunk-FE4DECBU.js";
13
13
  import {
14
14
  isFtpClient,
@@ -29,10 +29,10 @@ __export(move_file_exports, {
29
29
  moveFile: () => moveFile
30
30
  });
31
31
  async function moveFile(client, sourcePath, targetPath, options) {
32
- if (isGcsBucket(client)) return move4(client, sourcePath, targetPath, options);
33
- if (isS3ClientWithBucket(client)) return move3(client.client, client.bucketName, sourcePath, targetPath, options);
34
- if (isFtpClient(client)) return move(client, sourcePath, targetPath);
35
- if (isSftpClient(client)) return move2(client, sourcePath, targetPath);
32
+ if (isGcsBucket(client)) return move2(client, sourcePath, targetPath, options);
33
+ if (isS3ClientWithBucket(client)) return move(client.client, client.bucketName, sourcePath, targetPath, options);
34
+ if (isFtpClient(client)) return move3(client, sourcePath, targetPath);
35
+ if (isSftpClient(client)) return move4(client, sourcePath, targetPath);
36
36
  return Outcome.makeFailure("Invalid client type");
37
37
  }
38
38
 
@@ -0,0 +1,9 @@
1
+ // src/components/Comp/index.tsx
2
+ import { Fragment, jsx } from "react/jsx-runtime";
3
+ function Comp() {
4
+ return /* @__PURE__ */ jsx(Fragment, { children: "Coucou !" });
5
+ }
6
+
7
+ export {
8
+ Comp
9
+ };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-FR5H2OCV.js";
4
4
  import {
5
5
  Errors
6
- } from "./chunk-WH6BPDAC.js";
6
+ } from "./chunk-2KT7AKRW.js";
7
7
 
8
8
  // src/shared/errors/index.ts
9
9
  var register = Errors.Register.from({
@@ -0,0 +1,20 @@
1
+ import {
2
+ operations_exports
3
+ } from "./chunk-CRLUUTBS.js";
4
+ import {
5
+ clients_exports
6
+ } from "./chunk-V3GX7SIJ.js";
7
+ import {
8
+ __export
9
+ } from "./chunk-WSFCRVEQ.js";
10
+
11
+ // src/node/cloud-storage/index.ts
12
+ var cloud_storage_exports = {};
13
+ __export(cloud_storage_exports, {
14
+ Clients: () => clients_exports,
15
+ Operations: () => operations_exports
16
+ });
17
+
18
+ export {
19
+ cloud_storage_exports
20
+ };
@@ -0,0 +1,16 @@
1
+ import {
2
+ storage_exports
3
+ } from "./chunk-MCRHFVAD.js";
4
+ import {
5
+ __export
6
+ } from "./chunk-WSFCRVEQ.js";
7
+
8
+ // src/node/@google-cloud/index.ts
9
+ var google_cloud_exports = {};
10
+ __export(google_cloud_exports, {
11
+ Storage: () => storage_exports
12
+ });
13
+
14
+ export {
15
+ google_cloud_exports
16
+ };
@@ -1,15 +1,15 @@
1
+ import {
2
+ toSharpColor
3
+ } from "./chunk-D5CCWCEI.js";
1
4
  import {
2
5
  zod_default
3
6
  } from "./chunk-DZ2T5DTY.js";
4
- import {
5
- toSharpColor
6
- } from "./chunk-BKIF2ELV.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
10
10
  import {
11
11
  isColor
12
- } from "./chunk-UG5EMKGN.js";
12
+ } from "./chunk-67V4BGOB.js";
13
13
 
14
14
  // src/node/images/transform/operations/flatten/index.ts
15
15
  function isFlattenOperationParams(obj) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toCreateOptions
3
- } from "./chunk-BKIF2ELV.js";
3
+ } from "./chunk-D5CCWCEI.js";
4
4
  import {
5
5
  __export
6
6
  } from "./chunk-WSFCRVEQ.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-S32K7POB.js";
4
4
  import {
5
5
  register
6
- } from "./chunk-TIER4TF4.js";
6
+ } from "./chunk-P2H6PV4O.js";
7
7
 
8
8
  // src/agnostic/css/styles-set/index.tsx
9
9
  import { Component } from "react";
@@ -1,14 +1,14 @@
1
1
  import {
2
- copy as copy4
2
+ copy as copy2
3
3
  } from "./chunk-CWZFRUBS.js";
4
4
  import {
5
- copy as copy3
5
+ copy
6
6
  } from "./chunk-C6QTHDDM.js";
7
7
  import {
8
- copy
8
+ copy as copy3
9
9
  } from "./chunk-NMYVJJXV.js";
10
10
  import {
11
- copy as copy2
11
+ copy as copy4
12
12
  } from "./chunk-QH64MYGA.js";
13
13
  import {
14
14
  isFtpClient,
@@ -29,10 +29,10 @@ __export(copy_file_exports, {
29
29
  copyFile: () => copyFile
30
30
  });
31
31
  async function copyFile(client, sourcePath, targetPath, options) {
32
- if (isGcsBucket(client)) return copy4(client, sourcePath, targetPath, options);
33
- if (isS3ClientWithBucket(client)) return copy3(client.client, client.bucketName, sourcePath, targetPath, options);
34
- if (isFtpClient(client)) return copy(client, sourcePath, targetPath, options);
35
- if (isSftpClient(client)) return copy2(client, sourcePath, targetPath, options);
32
+ if (isGcsBucket(client)) return copy2(client, sourcePath, targetPath, options);
33
+ if (isS3ClientWithBucket(client)) return copy(client.client, client.bucketName, sourcePath, targetPath, options);
34
+ if (isFtpClient(client)) return copy3(client, sourcePath, targetPath, options);
35
+ if (isSftpClient(client)) return copy4(client, sourcePath, targetPath, options);
36
36
  return Outcome.makeFailure("Invalid client type");
37
37
  }
38
38
 
@@ -0,0 +1,30 @@
1
+ import {
2
+ isInDirectory
3
+ } from "./chunk-NRITRUZW.js";
4
+ import {
5
+ readWrite
6
+ } from "./chunk-7DBNMU6N.js";
7
+ import {
8
+ Subpaths
9
+ } from "./chunk-F3WCF6DL.js";
10
+ import {
11
+ __export
12
+ } from "./chunk-WSFCRVEQ.js";
13
+
14
+ // src/node/files/index.ts
15
+ var files_exports = {};
16
+ __export(files_exports, {
17
+ Subpaths: () => Subpaths2,
18
+ isInDirectory: () => isInDirectory2,
19
+ readWrite: () => readWrite2
20
+ });
21
+ var isInDirectory2 = isInDirectory;
22
+ var readWrite2 = readWrite;
23
+ var Subpaths2 = Subpaths;
24
+
25
+ export {
26
+ isInDirectory2 as isInDirectory,
27
+ readWrite2 as readWrite,
28
+ Subpaths2 as Subpaths,
29
+ files_exports
30
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-TIER4TF4.js";
3
+ } from "./chunk-P2H6PV4O.js";
4
4
 
5
5
  // src/agnostic/html/sanitize/index.ts
6
6
  var Sanitize;
@@ -1,15 +1,15 @@
1
+ import {
2
+ toSharpColor
3
+ } from "./chunk-D5CCWCEI.js";
1
4
  import {
2
5
  zod_default
3
6
  } from "./chunk-DZ2T5DTY.js";
4
- import {
5
- toSharpColor
6
- } from "./chunk-BKIF2ELV.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
10
10
  import {
11
11
  isColor
12
- } from "./chunk-UG5EMKGN.js";
12
+ } from "./chunk-67V4BGOB.js";
13
13
 
14
14
  // src/node/images/transform/operations/rotate/index.ts
15
15
  function isRotateOperationParams(obj) {
@@ -1,14 +1,14 @@
1
1
  import {
2
- remove as remove4
2
+ remove as remove2
3
3
  } from "./chunk-7J7CYOXU.js";
4
4
  import {
5
- remove as remove3
5
+ remove
6
6
  } from "./chunk-WV5N7ESL.js";
7
7
  import {
8
- remove
8
+ remove as remove3
9
9
  } from "./chunk-KJAEVOIW.js";
10
10
  import {
11
- remove as remove2
11
+ remove as remove4
12
12
  } from "./chunk-ANPXBD2G.js";
13
13
  import {
14
14
  isFtpClient,
@@ -29,10 +29,10 @@ __export(remove_file_exports, {
29
29
  removeFile: () => removeFile
30
30
  });
31
31
  async function removeFile(client, path, options) {
32
- if (isGcsBucket(client)) return remove4(client, path, options);
33
- if (isS3ClientWithBucket(client)) return remove3(client.client, path, client.bucketName, options);
34
- if (isFtpClient(client)) return remove(client, path, options);
35
- if (isSftpClient(client)) return remove2(client, path, options);
32
+ if (isGcsBucket(client)) return remove2(client, path, options);
33
+ if (isS3ClientWithBucket(client)) return remove(client.client, path, client.bucketName, options);
34
+ if (isFtpClient(client)) return remove3(client, path, options);
35
+ if (isSftpClient(client)) return remove4(client, path, options);
36
36
  return Outcome.makeFailure("Invalid client type");
37
37
  }
38
38
 
@@ -0,0 +1,84 @@
1
+ import {
2
+ Logs
3
+ } from "./chunk-MJQF3YZO.js";
4
+ import {
5
+ LoremIpsum
6
+ } from "./chunk-TTYILNFU.js";
7
+ import {
8
+ Assert
9
+ } from "./chunk-E4FJHD5R.js";
10
+ import {
11
+ Cast
12
+ } from "./chunk-SNJJII7A.js";
13
+ import {
14
+ Crawler
15
+ } from "./chunk-YUP434IY.js";
16
+ import {
17
+ data_size_exports
18
+ } from "./chunk-G4ZB72XY.js";
19
+ import {
20
+ getCurrentDownlink
21
+ } from "./chunk-7AWTHZLY.js";
22
+ import {
23
+ Outcome
24
+ } from "./chunk-JMU5PDBD.js";
25
+ import {
26
+ isNotNullish,
27
+ isNullish,
28
+ nullishValues
29
+ } from "./chunk-HC6ZOHCS.js";
30
+ import {
31
+ Crossenv
32
+ } from "./chunk-FR5H2OCV.js";
33
+ import {
34
+ isConstructorFunction
35
+ } from "./chunk-RCO57B6F.js";
36
+ import {
37
+ __export
38
+ } from "./chunk-WSFCRVEQ.js";
39
+
40
+ // src/agnostic/misc/index.ts
41
+ var misc_exports = {};
42
+ __export(misc_exports, {
43
+ Assert: () => Assert2,
44
+ Cast: () => Cast2,
45
+ Crawler: () => Crawler2,
46
+ Crossenv: () => Crossenv2,
47
+ DataSize: () => data_size_exports,
48
+ Logs: () => Logs2,
49
+ LoremIpsum: () => LoremIpsum2,
50
+ Outcome: () => Outcome2,
51
+ getCurrentDownlink: () => getCurrentDownlink2,
52
+ isConstructorFunction: () => isConstructorFunction2,
53
+ isNotNullish: () => isNotNullish2,
54
+ isNullish: () => isNullish2,
55
+ nullishValues: () => nullishValues2
56
+ });
57
+ var Assert2 = Assert;
58
+ var Cast2 = Cast;
59
+ var Crawler2 = Crawler;
60
+ var Crossenv2 = Crossenv;
61
+ var getCurrentDownlink2 = getCurrentDownlink;
62
+ var isConstructorFunction2 = isConstructorFunction;
63
+ var nullishValues2 = nullishValues;
64
+ var isNullish2 = isNullish;
65
+ var isNotNullish2 = isNotNullish;
66
+ var Logs2 = Logs;
67
+ var LoremIpsum2 = LoremIpsum;
68
+ var Outcome2 = Outcome;
69
+
70
+ export {
71
+ Assert2 as Assert,
72
+ Cast2 as Cast,
73
+ Crawler2 as Crawler,
74
+ Crossenv2 as Crossenv,
75
+ getCurrentDownlink2 as getCurrentDownlink,
76
+ isConstructorFunction2 as isConstructorFunction,
77
+ nullishValues2 as nullishValues,
78
+ isNullish2 as isNullish,
79
+ isNotNullish2 as isNotNullish,
80
+ Logs2 as Logs,
81
+ LoremIpsum2 as LoremIpsum,
82
+ Outcome2 as Outcome,
83
+ misc_exports
84
+ };
@@ -1,14 +1,14 @@
1
1
  import {
2
- stat as stat4
2
+ stat as stat2
3
3
  } from "./chunk-W3RXHN5I.js";
4
4
  import {
5
- stat as stat3
5
+ stat
6
6
  } from "./chunk-VROZGPC5.js";
7
7
  import {
8
- stat
8
+ stat as stat3
9
9
  } from "./chunk-CNYSX2L2.js";
10
10
  import {
11
- stat as stat2
11
+ stat as stat4
12
12
  } from "./chunk-TGVYEQIA.js";
13
13
  import {
14
14
  isFtpClient,
@@ -29,10 +29,10 @@ __export(stat_file_exports, {
29
29
  statFile: () => statFile
30
30
  });
31
31
  async function statFile(client, path, options) {
32
- if (isGcsBucket(client)) return stat4(client, path, options);
33
- if (isS3ClientWithBucket(client)) return stat3(client.client, path, client.bucketName, options);
34
- if (isFtpClient(client)) return stat(client, path);
35
- if (isSftpClient(client)) return stat2(client, path);
32
+ if (isGcsBucket(client)) return stat2(client, path, options);
33
+ if (isS3ClientWithBucket(client)) return stat(client.client, path, client.bucketName, options);
34
+ if (isFtpClient(client)) return stat3(client, path);
35
+ if (isSftpClient(client)) return stat4(client, path);
36
36
  return Outcome.makeFailure("Invalid client type");
37
37
  }
38
38
 
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-S32K7POB.js";
4
4
  import {
5
5
  Arrays
6
- } from "./chunk-JJ7DN7NN.js";
6
+ } from "./chunk-VI2MRY6N.js";
7
7
 
8
8
  // src/agnostic/misc/lorem-ipsum/index.ts
9
9
  var LoremIpsum;
@@ -0,0 +1,31 @@
1
+ import {
2
+ createScale,
3
+ getHarmonic
4
+ } from "./chunk-KXIA3YGF.js";
5
+ import {
6
+ interpolate
7
+ } from "./chunk-BJAYUP7M.js";
8
+ import {
9
+ round
10
+ } from "./chunk-EOE2ODJR.js";
11
+ import {
12
+ absoluteModulo
13
+ } from "./chunk-DNIOWD7K.js";
14
+ import {
15
+ clamp
16
+ } from "./chunk-OSAXBA7G.js";
17
+
18
+ // src/agnostic/numbers/index.ts
19
+ var Numbers;
20
+ ((Numbers2) => {
21
+ Numbers2.absoluteModulo = absoluteModulo;
22
+ Numbers2.clamp = clamp;
23
+ Numbers2.interpolate = interpolate;
24
+ Numbers2.getHarmonic = getHarmonic;
25
+ Numbers2.createScale = createScale;
26
+ Numbers2.round = round;
27
+ })(Numbers || (Numbers = {}));
28
+
29
+ export {
30
+ Numbers
31
+ };
@@ -0,0 +1,16 @@
1
+ import {
2
+ multer_exports
3
+ } from "./chunk-QCOO4PV5.js";
4
+ import {
5
+ __export
6
+ } from "./chunk-WSFCRVEQ.js";
7
+
8
+ // src/node/@express/index.ts
9
+ var express_exports = {};
10
+ __export(express_exports, {
11
+ Multer: () => multer_exports
12
+ });
13
+
14
+ export {
15
+ express_exports
16
+ };
@@ -1,19 +1,19 @@
1
+ import {
2
+ make
3
+ } from "./chunk-RLAZR3NL.js";
4
+ import {
5
+ randomPick,
6
+ randomPickMany
7
+ } from "./chunk-C7SRAQMW.js";
1
8
  import {
2
9
  shuffle
3
10
  } from "./chunk-VJJIYJMY.js";
4
11
  import {
5
12
  findDuplicates
6
13
  } from "./chunk-YS6WMSWC.js";
7
- import {
8
- randomPick,
9
- randomPickMany
10
- } from "./chunk-AQBJ6HNB.js";
11
14
  import {
12
15
  isArrayOf
13
16
  } from "./chunk-6RGDWX4A.js";
14
- import {
15
- make
16
- } from "./chunk-RLAZR3NL.js";
17
17
 
18
18
  // src/agnostic/arrays/index.tsx
19
19
  var Arrays;
@@ -6,7 +6,7 @@ import {
6
6
  viaLch,
7
7
  viaRgb,
8
8
  viaXyz
9
- } from "./chunk-YZVZKBVJ.js";
9
+ } from "./chunk-FNQAF6CQ.js";
10
10
 
11
11
  // src/agnostic/colors/grayscale/index.ts
12
12
  function avgGrayscaleRgb(rgb) {
@@ -1,14 +1,14 @@
1
1
  import {
2
- upload as upload4
2
+ upload as upload2
3
3
  } from "./chunk-FB3GNE2B.js";
4
4
  import {
5
- upload as upload3
5
+ upload
6
6
  } from "./chunk-FD5WR2A5.js";
7
7
  import {
8
- upload
8
+ upload as upload3
9
9
  } from "./chunk-CVDCTI7F.js";
10
10
  import {
11
- upload as upload2
11
+ upload as upload4
12
12
  } from "./chunk-QDVDHFMZ.js";
13
13
  import {
14
14
  isFtpClient,
@@ -29,10 +29,10 @@ __export(upload_file_exports, {
29
29
  uploadFile: () => uploadFile
30
30
  });
31
31
  async function uploadFile(fileStream, path, client, options) {
32
- if (isGcsBucket(client)) return upload4(client, path, fileStream, options);
33
- if (isS3ClientWithBucket(client)) return upload3(client.client, client.bucketName, path, fileStream, options);
34
- if (isFtpClient(client)) return upload(client, path, fileStream, options);
35
- if (isSftpClient(client)) return upload2(client, path, fileStream, options);
32
+ if (isGcsBucket(client)) return upload2(client, path, fileStream, options);
33
+ if (isS3ClientWithBucket(client)) return upload(client.client, client.bucketName, path, fileStream, options);
34
+ if (isFtpClient(client)) return upload3(client, path, fileStream, options);
35
+ if (isSftpClient(client)) return upload4(client, path, fileStream, options);
36
36
  return Outcome.makeFailure("Invalid client type");
37
37
  }
38
38
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-TIER4TF4.js";
3
+ } from "./chunk-P2H6PV4O.js";
4
4
 
5
5
  // src/agnostic/html/selector-to-element/index.ts
6
6
  function selectorToElement(selector, documentObj) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  file_exports
3
- } from "./chunk-2DW5MV3U.js";
3
+ } from "./chunk-PCWD23PL.js";
4
4
  import {
5
5
  directory_exports
6
- } from "./chunk-ZBAKY6DB.js";
6
+ } from "./chunk-G6C3VTOA.js";
7
7
  import {
8
8
  __export
9
9
  } from "./chunk-WSFCRVEQ.js";
@@ -11,7 +11,7 @@ import {
11
11
  viaLch,
12
12
  viaRgb,
13
13
  viaXyz
14
- } from "./chunk-YZVZKBVJ.js";
14
+ } from "./chunk-FNQAF6CQ.js";
15
15
 
16
16
  // src/agnostic/colors/lerp/index.ts
17
17
  function lerpRgb(rgb1, rgb2, amount) {
@@ -0,0 +1,91 @@
1
+ // src/agnostic/regexps/index.ts
2
+ var Regexps;
3
+ ((Regexps2) => {
4
+ function mergeFlags(...flagStrs) {
5
+ const flagsSet = /* @__PURE__ */ new Set();
6
+ flagStrs.forEach(
7
+ (flagStr) => flagStr.split("").forEach((char) => flagsSet.add(char))
8
+ );
9
+ return Array.from(flagsSet.values()).join("");
10
+ }
11
+ Regexps2.mergeFlags = mergeFlags;
12
+ function setFlags(regexp, _flags) {
13
+ const flags = mergeFlags(regexp.flags, _flags);
14
+ return new RegExp(`${regexp.source}`, flags);
15
+ }
16
+ Regexps2.setFlags = setFlags;
17
+ function fromStart(regexp, _flags = "g") {
18
+ const flags = mergeFlags(regexp.flags, _flags);
19
+ return new RegExp(`^(${regexp.source})`, flags);
20
+ }
21
+ Regexps2.fromStart = fromStart;
22
+ function toEnd(regexp, _flags = "g") {
23
+ const flags = mergeFlags(regexp.flags, _flags);
24
+ return new RegExp(`(${regexp.source})$`, flags);
25
+ }
26
+ Regexps2.toEnd = toEnd;
27
+ function fromStartToEnd(regexp, _flags = "g") {
28
+ const flags = mergeFlags(regexp.flags, _flags);
29
+ return fromStart(toEnd(regexp, flags), flags);
30
+ }
31
+ Regexps2.fromStartToEnd = fromStartToEnd;
32
+ function stringStartsWith(string, _regexp, returnMatches = true, _flags = "g") {
33
+ const regexp = fromStart(_regexp, _flags);
34
+ return returnMatches ? string.match(regexp) : regexp.test(string);
35
+ }
36
+ Regexps2.stringStartsWith = stringStartsWith;
37
+ function stringEndsWith(string, _regexp, returnMatches = true, _flags = "g") {
38
+ const regexp = toEnd(_regexp, _flags);
39
+ return returnMatches ? string.match(regexp) : regexp.test(string);
40
+ }
41
+ Regexps2.stringEndsWith = stringEndsWith;
42
+ function stringIs(string, _regexp, returnMatches = false, _flags = "g") {
43
+ const regexp = fromStartToEnd(_regexp, _flags);
44
+ return returnMatches ? string.match(regexp) : regexp.test(string);
45
+ }
46
+ Regexps2.stringIs = stringIs;
47
+ function fromStrings(strings) {
48
+ const rootsMap = stringsToRootsMap(strings);
49
+ const source = sourceFromRootsMap(rootsMap, false);
50
+ const regexp = new RegExp(source);
51
+ return regexp;
52
+ }
53
+ Regexps2.fromStrings = fromStrings;
54
+ function escape(string) {
55
+ return string.replace(/\s/igm, "\\s").replace(/\n/igm, "\\n").replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
56
+ }
57
+ Regexps2.escape = escape;
58
+ function stringsToRootsMap(strings, rootsMap = /* @__PURE__ */ new Map()) {
59
+ const lengthSorted = strings.sort((strA, strB) => strA.length - strB.length);
60
+ lengthSorted.forEach((string) => {
61
+ const [firstChar, ...lastChars] = string.split("");
62
+ const isWordEnd = lastChars.length === 0;
63
+ if (firstChar === void 0) return;
64
+ const roots = Array.from(rootsMap.keys());
65
+ const foundRoot = roots.find((root) => new RegExp(`^(${escape(root)})`).test(string));
66
+ const subRootsMap = foundRoot !== void 0 ? rootsMap.get(foundRoot)?.subRootsMap : void 0;
67
+ if (foundRoot === void 0 || subRootsMap === void 0) {
68
+ const subRootsMap2 = /* @__PURE__ */ new Map();
69
+ stringsToRootsMap([lastChars.join("")], subRootsMap2);
70
+ return rootsMap.set(firstChar, { subRootsMap: subRootsMap2, isWordEnd });
71
+ }
72
+ stringsToRootsMap([lastChars.join("")], subRootsMap);
73
+ });
74
+ return rootsMap;
75
+ }
76
+ function sourceFromRootsMap(rootsMap, isOptional) {
77
+ const rootsMapEntries = Array.from(rootsMap.entries());
78
+ if (rootsMapEntries.length === 0) return "";
79
+ const regexpBody = rootsMapEntries.map(([root, rootData]) => {
80
+ return `${escape(root)}${sourceFromRootsMap(
81
+ rootData.subRootsMap,
82
+ rootData.isWordEnd
83
+ )}`;
84
+ }).join("|");
85
+ return isOptional ? `(${regexpBody})?` : `(${regexpBody})`;
86
+ }
87
+ })(Regexps || (Regexps = {}));
88
+
89
+ export {
90
+ Regexps
91
+ };
@@ -0,0 +1,16 @@
1
+ import {
2
+ storage_exports
3
+ } from "./chunk-XLHOA3NR.js";
4
+ import {
5
+ __export
6
+ } from "./chunk-WSFCRVEQ.js";
7
+
8
+ // src/node/@aws-s3/index.ts
9
+ var aws_s3_exports = {};
10
+ __export(aws_s3_exports, {
11
+ Storage: () => storage_exports
12
+ });
13
+
14
+ export {
15
+ aws_s3_exports
16
+ };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  addChannel
3
- } from "./chunk-ZJ63OCMA.js";
3
+ } from "./chunk-NCYE5WML.js";
4
4
  import {
5
5
  viaLab,
6
6
  viaLch
7
- } from "./chunk-YZVZKBVJ.js";
7
+ } from "./chunk-FNQAF6CQ.js";
8
8
  import {
9
9
  absoluteModulo
10
10
  } from "./chunk-DNIOWD7K.js";