@design-edito/tools 0.2.17 → 0.2.18

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 (233) hide show
  1. package/agnostic/arrays/index.js +9 -9
  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 +23 -21
  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 +11 -31
  19. package/agnostic/css/styles-set/index.js +6 -6
  20. package/agnostic/html/hyper-json/cast/index.js +5 -5
  21. package/agnostic/html/hyper-json/index.js +6 -6
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +5 -5
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +5 -5
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +5 -5
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +5 -5
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +5 -5
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +5 -5
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +5 -5
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +5 -5
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +5 -5
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +5 -5
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +5 -5
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +5 -5
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +5 -5
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +5 -5
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +5 -5
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +5 -5
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +5 -5
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +5 -5
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +5 -5
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +5 -5
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +5 -5
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +5 -5
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +5 -5
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +5 -5
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +5 -5
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +5 -5
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +5 -5
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +5 -5
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +5 -5
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +5 -5
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +5 -5
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +5 -5
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +5 -5
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +5 -5
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +5 -5
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +5 -5
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +5 -5
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +5 -5
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +5 -5
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +5 -5
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +5 -5
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +5 -5
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +5 -5
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +5 -5
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +5 -5
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +5 -5
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +5 -5
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +5 -5
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +5 -5
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +5 -5
  72. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +5 -5
  73. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +5 -5
  74. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +5 -5
  75. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +5 -5
  76. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +5 -5
  77. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +5 -5
  78. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +5 -5
  79. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +5 -5
  80. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +5 -5
  81. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +5 -5
  82. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +5 -5
  83. package/agnostic/html/hyper-json/tree/index.js +5 -5
  84. package/agnostic/html/hyper-json/utils/index.js +5 -5
  85. package/agnostic/html/index.js +17 -43
  86. package/agnostic/html/sanitize/index.js +4 -4
  87. package/agnostic/html/selector-to-element/index.js +4 -4
  88. package/agnostic/html/string-to-nodes/index.js +5 -5
  89. package/agnostic/index.js +144 -0
  90. package/agnostic/misc/crossenv/index.js +2 -2
  91. package/agnostic/misc/index.js +45 -67
  92. package/agnostic/misc/logs/index.js +2 -2
  93. package/agnostic/misc/lorem-ipsum/index.js +12 -12
  94. package/agnostic/numbers/index.js +7 -26
  95. package/agnostic/objects/index.js +10 -38
  96. package/agnostic/optim/index.js +4 -14
  97. package/agnostic/random/index.js +2 -2
  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-ZBBU2P4D.js → chunk-36CTYZYA.js} +2 -2
  102. package/chunks/{chunk-VA67YLZL.js → chunk-3LCD73SB.js} +1 -1
  103. package/chunks/chunk-3TLGAIZT.js +20 -0
  104. package/chunks/{chunk-J4WGYUFY.js → chunk-3XMJVCCD.js} +4 -4
  105. package/chunks/{chunk-JNQPNZTB.js → chunk-4INHLHJT.js} +10 -10
  106. package/chunks/{chunk-IDXUS2IO.js → chunk-4P6V6CHL.js} +5 -5
  107. package/chunks/chunk-56YRW5PS.js +32 -0
  108. package/chunks/{chunk-MN4FVOU2.js → chunk-5CTAKAIP.js} +2 -2
  109. package/chunks/{chunk-YVWQXQTE.js → chunk-5KJLSEJK.js} +10 -10
  110. package/chunks/chunk-67V4BGOB.js +107 -0
  111. package/chunks/chunk-6B26LYUI.js +43 -0
  112. package/chunks/chunk-6KM4UT6T.js +34 -0
  113. package/chunks/chunk-6NAA5YPG.js +16 -0
  114. package/chunks/chunk-6WMQTBOB.js +16 -0
  115. package/chunks/chunk-7HD4NMIG.js +20 -0
  116. package/chunks/{chunk-UG5EMKGN.js → chunk-7UGMWTP5.js} +1 -102
  117. package/chunks/{chunk-HX5PHI2P.js → chunk-7VYHSW6T.js} +10 -10
  118. package/chunks/chunk-7YJ4BB73.js +20 -0
  119. package/chunks/{chunk-ISUDTAMN.js → chunk-ATB2CQBE.js} +5 -5
  120. package/chunks/{chunk-AQBJ6HNB.js → chunk-B446JIN3.js} +1 -1
  121. package/chunks/chunk-BK373LU6.js +84 -0
  122. package/chunks/chunk-BLDUC7TT.js +17 -0
  123. package/chunks/{chunk-L5VJAZVW.js → chunk-C4NNY3VS.js} +28 -64
  124. package/chunks/{chunk-IAOZM4EN.js → chunk-CFHCESPR.js} +5 -5
  125. package/chunks/{chunk-TIER4TF4.js → chunk-CHUOCTRP.js} +1 -1
  126. package/chunks/chunk-CMAS4BKV.js +19 -0
  127. package/chunks/{chunk-STW5RKR7.js → chunk-CYUEPBUN.js} +2 -2
  128. package/chunks/{chunk-BKIF2ELV.js → chunk-D5CCWCEI.js} +1 -1
  129. package/chunks/{chunk-QJXJT5JS.js → chunk-E3EYBGWM.js} +2 -2
  130. package/chunks/{chunk-D7SXHHU3.js → chunk-EGBJXHCW.js} +1 -1
  131. package/chunks/chunk-EPRR53QH.js +20 -0
  132. package/chunks/{chunk-CGITTQIW.js → chunk-EZUU2UVI.js} +10 -10
  133. package/chunks/chunk-FKDPPFHV.js +42 -0
  134. package/chunks/{chunk-YZVZKBVJ.js → chunk-FNQAF6CQ.js} +4 -2
  135. package/chunks/chunk-HXYHJZB7.js +112 -0
  136. package/chunks/{chunk-JJ7DN7NN.js → chunk-IPON4W2H.js} +7 -7
  137. package/chunks/chunk-IRTPQATN.js +16 -0
  138. package/chunks/{chunk-HONCMQHQ.js → chunk-JOWI6DST.js} +2 -2
  139. package/chunks/chunk-JS56UXSY.js +31 -0
  140. package/chunks/{chunk-XB3EGDBI.js → chunk-JWF5EKM2.js} +1 -1
  141. package/chunks/{chunk-KDOMQ4LM.js → chunk-KGRQKEDD.js} +4 -4
  142. package/chunks/{chunk-RBH5MYJ7.js → chunk-KPVAVWAJ.js} +17 -17
  143. package/chunks/{chunk-P4YT4RBG.js → chunk-L7PIZQFC.js} +1 -1
  144. package/chunks/chunk-LIO72OKF.js +31 -0
  145. package/chunks/{chunk-XAYMIITK.js → chunk-MFIGSRSO.js} +1 -1
  146. package/chunks/{chunk-O7VEAOGY.js → chunk-MVFHSJLO.js} +22 -22
  147. package/chunks/{chunk-ZJ63OCMA.js → chunk-NCYE5WML.js} +1 -1
  148. package/chunks/{chunk-RBCZWVQH.js → chunk-NLCZUDXC.js} +4 -4
  149. package/chunks/{chunk-ZUQEHFGL.js → chunk-O3UJRWTQ.js} +10 -10
  150. package/chunks/chunk-OKFZJ6DJ.js +9 -0
  151. package/chunks/{chunk-XNWEMAIP.js → chunk-OPDP7KUM.js} +10 -10
  152. package/chunks/{chunk-O7VFJHQX.js → chunk-PNJI3RCF.js} +4 -4
  153. package/chunks/{chunk-2EHYEUX4.js → chunk-PVRYR5KX.js} +1 -1
  154. package/chunks/{chunk-TFZOOTCF.js → chunk-RZMX74FI.js} +10 -10
  155. package/chunks/chunk-RZV3B2H7.js +41 -0
  156. package/chunks/{chunk-S7637BQZ.js → chunk-S3K2QPZ6.js} +4 -4
  157. package/chunks/{chunk-SKBOSWM2.js → chunk-SA2IY5LN.js} +1 -1
  158. package/chunks/{chunk-RXBMGIPJ.js → chunk-TS2ETUL7.js} +10 -10
  159. package/chunks/chunk-UNXRB2AV.js +16 -0
  160. package/chunks/{chunk-ZQY2MR66.js → chunk-WPQFUS4I.js} +10 -10
  161. package/chunks/chunk-WS4AWN7O.js +30 -0
  162. package/chunks/{chunk-65NTXENV.js → chunk-WSC3WODJ.js} +1 -1
  163. package/chunks/{chunk-GUBFCOBT.js → chunk-XPGAVZGK.js} +1 -1
  164. package/chunks/{chunk-UX2O74SG.js → chunk-Y2HSS4DG.js} +10 -10
  165. package/chunks/chunk-YPTFPS76.js +91 -0
  166. package/chunks/{chunk-QW34TQCS.js → chunk-YXLHZ2KW.js} +2 -2
  167. package/chunks/{chunk-5LK2YLTK.js → chunk-ZLBSI4TR.js} +1 -1
  168. package/chunks/{chunk-D7PZ7633.js → chunk-ZSUJVMQM.js} +10 -10
  169. package/chunks/chunk-ZUOQTT7I.js +43 -0
  170. package/components/Comp/index.js +3 -6
  171. package/components/index.js +13 -0
  172. package/node/@aws-s3/index.js +10 -9
  173. package/node/@aws-s3/storage/directory/index.js +7 -7
  174. package/node/@aws-s3/storage/file/index.js +12 -12
  175. package/node/@aws-s3/storage/index.js +9 -9
  176. package/node/@design-edito/index.js +1 -0
  177. package/node/@express/index.js +1 -0
  178. package/node/@google-cloud/index.js +15 -14
  179. package/node/@google-cloud/storage/bucket/index.js +4 -4
  180. package/node/@google-cloud/storage/directory/index.js +7 -7
  181. package/node/@google-cloud/storage/file/index.js +18 -18
  182. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
  183. package/node/@google-cloud/storage/index.js +16 -16
  184. package/node/cloud-storage/index.js +42 -41
  185. package/node/cloud-storage/operations/copy-dir/index.js +2 -2
  186. package/node/cloud-storage/operations/copy-file/index.js +2 -2
  187. package/node/cloud-storage/operations/download-file/index.js +2 -2
  188. package/node/cloud-storage/operations/exists-file/index.js +2 -2
  189. package/node/cloud-storage/operations/index.js +51 -51
  190. package/node/cloud-storage/operations/list-dir/index.js +2 -2
  191. package/node/cloud-storage/operations/move-dir/index.js +2 -2
  192. package/node/cloud-storage/operations/move-file/index.js +2 -2
  193. package/node/cloud-storage/operations/remove-dir/index.js +2 -2
  194. package/node/cloud-storage/operations/remove-file/index.js +2 -2
  195. package/node/cloud-storage/operations/stat-file/index.js +2 -2
  196. package/node/cloud-storage/operations/upload-file/index.js +2 -2
  197. package/node/encryption/index.js +4 -3
  198. package/node/files/index.js +9 -15
  199. package/node/ftps/directory/index.js +7 -7
  200. package/node/ftps/file/index.js +6 -6
  201. package/node/ftps/index.js +10 -9
  202. package/node/images/create/index.js +15 -14
  203. package/node/images/format/index.js +15 -14
  204. package/node/images/index.js +34 -30
  205. package/node/images/metadata/index.js +15 -14
  206. package/node/images/transform/index.js +25 -23
  207. package/node/images/transform/operations/extend/index.js +15 -14
  208. package/node/images/transform/operations/flatten/index.js +15 -14
  209. package/node/images/transform/operations/overlay/index.js +15 -14
  210. package/node/images/transform/operations/resize/index.js +15 -14
  211. package/node/images/transform/operations/rotate/index.js +15 -14
  212. package/node/images/types.js +9 -0
  213. package/node/images/utils/index.js +14 -13
  214. package/node/index.js +172 -0
  215. package/node/process/index.js +7 -13
  216. package/node/sftp/directory/index.js +7 -7
  217. package/node/sftp/file/index.js +12 -12
  218. package/node/sftp/index.js +11 -10
  219. package/package.json +1 -1
  220. package/{chunks/chunk-ALMK24GK.js → agnostic/optim/throttle-debounce/types.js} +0 -0
  221. package/chunks/{chunk-ZBAKY6DB.js → chunk-4OK2UH4M.js} +6 -6
  222. package/chunks/{chunk-2DW5MV3U.js → chunk-66S3WWJV.js} +11 -11
  223. package/chunks/{chunk-A7K5DUP7.js → chunk-74CFPDKM.js} +6 -6
  224. package/chunks/{chunk-X5F6XGEP.js → chunk-AIC5YAJU.js} +6 -6
  225. package/chunks/{chunk-LSZVKXDZ.js → chunk-G5RRNREY.js} +3 -3
  226. package/chunks/{chunk-QN3UAKIU.js → chunk-MJQF3YZO.js} +3 -3
  227. package/chunks/{chunk-S32K7POB.js → chunk-OVG5RGI3.js} +4 -4
  228. package/chunks/{chunk-7SZXDQVJ.js → chunk-Q6KRGRCE.js} +12 -12
  229. package/chunks/{chunk-FR5H2OCV.js → chunk-UFKH5WD2.js} +3 -3
  230. package/chunks/{chunk-CNMP2GU4.js → chunk-UORTIJVT.js} +6 -6
  231. package/chunks/{chunk-UEAMPAHK.js → chunk-UXEKCYL7.js} +3 -3
  232. package/chunks/{chunk-X5VXP4GS.js → chunk-VLPG725T.js} +5 -5
  233. package/chunks/{chunk-ASCJDM27.js → chunk-XXRTRR5D.js} +11 -11
@@ -0,0 +1,20 @@
1
+ import {
2
+ operations_exports
3
+ } from "./chunk-MVFHSJLO.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
+ };
@@ -2,16 +2,16 @@ import {
2
2
  Cast,
3
3
  Tree,
4
4
  Utils
5
- } from "./chunk-7SZXDQVJ.js";
5
+ } from "./chunk-Q6KRGRCE.js";
6
+ import {
7
+ Serialize
8
+ } from "./chunk-SXRWMH3U.js";
6
9
  import {
7
10
  Types
8
11
  } from "./chunk-XEQ2PBT2.js";
9
12
  import {
10
13
  SmartTags
11
14
  } from "./chunk-UT2J62LH.js";
12
- import {
13
- Serialize
14
- } from "./chunk-SXRWMH3U.js";
15
15
  import {
16
16
  Transformer
17
17
  } from "./chunk-BKO7GLC2.js";
@@ -1,14 +1,11 @@
1
1
  import {
2
- removeDir as removeDir4
2
+ removeDir as removeDir2
3
3
  } from "./chunk-QLDN574K.js";
4
- import {
5
- removeDir as removeDir3
6
- } from "./chunk-4XSDRT23.js";
7
4
  import {
8
5
  removeDir
9
- } from "./chunk-BSUQNHAM.js";
6
+ } from "./chunk-4XSDRT23.js";
10
7
  import {
11
- removeDir as removeDir2
8
+ removeDir as removeDir4
12
9
  } from "./chunk-5ZJ3KJPK.js";
13
10
  import {
14
11
  isFtpClient,
@@ -16,6 +13,9 @@ import {
16
13
  isS3ClientWithBucket,
17
14
  isSftpClient
18
15
  } from "./chunk-V3GX7SIJ.js";
16
+ import {
17
+ removeDir as removeDir3
18
+ } from "./chunk-BSUQNHAM.js";
19
19
  import {
20
20
  Outcome
21
21
  } from "./chunk-JMU5PDBD.js";
@@ -29,10 +29,10 @@ __export(remove_dir_exports, {
29
29
  removeDir: () => removeDir5
30
30
  });
31
31
  async function removeDir5(client, sourcePath, options) {
32
- if (isGcsBucket(client)) return removeDir4(client, sourcePath, options);
33
- if (isS3ClientWithBucket(client)) return removeDir3(client.client, client.bucketName, sourcePath, options);
34
- if (isFtpClient(client)) return removeDir(client, sourcePath, options);
35
- if (isSftpClient(client)) return removeDir2(client, sourcePath, options);
32
+ if (isGcsBucket(client)) return removeDir2(client, sourcePath, options);
33
+ if (isS3ClientWithBucket(client)) return removeDir(client.client, client.bucketName, sourcePath, options);
34
+ if (isFtpClient(client)) return removeDir3(client, sourcePath, options);
35
+ if (isSftpClient(client)) return removeDir4(client, sourcePath, options);
36
36
  return Outcome.makeFailure("Invalid client type");
37
37
  }
38
38
 
@@ -1,10 +1,10 @@
1
- import {
2
- zod_default
3
- } from "./chunk-DZ2T5DTY.js";
4
1
  import {
5
2
  toSharpColor,
6
3
  toSharpInstance
7
- } from "./chunk-BKIF2ELV.js";
4
+ } from "./chunk-D5CCWCEI.js";
5
+ import {
6
+ zod_default
7
+ } from "./chunk-DZ2T5DTY.js";
8
8
  import {
9
9
  Outcome
10
10
  } from "./chunk-JMU5PDBD.js";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-OSAXBA7G.js";
14
14
  import {
15
15
  isColor
16
- } from "./chunk-UG5EMKGN.js";
16
+ } from "./chunk-67V4BGOB.js";
17
17
  import {
18
18
  __export
19
19
  } from "./chunk-WSFCRVEQ.js";
@@ -0,0 +1,32 @@
1
+ import {
2
+ create_exports
3
+ } from "./chunk-PVRYR5KX.js";
4
+ import {
5
+ metadata_exports
6
+ } from "./chunk-ZLBSI4TR.js";
7
+ import {
8
+ format_exports
9
+ } from "./chunk-4P6V6CHL.js";
10
+ import {
11
+ transform_exports
12
+ } from "./chunk-C4NNY3VS.js";
13
+ import {
14
+ types_exports
15
+ } from "./chunk-FKDPPFHV.js";
16
+ import {
17
+ __export
18
+ } from "./chunk-WSFCRVEQ.js";
19
+
20
+ // src/node/images/index.ts
21
+ var images_exports = {};
22
+ __export(images_exports, {
23
+ Create: () => create_exports,
24
+ Format: () => format_exports,
25
+ Metadata: () => metadata_exports,
26
+ Transform: () => transform_exports,
27
+ Types: () => types_exports
28
+ });
29
+
30
+ export {
31
+ images_exports
32
+ };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  luminance
3
- } from "./chunk-VA67YLZL.js";
3
+ } from "./chunk-3LCD73SB.js";
4
4
  import {
5
5
  toRgb
6
- } from "./chunk-YZVZKBVJ.js";
6
+ } from "./chunk-FNQAF6CQ.js";
7
7
 
8
8
  // src/agnostic/colors/contrast/index.ts
9
9
  function contrastWcag(c1, c2) {
@@ -1,14 +1,11 @@
1
1
  import {
2
- stat as stat4
2
+ stat as stat2
3
3
  } from "./chunk-W3RXHN5I.js";
4
- import {
5
- stat as stat3
6
- } from "./chunk-VROZGPC5.js";
7
4
  import {
8
5
  stat
9
- } from "./chunk-CNYSX2L2.js";
6
+ } from "./chunk-VROZGPC5.js";
10
7
  import {
11
- stat as stat2
8
+ stat as stat4
12
9
  } from "./chunk-TGVYEQIA.js";
13
10
  import {
14
11
  isFtpClient,
@@ -16,6 +13,9 @@ import {
16
13
  isS3ClientWithBucket,
17
14
  isSftpClient
18
15
  } from "./chunk-V3GX7SIJ.js";
16
+ import {
17
+ stat as stat3
18
+ } from "./chunk-CNYSX2L2.js";
19
19
  import {
20
20
  Outcome
21
21
  } from "./chunk-JMU5PDBD.js";
@@ -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
 
@@ -0,0 +1,107 @@
1
+ import {
2
+ isNonNullObject
3
+ } from "./chunk-HQLRJ7XW.js";
4
+ import {
5
+ cssColors
6
+ } from "./chunk-7UGMWTP5.js";
7
+
8
+ // src/agnostic/colors/typechecks/index.ts
9
+ var isHex = (color) => {
10
+ if (typeof color !== "string") return false;
11
+ if (!color.startsWith("#")) return false;
12
+ const withoutHash = color.slice(1);
13
+ const withoutHashLength = withoutHash.length;
14
+ const allowedLengths = [3, 4, 6, 8];
15
+ if (!allowedLengths.includes(withoutHashLength)) return false;
16
+ return /^[0-9a-f]+$/igm.test(withoutHash);
17
+ };
18
+ var isRgb = (color) => {
19
+ if (!isNonNullObject(color)) return false;
20
+ const { r, g, b, a } = color;
21
+ if (typeof r !== "number") return false;
22
+ if (typeof g !== "number") return false;
23
+ if (typeof b !== "number") return false;
24
+ if (a !== void 0 && typeof a !== "number") return false;
25
+ return true;
26
+ };
27
+ var isHsl = (color) => {
28
+ if (!isNonNullObject(color)) return false;
29
+ const { h, s, l, a } = color;
30
+ if (typeof h !== "number") return false;
31
+ if (typeof s !== "number") return false;
32
+ if (typeof l !== "number") return false;
33
+ if (a !== void 0 && typeof a !== "number") return false;
34
+ return true;
35
+ };
36
+ var isHsb = (color) => {
37
+ if (!isNonNullObject(color)) return false;
38
+ const { h, s, b, a } = color;
39
+ if (typeof h !== "number") return false;
40
+ if (typeof s !== "number") return false;
41
+ if (typeof b !== "number") return false;
42
+ if (a !== void 0 && typeof a !== "number") return false;
43
+ return true;
44
+ };
45
+ var isLab = (color) => {
46
+ if (!isNonNullObject(color)) return false;
47
+ const { l, a, b, al } = color;
48
+ if (typeof l !== "number") return false;
49
+ if (typeof a !== "number") return false;
50
+ if (typeof b !== "number") return false;
51
+ if (al !== void 0 && typeof al !== "number") return false;
52
+ return true;
53
+ };
54
+ var isLch = (color) => {
55
+ if (!isNonNullObject(color)) return false;
56
+ const { l, c, h, a } = color;
57
+ if (typeof l !== "number") return false;
58
+ if (typeof c !== "number") return false;
59
+ if (typeof h !== "number") return false;
60
+ if (a !== void 0 && typeof a !== "number") return false;
61
+ return true;
62
+ };
63
+ var isCmyk = (color) => {
64
+ if (!isNonNullObject(color)) return false;
65
+ const { c, m, y, k, a } = color;
66
+ if (typeof c !== "number") return false;
67
+ if (typeof m !== "number") return false;
68
+ if (typeof y !== "number") return false;
69
+ if (typeof k !== "number") return false;
70
+ if (a !== void 0 && typeof a !== "number") return false;
71
+ return true;
72
+ };
73
+ var isXyz = (color) => {
74
+ if (!isNonNullObject(color)) return false;
75
+ const { x, y, z, a } = color;
76
+ if (typeof x !== "number") return false;
77
+ if (typeof y !== "number") return false;
78
+ if (typeof z !== "number") return false;
79
+ if (a !== void 0 && typeof a !== "number") return false;
80
+ return true;
81
+ };
82
+ var isCssColor = (color) => typeof color === "string" && cssColors[color] !== void 0;
83
+ var isColor = (color) => {
84
+ if (isHex(color)) return true;
85
+ if (isCssColor(color)) return true;
86
+ if (isRgb(color)) return true;
87
+ if (isHsl(color)) return true;
88
+ if (isHsb(color)) return true;
89
+ if (isCmyk(color)) return true;
90
+ if (isXyz(color)) return true;
91
+ if (isLab(color)) return true;
92
+ if (isLch(color)) return true;
93
+ return false;
94
+ };
95
+
96
+ export {
97
+ isHex,
98
+ isRgb,
99
+ isHsl,
100
+ isHsb,
101
+ isLab,
102
+ isLch,
103
+ isCmyk,
104
+ isXyz,
105
+ isCssColor,
106
+ isColor
107
+ };
@@ -0,0 +1,43 @@
1
+ import {
2
+ trimEnd,
3
+ trimStart
4
+ } from "./chunk-6XL25OZX.js";
5
+ import {
6
+ matches,
7
+ matchesEvery,
8
+ matchesSome
9
+ } from "./chunk-R3AWQXMY.js";
10
+ import {
11
+ CharCodes
12
+ } from "./chunk-34U4HX4V.js";
13
+ import {
14
+ normalizeIndent
15
+ } from "./chunk-JQXNEJAP.js";
16
+ import {
17
+ parseTable
18
+ } from "./chunk-A3CDUWGR.js";
19
+ import {
20
+ replaceAll
21
+ } from "./chunk-ZTDVUXPR.js";
22
+ import {
23
+ toAlphanum
24
+ } from "./chunk-COVPTTAD.js";
25
+
26
+ // src/agnostic/strings/index.ts
27
+ var Strings;
28
+ ((Strings2) => {
29
+ Strings2.CharCodes = CharCodes;
30
+ Strings2.matches = matches;
31
+ Strings2.matchesSome = matchesSome;
32
+ Strings2.matchesEvery = matchesEvery;
33
+ Strings2.normalizeIndent = normalizeIndent;
34
+ Strings2.parseTable = parseTable;
35
+ Strings2.replaceAll = replaceAll;
36
+ Strings2.toAlphanum = toAlphanum;
37
+ Strings2.trimStart = trimStart;
38
+ Strings2.trimEnd = trimEnd;
39
+ })(Strings || (Strings = {}));
40
+
41
+ export {
42
+ Strings
43
+ };
@@ -0,0 +1,34 @@
1
+ import {
2
+ beforeExit,
3
+ beforeForcedExit,
4
+ forceExitEvents,
5
+ onAllExits,
6
+ onExit
7
+ } from "./chunk-LEXQ6E6L.js";
8
+ import {
9
+ __export
10
+ } from "./chunk-WSFCRVEQ.js";
11
+
12
+ // src/node/process/index.ts
13
+ var process_exports = {};
14
+ __export(process_exports, {
15
+ beforeExit: () => beforeExit2,
16
+ beforeForcedExit: () => beforeForcedExit2,
17
+ forceExitEvents: () => forceExitEvents2,
18
+ onAllExits: () => onAllExits2,
19
+ onExit: () => onExit2
20
+ });
21
+ var forceExitEvents2 = forceExitEvents;
22
+ var beforeForcedExit2 = beforeForcedExit;
23
+ var beforeExit2 = beforeExit;
24
+ var onExit2 = onExit;
25
+ var onAllExits2 = onAllExits;
26
+
27
+ export {
28
+ forceExitEvents2 as forceExitEvents,
29
+ beforeForcedExit2 as beforeForcedExit,
30
+ beforeExit2 as beforeExit,
31
+ onExit2 as onExit,
32
+ onAllExits2 as onAllExits,
33
+ process_exports
34
+ };
@@ -0,0 +1,16 @@
1
+ import {
2
+ storage_exports
3
+ } from "./chunk-E3EYBGWM.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
+ };
@@ -0,0 +1,16 @@
1
+ import {
2
+ storage_exports
3
+ } from "./chunk-CFHCESPR.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
+ };
@@ -0,0 +1,20 @@
1
+ import {
2
+ file_exports
3
+ } from "./chunk-VLPG725T.js";
4
+ import {
5
+ directory_exports
6
+ } from "./chunk-UORTIJVT.js";
7
+ import {
8
+ __export
9
+ } from "./chunk-WSFCRVEQ.js";
10
+
11
+ // src/node/ftps/index.ts
12
+ var ftps_exports = {};
13
+ __export(ftps_exports, {
14
+ Directory: () => directory_exports,
15
+ File: () => file_exports
16
+ });
17
+
18
+ export {
19
+ ftps_exports
20
+ };
@@ -1,6 +1,3 @@
1
- import {
2
- isNonNullObject
3
- } from "./chunk-HQLRJ7XW.js";
4
1
  import {
5
2
  __export
6
3
  } from "./chunk-WSFCRVEQ.js";
@@ -161,105 +158,7 @@ var cssColors = {
161
158
  yellowgreen: { r: 154, g: 205, b: 50 }
162
159
  };
163
160
 
164
- // src/agnostic/colors/typechecks/index.ts
165
- var isHex = (color) => {
166
- if (typeof color !== "string") return false;
167
- if (!color.startsWith("#")) return false;
168
- const withoutHash = color.slice(1);
169
- const withoutHashLength = withoutHash.length;
170
- const allowedLengths = [3, 4, 6, 8];
171
- if (!allowedLengths.includes(withoutHashLength)) return false;
172
- return /^[0-9a-f]+$/igm.test(withoutHash);
173
- };
174
- var isRgb = (color) => {
175
- if (!isNonNullObject(color)) return false;
176
- const { r, g, b, a } = color;
177
- if (typeof r !== "number") return false;
178
- if (typeof g !== "number") return false;
179
- if (typeof b !== "number") return false;
180
- if (a !== void 0 && typeof a !== "number") return false;
181
- return true;
182
- };
183
- var isHsl = (color) => {
184
- if (!isNonNullObject(color)) return false;
185
- const { h, s, l, a } = color;
186
- if (typeof h !== "number") return false;
187
- if (typeof s !== "number") return false;
188
- if (typeof l !== "number") return false;
189
- if (a !== void 0 && typeof a !== "number") return false;
190
- return true;
191
- };
192
- var isHsb = (color) => {
193
- if (!isNonNullObject(color)) return false;
194
- const { h, s, b, a } = color;
195
- if (typeof h !== "number") return false;
196
- if (typeof s !== "number") return false;
197
- if (typeof b !== "number") return false;
198
- if (a !== void 0 && typeof a !== "number") return false;
199
- return true;
200
- };
201
- var isLab = (color) => {
202
- if (!isNonNullObject(color)) return false;
203
- const { l, a, b, al } = color;
204
- if (typeof l !== "number") return false;
205
- if (typeof a !== "number") return false;
206
- if (typeof b !== "number") return false;
207
- if (al !== void 0 && typeof al !== "number") return false;
208
- return true;
209
- };
210
- var isLch = (color) => {
211
- if (!isNonNullObject(color)) return false;
212
- const { l, c, h, a } = color;
213
- if (typeof l !== "number") return false;
214
- if (typeof c !== "number") return false;
215
- if (typeof h !== "number") return false;
216
- if (a !== void 0 && typeof a !== "number") return false;
217
- return true;
218
- };
219
- var isCmyk = (color) => {
220
- if (!isNonNullObject(color)) return false;
221
- const { c, m, y, k, a } = color;
222
- if (typeof c !== "number") return false;
223
- if (typeof m !== "number") return false;
224
- if (typeof y !== "number") return false;
225
- if (typeof k !== "number") return false;
226
- if (a !== void 0 && typeof a !== "number") return false;
227
- return true;
228
- };
229
- var isXyz = (color) => {
230
- if (!isNonNullObject(color)) return false;
231
- const { x, y, z, a } = color;
232
- if (typeof x !== "number") return false;
233
- if (typeof y !== "number") return false;
234
- if (typeof z !== "number") return false;
235
- if (a !== void 0 && typeof a !== "number") return false;
236
- return true;
237
- };
238
- var isCssColor = (color) => typeof color === "string" && cssColors[color] !== void 0;
239
- var isColor = (color) => {
240
- if (isHex(color)) return true;
241
- if (isCssColor(color)) return true;
242
- if (isRgb(color)) return true;
243
- if (isHsl(color)) return true;
244
- if (isHsb(color)) return true;
245
- if (isCmyk(color)) return true;
246
- if (isXyz(color)) return true;
247
- if (isLab(color)) return true;
248
- if (isLch(color)) return true;
249
- return false;
250
- };
251
-
252
161
  export {
253
162
  cssColors,
254
- types_exports,
255
- isHex,
256
- isRgb,
257
- isHsl,
258
- isHsb,
259
- isLab,
260
- isLch,
261
- isCmyk,
262
- isXyz,
263
- isCssColor,
264
- isColor
163
+ types_exports
265
164
  };
@@ -1,14 +1,11 @@
1
1
  import {
2
- moveDir as moveDir4
2
+ moveDir as moveDir2
3
3
  } from "./chunk-BWYH445G.js";
4
- import {
5
- moveDir as moveDir3
6
- } from "./chunk-ON6LC3HE.js";
7
4
  import {
8
5
  moveDir
9
- } from "./chunk-BE7OXZRK.js";
6
+ } from "./chunk-ON6LC3HE.js";
10
7
  import {
11
- moveDir as moveDir2
8
+ moveDir as moveDir4
12
9
  } from "./chunk-RWO53U4X.js";
13
10
  import {
14
11
  isFtpClient,
@@ -16,6 +13,9 @@ import {
16
13
  isS3ClientWithBucket,
17
14
  isSftpClient
18
15
  } from "./chunk-V3GX7SIJ.js";
16
+ import {
17
+ moveDir as moveDir3
18
+ } from "./chunk-BE7OXZRK.js";
19
19
  import {
20
20
  Outcome
21
21
  } from "./chunk-JMU5PDBD.js";
@@ -29,10 +29,10 @@ __export(move_dir_exports, {
29
29
  moveDir: () => moveDir5
30
30
  });
31
31
  async function moveDir5(client, sourcePath, targetPath, options) {
32
- if (isGcsBucket(client)) return moveDir4(client, sourcePath, targetPath, options);
33
- if (isS3ClientWithBucket(client)) return moveDir3(client.client, client.bucketName, sourcePath, targetPath, options);
34
- if (isFtpClient(client)) return moveDir(client, sourcePath, targetPath, options);
35
- if (isSftpClient(client)) return moveDir2(client, sourcePath, targetPath, options);
32
+ if (isGcsBucket(client)) return moveDir2(client, sourcePath, targetPath, options);
33
+ if (isS3ClientWithBucket(client)) return moveDir(client.client, client.bucketName, sourcePath, targetPath, options);
34
+ if (isFtpClient(client)) return moveDir3(client, sourcePath, targetPath, options);
35
+ if (isSftpClient(client)) return moveDir4(client, sourcePath, targetPath, options);
36
36
  return Outcome.makeFailure("Invalid client type");
37
37
  }
38
38
 
@@ -0,0 +1,20 @@
1
+ import {
2
+ key_exports
3
+ } from "./chunk-HKTNK262.js";
4
+ import {
5
+ aes_256_gcm_exports
6
+ } from "./chunk-BGSJ5XCH.js";
7
+ import {
8
+ __export
9
+ } from "./chunk-WSFCRVEQ.js";
10
+
11
+ // src/node/encryption/index.ts
12
+ var encryption_exports = {};
13
+ __export(encryption_exports, {
14
+ AES_256_GCM: () => aes_256_gcm_exports,
15
+ Key: () => key_exports
16
+ });
17
+
18
+ export {
19
+ encryption_exports
20
+ };
@@ -1,16 +1,16 @@
1
- import {
2
- zod_default
3
- } from "./chunk-DZ2T5DTY.js";
4
1
  import {
5
2
  isDuckTypedSharpInstance,
6
3
  toSharpInstance
7
- } from "./chunk-BKIF2ELV.js";
4
+ } from "./chunk-D5CCWCEI.js";
5
+ import {
6
+ zod_default
7
+ } from "./chunk-DZ2T5DTY.js";
8
8
  import {
9
9
  Outcome
10
10
  } from "./chunk-JMU5PDBD.js";
11
11
  import {
12
12
  isColor
13
- } from "./chunk-UG5EMKGN.js";
13
+ } from "./chunk-67V4BGOB.js";
14
14
 
15
15
  // src/node/images/transform/operations/overlay/index.ts
16
16
  function isOverlayOperationParams(obj) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-TIER4TF4.js";
3
+ } from "./chunk-CHUOCTRP.js";
4
4
 
5
5
  // src/agnostic/arrays/random-pick/index.ts
6
6
  function randomPick(arr, exclude = []) {