@mxfb/tools 0.3.0 → 1.0.2

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 (255) hide show
  1. package/TODO.md +1 -0
  2. package/agnostic/@publisher/index.d.ts +47 -0
  3. package/agnostic/@publisher/index.js +361 -0
  4. package/agnostic/elo/index.d.ts +23 -0
  5. package/agnostic/elo/index.js +28 -0
  6. package/agnostic/elo/index.test.d.ts +1 -0
  7. package/agnostic/elo/index.test.js +67 -0
  8. package/agnostic/index.d.ts +5 -4
  9. package/agnostic/index.js +5 -0
  10. package/agnostic/poetry/generate-rhymes/index.d.ts +1 -0
  11. package/agnostic/poetry/generate-rhymes/index.js +125 -0
  12. package/agnostic/poetry/index.d.ts +1 -0
  13. package/agnostic/poetry/index.js +1 -0
  14. package/agnostic/scrapers/@meteociel/index.d.ts +36 -0
  15. package/agnostic/scrapers/@meteociel/index.js +248 -0
  16. package/agnostic/scrapers/@meteociel/index.test.d.ts +1 -0
  17. package/agnostic/scrapers/@meteociel/index.test.js +43 -0
  18. package/agnostic/scrapers/@meteociel/locations/index.d.ts +11 -0
  19. package/agnostic/scrapers/@meteociel/locations/index.js +10 -0
  20. package/agnostic/scrapers/@meteociel/types.d.ts +1 -0
  21. package/agnostic/scrapers/@meteociel/types.js +1 -0
  22. package/agnostic/scrapers/@tumblr/blogs/delabienbonnemusique/index.d.ts +22 -0
  23. package/agnostic/scrapers/@tumblr/blogs/delabienbonnemusique/index.js +124 -0
  24. package/agnostic/scrapers/@tumblr/blogs/delabienbonnemusique/index.test.d.ts +1 -0
  25. package/agnostic/scrapers/@tumblr/blogs/delabienbonnemusique/index.test.js +107 -0
  26. package/agnostic/scrapers/@tumblr/blogs/index.d.ts +8 -0
  27. package/agnostic/scrapers/@tumblr/blogs/index.js +23 -0
  28. package/agnostic/scrapers/@tumblr/index.d.ts +73 -0
  29. package/agnostic/scrapers/@tumblr/index.js +180 -0
  30. package/agnostic/scrapers/@tumblr/index.test.d.ts +1 -0
  31. package/agnostic/scrapers/@tumblr/index.test.js +319 -0
  32. package/agnostic/scrapers/@tumblr/types.d.ts +238 -0
  33. package/agnostic/scrapers/@tumblr/types.js +38 -0
  34. package/agnostic/scrapers/@tumblr/utils.d.ts +12 -0
  35. package/agnostic/scrapers/@tumblr/utils.js +407 -0
  36. package/agnostic/scrapers/index.d.ts +2 -0
  37. package/agnostic/scrapers/index.js +2 -0
  38. package/agnostic/weather/index.d.ts +1 -0
  39. package/agnostic/weather/index.js +1 -0
  40. package/agnostic/weather/types.d.ts +181 -0
  41. package/agnostic/weather/types.js +8 -0
  42. package/components/index.d.ts +1 -1
  43. package/components/index.js +1 -0
  44. package/components/public-classnames.d.ts +5 -0
  45. package/components/public-classnames.js +5 -0
  46. package/components/utils/index.d.ts +1 -0
  47. package/components/utils/index.js +12 -0
  48. package/components/utils/types.d.ts +3 -0
  49. package/components/utils/types.js +1 -0
  50. package/index.d.ts +3 -3
  51. package/index.js +3 -0
  52. package/node/headless-browser/index.d.ts +37 -0
  53. package/node/headless-browser/index.js +126 -0
  54. package/node/headless-browser/types.d.ts +47 -0
  55. package/node/headless-browser/types.js +5 -0
  56. package/node/index.d.ts +1 -2
  57. package/node/index.js +1 -0
  58. package/node/index.test.d.ts +1 -0
  59. package/node/index.test.js +6 -0
  60. package/node/scrapers/@tumblr/index.d.ts +61 -0
  61. package/node/scrapers/@tumblr/index.js +182 -0
  62. package/node/scrapers/@tumblr/index.test.d.ts +1 -0
  63. package/node/scrapers/@tumblr/index.test.js +185 -0
  64. package/node/scrapers/@tumblr/types.d.ts +91 -0
  65. package/node/scrapers/@tumblr/types.js +1 -0
  66. package/node/scrapers/@tumblr/utils.d.ts +23 -0
  67. package/node/scrapers/@tumblr/utils.js +328 -0
  68. package/node/scrapers/index.d.ts +1 -0
  69. package/node/scrapers/index.js +1 -0
  70. package/package.json +211 -14
  71. package/agnostic/_WIP_tennis/index.d.ts +0 -2
  72. package/agnostic/_WIP_tennis/index.js +0 -62
  73. package/agnostic/arrays/index.d.ts +0 -11
  74. package/agnostic/arrays/is-array-of/index.d.ts +0 -5
  75. package/agnostic/arrays/is-array-of/index.js +0 -23
  76. package/agnostic/async/index.d.ts +0 -8
  77. package/agnostic/async/index.js +0 -20
  78. package/agnostic/async/timeout-call/index.d.ts +0 -1
  79. package/agnostic/async/timeout-call/index.js +0 -6
  80. package/agnostic/async/transitions/index.d.ts +0 -41
  81. package/agnostic/async/transitions/index.js +0 -7
  82. package/agnostic/async/wait/index.d.ts +0 -1
  83. package/agnostic/async/wait/index.js +0 -6
  84. package/agnostic/booleans/index.d.ts +0 -8
  85. package/agnostic/booleans/index.js +0 -17
  86. package/agnostic/booleans/is-falsy/index.d.ts +0 -7
  87. package/agnostic/booleans/is-falsy/index.js +0 -11
  88. package/agnostic/css/bem/BEM.d.ts +0 -29
  89. package/agnostic/css/bem/getNamesArr.d.ts +0 -2
  90. package/agnostic/css/bem/index.d.ts +0 -7
  91. package/agnostic/css/bem/index.js +0 -9
  92. package/agnostic/css/generate-nice-color/index.d.ts +0 -2
  93. package/agnostic/css/generate-nice-color/index.js +0 -8
  94. package/agnostic/css/index.d.ts +0 -14
  95. package/agnostic/css/index.js +0 -177
  96. package/agnostic/css/is-valid-css-class-name/index.d.ts +0 -2
  97. package/agnostic/css/is-valid-css-class-name/index.js +0 -8
  98. package/agnostic/css/styles-set/index.d.ts +0 -37
  99. package/agnostic/errors/index.d.ts +0 -30
  100. package/agnostic/errors/index.js +0 -6
  101. package/agnostic/html/get-node-ancestors/index.d.ts +0 -1
  102. package/agnostic/html/get-node-ancestors/index.js +0 -6
  103. package/agnostic/html/get-position-inside-parent/index.d.ts +0 -1
  104. package/agnostic/html/get-position-inside-parent/index.js +0 -6
  105. package/agnostic/html/index.d.ts +0 -17
  106. package/agnostic/html/index.js +0 -39
  107. package/agnostic/html/insert-node/index.d.ts +0 -2
  108. package/agnostic/html/insert-node/index.js +0 -6
  109. package/agnostic/html/placeholders/index.d.ts +0 -9
  110. package/agnostic/html/placeholders/index.js +0 -6
  111. package/agnostic/html/sanitize/index.d.ts +0 -24
  112. package/agnostic/html/sanitize/index.js +0 -9
  113. package/agnostic/html/selector-to-element/index.d.ts +0 -1
  114. package/agnostic/html/selector-to-element/index.js +0 -9
  115. package/agnostic/html/string-to-nodes/index.d.ts +0 -7
  116. package/agnostic/html/string-to-nodes/index.js +0 -10
  117. package/agnostic/misc/assert/index.d.ts +0 -5
  118. package/agnostic/misc/assert/index.js +0 -6
  119. package/agnostic/misc/cast/index.d.ts +0 -9
  120. package/agnostic/misc/cast/index.js +0 -8
  121. package/agnostic/misc/crossenv/index.d.ts +0 -13
  122. package/agnostic/misc/crossenv/index.js +0 -6
  123. package/agnostic/misc/elo/index.d.ts +0 -31
  124. package/agnostic/misc/elo/index.js +0 -6
  125. package/agnostic/misc/get-current-downlink/index.d.ts +0 -1
  126. package/agnostic/misc/get-current-downlink/index.js +0 -6
  127. package/agnostic/misc/index.d.ts +0 -6
  128. package/agnostic/misc/index.js +0 -16
  129. package/agnostic/misc/is-constructor-function/index.d.ts +0 -2
  130. package/agnostic/misc/is-constructor-function/index.js +0 -6
  131. package/agnostic/misc/is-nullish/index.d.ts +0 -4
  132. package/agnostic/misc/is-nullish/index.js +0 -10
  133. package/agnostic/misc/logs/index.d.ts +0 -55
  134. package/agnostic/misc/logs/index.js +0 -6
  135. package/agnostic/misc/random/index.d.ts +0 -10
  136. package/agnostic/misc/random/index.js +0 -6
  137. package/agnostic/misc/tennis/index.d.ts +0 -60
  138. package/agnostic/misc/tennis/index.js +0 -6
  139. package/agnostic/numbers/absolute-modulo/index.d.ts +0 -1
  140. package/agnostic/numbers/absolute-modulo/index.js +0 -6
  141. package/agnostic/numbers/clamp/index.d.ts +0 -1
  142. package/agnostic/numbers/clamp/index.js +0 -6
  143. package/agnostic/numbers/index.d.ts +0 -13
  144. package/agnostic/numbers/index.js +0 -30
  145. package/agnostic/numbers/interpolate/index.d.ts +0 -1
  146. package/agnostic/numbers/interpolate/index.js +0 -6
  147. package/agnostic/numbers/responsive-harmonics/index.d.ts +0 -10
  148. package/agnostic/numbers/responsive-harmonics/index.js +0 -9
  149. package/agnostic/numbers/round/index.d.ts +0 -1
  150. package/agnostic/numbers/round/index.js +0 -6
  151. package/agnostic/objects/enums/index.d.ts +0 -4
  152. package/agnostic/objects/enums/index.js +0 -7
  153. package/agnostic/objects/enums/is-in-enum/index.d.ts +0 -1
  154. package/agnostic/objects/enums/is-in-enum/index.js +0 -6
  155. package/agnostic/objects/flatten-getters/index.d.ts +0 -1
  156. package/agnostic/objects/flatten-getters/index.js +0 -9
  157. package/agnostic/objects/index.d.ts +0 -12
  158. package/agnostic/objects/index.js +0 -32
  159. package/agnostic/objects/is-object/index.d.ts +0 -1
  160. package/agnostic/objects/is-object/index.js +0 -6
  161. package/agnostic/objects/is-record/index.d.ts +0 -1
  162. package/agnostic/objects/is-record/index.js +0 -6
  163. package/agnostic/objects/record-format/index.d.ts +0 -11
  164. package/agnostic/objects/record-format/index.js +0 -16
  165. package/agnostic/objects/validation/index.d.ts +0 -3
  166. package/agnostic/objects/validation/index.js +0 -6
  167. package/agnostic/optim/index.d.ts +0 -7
  168. package/agnostic/optim/index.js +0 -18
  169. package/agnostic/optim/memoize/index.d.ts +0 -3
  170. package/agnostic/optim/memoize/index.js +0 -6
  171. package/agnostic/optim/throttle-debounce/index.d.ts +0 -30
  172. package/agnostic/optim/throttle-debounce/index.js +0 -8
  173. package/agnostic/optim/throttle-debounce/types.d.ts +0 -2
  174. package/agnostic/regexps/index.d.ts +0 -23
  175. package/agnostic/regexps/index.js +0 -89
  176. package/agnostic/strings/char-codes/index.d.ts +0 -17
  177. package/agnostic/strings/char-codes/index.js +0 -6
  178. package/agnostic/strings/index.d.ts +0 -14
  179. package/agnostic/strings/index.js +0 -32
  180. package/agnostic/strings/matches/index.d.ts +0 -3
  181. package/agnostic/strings/matches/index.js +0 -10
  182. package/agnostic/strings/normalize-indent/index.d.ts +0 -1
  183. package/agnostic/strings/normalize-indent/index.js +0 -6
  184. package/agnostic/strings/replace-all/index.d.ts +0 -1
  185. package/agnostic/strings/replace-all/index.js +0 -6
  186. package/agnostic/strings/to-alphanum/index.d.ts +0 -1
  187. package/agnostic/strings/to-alphanum/index.js +0 -6
  188. package/chunks/chunk-32IRF4OP.js +0 -9
  189. package/chunks/chunk-34U4HX4V.js +0 -73
  190. package/chunks/chunk-4GDNHUCZ.js +0 -162
  191. package/chunks/chunk-4QQBKBYH.js +0 -59
  192. package/chunks/chunk-4VC5PT5T.js +0 -13
  193. package/chunks/chunk-5LNUCDQ6.js +0 -132
  194. package/chunks/chunk-7AWTHZLY.js +0 -12
  195. package/chunks/chunk-7DBNMU6N.js +0 -14
  196. package/chunks/chunk-COVPTTAD.js +0 -10
  197. package/chunks/chunk-DNIOWD7K.js +0 -8
  198. package/chunks/chunk-DQNJQBC6.js +0 -10
  199. package/chunks/chunk-E6MSDKON.js +0 -13
  200. package/chunks/chunk-EDVNAV3G.js +0 -72
  201. package/chunks/chunk-EW46EXFB.js +0 -8
  202. package/chunks/chunk-FPEW3A27.js +0 -14
  203. package/chunks/chunk-GJOU3UAL.js +0 -36
  204. package/chunks/chunk-HC6ZOHCS.js +0 -14
  205. package/chunks/chunk-HGCG2J77.js +0 -122
  206. package/chunks/chunk-IFD7GSGK.js +0 -130
  207. package/chunks/chunk-JQXNEJAP.js +0 -18
  208. package/chunks/chunk-JWBDZPQG.js +0 -18
  209. package/chunks/chunk-K37RALUX.js +0 -8
  210. package/chunks/chunk-KIONYWA7.js +0 -168
  211. package/chunks/chunk-KQT5CTGF.js +0 -21
  212. package/chunks/chunk-LEXQ6E6L.js +0 -31
  213. package/chunks/chunk-LQFKUNVQ.js +0 -19
  214. package/chunks/chunk-MF56TTC5.js +0 -15
  215. package/chunks/chunk-MT74WIQR.js +0 -41
  216. package/chunks/chunk-NRITRUZW.js +0 -10
  217. package/chunks/chunk-NRJQKVQV.js +0 -31
  218. package/chunks/chunk-OSAXBA7G.js +0 -10
  219. package/chunks/chunk-PO3V3I57.js +0 -23
  220. package/chunks/chunk-QXAJXTXV.js +0 -19
  221. package/chunks/chunk-RCO57B6F.js +0 -9
  222. package/chunks/chunk-SQZGZ3VT.js +0 -15
  223. package/chunks/chunk-TTZHPIH7.js +0 -237
  224. package/chunks/chunk-UYTXXUU7.js +0 -54
  225. package/chunks/chunk-VTPRO4NJ.js +0 -10
  226. package/chunks/chunk-VYW4IADX.js +0 -35
  227. package/chunks/chunk-VZDUZTW6.js +0 -113
  228. package/chunks/chunk-W5A2TON3.js +0 -10
  229. package/chunks/chunk-W7YBGJ4H.js +0 -28
  230. package/chunks/chunk-WLL3FNVL.js +0 -40
  231. package/chunks/chunk-WOAYU6LB.js +0 -13
  232. package/chunks/chunk-XA4HVHJ4.js +0 -18
  233. package/chunks/chunk-XN3PZIVL.js +0 -38
  234. package/chunks/chunk-Y3OZHZUF.js +0 -237
  235. package/chunks/chunk-YDIBNEGA.js +0 -9
  236. package/chunks/chunk-ZC5RZBNY.js +0 -33
  237. package/components/Comp/index.d.ts +0 -1
  238. package/node/files/index.d.ts +0 -9
  239. package/node/files/index.js +0 -21
  240. package/node/files/is-in-directory/index.d.ts +0 -1
  241. package/node/files/is-in-directory/index.js +0 -6
  242. package/node/files/read-write/index.d.ts +0 -9
  243. package/node/files/read-write/index.js +0 -6
  244. package/node/files/subpaths/index.d.ts +0 -34
  245. package/node/files/subpaths/index.js +0 -7
  246. package/node/image/index.d.ts +0 -9
  247. package/node/image/index.js +0 -74
  248. package/node/mxfb-cli-config/index.d.ts +0 -19
  249. package/node/mxfb-cli-config/index.js +0 -113
  250. package/node/process/index.d.ts +0 -8
  251. package/node/process/index.js +0 -20
  252. package/node/process/on-exit/index.d.ts +0 -5
  253. package/node/process/on-exit/index.js +0 -14
  254. package/shared/errors/index.d.ts +0 -138
  255. package/shared/index.d.ts +0 -0
package/package.json CHANGED
@@ -1,33 +1,230 @@
1
1
  {
2
2
  "name": "@mxfb/tools",
3
- "version": "0.3.0",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/mxfb/tools"
9
+ "url": "https://github.com/maximefabas/mf-tools"
10
10
  },
11
11
  "type": "module",
12
12
  "main": "index.js",
13
13
  "module": "index.js",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./index.js",
17
+ "types": "./index.d.ts"
18
+ },
19
+ "./agnostic": {
20
+ "import": "./agnostic/index.js",
21
+ "types": "./agnostic/index.d.ts"
22
+ },
23
+ "./agnostic/@publisher": {
24
+ "import": "./agnostic/@publisher/index.js",
25
+ "types": "./agnostic/@publisher/index.d.ts"
26
+ },
27
+ "./agnostic/@publisher/index.js": {
28
+ "import": "./agnostic/@publisher/index.js"
29
+ },
30
+ "./agnostic/elo": {
31
+ "import": "./agnostic/elo/index.js",
32
+ "types": "./agnostic/elo/index.d.ts"
33
+ },
34
+ "./agnostic/elo/index.js": {
35
+ "import": "./agnostic/elo/index.js"
36
+ },
37
+ "./agnostic/index.js": {
38
+ "import": "./agnostic/index.js"
39
+ },
40
+ "./agnostic/poetry": {
41
+ "import": "./agnostic/poetry/index.js",
42
+ "types": "./agnostic/poetry/index.d.ts"
43
+ },
44
+ "./agnostic/poetry/generate-rhymes": {
45
+ "import": "./agnostic/poetry/generate-rhymes/index.js",
46
+ "types": "./agnostic/poetry/generate-rhymes/index.d.ts"
47
+ },
48
+ "./agnostic/poetry/generate-rhymes/index.js": {
49
+ "import": "./agnostic/poetry/generate-rhymes/index.js"
50
+ },
51
+ "./agnostic/poetry/index.js": {
52
+ "import": "./agnostic/poetry/index.js"
53
+ },
54
+ "./agnostic/scrapers": {
55
+ "import": "./agnostic/scrapers/index.js",
56
+ "types": "./agnostic/scrapers/index.d.ts"
57
+ },
58
+ "./agnostic/scrapers/@meteociel": {
59
+ "import": "./agnostic/scrapers/@meteociel/index.js",
60
+ "types": "./agnostic/scrapers/@meteociel/index.d.ts"
61
+ },
62
+ "./agnostic/scrapers/@meteociel/index.js": {
63
+ "import": "./agnostic/scrapers/@meteociel/index.js"
64
+ },
65
+ "./agnostic/scrapers/@meteociel/locations": {
66
+ "import": "./agnostic/scrapers/@meteociel/locations/index.js",
67
+ "types": "./agnostic/scrapers/@meteociel/locations/index.d.ts"
68
+ },
69
+ "./agnostic/scrapers/@meteociel/locations/index.js": {
70
+ "import": "./agnostic/scrapers/@meteociel/locations/index.js"
71
+ },
72
+ "./agnostic/scrapers/@meteociel/types.js": {
73
+ "import": "./agnostic/scrapers/@meteociel/types.js",
74
+ "types": "./agnostic/scrapers/@meteociel/types.d.ts"
75
+ },
76
+ "./agnostic/scrapers/@tumblr": {
77
+ "import": "./agnostic/scrapers/@tumblr/index.js",
78
+ "types": "./agnostic/scrapers/@tumblr/index.d.ts"
79
+ },
80
+ "./agnostic/scrapers/@tumblr/blogs": {
81
+ "import": "./agnostic/scrapers/@tumblr/blogs/index.js",
82
+ "types": "./agnostic/scrapers/@tumblr/blogs/index.d.ts"
83
+ },
84
+ "./agnostic/scrapers/@tumblr/blogs/delabienbonnemusique": {
85
+ "import": "./agnostic/scrapers/@tumblr/blogs/delabienbonnemusique/index.js",
86
+ "types": "./agnostic/scrapers/@tumblr/blogs/delabienbonnemusique/index.d.ts"
87
+ },
88
+ "./agnostic/scrapers/@tumblr/blogs/delabienbonnemusique/index.js": {
89
+ "import": "./agnostic/scrapers/@tumblr/blogs/delabienbonnemusique/index.js"
90
+ },
91
+ "./agnostic/scrapers/@tumblr/blogs/index.js": {
92
+ "import": "./agnostic/scrapers/@tumblr/blogs/index.js"
93
+ },
94
+ "./agnostic/scrapers/@tumblr/index.js": {
95
+ "import": "./agnostic/scrapers/@tumblr/index.js"
96
+ },
97
+ "./agnostic/scrapers/@tumblr/types.js": {
98
+ "import": "./agnostic/scrapers/@tumblr/types.js",
99
+ "types": "./agnostic/scrapers/@tumblr/types.d.ts"
100
+ },
101
+ "./agnostic/scrapers/index.js": {
102
+ "import": "./agnostic/scrapers/index.js"
103
+ },
104
+ "./agnostic/weather": {
105
+ "import": "./agnostic/weather/index.js",
106
+ "types": "./agnostic/weather/index.d.ts"
107
+ },
108
+ "./agnostic/weather/index.js": {
109
+ "import": "./agnostic/weather/index.js"
110
+ },
111
+ "./agnostic/weather/types.js": {
112
+ "import": "./agnostic/weather/types.js",
113
+ "types": "./agnostic/weather/types.d.ts"
114
+ },
115
+ "./components": {
116
+ "import": "./components/index.js",
117
+ "types": "./components/index.d.ts"
118
+ },
119
+ "./components/index.js": {
120
+ "import": "./components/index.js"
121
+ },
122
+ "./components/utils": {
123
+ "import": "./components/utils/index.js",
124
+ "types": "./components/utils/index.d.ts"
125
+ },
126
+ "./components/utils/index.js": {
127
+ "import": "./components/utils/index.js"
128
+ },
129
+ "./components/utils/types.js": {
130
+ "import": "./components/utils/types.js",
131
+ "types": "./components/utils/types.d.ts"
132
+ },
133
+ "./index.js": {
134
+ "import": "./index.js"
135
+ },
136
+ "./node": {
137
+ "import": "./node/index.js",
138
+ "types": "./node/index.d.ts"
139
+ },
140
+ "./node/headless-browser": {
141
+ "import": "./node/headless-browser/index.js",
142
+ "types": "./node/headless-browser/index.d.ts"
143
+ },
144
+ "./node/headless-browser/index.js": {
145
+ "import": "./node/headless-browser/index.js"
146
+ },
147
+ "./node/headless-browser/types.js": {
148
+ "import": "./node/headless-browser/types.js",
149
+ "types": "./node/headless-browser/types.d.ts"
150
+ },
151
+ "./node/index.js": {
152
+ "import": "./node/index.js"
153
+ },
154
+ "./node/scrapers": {
155
+ "import": "./node/scrapers/index.js",
156
+ "types": "./node/scrapers/index.d.ts"
157
+ },
158
+ "./node/scrapers/@tumblr": {
159
+ "import": "./node/scrapers/@tumblr/index.js",
160
+ "types": "./node/scrapers/@tumblr/index.d.ts"
161
+ },
162
+ "./node/scrapers/@tumblr/index.js": {
163
+ "import": "./node/scrapers/@tumblr/index.js"
164
+ },
165
+ "./node/scrapers/@tumblr/types.js": {
166
+ "import": "./node/scrapers/@tumblr/types.js",
167
+ "types": "./node/scrapers/@tumblr/types.d.ts"
168
+ },
169
+ "./node/scrapers/index.js": {
170
+ "import": "./node/scrapers/index.js"
171
+ }
172
+ },
14
173
  "dependencies": {
15
- "@design-edito/tools": "^0.2.0",
16
- "react": "^19.1.1",
17
- "react-dom": "^19.1.1"
174
+ "@aws-sdk/client-s3": "^3.999.0",
175
+ "@aws-sdk/lib-storage": "^3.1008.0",
176
+ "@design-edito/publisher": "^0.1.17",
177
+ "@design-edito/tools": "^0.5.38",
178
+ "@google-cloud/storage": "^7.19.0",
179
+ "@inquirer/prompts": "^8.3.0",
180
+ "ansi-regex": "^6.2.2",
181
+ "archiver": "^7.0.1",
182
+ "basic-ftp": "^5.1.0",
183
+ "chalk": "^5.6.2",
184
+ "express": "^5.2.1",
185
+ "multer": "^2.0.0",
186
+ "preact-render-to-string": "^6.6.6",
187
+ "quantize": "^1.0.2",
188
+ "react": "^19.2.4",
189
+ "react-dom": "^19.2.4",
190
+ "sharp": "^0.34.5",
191
+ "ssh2": "^1.17.0",
192
+ "ssh2-sftp-client": "^12.1.0",
193
+ "xss": "^1.0.15",
194
+ "zod": "^4.3.6"
18
195
  },
19
196
  "devDependencies": {
20
- "@types/node": "^24.2.1",
197
+ "@preact/preset-vite": "^2.10.3",
198
+ "@testing-library/jest-dom": "^6.9.1",
199
+ "@testing-library/preact": "^3.2.4",
200
+ "@testing-library/react": "^16.3.2",
201
+ "@types/archiver": "^7.0.0",
202
+ "@types/express": "^5.0.6",
203
+ "@types/jsdom": "^28.0.0",
204
+ "@types/multer": "^2.1.0",
205
+ "@types/node": "^25.5.0",
21
206
  "@types/prompts": "^2.4.9",
22
- "@types/semver": "^7.7.0",
23
- "chalk": "^5.5.0",
207
+ "@types/quantize": "^1.0.2",
208
+ "@types/react": "^19.2.14",
209
+ "@types/react-dom": "^19.2.3",
210
+ "@types/semver": "^7.7.1",
211
+ "@types/sharp": "^0.31.1",
212
+ "@types/ssh2-sftp-client": "^9.0.6",
213
+ "@vitejs/plugin-react": "^5.1.3",
214
+ "change-case": "^5.4.4",
24
215
  "chokidar-cli": "^3.0.0",
25
- "concurrently": "^9.1.2",
26
- "esbuild": "^0.25.8",
216
+ "concurrently": "^9.2.1",
217
+ "esbuild": "^0.27.4",
218
+ "eslint": "^9.39.5",
219
+ "eslint-config-love": "^154.1.0",
220
+ "globals": "^17.11.0",
221
+ "jsdom": "^28.1.0",
27
222
  "prompts": "^2.4.2",
28
- "puppeteer": "^24.16.1",
29
- "semver": "^7.7.2",
30
- "simple-git": "^3.28.0",
31
- "typescript": "^5.9.2"
223
+ "puppeteer": "^24.39.0",
224
+ "semver": "^7.7.4",
225
+ "simple-git": "^3.33.0",
226
+ "typescript": "^5.3.3",
227
+ "vite": "^6.4.1",
228
+ "vitest": "^4.1.0"
32
229
  }
33
230
  }
@@ -1,2 +0,0 @@
1
- export declare namespace Tennis {
2
- }
@@ -1,62 +0,0 @@
1
- // src/agnostic/_WIP_tennis/index.ts
2
- var Tennis;
3
- ((Tennis2) => {
4
- function getGameScore(game) {
5
- const score = [0, 0];
6
- game.forEach((point) => {
7
- if (score.includes(5)) return;
8
- const winnerPos = point ? 0 : 1;
9
- const loserPos = point ? 1 : 0;
10
- const winnerCurrScore = score[winnerPos];
11
- const loserCurrScore = score[loserPos];
12
- if (loserCurrScore === 5 || winnerCurrScore === 5) return;
13
- if (loserCurrScore === 4 && winnerCurrScore === 3) {
14
- score[loserPos] = 3;
15
- return;
16
- }
17
- if (loserCurrScore === 3 && winnerCurrScore === 4) {
18
- score[winnerPos] = 5;
19
- return;
20
- }
21
- if (winnerCurrScore === 3) {
22
- score[winnerPos] = 5;
23
- return;
24
- }
25
- score[winnerPos]++;
26
- return;
27
- });
28
- return score;
29
- }
30
- function getGameWinner(gameScore) {
31
- const [scoreA, scoreB] = gameScore;
32
- if (scoreA === 5) return true;
33
- if (scoreB === 5) return false;
34
- return null;
35
- }
36
- function getSetScore(set) {
37
- const score = [0, 0];
38
- let foundUnfinishedGame = false;
39
- set.forEach((game) => {
40
- if (foundUnfinishedGame) return;
41
- if (score.includes(7)) return;
42
- const [scoreA, scoreB] = score;
43
- if (scoreA >= 6 && scoreB < 5) return;
44
- if (scoreB <= 6 && scoreA < 5) return;
45
- const gameScore = getGameScore(game);
46
- const gameWinner = getGameWinner(gameScore);
47
- if (gameWinner === true) {
48
- score[0]++;
49
- return;
50
- }
51
- if (gameWinner === false) {
52
- score[1]++;
53
- return;
54
- }
55
- foundUnfinishedGame = true;
56
- });
57
- return score;
58
- }
59
- })(Tennis || (Tennis = {}));
60
- export {
61
- Tennis
62
- };
@@ -1,11 +0,0 @@
1
- import { isArrayOf as isArrayOfFunc } from './is-array-of';
2
- export declare namespace Arrays {
3
- type Filler<T = any> = (pos?: number) => T;
4
- export function make<T>(filler: Filler<T>, length: number): T[];
5
- export function findDuplicates<T>(arr: T[], stopAtFirst?: boolean): T[];
6
- export const randomPickErrorSybol: unique symbol;
7
- export type RandomPickErrorSymbol = typeof randomPickErrorSybol;
8
- export function randomPick<T>(arr: T[], exclude?: T[]): T | RandomPickErrorSymbol;
9
- export const isArrayOf: typeof isArrayOfFunc;
10
- export {};
11
- }
@@ -1,5 +0,0 @@
1
- import { ConstructorFunction } from '~/agnostic/misc/is-constructor-function';
2
- type TypeCheckerFunction = (input: unknown) => boolean;
3
- type TypeChecker = ConstructorFunction | TypeCheckerFunction;
4
- export declare function isArrayOf<T extends unknown = unknown>(input: unknown, _types?: TypeChecker | TypeChecker[]): input is T[];
5
- export {};
@@ -1,23 +0,0 @@
1
- import {
2
- isConstructorFunction
3
- } from "../../../chunks/chunk-RCO57B6F.js";
4
-
5
- // src/agnostic/arrays/is-array-of/index.ts
6
- function isArrayOf(input, _types = []) {
7
- if (!Array.isArray(input)) return false;
8
- const types = Array.isArray(_types) ? _types : [_types];
9
- if (types.length === 0) return true;
10
- return input.every((entry) => {
11
- return types.some((typeChecker) => {
12
- const isConstructor = isConstructorFunction(typeChecker);
13
- if (!isConstructor) return typeChecker(entry);
14
- if (typeChecker === Number) return typeof entry === "number";
15
- if (typeChecker === String) return typeof entry === "string";
16
- if (typeChecker === Boolean) return typeof entry === "boolean";
17
- if (isConstructor) return entry instanceof typeChecker;
18
- });
19
- });
20
- }
21
- export {
22
- isArrayOf
23
- };
@@ -1,8 +0,0 @@
1
- import { timeoutCall as timeoutCallFunc } from './timeout-call';
2
- import { Transitions as TransitionsNamespace } from './transitions';
3
- import { wait as waitFunc } from './wait';
4
- export declare namespace Async {
5
- const timeoutCall: typeof timeoutCallFunc;
6
- export import Transitions = TransitionsNamespace;
7
- const wait: typeof waitFunc;
8
- }
@@ -1,20 +0,0 @@
1
- import {
2
- timeoutCall
3
- } from "../../chunks/chunk-4VC5PT5T.js";
4
- import {
5
- Transitions
6
- } from "../../chunks/chunk-4GDNHUCZ.js";
7
- import {
8
- wait
9
- } from "../../chunks/chunk-DQNJQBC6.js";
10
-
11
- // src/agnostic/async/index.ts
12
- var Async;
13
- ((Async2) => {
14
- Async2.timeoutCall = timeoutCall;
15
- Async2.Transitions = Transitions;
16
- Async2.wait = wait;
17
- })(Async || (Async = {}));
18
- export {
19
- Async
20
- };
@@ -1 +0,0 @@
1
- export declare function timeoutCall<T extends any>(callback: () => T, timeoutMs: number): Promise<unknown>;
@@ -1,6 +0,0 @@
1
- import {
2
- timeoutCall
3
- } from "../../../chunks/chunk-4VC5PT5T.js";
4
- export {
5
- timeoutCall
6
- };
@@ -1,41 +0,0 @@
1
- export declare namespace Transitions {
2
- type Callback = (val: number, timeMs: number) => void;
3
- enum Ease {
4
- LINEAR = "linear",
5
- EASE_IN_QUAD = "ease-in-quad",
6
- EASE_OUT_QUAD = "ease-out-quad",
7
- EASE_IN_OUT_QUAD = "ease-in-out-quad",
8
- EASE_IN_CUBIC = "ease-in-cubic",
9
- EASE_OUT_CUBIC = "ease-out-cubic",
10
- EASE_IN_OUT_CUBIC = "ease-in-out-cubic",
11
- EASE_IN_QUART = "ease-in-quart",
12
- EASE_OUT_QUART = "ease-out-quart",
13
- EASE_IN_OUT_QUART = "ease-in-out-quart",
14
- EASE_IN_QUINT = "ease-in-quint",
15
- EASE_OUT_QUINT = "ease-out-quint",
16
- EASE_IN_OUT_QUINT = "ease-in-out-quint",
17
- EASE_IN_SINE = "ease-in-sine",
18
- EASE_OUT_SINE = "ease-out-sine",
19
- EASE_IN_OUT_SINE = "ease-in-out-sine",
20
- EASE_IN_EXPO = "ease-in-expo",
21
- EASE_OUT_EXPO = "ease-out-expo",
22
- EASE_IN_OUT_EXPO = "ease-in-out-expo",
23
- EASE_IN_CIRC = "ease-in-circ",
24
- EASE_OUT_CIRC = "ease-out-circ",
25
- EASE_IN_OUT_CIRC = "ease-in-out-circ",
26
- EASE_IN_BACK = "ease-in-back",
27
- EASE_OUT_BACK = "ease-out-back",
28
- EASE_IN_OUT_BACK = "ease-in-out-back",
29
- EASE_IN_ELASTIC = "ease-in-elastic",
30
- EASE_OUT_ELASTIC = "ease-out-elastic",
31
- EASE_IN_OUT_ELASTIC = "ease-in-out-elastic",
32
- EASE_IN_BOUNCE = "ease-in-bounce",
33
- EASE_OUT_BOUNCE = "ease-out-bounce",
34
- EASE_IN_OUT_BOUNCE = "ease-in-out-bounce"
35
- }
36
- type EasingFunction = (progress: number) => number;
37
- type EasingDictionary = Record<string, EasingFunction>;
38
- function transition(to: number, durationMs: number, callbackOrEase: Ease | Callback, callback?: Callback): Promise<void>;
39
- const easingFunctions: EasingDictionary;
40
- const easings: Record<Ease, ((ratio: number) => number) | undefined>;
41
- }
@@ -1,7 +0,0 @@
1
- import {
2
- Transitions
3
- } from "../../../chunks/chunk-4GDNHUCZ.js";
4
- import "../../../chunks/chunk-DQNJQBC6.js";
5
- export {
6
- Transitions
7
- };
@@ -1 +0,0 @@
1
- export declare function wait(durationMs: number): Promise<unknown>;
@@ -1,6 +0,0 @@
1
- import {
2
- wait
3
- } from "../../../chunks/chunk-DQNJQBC6.js";
4
- export {
5
- wait
6
- };
@@ -1,8 +0,0 @@
1
- import { Falsy as FalsyType, NotFalsy as NotFalsyType, isFalsy as isFalsyFunc, isNotFalsy as isNotFalsyFunc } from './is-falsy';
2
- export declare namespace Booleans {
3
- type Falsy = FalsyType;
4
- type NotFalsy<T> = NotFalsyType<T>;
5
- const falsyValues: FalsyType[];
6
- const isFalsy: typeof isFalsyFunc;
7
- const isNotFalsy: typeof isNotFalsyFunc;
8
- }
@@ -1,17 +0,0 @@
1
- import {
2
- falsyValues,
3
- isFalsy,
4
- isNotFalsy
5
- } from "../../chunks/chunk-QXAJXTXV.js";
6
- import "../../chunks/chunk-HC6ZOHCS.js";
7
-
8
- // src/agnostic/booleans/index.ts
9
- var Booleans;
10
- ((Booleans2) => {
11
- Booleans2.falsyValues = falsyValues;
12
- Booleans2.isFalsy = isFalsy;
13
- Booleans2.isNotFalsy = isNotFalsy;
14
- })(Booleans || (Booleans = {}));
15
- export {
16
- Booleans
17
- };
@@ -1,7 +0,0 @@
1
- import { Nullish } from '~/agnostic/misc/is-nullish';
2
- export type Falsy = Nullish | false | '' | 0 | -0 | typeof NaN | 0n;
3
- export type NotFalsy<T> = Exclude<T, Exclude<Falsy, number>>;
4
- declare const falsyValues: Falsy[];
5
- export { falsyValues };
6
- export declare function isFalsy<T>(val: T | Falsy): val is Falsy;
7
- export declare function isNotFalsy<T>(val: T): val is NotFalsy<T>;
@@ -1,11 +0,0 @@
1
- import {
2
- falsyValues,
3
- isFalsy,
4
- isNotFalsy
5
- } from "../../../chunks/chunk-QXAJXTXV.js";
6
- import "../../../chunks/chunk-HC6ZOHCS.js";
7
- export {
8
- falsyValues,
9
- isFalsy,
10
- isNotFalsy
11
- };
@@ -1,29 +0,0 @@
1
- export interface Block {
2
- name: string;
3
- modifiers: string[];
4
- }
5
- declare class BEM {
6
- constructor();
7
- addBlock(blockNameArg: any): BEM;
8
- addElement(elementNameArg: any): BEM;
9
- addModifier(modifierNameArg: any): BEM;
10
- copy(): BEM;
11
- block(blockNameArg: any): BEM;
12
- element(elementNameArg: any): BEM;
13
- modifier(modifierNameArg: any): BEM;
14
- blk(blockNameArg: any): BEM;
15
- elt(elementNameArg: any): BEM;
16
- mod(modifierNameArg: any): BEM;
17
- cp(): BEM;
18
- get value(): string;
19
- get val(): string;
20
- private blocks;
21
- private findBlockByName;
22
- private addSingleBlock;
23
- private addSingleElement;
24
- private addSingleModifier;
25
- private setCurrentBlockByName;
26
- private createBlockByName;
27
- private getCurrentBlock;
28
- }
29
- export default BEM;
@@ -1,2 +0,0 @@
1
- declare function getNamesArr(arg: any): string[];
2
- export default getNamesArr;
@@ -1,7 +0,0 @@
1
- import BEMClass from './BEM';
2
- import getNamesArrFunc from './getNamesArr';
3
- export declare namespace Bem {
4
- const BEM: typeof BEMClass;
5
- function bem(blockNameArg: any): BEMClass;
6
- const getNamesArr: typeof getNamesArrFunc;
7
- }
@@ -1,9 +0,0 @@
1
- import {
2
- Bem
3
- } from "../../../chunks/chunk-KIONYWA7.js";
4
- import "../../../chunks/chunk-W5A2TON3.js";
5
- import "../../../chunks/chunk-QXAJXTXV.js";
6
- import "../../../chunks/chunk-HC6ZOHCS.js";
7
- export {
8
- Bem
9
- };
@@ -1,2 +0,0 @@
1
- export declare const niceColors: string[];
2
- export declare const generateNiceColor: () => string | undefined;
@@ -1,8 +0,0 @@
1
- import {
2
- generateNiceColor,
3
- niceColors
4
- } from "../../../chunks/chunk-EDVNAV3G.js";
5
- export {
6
- generateNiceColor,
7
- niceColors
8
- };
@@ -1,14 +0,0 @@
1
- import { Bem as BemNamespace } from './bem';
2
- import { isValidClassName as isValidClassNameFunc } from './is-valid-css-class-name';
3
- import { StylesSetItem as StylesSetItemType, StylesSet as StylesSetFunc, StylesSetCompProps as StylesSetCompPropsFype, StylesSetComp as StylesSetCompFunc } from './styles-set';
4
- export declare namespace Css {
5
- export import Bem = BemNamespace;
6
- const niceColors: string[];
7
- const generateNiceColor: () => string | undefined;
8
- const classNameRegex: RegExp;
9
- const isValidClassName: typeof isValidClassNameFunc;
10
- type StylesSetItem = StylesSetItemType;
11
- const StylesSet: typeof StylesSetFunc;
12
- type StylesSetCompProps = StylesSetCompPropsFype;
13
- const StylesSetComp: typeof StylesSetCompFunc;
14
- }