@design-edito/tools 0.1.52 → 0.1.54

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 (358) hide show
  1. package/agnostic/arrays/find-duplicates/index.js +1 -0
  2. package/agnostic/arrays/index.js +10 -9
  3. package/agnostic/arrays/is-array-of/index.js +1 -0
  4. package/agnostic/arrays/make/index.js +1 -0
  5. package/agnostic/arrays/random-pick/index.js +7 -6
  6. package/agnostic/arrays/shuffle/index.js +1 -0
  7. package/agnostic/booleans/index.js +1 -0
  8. package/agnostic/booleans/is-falsy/index.js +1 -0
  9. package/agnostic/css/bem/index.js +3 -2
  10. package/agnostic/css/generate-nice-color/index.js +1 -0
  11. package/agnostic/css/index.js +16 -15
  12. package/agnostic/css/is-valid-css-class-name/index.js +1 -0
  13. package/agnostic/css/styles-set/index.js +9 -8
  14. package/agnostic/errors/index.js +3 -2
  15. package/agnostic/errors/register/index.js +1 -0
  16. package/agnostic/errors/unknown-to-string/index.js +1 -0
  17. package/agnostic/html/get-node-ancestors/index.js +1 -0
  18. package/agnostic/html/get-position-inside-parent/index.js +1 -0
  19. package/agnostic/html/hyper-json/cast/index.js +7 -6
  20. package/agnostic/html/hyper-json/index.js +8 -7
  21. package/agnostic/html/hyper-json/method/index.js +1 -0
  22. package/agnostic/html/hyper-json/serialize/index.js +1 -0
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +7 -6
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +7 -6
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +7 -6
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +7 -6
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +7 -6
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +7 -6
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +7 -6
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +7 -6
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +7 -6
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +7 -6
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +7 -6
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +7 -6
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +7 -6
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +7 -6
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +7 -6
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +7 -6
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +7 -6
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +7 -6
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +7 -6
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +7 -6
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +7 -6
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +7 -6
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +7 -6
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +7 -6
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +7 -6
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +7 -6
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +7 -6
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +7 -6
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +7 -6
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +7 -6
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +7 -6
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +7 -6
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +7 -6
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +7 -6
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +7 -6
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +7 -6
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +7 -6
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +7 -6
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +7 -6
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +7 -6
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +7 -6
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +7 -6
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +7 -6
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +7 -6
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +7 -6
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +7 -6
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +7 -6
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +7 -6
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +7 -6
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +7 -6
  73. package/agnostic/html/hyper-json/smart-tags/index.js +1 -0
  74. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +1 -0
  75. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +1 -0
  76. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +7 -6
  77. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +7 -6
  78. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +7 -6
  79. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +7 -6
  80. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +7 -6
  81. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +7 -6
  82. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +1 -0
  83. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +7 -6
  84. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +7 -6
  85. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +7 -6
  86. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +7 -6
  87. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +7 -6
  88. package/agnostic/html/hyper-json/transformer/index.js +1 -0
  89. package/agnostic/html/hyper-json/tree/index.js +7 -6
  90. package/agnostic/html/hyper-json/types/index.js +1 -0
  91. package/agnostic/html/hyper-json/utils/index.js +7 -6
  92. package/agnostic/html/index.js +24 -23
  93. package/agnostic/html/insert-node/index.js +1 -0
  94. package/agnostic/html/placeholders/index.js +1 -0
  95. package/agnostic/html/replace-in-element/index.js +1 -0
  96. package/agnostic/html/sanitize/index.js +7 -6
  97. package/agnostic/html/selector-to-element/index.js +7 -6
  98. package/agnostic/html/string-to-nodes/index.js +8 -7
  99. package/agnostic/misc/assert/index.js +4 -3
  100. package/agnostic/misc/cast/index.js +1 -0
  101. package/agnostic/misc/crawler/index.js +1 -0
  102. package/agnostic/misc/crossenv/detect-runtime/index.js +1 -0
  103. package/agnostic/misc/crossenv/index.js +3 -2
  104. package/agnostic/misc/crossenv/types/index.js +1 -0
  105. package/agnostic/misc/crossenv/window/index.js +1 -0
  106. package/agnostic/misc/data-size/index.js +1 -0
  107. package/agnostic/misc/elo/index.js +2 -0
  108. package/agnostic/misc/get-current-downlink/index.js +1 -0
  109. package/agnostic/misc/index.js +18 -17
  110. package/agnostic/misc/is-constructor-function/index.js +1 -0
  111. package/agnostic/misc/is-nullish/index.js +1 -0
  112. package/agnostic/misc/logs/index.js +1 -0
  113. package/agnostic/misc/logs/logger/index.js +1 -0
  114. package/agnostic/misc/logs/make-text-block/index.js +1 -0
  115. package/agnostic/misc/logs/styles/index.js +1 -0
  116. package/agnostic/misc/lorem-ipsum/index.js +13 -12
  117. package/agnostic/misc/outcome/index.js +1 -0
  118. package/agnostic/numbers/absolute-modulo/index.js +1 -0
  119. package/agnostic/numbers/clamp/index.js +1 -0
  120. package/agnostic/numbers/index.js +4 -3
  121. package/agnostic/numbers/interpolate/index.js +1 -0
  122. package/agnostic/numbers/responsive-harmonics/index.js +1 -0
  123. package/agnostic/numbers/round/index.js +1 -0
  124. package/agnostic/objects/deep-get-property/index.js +1 -0
  125. package/agnostic/objects/enums/index.js +1 -0
  126. package/agnostic/objects/enums/is-in-enum/index.js +1 -0
  127. package/agnostic/objects/flatten-getters/index.js +1 -0
  128. package/agnostic/objects/index.js +14 -13
  129. package/agnostic/objects/is-object/index.js +1 -0
  130. package/agnostic/objects/is-record/index.js +1 -0
  131. package/agnostic/objects/record-format/index.js +1 -0
  132. package/agnostic/objects/record-map/index.js +1 -0
  133. package/agnostic/objects/validation/index.js +1 -0
  134. package/agnostic/optim/index.js +1 -0
  135. package/agnostic/optim/memoize/index.js +1 -0
  136. package/agnostic/optim/throttle-debounce/index.js +1 -0
  137. package/agnostic/random/hex-char/index.js +1 -0
  138. package/agnostic/random/index.js +3 -2
  139. package/agnostic/random/random/index.js +1 -0
  140. package/agnostic/random/uuid/index.js +1 -0
  141. package/agnostic/regexps/index.js +2 -0
  142. package/agnostic/strings/char-codes/index.js +1 -0
  143. package/agnostic/strings/index.js +9 -8
  144. package/agnostic/strings/matches/index.js +1 -0
  145. package/agnostic/strings/normalize-indent/index.js +1 -0
  146. package/agnostic/strings/replace-all/index.js +1 -0
  147. package/agnostic/strings/to-alphanum/index.js +1 -0
  148. package/agnostic/strings/trim/index.js +1 -0
  149. package/agnostic/time/dates/format-date/index.js +1 -0
  150. package/agnostic/time/dates/index.js +1 -0
  151. package/agnostic/time/duration/index.js +1 -0
  152. package/agnostic/time/index.js +4 -3
  153. package/agnostic/time/timeout/index.js +1 -0
  154. package/agnostic/time/transitions/index.js +1 -0
  155. package/agnostic/time/wait/index.js +1 -0
  156. package/chunks/chunk-2KCKWG7R.js +104 -0
  157. package/chunks/chunk-35W7XRC3.js +173 -0
  158. package/chunks/chunk-365LSZZ7.js +37 -0
  159. package/chunks/chunk-3GTGE66Y.js +32 -0
  160. package/chunks/chunk-422KBDRV.js +203 -0
  161. package/chunks/chunk-4FOK7DUZ.js +35 -0
  162. package/chunks/chunk-4LCL2RIC.js +209 -0
  163. package/chunks/chunk-4OH2EX3D.js +191 -0
  164. package/chunks/chunk-4WOAFIVN.js +31 -0
  165. package/chunks/chunk-4WOYAD35.js +31 -0
  166. package/chunks/chunk-53MBV4TG.js +6212 -0
  167. package/chunks/chunk-57YCNOX7.js +15 -0
  168. package/chunks/chunk-5JMTDJWX.js +37 -0
  169. package/chunks/chunk-5QVKJGTN.js +95 -0
  170. package/chunks/chunk-5RGHYFQH.js +70 -0
  171. package/chunks/chunk-5VHFXWFM.js +31 -0
  172. package/chunks/chunk-6DA4S65P.js +37 -0
  173. package/chunks/chunk-6GZXU2Z3.js +191 -0
  174. package/chunks/chunk-7DDXALPH.js +49 -0
  175. package/chunks/chunk-7QIYI4CK.js +209 -0
  176. package/chunks/chunk-7YSTZ7GY.js +31 -0
  177. package/chunks/chunk-A4FSJC46.js +58 -0
  178. package/chunks/chunk-AF2MI5O5.js +29 -0
  179. package/chunks/chunk-ARDAQZRR.js +239 -0
  180. package/chunks/chunk-BLAAWANI.js +191 -0
  181. package/chunks/chunk-BNNAZPI2.js +191 -0
  182. package/chunks/chunk-BONBND7I.js +239 -0
  183. package/chunks/chunk-BV67SWXG.js +20 -0
  184. package/chunks/chunk-CIJQHLIW.js +31 -0
  185. package/chunks/chunk-DHMARF6D.js +62 -0
  186. package/chunks/chunk-DHWHB53F.js +191 -0
  187. package/chunks/chunk-DMR2WE3C.js +62 -0
  188. package/chunks/chunk-DPBYDWV3.js +2369 -0
  189. package/chunks/chunk-ECKOTCS4.js +2369 -0
  190. package/chunks/chunk-EEIJDUNV.js +209 -0
  191. package/chunks/chunk-EIU72AEZ.js +31 -0
  192. package/chunks/chunk-EM37BFXO.js +35 -0
  193. package/chunks/chunk-ERAFJXWH.js +20 -0
  194. package/chunks/chunk-F5GXXF3A.js +31 -0
  195. package/chunks/chunk-FEFY3V6P.js +31 -0
  196. package/chunks/chunk-FG53JEP2.js +31 -0
  197. package/chunks/chunk-FJTOFK3C.js +203 -0
  198. package/chunks/chunk-FTIDPZZ5.js +209 -0
  199. package/chunks/chunk-G66DWXF3.js +31 -0
  200. package/chunks/chunk-GARJTJ6V.js +6 -0
  201. package/chunks/chunk-GL54CDM2.js +20 -0
  202. package/chunks/chunk-GNZY3ZTH.js +14 -0
  203. package/chunks/chunk-GP44TBRI.js +39 -0
  204. package/chunks/chunk-GWXVHCAB.js +31 -0
  205. package/chunks/chunk-HTNLTDQT.js +28 -0
  206. package/chunks/chunk-I2ILSLBK.js +32 -0
  207. package/chunks/chunk-I66DPQN2.js +31 -0
  208. package/chunks/chunk-IGHRNHVK.js +16 -0
  209. package/chunks/chunk-IOWZMFCU.js +28 -0
  210. package/chunks/chunk-IPON4W2H.js +31 -0
  211. package/chunks/chunk-IUFAHY2R.js +38 -0
  212. package/chunks/chunk-JBDWHJ4Q.js +31 -0
  213. package/chunks/chunk-JBSS64SA.js +6 -0
  214. package/chunks/chunk-JJWKHBXD.js +68 -0
  215. package/chunks/chunk-JRXTMXKV.js +15967 -0
  216. package/chunks/chunk-KEYRP27F.js +191 -0
  217. package/chunks/chunk-KYMCGWPM.js +31 -0
  218. package/chunks/chunk-L5JWJRZ7.js +484 -0
  219. package/chunks/chunk-L7EUEQZP.js +0 -0
  220. package/chunks/chunk-LAA2DQDK.js +31 -0
  221. package/chunks/chunk-LATEK24U.js +31 -0
  222. package/chunks/chunk-LDLSU4OG.js +191 -0
  223. package/chunks/chunk-LWWXPVXY.js +25173 -0
  224. package/chunks/chunk-MMPJODO2.js +31 -0
  225. package/chunks/chunk-MOA6JFUQ.js +2369 -0
  226. package/chunks/chunk-MUYZV5F3.js +2369 -0
  227. package/chunks/chunk-MY4VMHSH.js +191 -0
  228. package/chunks/chunk-MZ2RAM5Y.js +62 -0
  229. package/chunks/chunk-N4BZJOGW.js +56 -0
  230. package/chunks/chunk-N4LMP4UM.js +31 -0
  231. package/chunks/chunk-NGYJGQT3.js +25002 -0
  232. package/chunks/chunk-NIOOIUSD.js +104 -0
  233. package/chunks/chunk-NLHFSJYR.js +15 -0
  234. package/chunks/chunk-NQ5ESZNO.js +191 -0
  235. package/chunks/chunk-O6NULFZI.js +37 -0
  236. package/chunks/chunk-OVMNSJOW.js +6 -0
  237. package/chunks/chunk-PPK2JEO6.js +28 -0
  238. package/chunks/chunk-PVHLWKA6.js +31 -0
  239. package/chunks/chunk-Q7HA7IAA.js +20 -0
  240. package/chunks/chunk-QMWX2A56.js +56 -0
  241. package/chunks/chunk-QPBY235R.js +239 -0
  242. package/chunks/chunk-QTTNO4T6.js +37 -0
  243. package/chunks/chunk-QVIRBFMQ.js +31 -0
  244. package/chunks/chunk-REBANVPP.js +104 -0
  245. package/chunks/chunk-ROJZUEYL.js +37 -0
  246. package/chunks/chunk-RSMUYH5H.js +31 -0
  247. package/chunks/chunk-RVVJ4QD4.js +173 -0
  248. package/chunks/chunk-SPMF4X5X.js +31 -0
  249. package/chunks/chunk-TSQVG7GA.js +31 -0
  250. package/chunks/chunk-TXOUGP37.js +62 -0
  251. package/chunks/chunk-UG36UPJK.js +31 -0
  252. package/chunks/chunk-UVSTFYSD.js +28 -0
  253. package/chunks/chunk-UXM54YBI.js +68 -0
  254. package/chunks/chunk-VHFMQI7Z.js +20 -0
  255. package/chunks/chunk-VP3Y6EMX.js +190 -0
  256. package/chunks/chunk-VQEP2EQF.js +100 -0
  257. package/chunks/chunk-VV72XGJJ.js +58 -0
  258. package/chunks/chunk-VXSOUAUT.js +100 -0
  259. package/chunks/chunk-W6BFU7Y5.js +56 -0
  260. package/chunks/chunk-WLHJM76F.js +2369 -0
  261. package/chunks/chunk-WNLP6R5Y.js +191 -0
  262. package/chunks/chunk-WOGRENMM.js +31 -0
  263. package/chunks/chunk-WQKFVIUF.js +37 -0
  264. package/chunks/chunk-WSFCRVEQ.js +9 -0
  265. package/chunks/chunk-WTPUSGMJ.js +104 -0
  266. package/chunks/chunk-X5FAZBWL.js +130 -0
  267. package/chunks/chunk-XCBH6NLF.js +42 -0
  268. package/chunks/chunk-XETVQW6S.js +56 -0
  269. package/chunks/chunk-XT6XKGKK.js +20 -0
  270. package/chunks/chunk-YDNQHZRS.js +31 -0
  271. package/chunks/chunk-YHT73ULP.js +2369 -0
  272. package/chunks/chunk-YMRAUWRW.js +20 -0
  273. package/chunks/chunk-YRSNU7IX.js +49 -0
  274. package/chunks/chunk-YVSS4IT2.js +37 -0
  275. package/chunks/chunk-YZDZQ7AZ.js +37 -0
  276. package/chunks/chunk-Z4SQDCFG.js +37 -0
  277. package/chunks/chunk-ZNA7SWFK.js +29 -0
  278. package/chunks/chunk-ZS5OHINP.js +31 -0
  279. package/components/Comp/index.js +2 -0
  280. package/node/@design-edito/index.d.ts +2 -0
  281. package/node/@design-edito/index.js +12 -0
  282. package/node/@design-edito/thumbnails/colors/index.d.ts +35 -0
  283. package/node/@design-edito/thumbnails/colors/index.js +29 -0
  284. package/node/@design-edito/thumbnails/common/index.d.ts +5 -0
  285. package/node/@design-edito/thumbnails/common/index.js +15 -0
  286. package/node/@design-edito/thumbnails/easings/index.d.ts +8 -0
  287. package/node/@design-edito/thumbnails/easings/index.js +21 -0
  288. package/node/@design-edito/thumbnails/index.d.ts +5 -0
  289. package/node/@design-edito/thumbnails/index.js +20 -0
  290. package/node/@design-edito/thumbnails/layout/index.d.ts +63 -0
  291. package/node/@design-edito/thumbnails/layout/index.js +31 -0
  292. package/node/@express/@multer/index.d.ts +22 -0
  293. package/node/@express/@multer/index.js +8 -0
  294. package/node/@express/index.d.ts +2 -0
  295. package/node/@express/index.js +8 -0
  296. package/node/@google-cloud/index.d.ts +2 -0
  297. package/node/@google-cloud/index.js +24 -0
  298. package/node/@google-cloud/storage/bucket/get-metadata/index.d.ts +18 -0
  299. package/node/@google-cloud/storage/bucket/get-metadata/index.js +9 -0
  300. package/node/@google-cloud/storage/bucket/index.d.ts +3 -0
  301. package/node/@google-cloud/storage/bucket/index.js +14 -0
  302. package/node/@google-cloud/storage/bucket/list/index.d.ts +17 -0
  303. package/node/@google-cloud/storage/bucket/list/index.js +9 -0
  304. package/node/@google-cloud/storage/file/copy/index.d.ts +21 -0
  305. package/node/@google-cloud/storage/file/copy/index.js +9 -0
  306. package/node/@google-cloud/storage/file/download/index.d.ts +20 -0
  307. package/node/@google-cloud/storage/file/download/index.js +9 -0
  308. package/node/@google-cloud/storage/file/erase/index.d.ts +20 -0
  309. package/node/@google-cloud/storage/file/erase/index.js +9 -0
  310. package/node/@google-cloud/storage/file/exists/index.d.ts +19 -0
  311. package/node/@google-cloud/storage/file/exists/index.js +9 -0
  312. package/node/@google-cloud/storage/file/generate-signed-url/index.d.ts +23 -0
  313. package/node/@google-cloud/storage/file/generate-signed-url/index.js +9 -0
  314. package/node/@google-cloud/storage/file/get-metadata/index.d.ts +22 -0
  315. package/node/@google-cloud/storage/file/get-metadata/index.js +9 -0
  316. package/node/@google-cloud/storage/file/get-permissions/index.d.ts +19 -0
  317. package/node/@google-cloud/storage/file/get-permissions/index.js +9 -0
  318. package/node/@google-cloud/storage/file/index.d.ts +12 -0
  319. package/node/@google-cloud/storage/file/index.js +50 -0
  320. package/node/@google-cloud/storage/file/move/index.d.ts +24 -0
  321. package/node/@google-cloud/storage/file/move/index.js +9 -0
  322. package/node/@google-cloud/storage/file/revoke-signed-urls/index.d.ts +26 -0
  323. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +12 -0
  324. package/node/@google-cloud/storage/file/update-metadata/index.d.ts +24 -0
  325. package/node/@google-cloud/storage/file/update-metadata/index.js +9 -0
  326. package/node/@google-cloud/storage/file/upload/index.d.ts +21 -0
  327. package/node/@google-cloud/storage/file/upload/index.js +9 -0
  328. package/node/@google-cloud/storage/index.d.ts +3 -0
  329. package/node/@google-cloud/storage/index.js +27 -0
  330. package/node/encryption/buffer/index.d.ts +55 -0
  331. package/node/encryption/buffer/index.js +16 -0
  332. package/node/encryption/generate-key/index.d.ts +16 -0
  333. package/node/encryption/generate-key/index.js +7 -0
  334. package/node/encryption/index.d.ts +5 -0
  335. package/node/encryption/index.js +29 -0
  336. package/node/encryption/uint8-array/index.d.ts +57 -0
  337. package/node/encryption/uint8-array/index.js +15 -0
  338. package/node/files/index.d.ts +4 -6
  339. package/node/files/index.js +11 -11
  340. package/node/files/is-in-directory/index.js +1 -0
  341. package/node/files/read-write/index.d.ts +1 -1
  342. package/node/files/read-write/index.js +1 -0
  343. package/node/files/subpaths/index.js +1 -0
  344. package/node/images/exports/index.d.ts +15 -0
  345. package/node/images/exports/index.js +9 -0
  346. package/node/images/index.d.ts +4 -0
  347. package/node/images/index.js +22 -0
  348. package/node/images/prepare/index.d.ts +17 -0
  349. package/node/images/prepare/index.js +20 -0
  350. package/node/images/transform/area-composition/index.d.ts +60 -0
  351. package/node/images/transform/area-composition/index.js +15 -0
  352. package/node/images/transform/index.d.ts +30 -0
  353. package/node/images/transform/index.js +16 -0
  354. package/node/index.d.ts +8 -6
  355. package/node/process/index.d.ts +5 -7
  356. package/node/process/index.js +11 -9
  357. package/node/process/on-exit/index.js +1 -0
  358. package/package.json +13 -2
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  Validation
3
3
  } from "../../../chunks/chunk-FPEW3A27.js";
4
+ import "../../../chunks/chunk-WSFCRVEQ.js";
4
5
  export {
5
6
  Validation
6
7
  };
@@ -5,6 +5,7 @@ import {
5
5
  debounce,
6
6
  throttle
7
7
  } from "../../chunks/chunk-VZDUZTW6.js";
8
+ import "../../chunks/chunk-WSFCRVEQ.js";
8
9
 
9
10
  // src/agnostic/optim/index.ts
10
11
  var Optim;
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  memoize
3
3
  } from "../../../chunks/chunk-JWBDZPQG.js";
4
+ import "../../../chunks/chunk-WSFCRVEQ.js";
4
5
  export {
5
6
  memoize
6
7
  };
@@ -2,6 +2,7 @@ import {
2
2
  debounce,
3
3
  throttle
4
4
  } from "../../../chunks/chunk-VZDUZTW6.js";
5
+ import "../../../chunks/chunk-WSFCRVEQ.js";
5
6
  export {
6
7
  debounce,
7
8
  throttle
@@ -2,6 +2,7 @@ import {
2
2
  hexChars,
3
3
  randomHexChar
4
4
  } from "../../../chunks/chunk-OGBUSUE6.js";
5
+ import "../../../chunks/chunk-WSFCRVEQ.js";
5
6
  export {
6
7
  hexChars,
7
8
  randomHexChar
@@ -1,9 +1,10 @@
1
1
  import {
2
2
  Random
3
- } from "../../chunks/chunk-OVG5RGI3.js";
3
+ } from "../../chunks/chunk-S32K7POB.js";
4
+ import "../../chunks/chunk-D3ERTRDW.js";
4
5
  import "../../chunks/chunk-75BICI4L.js";
5
6
  import "../../chunks/chunk-OGBUSUE6.js";
6
- import "../../chunks/chunk-D3ERTRDW.js";
7
+ import "../../chunks/chunk-WSFCRVEQ.js";
7
8
  export {
8
9
  Random
9
10
  };
@@ -2,6 +2,7 @@ import {
2
2
  random,
3
3
  randomInt
4
4
  } from "../../../chunks/chunk-D3ERTRDW.js";
5
+ import "../../../chunks/chunk-WSFCRVEQ.js";
5
6
  export {
6
7
  random,
7
8
  randomInt
@@ -4,6 +4,7 @@ import {
4
4
  randomUUID
5
5
  } from "../../../chunks/chunk-75BICI4L.js";
6
6
  import "../../../chunks/chunk-OGBUSUE6.js";
7
+ import "../../../chunks/chunk-WSFCRVEQ.js";
7
8
  export {
8
9
  randomHash,
9
10
  randomHashPattern,
@@ -1,3 +1,5 @@
1
+ import "../../chunks/chunk-WSFCRVEQ.js";
2
+
1
3
  // src/agnostic/regexps/index.ts
2
4
  var Regexps;
3
5
  ((Regexps2) => {
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  CharCodes
3
3
  } from "../../../chunks/chunk-34U4HX4V.js";
4
+ import "../../../chunks/chunk-WSFCRVEQ.js";
4
5
  export {
5
6
  CharCodes
6
7
  };
@@ -1,24 +1,25 @@
1
+ import {
2
+ CharCodes
3
+ } from "../../chunks/chunk-34U4HX4V.js";
1
4
  import {
2
5
  matches,
3
6
  matchesEvery,
4
7
  matchesSome
5
8
  } from "../../chunks/chunk-LQFKUNVQ.js";
6
9
  import {
7
- CharCodes
8
- } from "../../chunks/chunk-34U4HX4V.js";
9
- import {
10
- normalizeIndent
11
- } from "../../chunks/chunk-JQXNEJAP.js";
10
+ toAlphanum
11
+ } from "../../chunks/chunk-COVPTTAD.js";
12
12
  import {
13
13
  replaceAll
14
14
  } from "../../chunks/chunk-ZTDVUXPR.js";
15
+ import {
16
+ normalizeIndent
17
+ } from "../../chunks/chunk-JQXNEJAP.js";
15
18
  import {
16
19
  trimEnd,
17
20
  trimStart
18
21
  } from "../../chunks/chunk-6XL25OZX.js";
19
- import {
20
- toAlphanum
21
- } from "../../chunks/chunk-COVPTTAD.js";
22
+ import "../../chunks/chunk-WSFCRVEQ.js";
22
23
 
23
24
  // src/agnostic/strings/index.ts
24
25
  var Strings;
@@ -3,6 +3,7 @@ import {
3
3
  matchesEvery,
4
4
  matchesSome
5
5
  } from "../../../chunks/chunk-LQFKUNVQ.js";
6
+ import "../../../chunks/chunk-WSFCRVEQ.js";
6
7
  export {
7
8
  matches,
8
9
  matchesEvery,
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  normalizeIndent
3
3
  } from "../../../chunks/chunk-JQXNEJAP.js";
4
+ import "../../../chunks/chunk-WSFCRVEQ.js";
4
5
  export {
5
6
  normalizeIndent
6
7
  };
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  replaceAll
3
3
  } from "../../../chunks/chunk-ZTDVUXPR.js";
4
+ import "../../../chunks/chunk-WSFCRVEQ.js";
4
5
  export {
5
6
  replaceAll
6
7
  };
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  toAlphanum
3
3
  } from "../../../chunks/chunk-COVPTTAD.js";
4
+ import "../../../chunks/chunk-WSFCRVEQ.js";
4
5
  export {
5
6
  toAlphanum
6
7
  };
@@ -2,6 +2,7 @@ import {
2
2
  trimEnd,
3
3
  trimStart
4
4
  } from "../../../chunks/chunk-6XL25OZX.js";
5
+ import "../../../chunks/chunk-WSFCRVEQ.js";
5
6
  export {
6
7
  trimEnd,
7
8
  trimStart
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  formatDate
3
3
  } from "../../../../chunks/chunk-YQWZ3EP2.js";
4
+ import "../../../../chunks/chunk-WSFCRVEQ.js";
4
5
  export {
5
6
  formatDate
6
7
  };
@@ -2,6 +2,7 @@ import {
2
2
  Dates
3
3
  } from "../../../chunks/chunk-FZOU4OAW.js";
4
4
  import "../../../chunks/chunk-YQWZ3EP2.js";
5
+ import "../../../chunks/chunk-WSFCRVEQ.js";
5
6
  export {
6
7
  Dates
7
8
  };
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  Duration
3
3
  } from "../../../chunks/chunk-6NYUQXJT.js";
4
+ import "../../../chunks/chunk-WSFCRVEQ.js";
4
5
  export {
5
6
  Duration
6
7
  };
@@ -5,15 +5,16 @@ import "../../chunks/chunk-YQWZ3EP2.js";
5
5
  import {
6
6
  Duration
7
7
  } from "../../chunks/chunk-6NYUQXJT.js";
8
- import {
9
- Transitions
10
- } from "../../chunks/chunk-ENMBK6H7.js";
11
8
  import {
12
9
  timeout
13
10
  } from "../../chunks/chunk-Z7ZDDBV5.js";
11
+ import {
12
+ Transitions
13
+ } from "../../chunks/chunk-ENMBK6H7.js";
14
14
  import {
15
15
  wait
16
16
  } from "../../chunks/chunk-4CIS3R7T.js";
17
+ import "../../chunks/chunk-WSFCRVEQ.js";
17
18
 
18
19
  // src/agnostic/time/index.ts
19
20
  var Time;
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  timeout
3
3
  } from "../../../chunks/chunk-Z7ZDDBV5.js";
4
+ import "../../../chunks/chunk-WSFCRVEQ.js";
4
5
  export {
5
6
  timeout
6
7
  };
@@ -2,6 +2,7 @@ import {
2
2
  Transitions
3
3
  } from "../../../chunks/chunk-ENMBK6H7.js";
4
4
  import "../../../chunks/chunk-4CIS3R7T.js";
5
+ import "../../../chunks/chunk-WSFCRVEQ.js";
5
6
  export {
6
7
  Transitions
7
8
  };
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  wait
3
3
  } from "../../../chunks/chunk-4CIS3R7T.js";
4
+ import "../../../chunks/chunk-WSFCRVEQ.js";
4
5
  export {
5
6
  wait
6
7
  };
@@ -0,0 +1,104 @@
1
+ import {
2
+ transformImage
3
+ } from "./chunk-TXOUGP37.js";
4
+ import {
5
+ thumbnails_exports
6
+ } from "./chunk-IOWZMFCU.js";
7
+ import {
8
+ exportZipBuffer,
9
+ prepareExport
10
+ } from "./chunk-NGYJGQT3.js";
11
+ import {
12
+ require_lib
13
+ } from "./chunk-53MBV4TG.js";
14
+ import {
15
+ __export,
16
+ __toESM
17
+ } from "./chunk-XCBH6NLF.js";
18
+
19
+ // src/node/images/prepare/index.ts
20
+ var prepare_exports = {};
21
+ __export(prepare_exports, {
22
+ MAX_NB_OUTPUTS: () => MAX_NB_OUTPUTS,
23
+ OUTPUT_ZIP_FOLDER: () => OUTPUT_ZIP_FOLDER,
24
+ prepareImage: () => prepareImage
25
+ });
26
+ var import_sharp = __toESM(require_lib(), 1);
27
+ var MAX_NB_OUTPUTS = 50;
28
+ var OUTPUT_ZIP_FOLDER = "./output-zips";
29
+ async function prepareImage(imageBuffer, customOptions) {
30
+ const sharpImage = (0, import_sharp.default)(imageBuffer);
31
+ const sharpImageMetadata = await sharpImage.metadata();
32
+ const imageBufferMetadata = {
33
+ width: sharpImageMetadata.width || 0,
34
+ height: sharpImageMetadata.height || 0,
35
+ format: sharpImageMetadata.format || "png"
36
+ };
37
+ const options = getOptions(imageBufferMetadata, customOptions);
38
+ const nbOutputs = options.qualities.length * (options.ratios.length + 1) * (options.widths.length + 1) * (options.heights.length + 1);
39
+ if (nbOutputs > MAX_NB_OUTPUTS) {
40
+ throw Error("Nb output exceeds supported max nb output");
41
+ }
42
+ const transformedBuffer = await transformImage(imageBuffer, options.inputOperations, {
43
+ width: thumbnails_exports.Common.getArrayMax(options.widths) || 0,
44
+ height: thumbnails_exports.Common.getArrayMax(options.heights) || 0
45
+ });
46
+ const exportsBuffers = [{
47
+ buffer: imageBuffer,
48
+ name: generateFileName({
49
+ ...imageBufferMetadata,
50
+ quality: 100,
51
+ suffix: "original",
52
+ preffix: options.name
53
+ })
54
+ }];
55
+ for await (const width of options.widths) {
56
+ for await (const height of options.heights) {
57
+ for await (const quality of options.qualities) {
58
+ for await (const format of options.formats) {
59
+ const exportBuffer = await prepareExport(transformedBuffer, {
60
+ format,
61
+ quality,
62
+ width,
63
+ height
64
+ });
65
+ exportsBuffers.push({
66
+ buffer: exportBuffer,
67
+ name: generateFileName({ width, height, quality, format, preffix: options.name })
68
+ });
69
+ }
70
+ }
71
+ }
72
+ }
73
+ const zipBuffer = exportZipBuffer(exportsBuffers, generateZipName());
74
+ return zipBuffer;
75
+ }
76
+ function getOptions(imageBufferMetadata, options) {
77
+ return {
78
+ center: [0.5, 0.5],
79
+ qualities: [100],
80
+ inputOperations: [],
81
+ ...options,
82
+ name: options?.name || "",
83
+ formats: [imageBufferMetadata.format, ...options?.formats ? options.formats : []],
84
+ ratios: [...options?.ratios ? options.ratios : []],
85
+ widths: [imageBufferMetadata.width, ...options?.widths ? options.widths : []],
86
+ heights: [imageBufferMetadata.height, ...options?.heights ? options.heights : []]
87
+ };
88
+ }
89
+ function generateZipName() {
90
+ const date = /* @__PURE__ */ new Date();
91
+ return `image-exports_${date.toLocaleDateString()}_${date.toLocaleTimeString()}_${date.getTime()}`.replace(/\/|:/g, "-").replace(/ /g, "").trim();
92
+ }
93
+ function generateFileName({ width, height, quality, format, suffix, preffix }) {
94
+ const _preffix = preffix ? `${preffix}_` : "image-formats_";
95
+ const _suffix = `${suffix ? `_${suffix}` : ""}.${format}`;
96
+ return `${_preffix}${width}${height}_Q${quality}${_suffix}`;
97
+ }
98
+
99
+ export {
100
+ MAX_NB_OUTPUTS,
101
+ OUTPUT_ZIP_FOLDER,
102
+ prepareImage,
103
+ prepare_exports
104
+ };
@@ -0,0 +1,173 @@
1
+ import {
2
+ Random
3
+ } from "./chunk-DCKTGQOX.js";
4
+ import {
5
+ register
6
+ } from "./chunk-P2H6PV4O.js";
7
+
8
+ // src/agnostic/css/styles-set/index.tsx
9
+ import { Component } from "react";
10
+ import { createRoot as reactCreateRoot } from "react-dom/client";
11
+ import { Fragment, jsx } from "react/jsx-runtime";
12
+ var StylesSet = class _StylesSet {
13
+ static defaultPrivateIDAttribute = "data-styleset-private-id";
14
+ static defaultPublicIDAttribute = "data-styleset-public-id";
15
+ tagsPrivateIDAttribute = _StylesSet.defaultPrivateIDAttribute;
16
+ tagsPublicIDAttribute = _StylesSet.defaultPublicIDAttribute;
17
+ _items = /* @__PURE__ */ new Map();
18
+ get items() {
19
+ const sortedItemsArray = Array.from(this._items).map(([privateId, item]) => {
20
+ const targetPosition = this.getTargetPosition(privateId) ?? 0;
21
+ return { targetPosition, privateId, item };
22
+ }).sort((a, b) => a.targetPosition - b.targetPosition).map(({ item, privateId }) => [privateId, item]);
23
+ const sortedItemsMap = new Map(sortedItemsArray);
24
+ return sortedItemsMap;
25
+ }
26
+ getTargetPosition(privateId) {
27
+ const orderedStyles = Array.from(this._items).map(([privateId2, data]) => ({ privateId: privateId2, data })).sort((a, b) => {
28
+ const aPos = a.data.position ?? 0;
29
+ const bPos = b.data.position ?? 0;
30
+ return aPos - bPos;
31
+ });
32
+ const foundIndex = orderedStyles.findIndex((item) => item.privateId === privateId);
33
+ return foundIndex === -1 ? null : foundIndex;
34
+ }
35
+ setTagsPrivateIDAttribute(str) {
36
+ this.tagsPrivateIDAttribute = str;
37
+ return this;
38
+ }
39
+ setTagsPublicIDAttribute(str) {
40
+ this.tagsPublicIDAttribute = str;
41
+ return this;
42
+ }
43
+ getById(id) {
44
+ const found = Array.from(this._items.values()).find((entry) => entry.id === id);
45
+ if (found === void 0) return void 0;
46
+ return found;
47
+ }
48
+ generateUniquePrivateId() {
49
+ const existingIds = Array.from(this._items.keys());
50
+ const generated = Random.randomHash(12);
51
+ if (existingIds.includes(generated)) return this.generateUniquePrivateId();
52
+ return generated;
53
+ }
54
+ _rendered = /* @__PURE__ */ new Map();
55
+ render(element) {
56
+ const root = reactCreateRoot(element);
57
+ const items = this.items;
58
+ root.render(/* @__PURE__ */ jsx(
59
+ StylesSetComp,
60
+ {
61
+ items,
62
+ privateIDAttribute: this.tagsPrivateIDAttribute,
63
+ publicIDAttribute: this.tagsPublicIDAttribute
64
+ }
65
+ ));
66
+ this._rendered.set(element, root);
67
+ return this;
68
+ }
69
+ unmount(element) {
70
+ if (!this._rendered.has(element)) return this;
71
+ const root = this._rendered.get(element);
72
+ if (root === void 0) return this;
73
+ root.unmount();
74
+ this._rendered.delete(element);
75
+ return this;
76
+ }
77
+ updateRendered() {
78
+ const { items } = this;
79
+ this._rendered.forEach((root) => root.render(/* @__PURE__ */ jsx(
80
+ StylesSetComp,
81
+ {
82
+ items,
83
+ privateIDAttribute: this.tagsPrivateIDAttribute,
84
+ publicIDAttribute: this.tagsPublicIDAttribute
85
+ }
86
+ )));
87
+ return this;
88
+ }
89
+ addItem(item, abortIfIdExists = true) {
90
+ const existing = Array.from(this._items.entries()).map(([privateId2, entry]) => ({ privateId: privateId2, entry })).find(({ entry }) => entry.id !== void 0 && entry.id === item.id);
91
+ if (existing !== void 0) {
92
+ if (abortIfIdExists) return this;
93
+ this._items.delete(existing.privateId);
94
+ }
95
+ const privateId = this.generateUniquePrivateId();
96
+ this._items.set(privateId, item);
97
+ this.updateRendered();
98
+ return this;
99
+ }
100
+ removeItem(idOrPosition) {
101
+ if (typeof idOrPosition === "string") {
102
+ const existing = Array.from(this._items.entries()).map(([privateId, entry]) => ({ privateId, entry })).find(({ entry }) => entry.id !== void 0 && entry.id === idOrPosition);
103
+ if (existing === void 0) return this;
104
+ this._items.delete(existing.privateId);
105
+ this.updateRendered();
106
+ return this;
107
+ }
108
+ const toRemove = Array.from(this._items).map(([privateId, entry]) => ({ privateId, entry })).at(idOrPosition);
109
+ if (toRemove === void 0) return this;
110
+ this._items.delete(toRemove.privateId);
111
+ this.updateRendered();
112
+ return this;
113
+ }
114
+ async getDomString(documentObj) {
115
+ const actualDocumentObj = documentObj ?? window.document;
116
+ if (actualDocumentObj === null) throw register.getError("no-window-document-on-runtime" /* NO_DOCUMENT */);
117
+ return new Promise((resolve) => {
118
+ const tempElt = actualDocumentObj.createElement("div");
119
+ const tempRoot = reactCreateRoot(tempElt);
120
+ const { items } = this;
121
+ const onRendered = () => {
122
+ resolve(tempElt.innerHTML);
123
+ tempRoot.unmount();
124
+ tempElt.remove();
125
+ };
126
+ tempRoot.render(/* @__PURE__ */ jsx(
127
+ StylesSetComp,
128
+ {
129
+ items,
130
+ privateIDAttribute: this.tagsPrivateIDAttribute,
131
+ publicIDAttribute: this.tagsPublicIDAttribute,
132
+ onRendered
133
+ }
134
+ ));
135
+ });
136
+ }
137
+ };
138
+ var StylesSetComp = class extends Component {
139
+ componentDidMount() {
140
+ const { props } = this;
141
+ const { onRendered } = props;
142
+ if (onRendered !== void 0) onRendered();
143
+ }
144
+ componentDidUpdate() {
145
+ const { props } = this;
146
+ const { onRendered } = props;
147
+ if (onRendered !== void 0) onRendered();
148
+ }
149
+ render() {
150
+ const { props } = this;
151
+ const items = props.items ?? /* @__PURE__ */ new Map();
152
+ const pidAttr = props.privateIDAttribute ?? StylesSet.defaultPrivateIDAttribute;
153
+ const idAttr = props.publicIDAttribute ?? StylesSet.defaultPublicIDAttribute;
154
+ return /* @__PURE__ */ jsx(Fragment, { children: Array.from(items).map(([privateId, itemData]) => {
155
+ const customAttributes = { [pidAttr]: privateId, [idAttr]: itemData.id };
156
+ if (itemData.type === "url") return /* @__PURE__ */ jsx(
157
+ "link",
158
+ {
159
+ onLoad: itemData.onLoad,
160
+ rel: "stylesheet",
161
+ href: itemData.content,
162
+ ...customAttributes
163
+ }
164
+ );
165
+ return /* @__PURE__ */ jsx("style", { ...customAttributes, children: itemData.content });
166
+ }) });
167
+ }
168
+ };
169
+
170
+ export {
171
+ StylesSet,
172
+ StylesSetComp
173
+ };
@@ -0,0 +1,37 @@
1
+ import {
2
+ Cast,
3
+ Tree,
4
+ Utils
5
+ } from "./chunk-WLHJM76F.js";
6
+ import {
7
+ SmartTags
8
+ } from "./chunk-UT2J62LH.js";
9
+ import {
10
+ Serialize
11
+ } from "./chunk-SXRWMH3U.js";
12
+ import {
13
+ Transformer
14
+ } from "./chunk-BKO7GLC2.js";
15
+ import {
16
+ Method
17
+ } from "./chunk-RW7VAKJW.js";
18
+ import {
19
+ Types
20
+ } from "./chunk-XEQ2PBT2.js";
21
+
22
+ // src/agnostic/html/hyper-json/index.ts
23
+ var HyperJson;
24
+ ((HyperJson2) => {
25
+ HyperJson2.Cast = Cast;
26
+ HyperJson2.Method = Method;
27
+ HyperJson2.Serialize = Serialize;
28
+ HyperJson2.SmartTags = SmartTags;
29
+ HyperJson2.Transformer = Transformer;
30
+ HyperJson2.Tree = Tree;
31
+ HyperJson2.Types = Types;
32
+ HyperJson2.Utils = Utils;
33
+ })(HyperJson || (HyperJson = {}));
34
+
35
+ export {
36
+ HyperJson
37
+ };
@@ -0,0 +1,32 @@
1
+ import {
2
+ Outcome
3
+ } from "./chunk-JMU5PDBD.js";
4
+ import {
5
+ unknownToString
6
+ } from "./chunk-FENXVJYO.js";
7
+ import {
8
+ __export
9
+ } from "./chunk-WSFCRVEQ.js";
10
+
11
+ // src/node/@google-cloud/storage/file/move/index.ts
12
+ var move_exports = {};
13
+ __export(move_exports, {
14
+ move: () => move
15
+ });
16
+ async function move(sourcePath, destinationPath, bucket, options) {
17
+ const { fileOptions, copyOptions, deleteOptions } = options ?? {};
18
+ try {
19
+ const file = bucket.file(sourcePath, fileOptions);
20
+ await file.copy(destinationPath, copyOptions);
21
+ await file.delete(deleteOptions);
22
+ return Outcome.makeSuccess(true);
23
+ } catch (err) {
24
+ const errStr = unknownToString(err);
25
+ return Outcome.makeFailure(errStr);
26
+ }
27
+ }
28
+
29
+ export {
30
+ move,
31
+ move_exports
32
+ };