mockaton 13.9.9 → 13.10.0

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 (279) hide show
  1. package/package.json +3 -2
  2. package/src/client/app-header.js +62 -42
  3. package/src/client/app.css +22 -4
  4. package/src/client/dir/dittoSplitPaths.js +1 -1
  5. package/src/client/dir/dittoSplitPaths.test.js +9 -7
  6. package/src/server/MockBroker.js +1 -1
  7. package/src/server/cli.test.js +1 -1
  8. package/src/server/mockBrokersCollection.js +4 -2
  9. package/vite-plugin/README.md +0 -29
  10. package/vite-plugin/node_modules/.package-lock.json +0 -356
  11. package/vite-plugin/node_modules/@oxc-project/types/LICENSE +0 -22
  12. package/vite-plugin/node_modules/@oxc-project/types/README.md +0 -3
  13. package/vite-plugin/node_modules/@oxc-project/types/package.json +0 -26
  14. package/vite-plugin/node_modules/@oxc-project/types/types.d.ts +0 -1912
  15. package/vite-plugin/node_modules/@rolldown/binding-darwin-arm64/README.md +0 -3
  16. package/vite-plugin/node_modules/@rolldown/binding-darwin-arm64/package.json +0 -37
  17. package/vite-plugin/node_modules/@rolldown/binding-darwin-arm64/rolldown-binding.darwin-arm64.node +0 -0
  18. package/vite-plugin/node_modules/@rolldown/pluginutils/LICENSE +0 -25
  19. package/vite-plugin/node_modules/@rolldown/pluginutils/README.md +0 -83
  20. package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.d.ts +0 -90
  21. package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.js +0 -256
  22. package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.d.ts +0 -28
  23. package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.js +0 -75
  24. package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/index.d.ts +0 -3
  25. package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/index.js +0 -3
  26. package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.d.ts +0 -71
  27. package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.js +0 -70
  28. package/vite-plugin/node_modules/@rolldown/pluginutils/dist/index.d.ts +0 -1
  29. package/vite-plugin/node_modules/@rolldown/pluginutils/dist/index.js +0 -1
  30. package/vite-plugin/node_modules/@rolldown/pluginutils/dist/utils.d.ts +0 -2
  31. package/vite-plugin/node_modules/@rolldown/pluginutils/dist/utils.js +0 -17
  32. package/vite-plugin/node_modules/@rolldown/pluginutils/package.json +0 -37
  33. package/vite-plugin/node_modules/detect-libc/LICENSE +0 -201
  34. package/vite-plugin/node_modules/detect-libc/README.md +0 -163
  35. package/vite-plugin/node_modules/detect-libc/index.d.ts +0 -14
  36. package/vite-plugin/node_modules/detect-libc/lib/detect-libc.js +0 -313
  37. package/vite-plugin/node_modules/detect-libc/lib/elf.js +0 -39
  38. package/vite-plugin/node_modules/detect-libc/lib/filesystem.js +0 -51
  39. package/vite-plugin/node_modules/detect-libc/lib/process.js +0 -24
  40. package/vite-plugin/node_modules/detect-libc/package.json +0 -44
  41. package/vite-plugin/node_modules/fdir/LICENSE +0 -7
  42. package/vite-plugin/node_modules/fdir/README.md +0 -91
  43. package/vite-plugin/node_modules/fdir/dist/index.cjs +0 -588
  44. package/vite-plugin/node_modules/fdir/dist/index.d.cts +0 -155
  45. package/vite-plugin/node_modules/fdir/dist/index.d.mts +0 -155
  46. package/vite-plugin/node_modules/fdir/dist/index.mjs +0 -570
  47. package/vite-plugin/node_modules/fdir/package.json +0 -103
  48. package/vite-plugin/node_modules/fsevents/LICENSE +0 -22
  49. package/vite-plugin/node_modules/fsevents/README.md +0 -89
  50. package/vite-plugin/node_modules/fsevents/fsevents.d.ts +0 -46
  51. package/vite-plugin/node_modules/fsevents/fsevents.js +0 -83
  52. package/vite-plugin/node_modules/fsevents/fsevents.node +0 -0
  53. package/vite-plugin/node_modules/fsevents/package.json +0 -62
  54. package/vite-plugin/node_modules/lightningcss/LICENSE +0 -373
  55. package/vite-plugin/node_modules/lightningcss/README.md +0 -105
  56. package/vite-plugin/node_modules/lightningcss/node/ast.d.ts +0 -9892
  57. package/vite-plugin/node_modules/lightningcss/node/ast.js.flow +0 -10539
  58. package/vite-plugin/node_modules/lightningcss/node/browserslistToTargets.js +0 -48
  59. package/vite-plugin/node_modules/lightningcss/node/composeVisitors.js +0 -450
  60. package/vite-plugin/node_modules/lightningcss/node/flags.js +0 -28
  61. package/vite-plugin/node_modules/lightningcss/node/index.d.ts +0 -494
  62. package/vite-plugin/node_modules/lightningcss/node/index.js +0 -59
  63. package/vite-plugin/node_modules/lightningcss/node/index.js.flow +0 -843
  64. package/vite-plugin/node_modules/lightningcss/node/index.mjs +0 -4
  65. package/vite-plugin/node_modules/lightningcss/node/targets.d.ts +0 -40
  66. package/vite-plugin/node_modules/lightningcss/node/targets.js.flow +0 -39
  67. package/vite-plugin/node_modules/lightningcss/package.json +0 -110
  68. package/vite-plugin/node_modules/lightningcss-darwin-arm64/LICENSE +0 -373
  69. package/vite-plugin/node_modules/lightningcss-darwin-arm64/README.md +0 -1
  70. package/vite-plugin/node_modules/lightningcss-darwin-arm64/lightningcss.darwin-arm64.node +0 -0
  71. package/vite-plugin/node_modules/lightningcss-darwin-arm64/package.json +0 -34
  72. package/vite-plugin/node_modules/nanoid/LICENSE +0 -20
  73. package/vite-plugin/node_modules/nanoid/README.md +0 -39
  74. package/vite-plugin/node_modules/nanoid/async/index.browser.cjs +0 -69
  75. package/vite-plugin/node_modules/nanoid/async/index.browser.js +0 -34
  76. package/vite-plugin/node_modules/nanoid/async/index.cjs +0 -71
  77. package/vite-plugin/node_modules/nanoid/async/index.d.ts +0 -56
  78. package/vite-plugin/node_modules/nanoid/async/index.js +0 -35
  79. package/vite-plugin/node_modules/nanoid/async/index.native.js +0 -26
  80. package/vite-plugin/node_modules/nanoid/async/package.json +0 -12
  81. package/vite-plugin/node_modules/nanoid/bin/nanoid.cjs +0 -55
  82. package/vite-plugin/node_modules/nanoid/index.browser.cjs +0 -72
  83. package/vite-plugin/node_modules/nanoid/index.browser.js +0 -34
  84. package/vite-plugin/node_modules/nanoid/index.cjs +0 -85
  85. package/vite-plugin/node_modules/nanoid/index.d.cts +0 -91
  86. package/vite-plugin/node_modules/nanoid/index.d.ts +0 -91
  87. package/vite-plugin/node_modules/nanoid/index.js +0 -45
  88. package/vite-plugin/node_modules/nanoid/nanoid.js +0 -1
  89. package/vite-plugin/node_modules/nanoid/non-secure/index.cjs +0 -34
  90. package/vite-plugin/node_modules/nanoid/non-secure/index.d.ts +0 -33
  91. package/vite-plugin/node_modules/nanoid/non-secure/index.js +0 -21
  92. package/vite-plugin/node_modules/nanoid/non-secure/package.json +0 -6
  93. package/vite-plugin/node_modules/nanoid/package.json +0 -89
  94. package/vite-plugin/node_modules/nanoid/url-alphabet/index.cjs +0 -7
  95. package/vite-plugin/node_modules/nanoid/url-alphabet/index.js +0 -3
  96. package/vite-plugin/node_modules/nanoid/url-alphabet/package.json +0 -6
  97. package/vite-plugin/node_modules/picocolors/LICENSE +0 -15
  98. package/vite-plugin/node_modules/picocolors/README.md +0 -21
  99. package/vite-plugin/node_modules/picocolors/package.json +0 -25
  100. package/vite-plugin/node_modules/picocolors/picocolors.browser.js +0 -4
  101. package/vite-plugin/node_modules/picocolors/picocolors.d.ts +0 -5
  102. package/vite-plugin/node_modules/picocolors/picocolors.js +0 -75
  103. package/vite-plugin/node_modules/picocolors/types.d.ts +0 -51
  104. package/vite-plugin/node_modules/picomatch/LICENSE +0 -21
  105. package/vite-plugin/node_modules/picomatch/README.md +0 -749
  106. package/vite-plugin/node_modules/picomatch/index.js +0 -17
  107. package/vite-plugin/node_modules/picomatch/lib/constants.js +0 -184
  108. package/vite-plugin/node_modules/picomatch/lib/parse.js +0 -1386
  109. package/vite-plugin/node_modules/picomatch/lib/picomatch.js +0 -349
  110. package/vite-plugin/node_modules/picomatch/lib/scan.js +0 -391
  111. package/vite-plugin/node_modules/picomatch/lib/utils.js +0 -72
  112. package/vite-plugin/node_modules/picomatch/package.json +0 -82
  113. package/vite-plugin/node_modules/picomatch/posix.js +0 -3
  114. package/vite-plugin/node_modules/postcss/LICENSE +0 -20
  115. package/vite-plugin/node_modules/postcss/README.md +0 -28
  116. package/vite-plugin/node_modules/postcss/lib/at-rule.d.ts +0 -139
  117. package/vite-plugin/node_modules/postcss/lib/at-rule.js +0 -25
  118. package/vite-plugin/node_modules/postcss/lib/comment.d.ts +0 -67
  119. package/vite-plugin/node_modules/postcss/lib/comment.js +0 -13
  120. package/vite-plugin/node_modules/postcss/lib/container.d.ts +0 -478
  121. package/vite-plugin/node_modules/postcss/lib/container.js +0 -447
  122. package/vite-plugin/node_modules/postcss/lib/css-syntax-error.d.ts +0 -247
  123. package/vite-plugin/node_modules/postcss/lib/css-syntax-error.js +0 -133
  124. package/vite-plugin/node_modules/postcss/lib/declaration.d.ts +0 -150
  125. package/vite-plugin/node_modules/postcss/lib/declaration.js +0 -24
  126. package/vite-plugin/node_modules/postcss/lib/document.d.ts +0 -68
  127. package/vite-plugin/node_modules/postcss/lib/document.js +0 -33
  128. package/vite-plugin/node_modules/postcss/lib/fromJSON.d.ts +0 -9
  129. package/vite-plugin/node_modules/postcss/lib/fromJSON.js +0 -54
  130. package/vite-plugin/node_modules/postcss/lib/input.d.ts +0 -226
  131. package/vite-plugin/node_modules/postcss/lib/input.js +0 -273
  132. package/vite-plugin/node_modules/postcss/lib/lazy-result.d.ts +0 -189
  133. package/vite-plugin/node_modules/postcss/lib/lazy-result.js +0 -550
  134. package/vite-plugin/node_modules/postcss/lib/list.d.ts +0 -60
  135. package/vite-plugin/node_modules/postcss/lib/list.js +0 -58
  136. package/vite-plugin/node_modules/postcss/lib/map-generator.js +0 -376
  137. package/vite-plugin/node_modules/postcss/lib/no-work-result.d.ts +0 -45
  138. package/vite-plugin/node_modules/postcss/lib/no-work-result.js +0 -137
  139. package/vite-plugin/node_modules/postcss/lib/node.d.ts +0 -555
  140. package/vite-plugin/node_modules/postcss/lib/node.js +0 -449
  141. package/vite-plugin/node_modules/postcss/lib/parse.d.ts +0 -9
  142. package/vite-plugin/node_modules/postcss/lib/parse.js +0 -42
  143. package/vite-plugin/node_modules/postcss/lib/parser.js +0 -611
  144. package/vite-plugin/node_modules/postcss/lib/postcss.d.mts +0 -66
  145. package/vite-plugin/node_modules/postcss/lib/postcss.d.ts +0 -456
  146. package/vite-plugin/node_modules/postcss/lib/postcss.js +0 -101
  147. package/vite-plugin/node_modules/postcss/lib/postcss.mjs +0 -30
  148. package/vite-plugin/node_modules/postcss/lib/previous-map.d.ts +0 -80
  149. package/vite-plugin/node_modules/postcss/lib/previous-map.js +0 -145
  150. package/vite-plugin/node_modules/postcss/lib/processor.d.ts +0 -114
  151. package/vite-plugin/node_modules/postcss/lib/processor.js +0 -67
  152. package/vite-plugin/node_modules/postcss/lib/result.d.ts +0 -204
  153. package/vite-plugin/node_modules/postcss/lib/result.js +0 -42
  154. package/vite-plugin/node_modules/postcss/lib/root.d.ts +0 -86
  155. package/vite-plugin/node_modules/postcss/lib/root.js +0 -61
  156. package/vite-plugin/node_modules/postcss/lib/rule.d.ts +0 -126
  157. package/vite-plugin/node_modules/postcss/lib/rule.js +0 -27
  158. package/vite-plugin/node_modules/postcss/lib/stringifier.d.ts +0 -45
  159. package/vite-plugin/node_modules/postcss/lib/stringifier.js +0 -370
  160. package/vite-plugin/node_modules/postcss/lib/stringify.d.ts +0 -9
  161. package/vite-plugin/node_modules/postcss/lib/stringify.js +0 -11
  162. package/vite-plugin/node_modules/postcss/lib/symbols.js +0 -5
  163. package/vite-plugin/node_modules/postcss/lib/terminal-highlight.js +0 -70
  164. package/vite-plugin/node_modules/postcss/lib/tokenize.js +0 -266
  165. package/vite-plugin/node_modules/postcss/lib/warn-once.js +0 -13
  166. package/vite-plugin/node_modules/postcss/lib/warning.d.ts +0 -146
  167. package/vite-plugin/node_modules/postcss/lib/warning.js +0 -37
  168. package/vite-plugin/node_modules/postcss/package.json +0 -88
  169. package/vite-plugin/node_modules/rolldown/LICENSE +0 -25
  170. package/vite-plugin/node_modules/rolldown/README.md +0 -11
  171. package/vite-plugin/node_modules/rolldown/bin/cli.mjs +0 -2
  172. package/vite-plugin/node_modules/rolldown/dist/cli.d.mts +0 -1
  173. package/vite-plugin/node_modules/rolldown/dist/cli.mjs +0 -1191
  174. package/vite-plugin/node_modules/rolldown/dist/config.d.mts +0 -14
  175. package/vite-plugin/node_modules/rolldown/dist/config.mjs +0 -4
  176. package/vite-plugin/node_modules/rolldown/dist/experimental-index.d.mts +0 -253
  177. package/vite-plugin/node_modules/rolldown/dist/experimental-index.mjs +0 -320
  178. package/vite-plugin/node_modules/rolldown/dist/experimental-runtime-types.d.ts +0 -98
  179. package/vite-plugin/node_modules/rolldown/dist/filter-index.d.mts +0 -196
  180. package/vite-plugin/node_modules/rolldown/dist/filter-index.mjs +0 -386
  181. package/vite-plugin/node_modules/rolldown/dist/get-log-filter.d.mts +0 -3
  182. package/vite-plugin/node_modules/rolldown/dist/get-log-filter.mjs +0 -68
  183. package/vite-plugin/node_modules/rolldown/dist/index.d.mts +0 -4
  184. package/vite-plugin/node_modules/rolldown/dist/index.mjs +0 -50
  185. package/vite-plugin/node_modules/rolldown/dist/parallel-plugin-worker.d.mts +0 -1
  186. package/vite-plugin/node_modules/rolldown/dist/parallel-plugin-worker.mjs +0 -28
  187. package/vite-plugin/node_modules/rolldown/dist/parallel-plugin.d.mts +0 -13
  188. package/vite-plugin/node_modules/rolldown/dist/parallel-plugin.mjs +0 -6
  189. package/vite-plugin/node_modules/rolldown/dist/parse-ast-index.d.mts +0 -32
  190. package/vite-plugin/node_modules/rolldown/dist/parse-ast-index.mjs +0 -60
  191. package/vite-plugin/node_modules/rolldown/dist/plugins-index.d.mts +0 -33
  192. package/vite-plugin/node_modules/rolldown/dist/plugins-index.mjs +0 -40
  193. package/vite-plugin/node_modules/rolldown/dist/shared/binding-BeU_1iEk.mjs +0 -582
  194. package/vite-plugin/node_modules/rolldown/dist/shared/binding-zH1vcmbM.d.mts +0 -1899
  195. package/vite-plugin/node_modules/rolldown/dist/shared/bindingify-input-options-DbbBhzky.mjs +0 -2211
  196. package/vite-plugin/node_modules/rolldown/dist/shared/constructors-C2EWPKW3.mjs +0 -68
  197. package/vite-plugin/node_modules/rolldown/dist/shared/constructors-D0W3rNfA.d.mts +0 -37
  198. package/vite-plugin/node_modules/rolldown/dist/shared/define-config-5HJ1b9vG.d.mts +0 -3829
  199. package/vite-plugin/node_modules/rolldown/dist/shared/define-config-DJOr6Iwt.mjs +0 -6
  200. package/vite-plugin/node_modules/rolldown/dist/shared/error-DL-e8-oE.mjs +0 -85
  201. package/vite-plugin/node_modules/rolldown/dist/shared/get-log-filter-semyr3Lj.d.mts +0 -35
  202. package/vite-plugin/node_modules/rolldown/dist/shared/load-config-BoVO31Un.mjs +0 -120
  203. package/vite-plugin/node_modules/rolldown/dist/shared/logging-C6h4g8dA.d.mts +0 -50
  204. package/vite-plugin/node_modules/rolldown/dist/shared/logs-D80CXhvg.mjs +0 -180
  205. package/vite-plugin/node_modules/rolldown/dist/shared/misc-DJYbNKZX.mjs +0 -21
  206. package/vite-plugin/node_modules/rolldown/dist/shared/normalize-string-or-regex-CbQQ69gT.mjs +0 -66
  207. package/vite-plugin/node_modules/rolldown/dist/shared/parse-B_ZnWxLZ.mjs +0 -74
  208. package/vite-plugin/node_modules/rolldown/dist/shared/prompt-U5ajztzG.mjs +0 -847
  209. package/vite-plugin/node_modules/rolldown/dist/shared/resolve-tsconfig-CfYpGzid.mjs +0 -113
  210. package/vite-plugin/node_modules/rolldown/dist/shared/rolldown-D3JZ9rMt.mjs +0 -40
  211. package/vite-plugin/node_modules/rolldown/dist/shared/rolldown-build-DSxL8qiP.mjs +0 -3325
  212. package/vite-plugin/node_modules/rolldown/dist/shared/transform-DgZ3paSD.d.mts +0 -149
  213. package/vite-plugin/node_modules/rolldown/dist/shared/watch-Bd8v9ewv.mjs +0 -374
  214. package/vite-plugin/node_modules/rolldown/dist/utils-index.d.mts +0 -376
  215. package/vite-plugin/node_modules/rolldown/dist/utils-index.mjs +0 -2414
  216. package/vite-plugin/node_modules/rolldown/package.json +0 -153
  217. package/vite-plugin/node_modules/source-map-js/LICENSE +0 -28
  218. package/vite-plugin/node_modules/source-map-js/README.md +0 -765
  219. package/vite-plugin/node_modules/source-map-js/lib/array-set.js +0 -121
  220. package/vite-plugin/node_modules/source-map-js/lib/base64-vlq.js +0 -140
  221. package/vite-plugin/node_modules/source-map-js/lib/base64.js +0 -67
  222. package/vite-plugin/node_modules/source-map-js/lib/binary-search.js +0 -111
  223. package/vite-plugin/node_modules/source-map-js/lib/mapping-list.js +0 -79
  224. package/vite-plugin/node_modules/source-map-js/lib/quick-sort.js +0 -132
  225. package/vite-plugin/node_modules/source-map-js/lib/source-map-consumer.d.ts +0 -1
  226. package/vite-plugin/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
  227. package/vite-plugin/node_modules/source-map-js/lib/source-map-generator.d.ts +0 -1
  228. package/vite-plugin/node_modules/source-map-js/lib/source-map-generator.js +0 -444
  229. package/vite-plugin/node_modules/source-map-js/lib/source-node.d.ts +0 -1
  230. package/vite-plugin/node_modules/source-map-js/lib/source-node.js +0 -413
  231. package/vite-plugin/node_modules/source-map-js/lib/util.js +0 -594
  232. package/vite-plugin/node_modules/source-map-js/package.json +0 -71
  233. package/vite-plugin/node_modules/source-map-js/source-map.d.ts +0 -104
  234. package/vite-plugin/node_modules/source-map-js/source-map.js +0 -8
  235. package/vite-plugin/node_modules/tinyglobby/LICENSE +0 -21
  236. package/vite-plugin/node_modules/tinyglobby/README.md +0 -25
  237. package/vite-plugin/node_modules/tinyglobby/dist/index.cjs +0 -334
  238. package/vite-plugin/node_modules/tinyglobby/dist/index.d.cts +0 -148
  239. package/vite-plugin/node_modules/tinyglobby/dist/index.d.mts +0 -148
  240. package/vite-plugin/node_modules/tinyglobby/dist/index.mjs +0 -306
  241. package/vite-plugin/node_modules/tinyglobby/package.json +0 -73
  242. package/vite-plugin/node_modules/vite/LICENSE.md +0 -2230
  243. package/vite-plugin/node_modules/vite/README.md +0 -20
  244. package/vite-plugin/node_modules/vite/bin/openChrome.js +0 -68
  245. package/vite-plugin/node_modules/vite/bin/vite.js +0 -79
  246. package/vite-plugin/node_modules/vite/client.d.ts +0 -282
  247. package/vite-plugin/node_modules/vite/dist/client/client.mjs +0 -1237
  248. package/vite-plugin/node_modules/vite/dist/client/env.mjs +0 -18
  249. package/vite-plugin/node_modules/vite/dist/node/chunks/build.js +0 -5381
  250. package/vite-plugin/node_modules/vite/dist/node/chunks/chunk.js +0 -37
  251. package/vite-plugin/node_modules/vite/dist/node/chunks/dist.js +0 -6784
  252. package/vite-plugin/node_modules/vite/dist/node/chunks/lib.js +0 -371
  253. package/vite-plugin/node_modules/vite/dist/node/chunks/logger.js +0 -322
  254. package/vite-plugin/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts +0 -96
  255. package/vite-plugin/node_modules/vite/dist/node/chunks/node.js +0 -34874
  256. package/vite-plugin/node_modules/vite/dist/node/chunks/postcss-import.js +0 -467
  257. package/vite-plugin/node_modules/vite/dist/node/cli.js +0 -837
  258. package/vite-plugin/node_modules/vite/dist/node/index.d.ts +0 -3867
  259. package/vite-plugin/node_modules/vite/dist/node/index.js +0 -3
  260. package/vite-plugin/node_modules/vite/dist/node/internal.d.ts +0 -2
  261. package/vite-plugin/node_modules/vite/dist/node/internal.js +0 -2
  262. package/vite-plugin/node_modules/vite/dist/node/module-runner.d.ts +0 -315
  263. package/vite-plugin/node_modules/vite/dist/node/module-runner.js +0 -1262
  264. package/vite-plugin/node_modules/vite/misc/false.js +0 -1
  265. package/vite-plugin/node_modules/vite/misc/true.js +0 -1
  266. package/vite-plugin/node_modules/vite/package.json +0 -192
  267. package/vite-plugin/node_modules/vite/types/customEvent.d.ts +0 -79
  268. package/vite-plugin/node_modules/vite/types/hmrPayload.d.ts +0 -80
  269. package/vite-plugin/node_modules/vite/types/hot.d.ts +0 -39
  270. package/vite-plugin/node_modules/vite/types/import-meta.d.ts +0 -5
  271. package/vite-plugin/node_modules/vite/types/importGlob.d.ts +0 -89
  272. package/vite-plugin/node_modules/vite/types/importMeta.d.ts +0 -30
  273. package/vite-plugin/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts +0 -44
  274. package/vite-plugin/node_modules/vite/types/internal/esbuildOptions.d.ts +0 -28
  275. package/vite-plugin/node_modules/vite/types/internal/lightningcssOptions.d.ts +0 -18
  276. package/vite-plugin/node_modules/vite/types/internal/rollupTypeCompat.d.ts +0 -24
  277. package/vite-plugin/node_modules/vite/types/internal/terserOptions.d.ts +0 -11
  278. package/vite-plugin/node_modules/vite/types/metadata.d.ts +0 -47
  279. package/vite-plugin/package.json +0 -17
@@ -1,61 +0,0 @@
1
- 'use strict'
2
-
3
- let Container = require('./container')
4
-
5
- let LazyResult, Processor
6
-
7
- class Root extends Container {
8
- constructor(defaults) {
9
- super(defaults)
10
- this.type = 'root'
11
- if (!this.nodes) this.nodes = []
12
- }
13
-
14
- normalize(child, sample, type) {
15
- let nodes = super.normalize(child)
16
-
17
- if (sample) {
18
- if (type === 'prepend') {
19
- if (this.nodes.length > 1) {
20
- sample.raws.before = this.nodes[1].raws.before
21
- } else {
22
- delete sample.raws.before
23
- }
24
- } else if (this.first !== sample) {
25
- for (let node of nodes) {
26
- node.raws.before = sample.raws.before
27
- }
28
- }
29
- }
30
-
31
- return nodes
32
- }
33
-
34
- removeChild(child, ignore) {
35
- let index = this.index(child)
36
-
37
- if (!ignore && index === 0 && this.nodes.length > 1) {
38
- this.nodes[1].raws.before = this.nodes[index].raws.before
39
- }
40
-
41
- return super.removeChild(child)
42
- }
43
-
44
- toResult(opts = {}) {
45
- let lazy = new LazyResult(new Processor(), this, opts)
46
- return lazy.stringify()
47
- }
48
- }
49
-
50
- Root.registerLazyResult = dependant => {
51
- LazyResult = dependant
52
- }
53
-
54
- Root.registerProcessor = dependant => {
55
- Processor = dependant
56
- }
57
-
58
- module.exports = Root
59
- Root.default = Root
60
-
61
- Container.registerRoot(Root)
@@ -1,126 +0,0 @@
1
- import Container, {
2
- ContainerProps,
3
- ContainerWithChildren
4
- } from './container.js'
5
-
6
- declare namespace Rule {
7
- export interface RuleRaws extends Record<string, unknown> {
8
- /**
9
- * The space symbols after the last child of the node to the end of the node.
10
- */
11
- after?: string
12
-
13
- /**
14
- * The space symbols before the node. It also stores `*`
15
- * and `_` symbols before the declaration (IE hack).
16
- */
17
- before?: string
18
-
19
- /**
20
- * The symbols between the selector and `{` for rules.
21
- */
22
- between?: string
23
-
24
- /**
25
- * Contains the text of the semicolon after this rule.
26
- */
27
- ownSemicolon?: string
28
-
29
- /**
30
- * The rule’s selector with comments.
31
- */
32
- selector?: {
33
- raw: string
34
- value: string
35
- }
36
-
37
- /**
38
- * Contains `true` if the last child has an (optional) semicolon.
39
- */
40
- semicolon?: boolean
41
- }
42
-
43
- export type RuleProps = {
44
- /** Information used to generate byte-to-byte equal node string as it was in the origin input. */
45
- raws?: RuleRaws
46
- } & (
47
- | {
48
- /** Selector or selectors of the rule. */
49
- selector: string
50
- selectors?: never
51
- }
52
- | {
53
- selector?: never
54
- /** Selectors of the rule represented as an array of strings. */
55
- selectors: readonly string[]
56
- }
57
- ) &
58
- ContainerProps
59
-
60
- export { Rule_ as default }
61
- }
62
-
63
- /**
64
- * Represents a CSS rule: a selector followed by a declaration block.
65
- *
66
- * ```js
67
- * Once (root, { Rule }) {
68
- * let a = new Rule({ selector: 'a' })
69
- * a.append(…)
70
- * root.append(a)
71
- * }
72
- * ```
73
- *
74
- * ```js
75
- * const root = postcss.parse('a{}')
76
- * const rule = root.first
77
- * rule.type //=> 'rule'
78
- * rule.toString() //=> 'a{}'
79
- * ```
80
- */
81
- declare class Rule_ extends Container {
82
- nodes: NonNullable<Container['nodes']>
83
- parent: ContainerWithChildren | undefined
84
- raws: Rule.RuleRaws
85
- type: 'rule'
86
- /**
87
- * The rule’s full selector represented as a string.
88
- *
89
- * ```js
90
- * const root = postcss.parse('a, b { }')
91
- * const rule = root.first
92
- * rule.selector //=> 'a, b'
93
- * ```
94
- */
95
- get selector(): string
96
-
97
- set selector(value: string)
98
- /**
99
- * An array containing the rule’s individual selectors.
100
- * Groups of selectors are split at commas.
101
- *
102
- * ```js
103
- * const root = postcss.parse('a, b { }')
104
- * const rule = root.first
105
- *
106
- * rule.selector //=> 'a, b'
107
- * rule.selectors //=> ['a', 'b']
108
- *
109
- * rule.selectors = ['a', 'strong']
110
- * rule.selector //=> 'a, strong'
111
- * ```
112
- */
113
- get selectors(): string[]
114
-
115
- set selectors(values: string[])
116
-
117
- constructor(defaults?: Rule.RuleProps)
118
- assign(overrides: object | Rule.RuleProps): this
119
- clone(overrides?: Partial<Rule.RuleProps>): this
120
- cloneAfter(overrides?: Partial<Rule.RuleProps>): this
121
- cloneBefore(overrides?: Partial<Rule.RuleProps>): this
122
- }
123
-
124
- declare class Rule extends Rule_ {}
125
-
126
- export = Rule
@@ -1,27 +0,0 @@
1
- 'use strict'
2
-
3
- let Container = require('./container')
4
- let list = require('./list')
5
-
6
- class Rule extends Container {
7
- get selectors() {
8
- return list.comma(this.selector)
9
- }
10
-
11
- set selectors(values) {
12
- let match = this.selector ? this.selector.match(/,\s*/) : null
13
- let sep = match ? match[0] : ',' + this.raw('between', 'beforeOpen')
14
- this.selector = values.join(sep)
15
- }
16
-
17
- constructor(defaults) {
18
- super(defaults)
19
- this.type = 'rule'
20
- if (!this.nodes) this.nodes = []
21
- }
22
- }
23
-
24
- module.exports = Rule
25
- Rule.default = Rule
26
-
27
- Container.registerRule(Rule)
@@ -1,45 +0,0 @@
1
- import {
2
- AnyNode,
3
- AtRule,
4
- Builder,
5
- Comment,
6
- Container,
7
- Declaration,
8
- Document,
9
- Root,
10
- Rule
11
- } from './postcss.js'
12
-
13
- declare namespace Stringifier {
14
- export { Stringifier_ as default }
15
- }
16
-
17
- declare class Stringifier_ {
18
- builder: Builder
19
- constructor(builder: Builder)
20
- atrule(node: AtRule, semicolon?: boolean): void
21
- beforeAfter(node: AnyNode, detect: 'after' | 'before'): string
22
- block(node: AnyNode, start: string): void
23
- body(node: Container): void
24
- comment(node: Comment): void
25
- decl(node: Declaration, semicolon?: boolean): void
26
- document(node: Document): void
27
- raw(node: AnyNode, own: null | string, detect?: string): boolean | string
28
- rawBeforeClose(root: Root): string | undefined
29
- rawBeforeComment(root: Root, node: Comment): string | undefined
30
- rawBeforeDecl(root: Root, node: Declaration): string | undefined
31
- rawBeforeOpen(root: Root): string | undefined
32
- rawBeforeRule(root: Root): string | undefined
33
- rawColon(root: Root): string | undefined
34
- rawEmptyBody(root: Root): string | undefined
35
- rawIndent(root: Root): string | undefined
36
- rawSemicolon(root: Root): boolean | undefined
37
- rawValue(node: AnyNode, prop: string): number | string
38
- root(node: Root): void
39
- rule(node: Rule): void
40
- stringify(node: AnyNode, semicolon?: boolean): void
41
- }
42
-
43
- declare class Stringifier extends Stringifier_ {}
44
-
45
- export = Stringifier
@@ -1,370 +0,0 @@
1
- 'use strict'
2
-
3
- // Escapes sequences that could break out of an HTML <style> context.
4
- // Uses CSS unicode escaping (\3c = '<') which is valid CSS and parsed
5
- // correctly by all compliant CSS consumers.
6
- const STYLE_TAG = /(<)(\/?style\b)/gi
7
- const COMMENT_OPEN = /(<)(!--)/g
8
-
9
- function escapeHTMLInCSS(str) {
10
- if (typeof str !== 'string') return str
11
- if (!str.includes('<')) return str
12
- return str.replace(STYLE_TAG, '\\3c $2').replace(COMMENT_OPEN, '\\3c $2')
13
- }
14
-
15
- const DEFAULT_RAW = {
16
- after: '\n',
17
- beforeClose: '\n',
18
- beforeComment: '\n',
19
- beforeDecl: '\n',
20
- beforeOpen: ' ',
21
- beforeRule: '\n',
22
- colon: ': ',
23
- commentLeft: ' ',
24
- commentRight: ' ',
25
- emptyBody: '',
26
- indent: ' ',
27
- semicolon: false
28
- }
29
-
30
- function capitalize(str) {
31
- return str[0].toUpperCase() + str.slice(1)
32
- }
33
-
34
- class Stringifier {
35
- constructor(builder) {
36
- this.builder = builder
37
- }
38
-
39
- atrule(node, semicolon) {
40
- let name = '@' + node.name
41
- let params = node.params ? this.rawValue(node, 'params') : ''
42
-
43
- if (typeof node.raws.afterName !== 'undefined') {
44
- name += node.raws.afterName
45
- } else if (params) {
46
- name += ' '
47
- }
48
-
49
- if (node.nodes) {
50
- this.block(node, name + params)
51
- } else {
52
- let end = (node.raws.between || '') + (semicolon ? ';' : '')
53
- this.builder(escapeHTMLInCSS(name + params + end), node)
54
- }
55
- }
56
-
57
- beforeAfter(node, detect) {
58
- let value
59
- if (node.type === 'decl') {
60
- value = this.raw(node, null, 'beforeDecl')
61
- } else if (node.type === 'comment') {
62
- value = this.raw(node, null, 'beforeComment')
63
- } else if (detect === 'before') {
64
- value = this.raw(node, null, 'beforeRule')
65
- } else {
66
- value = this.raw(node, null, 'beforeClose')
67
- }
68
-
69
- let buf = node.parent
70
- let depth = 0
71
- while (buf && buf.type !== 'root') {
72
- depth += 1
73
- buf = buf.parent
74
- }
75
-
76
- if (value.includes('\n')) {
77
- let indent = this.raw(node, null, 'indent')
78
- if (indent.length) {
79
- for (let step = 0; step < depth; step++) value += indent
80
- }
81
- }
82
-
83
- return value
84
- }
85
-
86
- block(node, start) {
87
- let between = this.raw(node, 'between', 'beforeOpen')
88
- this.builder(escapeHTMLInCSS(start + between) + '{', node, 'start')
89
-
90
- let after
91
- if (node.nodes && node.nodes.length) {
92
- this.body(node)
93
- after = this.raw(node, 'after')
94
- } else {
95
- after = this.raw(node, 'after', 'emptyBody')
96
- }
97
-
98
- if (after) this.builder(escapeHTMLInCSS(after))
99
- this.builder('}', node, 'end')
100
- }
101
-
102
- body(node) {
103
- let last = node.nodes.length - 1
104
- while (last > 0) {
105
- if (node.nodes[last].type !== 'comment') break
106
- last -= 1
107
- }
108
-
109
- let semicolon = this.raw(node, 'semicolon')
110
- let isDocument = node.type === 'document'
111
- for (let i = 0; i < node.nodes.length; i++) {
112
- let child = node.nodes[i]
113
- let before = this.raw(child, 'before')
114
- if (before) this.builder(isDocument ? before : escapeHTMLInCSS(before))
115
- this.stringify(child, last !== i || semicolon)
116
- }
117
- }
118
-
119
- comment(node) {
120
- let left = this.raw(node, 'left', 'commentLeft')
121
- let right = this.raw(node, 'right', 'commentRight')
122
- this.builder(escapeHTMLInCSS('/*' + left + node.text + right + '*/'), node)
123
- }
124
-
125
- decl(node, semicolon) {
126
- let between = this.raw(node, 'between', 'colon')
127
- let string = node.prop + between + this.rawValue(node, 'value')
128
-
129
- if (node.important) {
130
- string += node.raws.important || ' !important'
131
- }
132
-
133
- if (semicolon) string += ';'
134
- this.builder(escapeHTMLInCSS(string), node)
135
- }
136
-
137
- document(node) {
138
- this.body(node)
139
- }
140
-
141
- raw(node, own, detect) {
142
- let value
143
- if (!detect) detect = own
144
-
145
- // Already had
146
- if (own) {
147
- value = node.raws[own]
148
- if (typeof value !== 'undefined') return value
149
- }
150
-
151
- let parent = node.parent
152
-
153
- if (detect === 'before') {
154
- // Hack for first rule in CSS
155
- if (!parent || (parent.type === 'root' && parent.first === node)) {
156
- return ''
157
- }
158
-
159
- // `root` nodes in `document` should use only their own raws
160
- if (parent && parent.type === 'document') {
161
- return ''
162
- }
163
- }
164
-
165
- // Floating child without parent
166
- if (!parent) return DEFAULT_RAW[detect]
167
-
168
- // Detect style by other nodes
169
- let root = node.root()
170
- if (!root.rawCache) root.rawCache = {}
171
- if (typeof root.rawCache[detect] !== 'undefined') {
172
- return root.rawCache[detect]
173
- }
174
-
175
- if (detect === 'before' || detect === 'after') {
176
- return this.beforeAfter(node, detect)
177
- } else {
178
- let method = 'raw' + capitalize(detect)
179
- if (this[method]) {
180
- value = this[method](root, node)
181
- } else {
182
- root.walk(i => {
183
- value = i.raws[own]
184
- if (typeof value !== 'undefined') return false
185
- })
186
- }
187
- }
188
-
189
- if (typeof value === 'undefined') value = DEFAULT_RAW[detect]
190
-
191
- root.rawCache[detect] = value
192
- return value
193
- }
194
-
195
- rawBeforeClose(root) {
196
- let value
197
- root.walk(i => {
198
- if (i.nodes && i.nodes.length > 0) {
199
- if (typeof i.raws.after !== 'undefined') {
200
- value = i.raws.after
201
- if (value.includes('\n')) {
202
- value = value.replace(/[^\n]+$/, '')
203
- }
204
- return false
205
- }
206
- }
207
- })
208
- if (value) value = value.replace(/\S/g, '')
209
- return value
210
- }
211
-
212
- rawBeforeComment(root, node) {
213
- let value
214
- root.walkComments(i => {
215
- if (typeof i.raws.before !== 'undefined') {
216
- value = i.raws.before
217
- if (value.includes('\n')) {
218
- value = value.replace(/[^\n]+$/, '')
219
- }
220
- return false
221
- }
222
- })
223
- if (typeof value === 'undefined') {
224
- value = this.raw(node, null, 'beforeDecl')
225
- } else if (value) {
226
- value = value.replace(/\S/g, '')
227
- }
228
- return value
229
- }
230
-
231
- rawBeforeDecl(root, node) {
232
- let value
233
- root.walkDecls(i => {
234
- if (typeof i.raws.before !== 'undefined') {
235
- value = i.raws.before
236
- if (value.includes('\n')) {
237
- value = value.replace(/[^\n]+$/, '')
238
- }
239
- return false
240
- }
241
- })
242
- if (typeof value === 'undefined') {
243
- value = this.raw(node, null, 'beforeRule')
244
- } else if (value) {
245
- value = value.replace(/\S/g, '')
246
- }
247
- return value
248
- }
249
-
250
- rawBeforeOpen(root) {
251
- let value
252
- root.walk(i => {
253
- if (i.type !== 'decl') {
254
- value = i.raws.between
255
- if (typeof value !== 'undefined') return false
256
- }
257
- })
258
- return value
259
- }
260
-
261
- rawBeforeRule(root) {
262
- let value
263
- root.walk(i => {
264
- if (i.nodes && (i.parent !== root || root.first !== i)) {
265
- if (typeof i.raws.before !== 'undefined') {
266
- value = i.raws.before
267
- if (value.includes('\n')) {
268
- value = value.replace(/[^\n]+$/, '')
269
- }
270
- return false
271
- }
272
- }
273
- })
274
- if (value) value = value.replace(/\S/g, '')
275
- return value
276
- }
277
-
278
- rawColon(root) {
279
- let value
280
- root.walkDecls(i => {
281
- if (typeof i.raws.between !== 'undefined') {
282
- value = i.raws.between.replace(/[^\s:]/g, '')
283
- return false
284
- }
285
- })
286
- return value
287
- }
288
-
289
- rawEmptyBody(root) {
290
- let value
291
- root.walk(i => {
292
- if (i.nodes && i.nodes.length === 0) {
293
- value = i.raws.after
294
- if (typeof value !== 'undefined') return false
295
- }
296
- })
297
- return value
298
- }
299
-
300
- rawIndent(root) {
301
- if (root.raws.indent) return root.raws.indent
302
- let value
303
- root.walk(i => {
304
- let p = i.parent
305
- if (p && p !== root && p.parent && p.parent === root) {
306
- if (typeof i.raws.before !== 'undefined') {
307
- let parts = i.raws.before.split('\n')
308
- value = parts[parts.length - 1]
309
- value = value.replace(/\S/g, '')
310
- return false
311
- }
312
- }
313
- })
314
- return value
315
- }
316
-
317
- rawSemicolon(root) {
318
- let value
319
- root.walk(i => {
320
- if (i.nodes && i.nodes.length && i.last.type === 'decl') {
321
- value = i.raws.semicolon
322
- if (typeof value !== 'undefined') return false
323
- }
324
- })
325
- return value
326
- }
327
-
328
- rawValue(node, prop) {
329
- let value = node[prop]
330
- let raw = node.raws[prop]
331
- if (raw && raw.value === value) {
332
- return raw.raw
333
- }
334
-
335
- return value
336
- }
337
-
338
- root(node) {
339
- this.body(node)
340
- if (node.raws.after) {
341
- let after = node.raws.after
342
- let isDocument = node.parent && node.parent.type === 'document'
343
- this.builder(isDocument ? after : escapeHTMLInCSS(after))
344
- }
345
- }
346
-
347
- rule(node) {
348
- this.block(node, this.rawValue(node, 'selector'))
349
- if (node.raws.ownSemicolon) {
350
- this.builder(escapeHTMLInCSS(node.raws.ownSemicolon), node, 'end')
351
- }
352
- }
353
-
354
- stringify(node, semicolon) {
355
- /* c8 ignore start */
356
- if (!this[node.type]) {
357
- throw new Error(
358
- 'Unknown AST node type ' +
359
- node.type +
360
- '. ' +
361
- 'Maybe you need to change PostCSS stringifier.'
362
- )
363
- }
364
- /* c8 ignore stop */
365
- this[node.type](node, semicolon)
366
- }
367
- }
368
-
369
- module.exports = Stringifier
370
- Stringifier.default = Stringifier
@@ -1,9 +0,0 @@
1
- import { Stringifier } from './postcss.js'
2
-
3
- interface Stringify extends Stringifier {
4
- default: Stringify
5
- }
6
-
7
- declare let stringify: Stringify
8
-
9
- export = stringify
@@ -1,11 +0,0 @@
1
- 'use strict'
2
-
3
- let Stringifier = require('./stringifier')
4
-
5
- function stringify(node, builder) {
6
- let str = new Stringifier(builder)
7
- str.stringify(node)
8
- }
9
-
10
- module.exports = stringify
11
- stringify.default = stringify
@@ -1,5 +0,0 @@
1
- 'use strict'
2
-
3
- module.exports.isClean = Symbol('isClean')
4
-
5
- module.exports.my = Symbol('my')