@design-edito/tools 0.1.61 → 0.1.62

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 (563) hide show
  1. package/agnostic/arrays/index.js +2 -2
  2. package/agnostic/css/index.js +10 -10
  3. package/agnostic/html/hyper-json/cast/index.js +4 -4
  4. package/agnostic/html/hyper-json/index.js +5 -5
  5. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +4 -4
  6. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +4 -4
  7. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +4 -4
  8. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +4 -4
  9. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +4 -4
  10. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +4 -4
  11. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +4 -4
  12. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +4 -4
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +4 -4
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +4 -4
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +4 -4
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +4 -4
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +4 -4
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +4 -4
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +4 -4
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +4 -4
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +4 -4
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +4 -4
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +4 -4
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +4 -4
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +4 -4
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +4 -4
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +4 -4
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +4 -4
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +4 -4
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +4 -4
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +4 -4
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +4 -4
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +4 -4
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +4 -4
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +4 -4
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +4 -4
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +4 -4
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +4 -4
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +4 -4
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +4 -4
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +4 -4
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +4 -4
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +4 -4
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +4 -4
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +4 -4
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +4 -4
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +4 -4
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +4 -4
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +4 -4
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +4 -4
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +4 -4
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +4 -4
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +4 -4
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +4 -4
  55. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +4 -4
  56. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +4 -4
  57. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +4 -4
  58. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +4 -4
  59. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +4 -4
  60. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +4 -4
  61. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +4 -4
  62. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +4 -4
  63. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +4 -4
  64. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +4 -4
  65. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +4 -4
  66. package/agnostic/html/hyper-json/tree/index.js +4 -4
  67. package/agnostic/html/hyper-json/utils/index.js +4 -4
  68. package/agnostic/html/index.js +15 -15
  69. package/agnostic/misc/index.js +15 -15
  70. package/agnostic/misc/lorem-ipsum/index.js +3 -3
  71. package/agnostic/numbers/index.js +4 -4
  72. package/agnostic/objects/index.js +14 -14
  73. package/agnostic/strings/index.js +9 -9
  74. package/agnostic/time/index.js +3 -3
  75. package/chunks/{chunk-4OH2EX3D.js → chunk-2JKV6KXE.js} +1 -1
  76. package/chunks/{chunk-6A7GLDXD.js → chunk-4HLAM4RP.js} +3 -3
  77. package/chunks/{chunk-OOETQRTY.js → chunk-HGQGQLLC.js} +1 -1
  78. package/chunks/{chunk-RORBHBEN.js → chunk-ISFXCV7D.js} +4 -4
  79. package/chunks/{chunk-344X5RHV.js → chunk-MZKZI6JL.js} +1 -1
  80. package/chunks/{chunk-5KEIMXTB.js → chunk-PDHAMES3.js} +1 -1
  81. package/chunks/{chunk-ITECXQUB.js → chunk-QPT6R6CL.js} +6 -6
  82. package/chunks/{chunk-EHOZ6VCE.js → chunk-R7J7Q2UL.js} +4 -4
  83. package/chunks/{chunk-BX6M7WBE.js → chunk-V4KSJHTU.js} +1 -1
  84. package/chunks/{chunk-XC2YGMNJ.js → chunk-YVEMIEOT.js} +1 -1
  85. package/node/@design-edito/index.js +3 -3
  86. package/node/@design-edito/thumbnails/index.js +7 -7
  87. package/node/@design-edito/thumbnails/layout/index.js +2 -2
  88. package/node/@google-cloud/index.js +4 -4
  89. package/node/@google-cloud/storage/file/index.js +6 -6
  90. package/node/@google-cloud/storage/index.js +4 -4
  91. package/node/cloud-storage/index.js +10 -10
  92. package/node/cloud-storage/operations/download/index.js +2 -2
  93. package/node/cloud-storage/operations/index.js +6 -6
  94. package/node/cloud-storage/operations/upload/index.js +2 -2
  95. package/node/encryption/index.js +3 -3
  96. package/node/files/index.js +4 -4
  97. package/node/images/index.js +6 -6
  98. package/node/images/prepare/index.js +6 -6
  99. package/node/images/transform/area-composition/index.js +4 -4
  100. package/node/images/transform/index.js +5 -5
  101. package/package.json +1 -1
  102. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.d.ts +0 -4
  103. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.js +0 -21
  104. package/agnostic/html/hyper-json/transformers/append/index.d.ts +0 -2
  105. package/agnostic/html/hyper-json/transformers/append/index.js +0 -16
  106. package/agnostic/html/hyper-json/transformers/classList/index.d.ts +0 -2
  107. package/agnostic/html/hyper-json/transformers/classList/index.js +0 -16
  108. package/agnostic/html/hyper-json/transformers/index.d.ts +0 -4
  109. package/agnostic/html/hyper-json/transformers/index.js +0 -16
  110. package/agnostic/html/hyper-json/transformers/join/index.d.ts +0 -2
  111. package/agnostic/html/hyper-json/transformers/join/index.js +0 -16
  112. package/agnostic/html/hyper-json/transformers/length/index.d.ts +0 -2
  113. package/agnostic/html/hyper-json/transformers/length/index.js +0 -16
  114. package/agnostic/html/hyper-json/transformers/print/index.d.ts +0 -2
  115. package/agnostic/html/hyper-json/transformers/print/index.js +0 -16
  116. package/agnostic/html/hyper-json/transformers/push/index.d.ts +0 -2
  117. package/agnostic/html/hyper-json/transformers/push/index.js +0 -16
  118. package/agnostic/html/hyper-json/transformers/querySelector/index.d.ts +0 -2
  119. package/agnostic/html/hyper-json/transformers/querySelector/index.js +0 -16
  120. package/agnostic/html/hyper-json/transformers/ref/index.d.ts +0 -2
  121. package/agnostic/html/hyper-json/transformers/ref/index.js +0 -16
  122. package/agnostic/html/hyper-json/transformers/replace/index.d.ts +0 -2
  123. package/agnostic/html/hyper-json/transformers/replace/index.js +0 -16
  124. package/agnostic/html/hyper-json/transformers/split/index.d.ts +0 -2
  125. package/agnostic/html/hyper-json/transformers/split/index.js +0 -16
  126. package/agnostic/html/hyper-json/transformers/toArray/index.d.ts +0 -2
  127. package/agnostic/html/hyper-json/transformers/toArray/index.js +0 -16
  128. package/agnostic/html/hyper-json/transformers/toBoolean/index.d.ts +0 -2
  129. package/agnostic/html/hyper-json/transformers/toBoolean/index.js +0 -16
  130. package/agnostic/html/hyper-json/transformers/toElement/index.d.ts +0 -2
  131. package/agnostic/html/hyper-json/transformers/toElement/index.js +0 -16
  132. package/agnostic/html/hyper-json/transformers/toNodeList/index.d.ts +0 -2
  133. package/agnostic/html/hyper-json/transformers/toNodeList/index.js +0 -16
  134. package/agnostic/html/hyper-json/transformers/toNull/index.d.ts +0 -2
  135. package/agnostic/html/hyper-json/transformers/toNull/index.js +0 -16
  136. package/agnostic/html/hyper-json/transformers/toNumber/index.d.ts +0 -2
  137. package/agnostic/html/hyper-json/transformers/toNumber/index.js +0 -16
  138. package/agnostic/html/hyper-json/transformers/toRecord/index.d.ts +0 -2
  139. package/agnostic/html/hyper-json/transformers/toRecord/index.js +0 -16
  140. package/agnostic/html/hyper-json/transformers/toRef/index.d.ts +0 -2
  141. package/agnostic/html/hyper-json/transformers/toRef/index.js +0 -16
  142. package/agnostic/html/hyper-json/transformers/toString/index.d.ts +0 -2
  143. package/agnostic/html/hyper-json/transformers/toString/index.js +0 -16
  144. package/agnostic/html/hyper-json/transformers/toText/index.d.ts +0 -2
  145. package/agnostic/html/hyper-json/transformers/toText/index.js +0 -16
  146. package/agnostic/html/hyper-json/transformers/toTransformer/index.d.ts +0 -2
  147. package/agnostic/html/hyper-json/transformers/toTransformer/index.js +0 -16
  148. package/agnostic/html/hyper-json/transformers/transformSelected/index.d.ts +0 -2
  149. package/agnostic/html/hyper-json/transformers/transformSelected/index.js +0 -16
  150. package/agnostic/html/hyper-json/transformers/trim/index.d.ts +0 -2
  151. package/agnostic/html/hyper-json/transformers/trim/index.js +0 -16
  152. package/agnostic/objects/record-filter/index.d.ts +0 -1
  153. package/agnostic/objects/record-filter/index.js +0 -6
  154. package/chunks/chunk-22Q6VKLR.js +0 -2369
  155. package/chunks/chunk-27HRTQ7Z.js +0 -20
  156. package/chunks/chunk-2G5MFJ66.js +0 -2420
  157. package/chunks/chunk-2HU2AWWJ.js +0 -35
  158. package/chunks/chunk-2IV3O7FX.js +0 -27
  159. package/chunks/chunk-2KCKWG7R.js +0 -104
  160. package/chunks/chunk-2KT7AKRW.js +0 -17
  161. package/chunks/chunk-2OSLB3AC.js +0 -191
  162. package/chunks/chunk-2U2J4P3O.js +0 -31
  163. package/chunks/chunk-2UJYUMTT.js +0 -37
  164. package/chunks/chunk-35W7XRC3.js +0 -173
  165. package/chunks/chunk-365LSZZ7.js +0 -37
  166. package/chunks/chunk-36CTYZYA.js +0 -28
  167. package/chunks/chunk-3C3MXKEW.js +0 -31
  168. package/chunks/chunk-3GTGE66Y.js +0 -32
  169. package/chunks/chunk-3N2LP2TN.js +0 -191
  170. package/chunks/chunk-3OMANUYH.js +0 -211
  171. package/chunks/chunk-3SSUHWUD.js +0 -56
  172. package/chunks/chunk-3TX6SJRO.js +0 -31
  173. package/chunks/chunk-3UAAYFXA.js +0 -56
  174. package/chunks/chunk-42ZKFWKF.js +0 -2369
  175. package/chunks/chunk-44BKJR2T.js +0 -31
  176. package/chunks/chunk-44XPTCIO.js +0 -49
  177. package/chunks/chunk-4FOK7DUZ.js +0 -35
  178. package/chunks/chunk-4HPUOADZ.js +0 -37
  179. package/chunks/chunk-4LCL2RIC.js +0 -209
  180. package/chunks/chunk-4WOAFIVN.js +0 -31
  181. package/chunks/chunk-4WOYAD35.js +0 -31
  182. package/chunks/chunk-53MBV4TG.js +0 -6212
  183. package/chunks/chunk-55MT7BMY.js +0 -16
  184. package/chunks/chunk-57RPA6DU.js +0 -56
  185. package/chunks/chunk-57YCNOX7.js +0 -15
  186. package/chunks/chunk-5CYZ66VE.js +0 -31
  187. package/chunks/chunk-5E7N4BDI.js +0 -186
  188. package/chunks/chunk-5GI5G45R.js +0 -27
  189. package/chunks/chunk-5HWYTIYR.js +0 -211
  190. package/chunks/chunk-5JMTDJWX.js +0 -37
  191. package/chunks/chunk-5P7LHIDR.js +0 -37
  192. package/chunks/chunk-5QVKJGTN.js +0 -95
  193. package/chunks/chunk-5RSHXPTG.js +0 -21
  194. package/chunks/chunk-5UM7HYXS.js +0 -191
  195. package/chunks/chunk-5VHXL242.js +0 -37
  196. package/chunks/chunk-5ZTW4PHE.js +0 -173
  197. package/chunks/chunk-64SYLWJ7.js +0 -37
  198. package/chunks/chunk-65YZMVWZ.js +0 -35
  199. package/chunks/chunk-66X6D4HF.js +0 -191
  200. package/chunks/chunk-6DA4S65P.js +0 -37
  201. package/chunks/chunk-6FRKSLBC.js +0 -2369
  202. package/chunks/chunk-6GZXU2Z3.js +0 -191
  203. package/chunks/chunk-6JRUZYTL.js +0 -211
  204. package/chunks/chunk-6KWNKTNI.js +0 -173
  205. package/chunks/chunk-6PNTQUTX.js +0 -20
  206. package/chunks/chunk-6Z6GDMOR.js +0 -28
  207. package/chunks/chunk-72NLUT3X.js +0 -29
  208. package/chunks/chunk-72U4TDEB.js +0 -127
  209. package/chunks/chunk-75DDEILC.js +0 -191
  210. package/chunks/chunk-7DNQ6RM2.js +0 -211
  211. package/chunks/chunk-7ICUR6QY.js +0 -31
  212. package/chunks/chunk-7K2EL46G.js +0 -2391
  213. package/chunks/chunk-7KHJKCA7.js +0 -2369
  214. package/chunks/chunk-7NO34XJI.js +0 -26
  215. package/chunks/chunk-7QIYI4CK.js +0 -209
  216. package/chunks/chunk-7VL2O6SQ.js +0 -211
  217. package/chunks/chunk-7VTVA56L.js +0 -37
  218. package/chunks/chunk-7W5LABV2.js +0 -37
  219. package/chunks/chunk-7YW5HL6N.js +0 -168
  220. package/chunks/chunk-A4FSJC46.js +0 -58
  221. package/chunks/chunk-AF2MI5O5.js +0 -29
  222. package/chunks/chunk-AM26FWT6.js +0 -31
  223. package/chunks/chunk-APRHU5KY.js +0 -31
  224. package/chunks/chunk-ARDAQZRR.js +0 -239
  225. package/chunks/chunk-AXMMBQRD.js +0 -191
  226. package/chunks/chunk-B446JIN3.js +0 -29
  227. package/chunks/chunk-BLAAWANI.js +0 -191
  228. package/chunks/chunk-BNNAZPI2.js +0 -191
  229. package/chunks/chunk-BPOJYE4X.js +0 -1108
  230. package/chunks/chunk-BQV4DOSE.js +0 -1108
  231. package/chunks/chunk-BV67SWXG.js +0 -20
  232. package/chunks/chunk-BVCWBTHQ.js +0 -35
  233. package/chunks/chunk-BW3XNPCJ.js +0 -191
  234. package/chunks/chunk-C2VF2MJV.js +0 -60
  235. package/chunks/chunk-C5753KUP.js +0 -127
  236. package/chunks/chunk-C5CIYEMD.js +0 -191
  237. package/chunks/chunk-C7SRAQMW.js +0 -29
  238. package/chunks/chunk-CAMYGA44.js +0 -22
  239. package/chunks/chunk-CB52KVOZ.js +0 -22
  240. package/chunks/chunk-CHUOCTRP.js +0 -26
  241. package/chunks/chunk-CIJQHLIW.js +0 -31
  242. package/chunks/chunk-CK73EBO5.js +0 -35
  243. package/chunks/chunk-CMKKX7WQ.js +0 -56
  244. package/chunks/chunk-CNPV4DFI.js +0 -20
  245. package/chunks/chunk-COLNKMBN.js +0 -35
  246. package/chunks/chunk-CQ3R7BEH.js +0 -173
  247. package/chunks/chunk-CQEDNACN.js +0 -28
  248. package/chunks/chunk-CRGU2EHQ.js +0 -31
  249. package/chunks/chunk-CRGUZBZX.js +0 -37
  250. package/chunks/chunk-CRZMH2K5.js +0 -2369
  251. package/chunks/chunk-CSYW7AAI.js +0 -191
  252. package/chunks/chunk-CWRRSS4V.js +0 -27
  253. package/chunks/chunk-D2JMITOU.js +0 -37
  254. package/chunks/chunk-D2NTUAFE.js +0 -4284
  255. package/chunks/chunk-D2V6SYYA.js +0 -191
  256. package/chunks/chunk-D5E2CIDK.js +0 -20
  257. package/chunks/chunk-D6VWX3D6.js +0 -186
  258. package/chunks/chunk-DCKTGQOX.js +0 -29
  259. package/chunks/chunk-DCSNQUVT.js +0 -56
  260. package/chunks/chunk-DHMARF6D.js +0 -62
  261. package/chunks/chunk-DHWHB53F.js +0 -191
  262. package/chunks/chunk-DLGA4UD5.js +0 -37
  263. package/chunks/chunk-DLSXW4NB.js +0 -2369
  264. package/chunks/chunk-DMR2WE3C.js +0 -62
  265. package/chunks/chunk-DZME4OQW.js +0 -2369
  266. package/chunks/chunk-E4FJHD5R.js +0 -67
  267. package/chunks/chunk-ECKOTCS4.js +0 -2369
  268. package/chunks/chunk-EEIJDUNV.js +0 -209
  269. package/chunks/chunk-EFLJJ5VF.js +0 -31
  270. package/chunks/chunk-EHVYR4OU.js +0 -56
  271. package/chunks/chunk-EI6W5HLB.js +0 -56
  272. package/chunks/chunk-EIU72AEZ.js +0 -31
  273. package/chunks/chunk-EJEG2LDE.js +0 -2427
  274. package/chunks/chunk-ERAFJXWH.js +0 -20
  275. package/chunks/chunk-ETRM76O3.js +0 -2369
  276. package/chunks/chunk-EUY4OBBI.js +0 -100
  277. package/chunks/chunk-EVOTJ7SU.js +0 -35
  278. package/chunks/chunk-EWM3VOPO.js +0 -191
  279. package/chunks/chunk-EX7FS6IR.js +0 -28
  280. package/chunks/chunk-F5DWWSOB.js +0 -31
  281. package/chunks/chunk-F5GXXF3A.js +0 -31
  282. package/chunks/chunk-FCU6IHKD.js +0 -15
  283. package/chunks/chunk-FDPPGRBY.js +0 -211
  284. package/chunks/chunk-FEFY3V6P.js +0 -31
  285. package/chunks/chunk-FG53JEP2.js +0 -31
  286. package/chunks/chunk-FHEUGVMU.js +0 -37
  287. package/chunks/chunk-FJTOFK3C.js +0 -203
  288. package/chunks/chunk-FOLCH72D.js +0 -211
  289. package/chunks/chunk-FONURDTX.js +0 -211
  290. package/chunks/chunk-FQD3VK47.js +0 -37
  291. package/chunks/chunk-FTIDPZZ5.js +0 -209
  292. package/chunks/chunk-FWZSMFVA.js +0 -211
  293. package/chunks/chunk-G3YL3WQJ.js +0 -56
  294. package/chunks/chunk-GARJTJ6V.js +0 -6
  295. package/chunks/chunk-GB4UQS6V.js +0 -35
  296. package/chunks/chunk-GBMHGF7P.js +0 -20
  297. package/chunks/chunk-GDFWDU4Q.js +0 -2369
  298. package/chunks/chunk-GGT2PUZH.js +0 -21
  299. package/chunks/chunk-GKG3UQH3.js +0 -191
  300. package/chunks/chunk-GL54CDM2.js +0 -20
  301. package/chunks/chunk-GNZY3ZTH.js +0 -14
  302. package/chunks/chunk-GP44TBRI.js +0 -39
  303. package/chunks/chunk-GPAZDWEQ.js +0 -56
  304. package/chunks/chunk-GPWFYPER.js +0 -211
  305. package/chunks/chunk-GQMFBT5T.js +0 -191
  306. package/chunks/chunk-GWXVHCAB.js +0 -31
  307. package/chunks/chunk-H7WUTMKQ.js +0 -31
  308. package/chunks/chunk-HDNYKGJM.js +0 -31
  309. package/chunks/chunk-HE6F5XJQ.js +0 -20
  310. package/chunks/chunk-HNB6B4FO.js +0 -37
  311. package/chunks/chunk-HP3OH2K7.js +0 -27
  312. package/chunks/chunk-HP722G2E.js +0 -211
  313. package/chunks/chunk-HQA7SCAD.js +0 -20
  314. package/chunks/chunk-HQACEDCF.js +0 -37
  315. package/chunks/chunk-HQGZVWBB.js +0 -56
  316. package/chunks/chunk-HTNLTDQT.js +0 -28
  317. package/chunks/chunk-I2ILSLBK.js +0 -32
  318. package/chunks/chunk-I4EBRCSJ.js +0 -20
  319. package/chunks/chunk-I66DPQN2.js +0 -31
  320. package/chunks/chunk-IECKIGM7.js +0 -2391
  321. package/chunks/chunk-IGHRNHVK.js +0 -16
  322. package/chunks/chunk-IJ7SOXLA.js +0 -107
  323. package/chunks/chunk-ILG6VQTL.js +0 -100
  324. package/chunks/chunk-IMR3ZNXR.js +0 -211
  325. package/chunks/chunk-IMZIWMCE.js +0 -191
  326. package/chunks/chunk-IOWZMFCU.js +0 -28
  327. package/chunks/chunk-IPON4W2H.js +0 -31
  328. package/chunks/chunk-IPOZQPNX.js +0 -37
  329. package/chunks/chunk-ISAIFQAY.js +0 -100
  330. package/chunks/chunk-IUFAHY2R.js +0 -38
  331. package/chunks/chunk-IYHWMMQE.js +0 -37
  332. package/chunks/chunk-J5A7YTMU.js +0 -56
  333. package/chunks/chunk-JBSS64SA.js +0 -6
  334. package/chunks/chunk-JIWZPVRS.js +0 -20
  335. package/chunks/chunk-JJ5ME3A2.js +0 -191
  336. package/chunks/chunk-JJK5733Z.js +0 -211
  337. package/chunks/chunk-JKWNIKHN.js +0 -37
  338. package/chunks/chunk-JNXO4QEM.js +0 -56
  339. package/chunks/chunk-JRXEHYIE.js +0 -37
  340. package/chunks/chunk-JRXTMXKV.js +0 -15967
  341. package/chunks/chunk-JSYVAPV6.js +0 -6
  342. package/chunks/chunk-JUIKU4XP.js +0 -191
  343. package/chunks/chunk-JWF5EKM2.js +0 -127
  344. package/chunks/chunk-JWKI6G6E.js +0 -102
  345. package/chunks/chunk-JXH3CLF4.js +0 -56
  346. package/chunks/chunk-JYW5L62E.js +0 -211
  347. package/chunks/chunk-K6XEQOZU.js +0 -56
  348. package/chunks/chunk-KB4BPJBE.js +0 -2369
  349. package/chunks/chunk-KD627A47.js +0 -191
  350. package/chunks/chunk-KEYRP27F.js +0 -191
  351. package/chunks/chunk-KFW3ORPQ.js +0 -20
  352. package/chunks/chunk-KQZK54ZT.js +0 -2369
  353. package/chunks/chunk-KUIQRVIC.js +0 -100
  354. package/chunks/chunk-KYMCGWPM.js +0 -31
  355. package/chunks/chunk-L2L27BLX.js +0 -56
  356. package/chunks/chunk-L443MD77.js +0 -191
  357. package/chunks/chunk-L5JWJRZ7.js +0 -484
  358. package/chunks/chunk-LAA2DQDK.js +0 -31
  359. package/chunks/chunk-LATEK24U.js +0 -31
  360. package/chunks/chunk-LDLSU4OG.js +0 -191
  361. package/chunks/chunk-LLGU4W6F.js +0 -37
  362. package/chunks/chunk-LLSKBXT7.js +0 -14
  363. package/chunks/chunk-LOFELEU3.js +0 -1108
  364. package/chunks/chunk-LVXK54LL.js +0 -27
  365. package/chunks/chunk-LWWXPVXY.js +0 -25173
  366. package/chunks/chunk-LXPG32TV.js +0 -31
  367. package/chunks/chunk-M6WWIEQJ.js +0 -37
  368. package/chunks/chunk-M737IMZM.js +0 -37
  369. package/chunks/chunk-M7YNPJYY.js +0 -173
  370. package/chunks/chunk-MAP7OSVR.js +0 -37
  371. package/chunks/chunk-MBWRDYGE.js +0 -191
  372. package/chunks/chunk-MC5RLVK5.js +0 -4284
  373. package/chunks/chunk-MF56TTC5.js +0 -15
  374. package/chunks/chunk-MMNQZ2IM.js +0 -20
  375. package/chunks/chunk-MMPJODO2.js +0 -31
  376. package/chunks/chunk-MOA6JFUQ.js +0 -2369
  377. package/chunks/chunk-MQPY7A3O.js +0 -211
  378. package/chunks/chunk-MTT7TVR3.js +0 -127
  379. package/chunks/chunk-MUYZV5F3.js +0 -2369
  380. package/chunks/chunk-MUZGZ3ZF.js +0 -50
  381. package/chunks/chunk-MV7CCO4Y.js +0 -4430
  382. package/chunks/chunk-MW3KNVTG.js +0 -29
  383. package/chunks/chunk-MY4VMHSH.js +0 -191
  384. package/chunks/chunk-MZ2RAM5Y.js +0 -62
  385. package/chunks/chunk-MZSIKE3H.js +0 -211
  386. package/chunks/chunk-N2AOS7WW.js +0 -20
  387. package/chunks/chunk-N37FT2RW.js +0 -2391
  388. package/chunks/chunk-N4BZJOGW.js +0 -56
  389. package/chunks/chunk-N4LMP4UM.js +0 -31
  390. package/chunks/chunk-NGYJGQT3.js +0 -25002
  391. package/chunks/chunk-NHQVXC4Y.js +0 -2391
  392. package/chunks/chunk-NIOOIUSD.js +0 -104
  393. package/chunks/chunk-NLHFSJYR.js +0 -15
  394. package/chunks/chunk-NQ5ESZNO.js +0 -191
  395. package/chunks/chunk-NRRDPNOH.js +0 -100
  396. package/chunks/chunk-NTZ7PTU3.js +0 -56
  397. package/chunks/chunk-NWFX6TEY.js +0 -28
  398. package/chunks/chunk-O2WG3EMN.js +0 -2369
  399. package/chunks/chunk-O6NULFZI.js +0 -37
  400. package/chunks/chunk-OAQG5VAW.js +0 -211
  401. package/chunks/chunk-OJI6SN6F.js +0 -31
  402. package/chunks/chunk-OJXN5JW7.js +0 -37
  403. package/chunks/chunk-ON4E4PLF.js +0 -20
  404. package/chunks/chunk-OVMNSJOW.js +0 -6
  405. package/chunks/chunk-P2H6PV4O.js +0 -26
  406. package/chunks/chunk-PEEPNNRS.js +0 -173
  407. package/chunks/chunk-PEOXR2Q6.js +0 -191
  408. package/chunks/chunk-PIIE3634.js +0 -37
  409. package/chunks/chunk-PJDZMLNG.js +0 -127
  410. package/chunks/chunk-PM7FWQYD.js +0 -20
  411. package/chunks/chunk-PMYUC6VD.js +0 -37
  412. package/chunks/chunk-PPHUIOHO.js +0 -28
  413. package/chunks/chunk-PPK2JEO6.js +0 -28
  414. package/chunks/chunk-PVHLWKA6.js +0 -31
  415. package/chunks/chunk-PYVUC6EN.js +0 -191
  416. package/chunks/chunk-Q7HA7IAA.js +0 -20
  417. package/chunks/chunk-QAJYFNPZ.js +0 -211
  418. package/chunks/chunk-QHGZBCFZ.js +0 -1108
  419. package/chunks/chunk-QI67BXO6.js +0 -2370
  420. package/chunks/chunk-QIXAGMCI.js +0 -211
  421. package/chunks/chunk-QLJBBAQ5.js +0 -37
  422. package/chunks/chunk-QMWX2A56.js +0 -56
  423. package/chunks/chunk-QN3UAKIU.js +0 -21
  424. package/chunks/chunk-QPBY235R.js +0 -239
  425. package/chunks/chunk-QTTNO4T6.js +0 -37
  426. package/chunks/chunk-QUWGF5WZ.js +0 -191
  427. package/chunks/chunk-QZPBUDX2.js +0 -20
  428. package/chunks/chunk-R23B2MRN.js +0 -2405
  429. package/chunks/chunk-R57V5HA7.js +0 -211
  430. package/chunks/chunk-RDQJSWRC.js +0 -127
  431. package/chunks/chunk-REBANVPP.js +0 -104
  432. package/chunks/chunk-RHV7UOXD.js +0 -211
  433. package/chunks/chunk-RI37ZSKY.js +0 -2369
  434. package/chunks/chunk-ROJZUEYL.js +0 -37
  435. package/chunks/chunk-RRSHCFEP.js +0 -191
  436. package/chunks/chunk-RSMUYH5H.js +0 -31
  437. package/chunks/chunk-RTFKMYT7.js +0 -2369
  438. package/chunks/chunk-RVVJ4QD4.js +0 -173
  439. package/chunks/chunk-RWWYR54P.js +0 -31
  440. package/chunks/chunk-RX3BKRJU.js +0 -2407
  441. package/chunks/chunk-S7MJLTCR.js +0 -211
  442. package/chunks/chunk-SA2IY5LN.js +0 -35
  443. package/chunks/chunk-SBAY4ZKE.js +0 -211
  444. package/chunks/chunk-SEB7TFUB.js +0 -20
  445. package/chunks/chunk-SFYYQPAK.js +0 -37
  446. package/chunks/chunk-SJLH36CH.js +0 -26
  447. package/chunks/chunk-SJQNLCGS.js +0 -173
  448. package/chunks/chunk-SNITNUQ6.js +0 -20
  449. package/chunks/chunk-SOAU5CRO.js +0 -56
  450. package/chunks/chunk-SPMF4X5X.js +0 -31
  451. package/chunks/chunk-SR2YFPJZ.js +0 -2419
  452. package/chunks/chunk-SYD5FZEO.js +0 -20
  453. package/chunks/chunk-T5C73QJF.js +0 -56
  454. package/chunks/chunk-TAVCC26N.js +0 -37
  455. package/chunks/chunk-TEB7KZWB.js +0 -21
  456. package/chunks/chunk-TL3JMADI.js +0 -2391
  457. package/chunks/chunk-TLTLM47Y.js +0 -27
  458. package/chunks/chunk-TOZXS7ZY.js +0 -2369
  459. package/chunks/chunk-TSQVG7GA.js +0 -31
  460. package/chunks/chunk-TXOUGP37.js +0 -62
  461. package/chunks/chunk-TYJOCMG7.js +0 -37
  462. package/chunks/chunk-U32YPAPW.js +0 -2369
  463. package/chunks/chunk-U6W7BPH4.js +0 -2369
  464. package/chunks/chunk-U6YRINXJ.js +0 -22
  465. package/chunks/chunk-UBFLFJMH.js +0 -37
  466. package/chunks/chunk-UDY37VIJ.js +0 -22
  467. package/chunks/chunk-UFKH5WD2.js +0 -21
  468. package/chunks/chunk-UG36UPJK.js +0 -31
  469. package/chunks/chunk-UHH75BZP.js +0 -56
  470. package/chunks/chunk-UL6OZKRF.js +0 -20
  471. package/chunks/chunk-UMJX4S4M.js +0 -56
  472. package/chunks/chunk-UODICVLG.js +0 -173
  473. package/chunks/chunk-UT75PSLP.js +0 -20
  474. package/chunks/chunk-UXM54YBI.js +0 -68
  475. package/chunks/chunk-VDNIN3V5.js +0 -23
  476. package/chunks/chunk-VEKKX6Z5.js +0 -173
  477. package/chunks/chunk-VH4FK3TX.js +0 -31
  478. package/chunks/chunk-VHCD3Z4T.js +0 -20
  479. package/chunks/chunk-VHFMQI7Z.js +0 -20
  480. package/chunks/chunk-VKURVIRV.js +0 -28
  481. package/chunks/chunk-VLHSIIPO.js +0 -20
  482. package/chunks/chunk-VP3Y6EMX.js +0 -190
  483. package/chunks/chunk-VQEP2EQF.js +0 -100
  484. package/chunks/chunk-VV35APGM.js +0 -2369
  485. package/chunks/chunk-VV72XGJJ.js +0 -58
  486. package/chunks/chunk-VXSOUAUT.js +0 -100
  487. package/chunks/chunk-VZQ4WCBH.js +0 -2391
  488. package/chunks/chunk-W4OFHYWN.js +0 -1108
  489. package/chunks/chunk-W6BFU7Y5.js +0 -56
  490. package/chunks/chunk-W7YBGJ4H.js +0 -28
  491. package/chunks/chunk-WABWQCFE.js +0 -127
  492. package/chunks/chunk-WC2LQPQP.js +0 -26
  493. package/chunks/chunk-WDWDHE7I.js +0 -31
  494. package/chunks/chunk-WFED6NDN.js +0 -28
  495. package/chunks/chunk-WJMBLQRX.js +0 -29
  496. package/chunks/chunk-WKW34B3A.js +0 -2369
  497. package/chunks/chunk-WLHJM76F.js +0 -2369
  498. package/chunks/chunk-WNLP6R5Y.js +0 -191
  499. package/chunks/chunk-WO2R3QFK.js +0 -20
  500. package/chunks/chunk-WP7L5ZFP.js +0 -173
  501. package/chunks/chunk-WTAMA5WX.js +0 -37
  502. package/chunks/chunk-WTPUSGMJ.js +0 -104
  503. package/chunks/chunk-WXXW6YLW.js +0 -127
  504. package/chunks/chunk-WYY3N6PO.js +0 -2369
  505. package/chunks/chunk-WZC2HZ5W.js +0 -27
  506. package/chunks/chunk-X4XXZ44B.js +0 -37
  507. package/chunks/chunk-X5HMM3LD.js +0 -35
  508. package/chunks/chunk-XCBH6NLF.js +0 -42
  509. package/chunks/chunk-XDYRPW7Q.js +0 -37
  510. package/chunks/chunk-XDZD6C76.js +0 -37
  511. package/chunks/chunk-XETVQW6S.js +0 -56
  512. package/chunks/chunk-XGOWRHVM.js +0 -37
  513. package/chunks/chunk-XH6TZMNR.js +0 -211
  514. package/chunks/chunk-XI2XIH6L.js +0 -2391
  515. package/chunks/chunk-XK2PI5WI.js +0 -31
  516. package/chunks/chunk-XL7AQDAE.js +0 -31
  517. package/chunks/chunk-XPRBKRSB.js +0 -37
  518. package/chunks/chunk-XRUSQWPJ.js +0 -173
  519. package/chunks/chunk-XSOBXDGQ.js +0 -191
  520. package/chunks/chunk-XT6XKGKK.js +0 -20
  521. package/chunks/chunk-XWLQR4UY.js +0 -25
  522. package/chunks/chunk-XWU7O5KD.js +0 -211
  523. package/chunks/chunk-XXDQWJP3.js +0 -56
  524. package/chunks/chunk-YBYXIDGC.js +0 -20
  525. package/chunks/chunk-YCZQAM7E.js +0 -2407
  526. package/chunks/chunk-YDNQHZRS.js +0 -31
  527. package/chunks/chunk-YGJHHWBJ.js +0 -37
  528. package/chunks/chunk-YHT73ULP.js +0 -2369
  529. package/chunks/chunk-YKECGAIJ.js +0 -37
  530. package/chunks/chunk-YMNBUQVR.js +0 -2420
  531. package/chunks/chunk-YO5KOEJF.js +0 -27
  532. package/chunks/chunk-YRKWVEWA.js +0 -20
  533. package/chunks/chunk-YRSNU7IX.js +0 -49
  534. package/chunks/chunk-YTS4JME6.js +0 -2369
  535. package/chunks/chunk-YVHJ7TUJ.js +0 -211
  536. package/chunks/chunk-YVSS4IT2.js +0 -37
  537. package/chunks/chunk-YYE7TVB6.js +0 -2420
  538. package/chunks/chunk-YYYRFMNZ.js +0 -191
  539. package/chunks/chunk-YZDZQ7AZ.js +0 -37
  540. package/chunks/chunk-Z352MSRL.js +0 -127
  541. package/chunks/chunk-Z4SQDCFG.js +0 -37
  542. package/chunks/chunk-ZCPGE7H7.js +0 -64
  543. package/chunks/chunk-ZGYU6F7Q.js +0 -13
  544. package/chunks/chunk-ZLQUBC5B.js +0 -31
  545. package/chunks/chunk-ZNPRJEP5.js +0 -28
  546. package/chunks/chunk-ZS5OHINP.js +0 -31
  547. package/index.d.ts +0 -3
  548. package/node/encryption/buffer/index.d.ts +0 -56
  549. package/node/encryption/buffer/index.js +0 -16
  550. package/node/encryption/generate-key/index.d.ts +0 -16
  551. package/node/encryption/generate-key/index.js +0 -7
  552. package/node/encryption/uint8-array/index.d.ts +0 -57
  553. package/node/encryption/uint8-array/index.js +0 -15
  554. package/chunks/{chunk-3DJI3JTM.js → chunk-3CQON3DO.js} +9 -9
  555. package/chunks/{chunk-OPO25SDO.js → chunk-DW4ILX77.js} +3 -3
  556. package/chunks/{chunk-VKNWPV5T.js → chunk-FIVB3FON.js} +3 -3
  557. package/chunks/{chunk-4EFX53Y4.js → chunk-FVFYLT5T.js} +5 -5
  558. package/chunks/{chunk-222367I5.js → chunk-HZGGYNZ5.js} +9 -9
  559. package/chunks/{chunk-GBBM5DLR.js → chunk-JSKVNOTW.js} +3 -3
  560. package/chunks/{chunk-AE6L2HYA.js → chunk-K4Q2MG65.js} +3 -3
  561. package/chunks/{chunk-EZFHN4ST.js → chunk-KTK3BMX2.js} +11 -11
  562. package/chunks/{chunk-EDI5T3GL.js → chunk-VWLJ5IEE.js} +5 -5
  563. package/chunks/{chunk-KTB7NX4Q.js → chunk-XAZT2MME.js} +3 -3
@@ -1,191 +0,0 @@
1
- import {
2
- Random
3
- } from "./chunk-S32K7POB.js";
4
- import {
5
- Arrays
6
- } from "./chunk-3C3MXKEW.js";
7
-
8
- // src/agnostic/misc/lorem-ipsum/index.ts
9
- var LoremIpsum;
10
- ((LoremIpsum2) => {
11
- LoremIpsum2.words = [
12
- "a",
13
- "ac",
14
- "accumsan",
15
- "adipiscing",
16
- "aenean",
17
- "aliquam",
18
- "aliquet",
19
- "amet",
20
- "ante",
21
- "arcu",
22
- "at",
23
- "auctor",
24
- "augue",
25
- "bibendum",
26
- "blandit",
27
- "condimentum",
28
- "consectetur",
29
- "consequat",
30
- "convallis",
31
- "cras",
32
- "curabitur",
33
- "cursus",
34
- "dapibus",
35
- "diam",
36
- "dictum",
37
- "dictumst",
38
- "dignissim",
39
- "dolor",
40
- "donec",
41
- "dui",
42
- "duis",
43
- "efficitur",
44
- "egestas",
45
- "eget",
46
- "eleifend",
47
- "elementum",
48
- "elit",
49
- "enim",
50
- "erat",
51
- "eros",
52
- "est",
53
- "et",
54
- "eu",
55
- "euismod",
56
- "ex",
57
- "facilisis",
58
- "faucibus",
59
- "felis",
60
- "feugiat",
61
- "finibus",
62
- "fringilla",
63
- "fusce",
64
- "gravida",
65
- "habitasse",
66
- "hac",
67
- "hendrerit",
68
- "iaculis",
69
- "id",
70
- "imperdiet",
71
- "in",
72
- "integer",
73
- "interdum",
74
- "ipsum",
75
- "justo",
76
- "lacinia",
77
- "lacus",
78
- "laoreet",
79
- "lectus",
80
- "leo",
81
- "libero",
82
- "ligula",
83
- "lobortis",
84
- "lorem",
85
- "luctus",
86
- "maecenas",
87
- "magna",
88
- "malesuada",
89
- "massa",
90
- "mattis",
91
- "mauris",
92
- "maximus",
93
- "metus",
94
- "mi",
95
- "molestie",
96
- "mollis",
97
- "morbi",
98
- "nam",
99
- "nec",
100
- "neque",
101
- "nibh",
102
- "nisi",
103
- "nisl",
104
- "non",
105
- "nulla",
106
- "nullam",
107
- "nunc",
108
- "odio",
109
- "orci",
110
- "ornare",
111
- "pellentesque",
112
- "pharetra",
113
- "phasellus",
114
- "placerat",
115
- "platea",
116
- "porta",
117
- "porttitor",
118
- "posuere",
119
- "praesent",
120
- "pulvinar",
121
- "purus",
122
- "quam",
123
- "quis",
124
- "quisque",
125
- "risus",
126
- "rutrum",
127
- "sagittis",
128
- "sapien",
129
- "sed",
130
- "sem",
131
- "semper",
132
- "sit",
133
- "sodales",
134
- "sollicitudin",
135
- "suscipit",
136
- "suspendisse",
137
- "tellus",
138
- "tempor",
139
- "tempus",
140
- "tincidunt",
141
- "tortor",
142
- "tristique",
143
- "turpis",
144
- "ultrices",
145
- "ultricies",
146
- "urna",
147
- "ut",
148
- "vehicula",
149
- "vel",
150
- "velit",
151
- "venenatis",
152
- "vestibulum",
153
- "vitae",
154
- "vivamus",
155
- "viverra",
156
- "volutpat",
157
- "vulputate"
158
- ];
159
- LoremIpsum2.generateSentence = (wordCount) => {
160
- const resultArr = [];
161
- let currentWordCound = wordCount;
162
- for (let i = 0; i < currentWordCound; i++) {
163
- const picked = Arrays.randomPick(LoremIpsum2.words);
164
- if (typeof picked === "string") resultArr.push(picked);
165
- else {
166
- currentWordCound += 1;
167
- }
168
- }
169
- const [firstWord, ...otherWords] = resultArr;
170
- if (firstWord === void 0) return "";
171
- const capFirstLetter = firstWord?.charAt(0).toUpperCase();
172
- const restOfFirstWord = firstWord?.slice(1);
173
- const sentence = [
174
- `${capFirstLetter}${restOfFirstWord}`,
175
- ...otherWords
176
- ].join(" ");
177
- return `${sentence}.`;
178
- };
179
- LoremIpsum2.generateSentences = (sentencesCount, maxSentenceLength = 12, minSentenceLength = 4) => {
180
- const sentences = [];
181
- for (let i = 0; i < sentencesCount; i++) {
182
- const length = Random.randomInt(maxSentenceLength, minSentenceLength) ?? 8;
183
- sentences.push((0, LoremIpsum2.generateSentence)(length));
184
- }
185
- return sentences;
186
- };
187
- })(LoremIpsum || (LoremIpsum = {}));
188
-
189
- export {
190
- LoremIpsum
191
- };
@@ -1,37 +0,0 @@
1
- import {
2
- upload
3
- } from "./chunk-RSMUYH5H.js";
4
- import {
5
- download
6
- } from "./chunk-LAA2DQDK.js";
7
- import {
8
- erase
9
- } from "./chunk-FG53JEP2.js";
10
- import {
11
- Outcome
12
- } from "./chunk-JMU5PDBD.js";
13
- import {
14
- __export
15
- } from "./chunk-XCBH6NLF.js";
16
-
17
- // src/node/@google-cloud/storage/file/revoke-signed-urls/index.ts
18
- var revoke_signed_urls_exports = {};
19
- __export(revoke_signed_urls_exports, {
20
- revokeSignedUrls: () => revokeSignedUrls
21
- });
22
- async function revokeSignedUrls(sourcePath, bucket, options) {
23
- const { downloadOptions, eraseOptions, uploadOptions } = options ?? {};
24
- const downloadAttempt = await download(sourcePath, bucket, downloadOptions);
25
- if (!downloadAttempt.success) return downloadAttempt;
26
- const deletionAttempt = await erase(sourcePath, bucket, eraseOptions);
27
- if (!deletionAttempt.success) return deletionAttempt;
28
- const downloaded = downloadAttempt.payload;
29
- const reuploadAttempt = await upload(downloaded, sourcePath, bucket, uploadOptions);
30
- if (!reuploadAttempt.success) return reuploadAttempt;
31
- return Outcome.makeSuccess(true);
32
- }
33
-
34
- export {
35
- revokeSignedUrls,
36
- revoke_signed_urls_exports
37
- };
@@ -1,127 +0,0 @@
1
- import {
2
- register
3
- } from "./chunk-U6YRINXJ.js";
4
-
5
- // src/agnostic/html/sanitize/index.ts
6
- var Sanitize;
7
- ((Sanitize2) => {
8
- Sanitize2.defaultOptions = { depth: 20 };
9
- function sanitize(inputStr, options = Sanitize2.defaultOptions) {
10
- const actualDocument = options.documentObj ?? window.document;
11
- if (actualDocument === null) throw register.getError("no-window-document-on-runtime-please-provide" /* NO_DOCUMENT_PLEASE_PROVIDE */, "See documentObj in the options object");
12
- const wrapperDiv = actualDocument.createElement("div");
13
- const { inputFreeTransform } = options;
14
- wrapperDiv.innerHTML = inputFreeTransform !== void 0 ? inputFreeTransform(inputStr) : inputStr;
15
- const sanitizedWrapper = sanitizeElement(wrapperDiv, options);
16
- const returned = sanitizedWrapper?.innerHTML;
17
- return returned ?? "";
18
- }
19
- Sanitize2.sanitize = sanitize;
20
- function sanitizeElement(element, options = Sanitize2.defaultOptions) {
21
- const actualDocument = options.documentObj ?? window.document;
22
- if (actualDocument === null) throw register.getError("no-window-document-on-runtime-please-provide" /* NO_DOCUMENT_PLEASE_PROVIDE */, "See documentObj in the options object");
23
- const { tagName, attributes, childNodes } = element;
24
- const {
25
- allowedTags = [],
26
- allowedAttributes = {},
27
- forbiddenTags = [],
28
- forbiddenAttributes = {},
29
- depth = 20,
30
- verbose = false
31
- } = options;
32
- if (depth <= 0) {
33
- console.warn("Max depth reached");
34
- return null;
35
- }
36
- const normalizedTagName = tagName.toLowerCase().trim();
37
- const tagIsInForbidden = forbiddenTags.includes("*") || forbiddenTags.includes(normalizedTagName);
38
- if (tagIsInForbidden) {
39
- if (verbose === true) console.warn(tagName, "tag is forbidden");
40
- return null;
41
- }
42
- const tagIsInAllowed = allowedTags.includes("*") || allowedTags.includes(normalizedTagName);
43
- if (!tagIsInAllowed) {
44
- if (verbose === true) console.warn(tagName, "tag is not allowed");
45
- return null;
46
- }
47
- const returnedElement = actualDocument.createElement(tagName);
48
- const returnedAttributes = Array.from(attributes).filter(({ name: attributeName, value: attributeValue }) => {
49
- const allTagsForbiddenAttributes = forbiddenAttributes["*"] ?? [];
50
- const thisTagForbiddenAttributes = forbiddenAttributes[normalizedTagName] ?? [];
51
- const mergedForbiddenAttributes = [...allTagsForbiddenAttributes, ...thisTagForbiddenAttributes];
52
- const isInForbidden = mergedForbiddenAttributes.some(({
53
- attributeName: nameTester,
54
- attributeValues: valTesters
55
- }) => {
56
- if (typeof nameTester === "string" && nameTester !== "*" && attributeName !== nameTester) return false;
57
- if (typeof nameTester !== "string" && !nameTester.test(attributeName)) return false;
58
- if (valTesters === void 0) {
59
- if (verbose === true) console.warn(attributeName, "attribute on", tagName, "tag is forbidden");
60
- return true;
61
- }
62
- if (valTesters.includes("*")) {
63
- if (verbose === true) console.warn(attributeName, "attribute on", tagName, "tag is forbidden");
64
- return true;
65
- }
66
- return valTesters.some((valTester) => {
67
- if (typeof valTester === "string" && attributeValue === valTester) {
68
- if (verbose === true) console.warn(attributeValue, "value for", attributeName, "attribute on", tagName, "tag is forbidden. Rule:", valTester);
69
- return true;
70
- }
71
- if (typeof valTester !== "string" && valTester.test(attributeValue)) {
72
- if (verbose === true) console.warn(attributeValue, "value for", attributeName, "attribute on", tagName, "tag is forbidden. Rule:", valTester);
73
- return true;
74
- }
75
- return false;
76
- });
77
- });
78
- if (isInForbidden) return false;
79
- const allTagsAllowedAttributes = allowedAttributes["*"] ?? [];
80
- const thisTagAllowedAttributes = allowedAttributes[normalizedTagName] ?? [];
81
- const mergedAllowedAttributes = [...allTagsAllowedAttributes, ...thisTagAllowedAttributes];
82
- let latestNotAllowedReason = [tagName, "has no allowed attributes"];
83
- const isInAllowed = mergedAllowedAttributes.some(({
84
- attributeName: nameTester,
85
- attributeValues: valTesters
86
- }) => {
87
- if (typeof nameTester === "string" && nameTester !== "*" && attributeName !== nameTester) {
88
- latestNotAllowedReason = [attributeName, "attribute on", tagName, "tag is not allowed"];
89
- return false;
90
- }
91
- if (typeof nameTester !== "string" && !nameTester.test(attributeName)) {
92
- latestNotAllowedReason = [attributeName, "attribute on", tagName, "tag is not allowed"];
93
- return false;
94
- }
95
- if (valTesters === void 0) return true;
96
- if (valTesters.includes("*")) return true;
97
- return valTesters.some((valTester) => {
98
- if (typeof valTester === "string" && attributeValue === valTester) return true;
99
- if (typeof valTester !== "string" && valTester.test(attributeValue)) return true;
100
- latestNotAllowedReason = [attributeValue, "value for", attributeName, "attribute on", tagName, "tag is not allowed"];
101
- return false;
102
- });
103
- });
104
- if (!isInAllowed) {
105
- if (verbose === true) console.warn(...latestNotAllowedReason);
106
- return false;
107
- }
108
- return true;
109
- });
110
- returnedAttributes.forEach(({ name, value }) => {
111
- returnedElement.setAttribute(name, value);
112
- });
113
- const sanitizedChildNodes = Array.from(childNodes).map((node) => {
114
- if (node.nodeType === Node.ELEMENT_NODE) return sanitizeElement(node, { ...options, depth: depth - 1 });
115
- else if (node.nodeType === Node.TEXT_NODE) return node;
116
- else if (options.keepComments === true && node.nodeType === Node.COMMENT_NODE) return node;
117
- return null;
118
- }).filter((elt) => elt !== null);
119
- returnedElement.replaceChildren(...sanitizedChildNodes);
120
- return returnedElement;
121
- }
122
- Sanitize2.sanitizeElement = sanitizeElement;
123
- })(Sanitize || (Sanitize = {}));
124
-
125
- export {
126
- Sanitize
127
- };
@@ -1,37 +0,0 @@
1
- import {
2
- Cast,
3
- Tree,
4
- Utils
5
- } from "./chunk-ECKOTCS4.js";
6
- import {
7
- Types
8
- } from "./chunk-XEQ2PBT2.js";
9
- import {
10
- SmartTags
11
- } from "./chunk-UT2J62LH.js";
12
- import {
13
- Serialize
14
- } from "./chunk-SXRWMH3U.js";
15
- import {
16
- Transformer
17
- } from "./chunk-BKO7GLC2.js";
18
- import {
19
- Method
20
- } from "./chunk-RW7VAKJW.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
- };
@@ -1,64 +0,0 @@
1
- import {
2
- Window
3
- } from "./chunk-RLJOYG64.js";
4
-
5
- // src/agnostic/html/hyper-json/serialize/index.ts
6
- var Serialize;
7
- ((Serialize2) => {
8
- function serialize(value) {
9
- const { Text, Element, NodeList } = Window.get();
10
- if (value === null) return { type: "null", value: null };
11
- if (typeof value === "boolean" || typeof value === "number" || typeof value === "string") return { type: typeof value, value };
12
- if (value instanceof Text) return { type: "text", value: value.textContent ?? "" };
13
- if (value instanceof Element) return { type: "text", value: value.outerHTML };
14
- if (value instanceof NodeList) return {
15
- type: "text",
16
- value: Array.from(value).map((e) => {
17
- if (e instanceof Text) return e.textContent;
18
- return e.outerHTML;
19
- }).join("")
20
- };
21
- if (Array.isArray(value)) return { type: "array", value: value.map(serialize) };
22
- if (typeof value === "function") return { type: "transformer", value };
23
- return {
24
- type: "record",
25
- value: Object.entries(value).reduce((reduced, [key, val]) => ({
26
- ...reduced,
27
- [key]: serialize(val)
28
- }), {})
29
- };
30
- }
31
- Serialize2.serialize = serialize;
32
- function deserialize(serialized) {
33
- const { document } = Window.get();
34
- if (serialized.type === "null") return null;
35
- if (serialized.type === "boolean") return serialized.value;
36
- if (serialized.type === "number") return serialized.value;
37
- if (serialized.type === "string") return serialized.value;
38
- if (serialized.type === "text") return document.createTextNode(serialized.value);
39
- if (serialized.type === "element") {
40
- const elt = document.createElement("div");
41
- elt.innerHTML = serialized.value;
42
- const firstChild = elt.firstElementChild;
43
- return firstChild ?? document.createElement("div");
44
- }
45
- if (serialized.type === "nodelist") {
46
- const elt = document.createElement("div");
47
- elt.innerHTML = serialized.value;
48
- return elt.childNodes;
49
- }
50
- if (serialized.type === "array") return serialized.value.map((val) => deserialize(val));
51
- if (serialized.type === "transformer") return serialized.value;
52
- return Object.entries(serialized.value).reduce((reduced, [key, serialized2]) => {
53
- return {
54
- ...reduced,
55
- [key]: deserialize(serialized2)
56
- };
57
- }, {});
58
- }
59
- Serialize2.deserialize = deserialize;
60
- })(Serialize || (Serialize = {}));
61
-
62
- export {
63
- Serialize
64
- };
@@ -1,13 +0,0 @@
1
- import {
2
- formatDate
3
- } from "./chunk-44XPTCIO.js";
4
-
5
- // src/agnostic/time/dates/index.ts
6
- var Dates;
7
- ((Dates2) => {
8
- Dates2.formatDate = formatDate;
9
- })(Dates || (Dates = {}));
10
-
11
- export {
12
- Dates
13
- };
@@ -1,31 +0,0 @@
1
- import {
2
- findDuplicates
3
- } from "./chunk-YS6WMSWC.js";
4
- import {
5
- isArrayOf
6
- } from "./chunk-6RGDWX4A.js";
7
- import {
8
- make
9
- } from "./chunk-RLAZR3NL.js";
10
- import {
11
- randomPick,
12
- randomPickMany
13
- } from "./chunk-WJMBLQRX.js";
14
- import {
15
- shuffle
16
- } from "./chunk-VJJIYJMY.js";
17
-
18
- // src/agnostic/arrays/index.tsx
19
- var Arrays;
20
- ((Arrays2) => {
21
- Arrays2.findDuplicates = findDuplicates;
22
- Arrays2.isArrayOf = isArrayOf;
23
- Arrays2.make = make;
24
- Arrays2.randomPick = randomPick;
25
- Arrays2.randomPickMany = randomPickMany;
26
- Arrays2.shuffle = shuffle;
27
- })(Arrays || (Arrays = {}));
28
-
29
- export {
30
- Arrays
31
- };
@@ -1,28 +0,0 @@
1
- import {
2
- Sanitize
3
- } from "./chunk-72U4TDEB.js";
4
- import {
5
- register
6
- } from "./chunk-SJLH36CH.js";
7
-
8
- // src/agnostic/html/string-to-nodes/index.ts
9
- function stringToNodes(dirtyStr, options) {
10
- const actualDocument = options?.documentObj ?? window.document;
11
- if (actualDocument === null) throw register.getError("no-window-document-on-runtime-please-provide" /* NO_DOCUMENT_PLEASE_PROVIDE */, "See documentObj in the options object");
12
- const sanitizeOptions = {
13
- ...options?.sanitize,
14
- documentObj: options?.sanitize?.documentObj ?? options?.documentObj
15
- };
16
- const str = options?.sanitize !== void 0 ? Sanitize.sanitize(dirtyStr, sanitizeOptions) : dirtyStr;
17
- const wrapperDiv = actualDocument.createElement("div");
18
- wrapperDiv.innerHTML = str;
19
- const nodes = Array.from(wrapperDiv.childNodes).filter((node) => {
20
- const allowedNodeTypes = [Node.ELEMENT_NODE, Node.TEXT_NODE];
21
- return allowedNodeTypes.includes(node.nodeType);
22
- });
23
- return nodes;
24
- }
25
-
26
- export {
27
- stringToNodes
28
- };
@@ -1,31 +0,0 @@
1
- import {
2
- isArrayOf
3
- } from "./chunk-6RGDWX4A.js";
4
- import {
5
- findDuplicates
6
- } from "./chunk-YS6WMSWC.js";
7
- import {
8
- shuffle
9
- } from "./chunk-VJJIYJMY.js";
10
- import {
11
- randomPick,
12
- randomPickMany
13
- } from "./chunk-AQBJ6HNB.js";
14
- import {
15
- make
16
- } from "./chunk-RLAZR3NL.js";
17
-
18
- // src/agnostic/arrays/index.tsx
19
- var Arrays;
20
- ((Arrays2) => {
21
- Arrays2.findDuplicates = findDuplicates;
22
- Arrays2.isArrayOf = isArrayOf;
23
- Arrays2.make = make;
24
- Arrays2.randomPick = randomPick;
25
- Arrays2.randomPickMany = randomPickMany;
26
- Arrays2.shuffle = shuffle;
27
- })(Arrays || (Arrays = {}));
28
-
29
- export {
30
- Arrays
31
- };
package/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export { Agnostic } from './agnostic';
2
- export { Components } from './components';
3
- export { Node } from './node';
@@ -1,56 +0,0 @@
1
- import { Buffer } from 'node:buffer';
2
- import { Readable } from 'node:stream';
3
- import { Outcome } from '../../../agnostic/misc/outcome';
4
- import { EncryptDecryptOptions } from '../uint8-array';
5
- /**
6
- * Encrypts a `Buffer` by converting it to a `Uint8Array`, performing encryption, and then returning the result as a `Buffer`.
7
- *
8
- * @param {Buffer} inputBuffer - The input data to encrypt.
9
- * @param {string} encryptionKey - The encryption key to use.
10
- * @param {string} [algorithm='aes-256-gcm'] - The encryption algorithm to use. Defaults to 'aes-256-gcm'.
11
- * @param {EncryptDecryptOptions} [options] - Optional options.
12
- * @param {number} [options.ivLength=16] - The length of the initialization vector (IV). Defaults to 16 bytes.
13
- *
14
- * @returns {Outcome.Either<Buffer, string>} The result of the encryption. Success returns the encrypted data as a `Buffer` (with IV prepended), or failure returns an error message.
15
- */
16
- export declare function encrypt(inputBuffer: Buffer, encryptionKey: string, algorithm?: string, options?: EncryptDecryptOptions): Outcome.Either<Buffer, string>;
17
- /**
18
- * Encrypts a `Buffer` using streams and returns a `Readable` stream containing the encrypted data.
19
- * The `Readable` stream will emit encrypted data in chunks.
20
- *
21
- * @param {Buffer} inputBuffer - The input data to be encrypted.
22
- * @param {string} encryptionKey - The encryption key to use for encryption.
23
- * @param {string} [algorithm='aes-256-gcm'] - The encryption algorithm to use (default: 'aes-256-gcm').
24
- * @param {EncryptDecryptOptions} [options] - Optional parameters for encryption, such as `ivLength`.
25
- * @param {number} [options.ivLength=16] - The length of the initialization vector (IV) to use (default: 16).
26
- *
27
- * @returns {Outcome.Either<Readable, string>} - An `Outcome` containing either the `Readable` stream on success,
28
- * or an error message on failure.
29
- */
30
- export declare function encryptWithStream(inputBuffer: Buffer, encryptionKey: string, algorithm?: string, options?: EncryptDecryptOptions): Outcome.Either<Readable, string>;
31
- /**
32
- * Decrypts an encrypted `Buffer` by converting it to a `Uint8Array`, performing decryption, and then returning the result as a `Buffer`.
33
- *
34
- * @param {Buffer} encryptedBuffer - The encrypted data to decrypt.
35
- * @param {string} encryptionKey - The encryption key to use.
36
- * @param {string} [algorithm='aes-256-gcm'] - The encryption algorithm to use. Defaults to 'aes-256-gcm'.
37
- * @param {EncryptDecryptOptions} [options] - Optional options.
38
- * @param {number} [options.ivLength=16] - The length of the initialization vector (IV). Defaults to 16 bytes.
39
- *
40
- * @returns {Outcome.Either<Buffer, string>} The result of the decryption. Success returns the decrypted data as a `Buffer`, or failure returns an error message.
41
- */
42
- export declare function decrypt(encryptedBuffer: Buffer, encryptionKey: string, algorithm?: string, options?: EncryptDecryptOptions): Outcome.Either<Buffer, string>;
43
- /**
44
- * Decrypts an encrypted `Buffer` using streams and returns a `Readable` stream containing the decrypted data.
45
- * The `Readable` stream will emit decrypted data in chunks.
46
- *
47
- * @param {Buffer} encryptedBuffer - The encrypted data to be decrypted. The first `ivLength` bytes are treated as the initialization vector (IV).
48
- * @param {string} encryptionKey - The encryption key to use for decryption.
49
- * @param {string} [algorithm='aes-256-gcm'] - The decryption algorithm to use (default: 'aes-256-gcm').
50
- * @param {EncryptDecryptOptions} [options] - Optional parameters for decryption, such as `ivLength`.
51
- * @param {number} [options.ivLength=16] - The length of the initialization vector (IV) to use (default: 16).
52
- *
53
- * @returns {Outcome.Either<Readable, string>} - An `Outcome` containing either the `Readable` stream on success,
54
- * or an error message on failure.
55
- */
56
- export declare function decryptWithStream(encryptedBuffer: Buffer, encryptionKey: string, algorithm?: string, options?: EncryptDecryptOptions): Outcome.Either<Readable, string>;
@@ -1,16 +0,0 @@
1
- import {
2
- decrypt,
3
- decryptWithStream,
4
- encrypt,
5
- encryptWithStream
6
- } from "../../../chunks/chunk-MUZGZ3ZF.js";
7
- import "../../../chunks/chunk-IJ7SOXLA.js";
8
- import "../../../chunks/chunk-JMU5PDBD.js";
9
- import "../../../chunks/chunk-FENXVJYO.js";
10
- import "../../../chunks/chunk-WSFCRVEQ.js";
11
- export {
12
- decrypt,
13
- decryptWithStream,
14
- encrypt,
15
- encryptWithStream
16
- };
@@ -1,16 +0,0 @@
1
- export type GenerateEncryptionKeyOptions = {
2
- saltLength?: number;
3
- iterations?: number;
4
- };
5
- /**
6
- * Generates an encryption key from a passphrase using PBKDF2.
7
- *
8
- * @param {string} passphrase - The passphrase to derive the key from.
9
- * @param {number} outputByteLength - The length of the output encryption key in bytes.
10
- * @param {GenerateEncryptionKeyOptions} [options] - Optional options.
11
- * @param {number} [options.saltLength=16] - The length of the salt in bytes. Defaults to 16 bytes.
12
- * @param {number} [options.iterations=100000] - The number of PBKDF2 iterations. Defaults to 100,000 iterations.
13
- *
14
- * @returns {string} The derived encryption key and salt, concatenated as a string in the format `salt:encryptionKey`.
15
- */
16
- export declare function generateEncryptionKey(passphrase: string, outputByteLength: number, options?: GenerateEncryptionKeyOptions): string;
@@ -1,7 +0,0 @@
1
- import {
2
- generateEncryptionKey
3
- } from "../../../chunks/chunk-GNZY3ZTH.js";
4
- import "../../../chunks/chunk-WSFCRVEQ.js";
5
- export {
6
- generateEncryptionKey
7
- };