mockaton 13.9.10 → 13.10.1
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.
- package/package.json +3 -2
- package/src/client/app-header.js +62 -42
- package/src/client/app.css +18 -0
- package/src/server/Api.js +2 -2
- package/src/server/utils/HttpServerResponse.js +7 -3
- package/vite-plugin/README.md +0 -29
- package/vite-plugin/node_modules/.package-lock.json +0 -356
- package/vite-plugin/node_modules/@oxc-project/types/LICENSE +0 -22
- package/vite-plugin/node_modules/@oxc-project/types/README.md +0 -3
- package/vite-plugin/node_modules/@oxc-project/types/package.json +0 -26
- package/vite-plugin/node_modules/@oxc-project/types/types.d.ts +0 -1912
- package/vite-plugin/node_modules/@rolldown/binding-darwin-arm64/README.md +0 -3
- package/vite-plugin/node_modules/@rolldown/binding-darwin-arm64/package.json +0 -37
- package/vite-plugin/node_modules/@rolldown/binding-darwin-arm64/rolldown-binding.darwin-arm64.node +0 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/LICENSE +0 -25
- package/vite-plugin/node_modules/@rolldown/pluginutils/README.md +0 -83
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.d.ts +0 -90
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.js +0 -256
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.d.ts +0 -28
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.js +0 -75
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/index.d.ts +0 -3
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/index.js +0 -3
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.d.ts +0 -71
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.js +0 -70
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/index.d.ts +0 -1
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/index.js +0 -1
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/utils.d.ts +0 -2
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/utils.js +0 -17
- package/vite-plugin/node_modules/@rolldown/pluginutils/package.json +0 -37
- package/vite-plugin/node_modules/detect-libc/LICENSE +0 -201
- package/vite-plugin/node_modules/detect-libc/README.md +0 -163
- package/vite-plugin/node_modules/detect-libc/index.d.ts +0 -14
- package/vite-plugin/node_modules/detect-libc/lib/detect-libc.js +0 -313
- package/vite-plugin/node_modules/detect-libc/lib/elf.js +0 -39
- package/vite-plugin/node_modules/detect-libc/lib/filesystem.js +0 -51
- package/vite-plugin/node_modules/detect-libc/lib/process.js +0 -24
- package/vite-plugin/node_modules/detect-libc/package.json +0 -44
- package/vite-plugin/node_modules/fdir/LICENSE +0 -7
- package/vite-plugin/node_modules/fdir/README.md +0 -91
- package/vite-plugin/node_modules/fdir/dist/index.cjs +0 -588
- package/vite-plugin/node_modules/fdir/dist/index.d.cts +0 -155
- package/vite-plugin/node_modules/fdir/dist/index.d.mts +0 -155
- package/vite-plugin/node_modules/fdir/dist/index.mjs +0 -570
- package/vite-plugin/node_modules/fdir/package.json +0 -103
- package/vite-plugin/node_modules/fsevents/LICENSE +0 -22
- package/vite-plugin/node_modules/fsevents/README.md +0 -89
- package/vite-plugin/node_modules/fsevents/fsevents.d.ts +0 -46
- package/vite-plugin/node_modules/fsevents/fsevents.js +0 -83
- package/vite-plugin/node_modules/fsevents/fsevents.node +0 -0
- package/vite-plugin/node_modules/fsevents/package.json +0 -62
- package/vite-plugin/node_modules/lightningcss/LICENSE +0 -373
- package/vite-plugin/node_modules/lightningcss/README.md +0 -105
- package/vite-plugin/node_modules/lightningcss/node/ast.d.ts +0 -9892
- package/vite-plugin/node_modules/lightningcss/node/ast.js.flow +0 -10539
- package/vite-plugin/node_modules/lightningcss/node/browserslistToTargets.js +0 -48
- package/vite-plugin/node_modules/lightningcss/node/composeVisitors.js +0 -450
- package/vite-plugin/node_modules/lightningcss/node/flags.js +0 -28
- package/vite-plugin/node_modules/lightningcss/node/index.d.ts +0 -494
- package/vite-plugin/node_modules/lightningcss/node/index.js +0 -59
- package/vite-plugin/node_modules/lightningcss/node/index.js.flow +0 -843
- package/vite-plugin/node_modules/lightningcss/node/index.mjs +0 -4
- package/vite-plugin/node_modules/lightningcss/node/targets.d.ts +0 -40
- package/vite-plugin/node_modules/lightningcss/node/targets.js.flow +0 -39
- package/vite-plugin/node_modules/lightningcss/package.json +0 -110
- package/vite-plugin/node_modules/lightningcss-darwin-arm64/LICENSE +0 -373
- package/vite-plugin/node_modules/lightningcss-darwin-arm64/README.md +0 -1
- package/vite-plugin/node_modules/lightningcss-darwin-arm64/lightningcss.darwin-arm64.node +0 -0
- package/vite-plugin/node_modules/lightningcss-darwin-arm64/package.json +0 -34
- package/vite-plugin/node_modules/nanoid/LICENSE +0 -20
- package/vite-plugin/node_modules/nanoid/README.md +0 -39
- package/vite-plugin/node_modules/nanoid/async/index.browser.cjs +0 -69
- package/vite-plugin/node_modules/nanoid/async/index.browser.js +0 -34
- package/vite-plugin/node_modules/nanoid/async/index.cjs +0 -71
- package/vite-plugin/node_modules/nanoid/async/index.d.ts +0 -56
- package/vite-plugin/node_modules/nanoid/async/index.js +0 -35
- package/vite-plugin/node_modules/nanoid/async/index.native.js +0 -26
- package/vite-plugin/node_modules/nanoid/async/package.json +0 -12
- package/vite-plugin/node_modules/nanoid/bin/nanoid.cjs +0 -55
- package/vite-plugin/node_modules/nanoid/index.browser.cjs +0 -72
- package/vite-plugin/node_modules/nanoid/index.browser.js +0 -34
- package/vite-plugin/node_modules/nanoid/index.cjs +0 -85
- package/vite-plugin/node_modules/nanoid/index.d.cts +0 -91
- package/vite-plugin/node_modules/nanoid/index.d.ts +0 -91
- package/vite-plugin/node_modules/nanoid/index.js +0 -45
- package/vite-plugin/node_modules/nanoid/nanoid.js +0 -1
- package/vite-plugin/node_modules/nanoid/non-secure/index.cjs +0 -34
- package/vite-plugin/node_modules/nanoid/non-secure/index.d.ts +0 -33
- package/vite-plugin/node_modules/nanoid/non-secure/index.js +0 -21
- package/vite-plugin/node_modules/nanoid/non-secure/package.json +0 -6
- package/vite-plugin/node_modules/nanoid/package.json +0 -89
- package/vite-plugin/node_modules/nanoid/url-alphabet/index.cjs +0 -7
- package/vite-plugin/node_modules/nanoid/url-alphabet/index.js +0 -3
- package/vite-plugin/node_modules/nanoid/url-alphabet/package.json +0 -6
- package/vite-plugin/node_modules/picocolors/LICENSE +0 -15
- package/vite-plugin/node_modules/picocolors/README.md +0 -21
- package/vite-plugin/node_modules/picocolors/package.json +0 -25
- package/vite-plugin/node_modules/picocolors/picocolors.browser.js +0 -4
- package/vite-plugin/node_modules/picocolors/picocolors.d.ts +0 -5
- package/vite-plugin/node_modules/picocolors/picocolors.js +0 -75
- package/vite-plugin/node_modules/picocolors/types.d.ts +0 -51
- package/vite-plugin/node_modules/picomatch/LICENSE +0 -21
- package/vite-plugin/node_modules/picomatch/README.md +0 -749
- package/vite-plugin/node_modules/picomatch/index.js +0 -17
- package/vite-plugin/node_modules/picomatch/lib/constants.js +0 -184
- package/vite-plugin/node_modules/picomatch/lib/parse.js +0 -1386
- package/vite-plugin/node_modules/picomatch/lib/picomatch.js +0 -349
- package/vite-plugin/node_modules/picomatch/lib/scan.js +0 -391
- package/vite-plugin/node_modules/picomatch/lib/utils.js +0 -72
- package/vite-plugin/node_modules/picomatch/package.json +0 -82
- package/vite-plugin/node_modules/picomatch/posix.js +0 -3
- package/vite-plugin/node_modules/postcss/LICENSE +0 -20
- package/vite-plugin/node_modules/postcss/README.md +0 -28
- package/vite-plugin/node_modules/postcss/lib/at-rule.d.ts +0 -139
- package/vite-plugin/node_modules/postcss/lib/at-rule.js +0 -25
- package/vite-plugin/node_modules/postcss/lib/comment.d.ts +0 -67
- package/vite-plugin/node_modules/postcss/lib/comment.js +0 -13
- package/vite-plugin/node_modules/postcss/lib/container.d.ts +0 -478
- package/vite-plugin/node_modules/postcss/lib/container.js +0 -447
- package/vite-plugin/node_modules/postcss/lib/css-syntax-error.d.ts +0 -247
- package/vite-plugin/node_modules/postcss/lib/css-syntax-error.js +0 -133
- package/vite-plugin/node_modules/postcss/lib/declaration.d.ts +0 -150
- package/vite-plugin/node_modules/postcss/lib/declaration.js +0 -24
- package/vite-plugin/node_modules/postcss/lib/document.d.ts +0 -68
- package/vite-plugin/node_modules/postcss/lib/document.js +0 -33
- package/vite-plugin/node_modules/postcss/lib/fromJSON.d.ts +0 -9
- package/vite-plugin/node_modules/postcss/lib/fromJSON.js +0 -54
- package/vite-plugin/node_modules/postcss/lib/input.d.ts +0 -226
- package/vite-plugin/node_modules/postcss/lib/input.js +0 -273
- package/vite-plugin/node_modules/postcss/lib/lazy-result.d.ts +0 -189
- package/vite-plugin/node_modules/postcss/lib/lazy-result.js +0 -550
- package/vite-plugin/node_modules/postcss/lib/list.d.ts +0 -60
- package/vite-plugin/node_modules/postcss/lib/list.js +0 -58
- package/vite-plugin/node_modules/postcss/lib/map-generator.js +0 -376
- package/vite-plugin/node_modules/postcss/lib/no-work-result.d.ts +0 -45
- package/vite-plugin/node_modules/postcss/lib/no-work-result.js +0 -137
- package/vite-plugin/node_modules/postcss/lib/node.d.ts +0 -555
- package/vite-plugin/node_modules/postcss/lib/node.js +0 -449
- package/vite-plugin/node_modules/postcss/lib/parse.d.ts +0 -9
- package/vite-plugin/node_modules/postcss/lib/parse.js +0 -42
- package/vite-plugin/node_modules/postcss/lib/parser.js +0 -611
- package/vite-plugin/node_modules/postcss/lib/postcss.d.mts +0 -66
- package/vite-plugin/node_modules/postcss/lib/postcss.d.ts +0 -456
- package/vite-plugin/node_modules/postcss/lib/postcss.js +0 -101
- package/vite-plugin/node_modules/postcss/lib/postcss.mjs +0 -30
- package/vite-plugin/node_modules/postcss/lib/previous-map.d.ts +0 -80
- package/vite-plugin/node_modules/postcss/lib/previous-map.js +0 -145
- package/vite-plugin/node_modules/postcss/lib/processor.d.ts +0 -114
- package/vite-plugin/node_modules/postcss/lib/processor.js +0 -67
- package/vite-plugin/node_modules/postcss/lib/result.d.ts +0 -204
- package/vite-plugin/node_modules/postcss/lib/result.js +0 -42
- package/vite-plugin/node_modules/postcss/lib/root.d.ts +0 -86
- package/vite-plugin/node_modules/postcss/lib/root.js +0 -61
- package/vite-plugin/node_modules/postcss/lib/rule.d.ts +0 -126
- package/vite-plugin/node_modules/postcss/lib/rule.js +0 -27
- package/vite-plugin/node_modules/postcss/lib/stringifier.d.ts +0 -45
- package/vite-plugin/node_modules/postcss/lib/stringifier.js +0 -370
- package/vite-plugin/node_modules/postcss/lib/stringify.d.ts +0 -9
- package/vite-plugin/node_modules/postcss/lib/stringify.js +0 -11
- package/vite-plugin/node_modules/postcss/lib/symbols.js +0 -5
- package/vite-plugin/node_modules/postcss/lib/terminal-highlight.js +0 -70
- package/vite-plugin/node_modules/postcss/lib/tokenize.js +0 -266
- package/vite-plugin/node_modules/postcss/lib/warn-once.js +0 -13
- package/vite-plugin/node_modules/postcss/lib/warning.d.ts +0 -146
- package/vite-plugin/node_modules/postcss/lib/warning.js +0 -37
- package/vite-plugin/node_modules/postcss/package.json +0 -88
- package/vite-plugin/node_modules/rolldown/LICENSE +0 -25
- package/vite-plugin/node_modules/rolldown/README.md +0 -11
- package/vite-plugin/node_modules/rolldown/bin/cli.mjs +0 -2
- package/vite-plugin/node_modules/rolldown/dist/cli.d.mts +0 -1
- package/vite-plugin/node_modules/rolldown/dist/cli.mjs +0 -1191
- package/vite-plugin/node_modules/rolldown/dist/config.d.mts +0 -14
- package/vite-plugin/node_modules/rolldown/dist/config.mjs +0 -4
- package/vite-plugin/node_modules/rolldown/dist/experimental-index.d.mts +0 -253
- package/vite-plugin/node_modules/rolldown/dist/experimental-index.mjs +0 -320
- package/vite-plugin/node_modules/rolldown/dist/experimental-runtime-types.d.ts +0 -98
- package/vite-plugin/node_modules/rolldown/dist/filter-index.d.mts +0 -196
- package/vite-plugin/node_modules/rolldown/dist/filter-index.mjs +0 -386
- package/vite-plugin/node_modules/rolldown/dist/get-log-filter.d.mts +0 -3
- package/vite-plugin/node_modules/rolldown/dist/get-log-filter.mjs +0 -68
- package/vite-plugin/node_modules/rolldown/dist/index.d.mts +0 -4
- package/vite-plugin/node_modules/rolldown/dist/index.mjs +0 -50
- package/vite-plugin/node_modules/rolldown/dist/parallel-plugin-worker.d.mts +0 -1
- package/vite-plugin/node_modules/rolldown/dist/parallel-plugin-worker.mjs +0 -28
- package/vite-plugin/node_modules/rolldown/dist/parallel-plugin.d.mts +0 -13
- package/vite-plugin/node_modules/rolldown/dist/parallel-plugin.mjs +0 -6
- package/vite-plugin/node_modules/rolldown/dist/parse-ast-index.d.mts +0 -32
- package/vite-plugin/node_modules/rolldown/dist/parse-ast-index.mjs +0 -60
- package/vite-plugin/node_modules/rolldown/dist/plugins-index.d.mts +0 -33
- package/vite-plugin/node_modules/rolldown/dist/plugins-index.mjs +0 -40
- package/vite-plugin/node_modules/rolldown/dist/shared/binding-BeU_1iEk.mjs +0 -582
- package/vite-plugin/node_modules/rolldown/dist/shared/binding-zH1vcmbM.d.mts +0 -1899
- package/vite-plugin/node_modules/rolldown/dist/shared/bindingify-input-options-DbbBhzky.mjs +0 -2211
- package/vite-plugin/node_modules/rolldown/dist/shared/constructors-C2EWPKW3.mjs +0 -68
- package/vite-plugin/node_modules/rolldown/dist/shared/constructors-D0W3rNfA.d.mts +0 -37
- package/vite-plugin/node_modules/rolldown/dist/shared/define-config-5HJ1b9vG.d.mts +0 -3829
- package/vite-plugin/node_modules/rolldown/dist/shared/define-config-DJOr6Iwt.mjs +0 -6
- package/vite-plugin/node_modules/rolldown/dist/shared/error-DL-e8-oE.mjs +0 -85
- package/vite-plugin/node_modules/rolldown/dist/shared/get-log-filter-semyr3Lj.d.mts +0 -35
- package/vite-plugin/node_modules/rolldown/dist/shared/load-config-BoVO31Un.mjs +0 -120
- package/vite-plugin/node_modules/rolldown/dist/shared/logging-C6h4g8dA.d.mts +0 -50
- package/vite-plugin/node_modules/rolldown/dist/shared/logs-D80CXhvg.mjs +0 -180
- package/vite-plugin/node_modules/rolldown/dist/shared/misc-DJYbNKZX.mjs +0 -21
- package/vite-plugin/node_modules/rolldown/dist/shared/normalize-string-or-regex-CbQQ69gT.mjs +0 -66
- package/vite-plugin/node_modules/rolldown/dist/shared/parse-B_ZnWxLZ.mjs +0 -74
- package/vite-plugin/node_modules/rolldown/dist/shared/prompt-U5ajztzG.mjs +0 -847
- package/vite-plugin/node_modules/rolldown/dist/shared/resolve-tsconfig-CfYpGzid.mjs +0 -113
- package/vite-plugin/node_modules/rolldown/dist/shared/rolldown-D3JZ9rMt.mjs +0 -40
- package/vite-plugin/node_modules/rolldown/dist/shared/rolldown-build-DSxL8qiP.mjs +0 -3325
- package/vite-plugin/node_modules/rolldown/dist/shared/transform-DgZ3paSD.d.mts +0 -149
- package/vite-plugin/node_modules/rolldown/dist/shared/watch-Bd8v9ewv.mjs +0 -374
- package/vite-plugin/node_modules/rolldown/dist/utils-index.d.mts +0 -376
- package/vite-plugin/node_modules/rolldown/dist/utils-index.mjs +0 -2414
- package/vite-plugin/node_modules/rolldown/package.json +0 -153
- package/vite-plugin/node_modules/source-map-js/LICENSE +0 -28
- package/vite-plugin/node_modules/source-map-js/README.md +0 -765
- package/vite-plugin/node_modules/source-map-js/lib/array-set.js +0 -121
- package/vite-plugin/node_modules/source-map-js/lib/base64-vlq.js +0 -140
- package/vite-plugin/node_modules/source-map-js/lib/base64.js +0 -67
- package/vite-plugin/node_modules/source-map-js/lib/binary-search.js +0 -111
- package/vite-plugin/node_modules/source-map-js/lib/mapping-list.js +0 -79
- package/vite-plugin/node_modules/source-map-js/lib/quick-sort.js +0 -132
- package/vite-plugin/node_modules/source-map-js/lib/source-map-consumer.d.ts +0 -1
- package/vite-plugin/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
- package/vite-plugin/node_modules/source-map-js/lib/source-map-generator.d.ts +0 -1
- package/vite-plugin/node_modules/source-map-js/lib/source-map-generator.js +0 -444
- package/vite-plugin/node_modules/source-map-js/lib/source-node.d.ts +0 -1
- package/vite-plugin/node_modules/source-map-js/lib/source-node.js +0 -413
- package/vite-plugin/node_modules/source-map-js/lib/util.js +0 -594
- package/vite-plugin/node_modules/source-map-js/package.json +0 -71
- package/vite-plugin/node_modules/source-map-js/source-map.d.ts +0 -104
- package/vite-plugin/node_modules/source-map-js/source-map.js +0 -8
- package/vite-plugin/node_modules/tinyglobby/LICENSE +0 -21
- package/vite-plugin/node_modules/tinyglobby/README.md +0 -25
- package/vite-plugin/node_modules/tinyglobby/dist/index.cjs +0 -334
- package/vite-plugin/node_modules/tinyglobby/dist/index.d.cts +0 -148
- package/vite-plugin/node_modules/tinyglobby/dist/index.d.mts +0 -148
- package/vite-plugin/node_modules/tinyglobby/dist/index.mjs +0 -306
- package/vite-plugin/node_modules/tinyglobby/package.json +0 -73
- package/vite-plugin/node_modules/vite/LICENSE.md +0 -2230
- package/vite-plugin/node_modules/vite/README.md +0 -20
- package/vite-plugin/node_modules/vite/bin/openChrome.js +0 -68
- package/vite-plugin/node_modules/vite/bin/vite.js +0 -79
- package/vite-plugin/node_modules/vite/client.d.ts +0 -282
- package/vite-plugin/node_modules/vite/dist/client/client.mjs +0 -1237
- package/vite-plugin/node_modules/vite/dist/client/env.mjs +0 -18
- package/vite-plugin/node_modules/vite/dist/node/chunks/build.js +0 -5381
- package/vite-plugin/node_modules/vite/dist/node/chunks/chunk.js +0 -37
- package/vite-plugin/node_modules/vite/dist/node/chunks/dist.js +0 -6784
- package/vite-plugin/node_modules/vite/dist/node/chunks/lib.js +0 -371
- package/vite-plugin/node_modules/vite/dist/node/chunks/logger.js +0 -322
- package/vite-plugin/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts +0 -96
- package/vite-plugin/node_modules/vite/dist/node/chunks/node.js +0 -34874
- package/vite-plugin/node_modules/vite/dist/node/chunks/postcss-import.js +0 -467
- package/vite-plugin/node_modules/vite/dist/node/cli.js +0 -837
- package/vite-plugin/node_modules/vite/dist/node/index.d.ts +0 -3867
- package/vite-plugin/node_modules/vite/dist/node/index.js +0 -3
- package/vite-plugin/node_modules/vite/dist/node/internal.d.ts +0 -2
- package/vite-plugin/node_modules/vite/dist/node/internal.js +0 -2
- package/vite-plugin/node_modules/vite/dist/node/module-runner.d.ts +0 -315
- package/vite-plugin/node_modules/vite/dist/node/module-runner.js +0 -1262
- package/vite-plugin/node_modules/vite/misc/false.js +0 -1
- package/vite-plugin/node_modules/vite/misc/true.js +0 -1
- package/vite-plugin/node_modules/vite/package.json +0 -192
- package/vite-plugin/node_modules/vite/types/customEvent.d.ts +0 -79
- package/vite-plugin/node_modules/vite/types/hmrPayload.d.ts +0 -80
- package/vite-plugin/node_modules/vite/types/hot.d.ts +0 -39
- package/vite-plugin/node_modules/vite/types/import-meta.d.ts +0 -5
- package/vite-plugin/node_modules/vite/types/importGlob.d.ts +0 -89
- package/vite-plugin/node_modules/vite/types/importMeta.d.ts +0 -30
- package/vite-plugin/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts +0 -44
- package/vite-plugin/node_modules/vite/types/internal/esbuildOptions.d.ts +0 -28
- package/vite-plugin/node_modules/vite/types/internal/lightningcssOptions.d.ts +0 -18
- package/vite-plugin/node_modules/vite/types/internal/rollupTypeCompat.d.ts +0 -24
- package/vite-plugin/node_modules/vite/types/internal/terserOptions.d.ts +0 -11
- package/vite-plugin/node_modules/vite/types/metadata.d.ts +0 -47
- package/vite-plugin/package.json +0 -17
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "mockaton",
|
|
3
3
|
"description": "HTTP Mock Server",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "13.
|
|
5
|
+
"version": "13.10.1",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
8
|
"import": "./index.js",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"src",
|
|
17
17
|
"index.js",
|
|
18
18
|
"index.d.ts",
|
|
19
|
-
"vite-plugin",
|
|
19
|
+
"vite-plugin/index.js",
|
|
20
|
+
"vite-plugin/index.d.ts",
|
|
20
21
|
"skills/mockaton/SKILL.md",
|
|
21
22
|
"www/src/assets/openapi.json"
|
|
22
23
|
],
|
package/src/client/app-header.js
CHANGED
|
@@ -31,27 +31,15 @@ function GlobalDelayField() {
|
|
|
31
31
|
function onChange() {
|
|
32
32
|
store.setGlobalDelay(this.valueAsNumber)
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
r('label', { className: CSS.GlobalDelay },
|
|
44
|
-
r('span', null, t`Delay (ms)`),
|
|
45
|
-
r('input', {
|
|
46
|
-
type: 'number',
|
|
47
|
-
min: 0,
|
|
48
|
-
max: 120_000,
|
|
49
|
-
step: 100,
|
|
50
|
-
autocomplete: 'none',
|
|
51
|
-
value: store.delay,
|
|
52
|
-
onWheel: [onWheel, { passive: true }],
|
|
53
|
-
onChange
|
|
54
|
-
})))
|
|
34
|
+
return SlideableNumberField({
|
|
35
|
+
className: CSS.GlobalDelay,
|
|
36
|
+
label: t`Delay (ms)`,
|
|
37
|
+
min: 0,
|
|
38
|
+
max: 120_000,
|
|
39
|
+
step: 100,
|
|
40
|
+
value: store.delay,
|
|
41
|
+
onChange
|
|
42
|
+
})
|
|
55
43
|
}
|
|
56
44
|
|
|
57
45
|
|
|
@@ -62,30 +50,19 @@ function GlobalDelayJitterField() {
|
|
|
62
50
|
this.value = Math.min(300, this.valueAsNumber)
|
|
63
51
|
store.setGlobalDelayJitter(this.valueAsNumber / 100)
|
|
64
52
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
r('label', { className: CSS.GlobalDelayJitter },
|
|
75
|
-
r('span', null, t`Max Jitter %`),
|
|
76
|
-
r('input', {
|
|
77
|
-
type: 'number',
|
|
78
|
-
autocomplete: 'none',
|
|
79
|
-
min: 0,
|
|
80
|
-
max: 300,
|
|
81
|
-
step: 10,
|
|
82
|
-
value: (store.delayJitter * 100).toFixed(0),
|
|
83
|
-
onWheel: [onWheel, { passive: true }],
|
|
84
|
-
onChange
|
|
85
|
-
})))
|
|
53
|
+
return SlideableNumberField({
|
|
54
|
+
className: CSS.GlobalDelayJitter,
|
|
55
|
+
label: t`Max Jitter %`,
|
|
56
|
+
min: 0,
|
|
57
|
+
max: 300,
|
|
58
|
+
step: 10,
|
|
59
|
+
value: (store.delayJitter * 100).toFixed(0),
|
|
60
|
+
onChange
|
|
61
|
+
})
|
|
86
62
|
}
|
|
87
63
|
|
|
88
64
|
|
|
65
|
+
|
|
89
66
|
function CookieSelector() {
|
|
90
67
|
const { cookies } = store
|
|
91
68
|
const disabled = cookies.length <= 1
|
|
@@ -161,3 +138,46 @@ function HelpLink() {
|
|
|
161
138
|
className: CSS.HelpLink
|
|
162
139
|
}, HelpIcon()))
|
|
163
140
|
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
function SlideableNumberField({ className, label, onChange, min, max, step, value }) {
|
|
144
|
+
function onPointerDown(event) {
|
|
145
|
+
const input = event.target
|
|
146
|
+
let lastX = event.clientX
|
|
147
|
+
input.setPointerCapture(event.pointerId)
|
|
148
|
+
|
|
149
|
+
function onPointerMove(ev) {
|
|
150
|
+
const diff = ev.clientX - lastX
|
|
151
|
+
if (Math.abs(diff) > 10) {
|
|
152
|
+
const v = input.value
|
|
153
|
+
if (diff > 0)
|
|
154
|
+
input.stepUp()
|
|
155
|
+
else
|
|
156
|
+
input.stepDown()
|
|
157
|
+
if (v !== input.value)
|
|
158
|
+
input.dispatchEvent(new Event('change'))
|
|
159
|
+
lastX = ev.clientX
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
function onPointerUp(ev) {
|
|
163
|
+
window.removeEventListener('pointermove', onPointerMove)
|
|
164
|
+
input.releasePointerCapture(ev.pointerId)
|
|
165
|
+
}
|
|
166
|
+
window.addEventListener('pointermove', onPointerMove)
|
|
167
|
+
window.addEventListener('pointerup', onPointerUp, { once: true })
|
|
168
|
+
}
|
|
169
|
+
return (
|
|
170
|
+
r('label', { className },
|
|
171
|
+
r('span', null, label),
|
|
172
|
+
r('input', {
|
|
173
|
+
type: 'number',
|
|
174
|
+
autocomplete: 'none',
|
|
175
|
+
min,
|
|
176
|
+
max,
|
|
177
|
+
step,
|
|
178
|
+
value,
|
|
179
|
+
onChange,
|
|
180
|
+
onPointerDown
|
|
181
|
+
})))
|
|
182
|
+
}
|
|
183
|
+
|
package/src/client/app.css
CHANGED
|
@@ -231,6 +231,7 @@ header {
|
|
|
231
231
|
transition: color 200ms ease-out;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
+
&:has(input:focus-visible),
|
|
234
235
|
&:hover {
|
|
235
236
|
span {
|
|
236
237
|
color: var(--colorText);
|
|
@@ -256,6 +257,23 @@ header {
|
|
|
256
257
|
}
|
|
257
258
|
}
|
|
258
259
|
|
|
260
|
+
&.GlobalDelay,
|
|
261
|
+
&.GlobalDelayJitter {
|
|
262
|
+
input {
|
|
263
|
+
cursor: col-resize;
|
|
264
|
+
|
|
265
|
+
&&::selection {
|
|
266
|
+
background-color: transparent;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
&::-webkit-outer-spin-button,
|
|
270
|
+
&::-webkit-inner-spin-button {
|
|
271
|
+
-webkit-appearance: none;
|
|
272
|
+
margin: 0;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
259
277
|
&.GlobalDelay {
|
|
260
278
|
position: relative;
|
|
261
279
|
width: 76px;
|
package/src/server/Api.js
CHANGED
|
@@ -39,7 +39,9 @@ export class ServerResponse extends http.ServerResponse {
|
|
|
39
39
|
await pipeline(fs.createReadStream(file), this)
|
|
40
40
|
}
|
|
41
41
|
catch (err) {
|
|
42
|
-
if (this.headersSent
|
|
42
|
+
if (this.headersSent
|
|
43
|
+
|| err.code === 'ERR_STREAM_PREMATURE_CLOSE'
|
|
44
|
+
|| err.code === 'ERR_STREAM_UNABLE_TO_PIPE')
|
|
43
45
|
this.destroy()
|
|
44
46
|
else if (err.code === 'ENOENT')
|
|
45
47
|
this.notFound()
|
|
@@ -76,7 +78,9 @@ export class ServerResponse extends http.ServerResponse {
|
|
|
76
78
|
await pipeline(fs.createReadStream(file, { start, end }), this)
|
|
77
79
|
}
|
|
78
80
|
catch (err) {
|
|
79
|
-
if (this.headersSent
|
|
81
|
+
if (this.headersSent
|
|
82
|
+
|| err.code === 'ERR_STREAM_PREMATURE_CLOSE'
|
|
83
|
+
|| err.code === 'ERR_STREAM_UNABLE_TO_PIPE')
|
|
80
84
|
this.destroy()
|
|
81
85
|
else if (err.code === 'ENOENT')
|
|
82
86
|
this.notFound()
|
|
@@ -84,7 +88,7 @@ export class ServerResponse extends http.ServerResponse {
|
|
|
84
88
|
throw err
|
|
85
89
|
}
|
|
86
90
|
}
|
|
87
|
-
|
|
91
|
+
|
|
88
92
|
|
|
89
93
|
badRequest() {
|
|
90
94
|
this.statusCode = 400
|
package/vite-plugin/README.md
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# Mockaton Vite Plugin
|
|
2
|
-
|
|
3
|
-
Vite plugin to start Mockaton along with Vite dev server.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
npm install mockaton --save-dev
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
In your `vite.config.js`:
|
|
14
|
-
|
|
15
|
-
```ts
|
|
16
|
-
import { defineConfig } from 'vite'
|
|
17
|
-
import mockatonPlugin from 'mockaton/vite'
|
|
18
|
-
|
|
19
|
-
export default defineConfig({
|
|
20
|
-
plugins: [
|
|
21
|
-
// …other plugins
|
|
22
|
-
mockatonPlugin({
|
|
23
|
-
port: 4040,
|
|
24
|
-
mocksDir: './mockaton-mocks',
|
|
25
|
-
})
|
|
26
|
-
]
|
|
27
|
-
})
|
|
28
|
-
```
|
|
29
|
-
|
|
@@ -1,356 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"lockfileVersion": 3,
|
|
3
|
-
"requires": true,
|
|
4
|
-
"packages": {
|
|
5
|
-
"..": {
|
|
6
|
-
"version": "13.8.0",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"peer": true,
|
|
9
|
-
"bin": {
|
|
10
|
-
"mockaton": "src/server/cli.js"
|
|
11
|
-
},
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=22.18 <23 || >=23.6"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"node_modules/@oxc-project/types": {
|
|
17
|
-
"version": "0.127.0",
|
|
18
|
-
"resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.127.0.tgz",
|
|
19
|
-
"integrity": "sha512-aIYXQBo4lCbO4z0R3FHeucQHpF46l2LbMdxRvqvuRuW2OxdnSkcng5B8+K12spgLDj93rtN3+J2Vac/TIO+ciQ==",
|
|
20
|
-
"license": "MIT",
|
|
21
|
-
"peer": true,
|
|
22
|
-
"funding": {
|
|
23
|
-
"url": "https://github.com/sponsors/Boshen"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"node_modules/@rolldown/binding-darwin-arm64": {
|
|
27
|
-
"version": "1.0.0-rc.17",
|
|
28
|
-
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-rc.17.tgz",
|
|
29
|
-
"integrity": "sha512-4ksWc9n0mhlZpZ9PMZgTGjeOPRu8MB1Z3Tz0Mo02eWfWCHMW1zN82Qz/pL/rC+yQa+8ZnutMF0JjJe7PjwasYw==",
|
|
30
|
-
"cpu": [
|
|
31
|
-
"arm64"
|
|
32
|
-
],
|
|
33
|
-
"license": "MIT",
|
|
34
|
-
"optional": true,
|
|
35
|
-
"os": [
|
|
36
|
-
"darwin"
|
|
37
|
-
],
|
|
38
|
-
"peer": true,
|
|
39
|
-
"engines": {
|
|
40
|
-
"node": "^20.19.0 || >=22.12.0"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"node_modules/@rolldown/pluginutils": {
|
|
44
|
-
"version": "1.0.0-rc.17",
|
|
45
|
-
"resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.17.tgz",
|
|
46
|
-
"integrity": "sha512-n8iosDOt6Ig1UhJ2AYqoIhHWh/isz0xpicHTzpKBeotdVsTEcxsSA/i3EVM7gQAj0rU27OLAxCjzlj15IWY7bg==",
|
|
47
|
-
"license": "MIT",
|
|
48
|
-
"peer": true
|
|
49
|
-
},
|
|
50
|
-
"node_modules/detect-libc": {
|
|
51
|
-
"version": "2.1.2",
|
|
52
|
-
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
|
|
53
|
-
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
|
|
54
|
-
"license": "Apache-2.0",
|
|
55
|
-
"peer": true,
|
|
56
|
-
"engines": {
|
|
57
|
-
"node": ">=8"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"node_modules/fdir": {
|
|
61
|
-
"version": "6.5.0",
|
|
62
|
-
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
|
|
63
|
-
"integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
|
|
64
|
-
"license": "MIT",
|
|
65
|
-
"peer": true,
|
|
66
|
-
"engines": {
|
|
67
|
-
"node": ">=12.0.0"
|
|
68
|
-
},
|
|
69
|
-
"peerDependencies": {
|
|
70
|
-
"picomatch": "^3 || ^4"
|
|
71
|
-
},
|
|
72
|
-
"peerDependenciesMeta": {
|
|
73
|
-
"picomatch": {
|
|
74
|
-
"optional": true
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"node_modules/fsevents": {
|
|
79
|
-
"version": "2.3.3",
|
|
80
|
-
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
|
|
81
|
-
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
|
|
82
|
-
"hasInstallScript": true,
|
|
83
|
-
"license": "MIT",
|
|
84
|
-
"optional": true,
|
|
85
|
-
"os": [
|
|
86
|
-
"darwin"
|
|
87
|
-
],
|
|
88
|
-
"peer": true,
|
|
89
|
-
"engines": {
|
|
90
|
-
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"node_modules/lightningcss": {
|
|
94
|
-
"version": "1.32.0",
|
|
95
|
-
"resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",
|
|
96
|
-
"integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",
|
|
97
|
-
"license": "MPL-2.0",
|
|
98
|
-
"peer": true,
|
|
99
|
-
"dependencies": {
|
|
100
|
-
"detect-libc": "^2.0.3"
|
|
101
|
-
},
|
|
102
|
-
"engines": {
|
|
103
|
-
"node": ">= 12.0.0"
|
|
104
|
-
},
|
|
105
|
-
"funding": {
|
|
106
|
-
"type": "opencollective",
|
|
107
|
-
"url": "https://opencollective.com/parcel"
|
|
108
|
-
},
|
|
109
|
-
"optionalDependencies": {
|
|
110
|
-
"lightningcss-android-arm64": "1.32.0",
|
|
111
|
-
"lightningcss-darwin-arm64": "1.32.0",
|
|
112
|
-
"lightningcss-darwin-x64": "1.32.0",
|
|
113
|
-
"lightningcss-freebsd-x64": "1.32.0",
|
|
114
|
-
"lightningcss-linux-arm-gnueabihf": "1.32.0",
|
|
115
|
-
"lightningcss-linux-arm64-gnu": "1.32.0",
|
|
116
|
-
"lightningcss-linux-arm64-musl": "1.32.0",
|
|
117
|
-
"lightningcss-linux-x64-gnu": "1.32.0",
|
|
118
|
-
"lightningcss-linux-x64-musl": "1.32.0",
|
|
119
|
-
"lightningcss-win32-arm64-msvc": "1.32.0",
|
|
120
|
-
"lightningcss-win32-x64-msvc": "1.32.0"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
"node_modules/lightningcss-darwin-arm64": {
|
|
124
|
-
"version": "1.32.0",
|
|
125
|
-
"resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",
|
|
126
|
-
"integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",
|
|
127
|
-
"cpu": [
|
|
128
|
-
"arm64"
|
|
129
|
-
],
|
|
130
|
-
"license": "MPL-2.0",
|
|
131
|
-
"optional": true,
|
|
132
|
-
"os": [
|
|
133
|
-
"darwin"
|
|
134
|
-
],
|
|
135
|
-
"peer": true,
|
|
136
|
-
"engines": {
|
|
137
|
-
"node": ">= 12.0.0"
|
|
138
|
-
},
|
|
139
|
-
"funding": {
|
|
140
|
-
"type": "opencollective",
|
|
141
|
-
"url": "https://opencollective.com/parcel"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
"node_modules/mockaton": {
|
|
145
|
-
"resolved": "..",
|
|
146
|
-
"link": true
|
|
147
|
-
},
|
|
148
|
-
"node_modules/nanoid": {
|
|
149
|
-
"version": "3.3.11",
|
|
150
|
-
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
|
|
151
|
-
"integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
|
|
152
|
-
"funding": [
|
|
153
|
-
{
|
|
154
|
-
"type": "github",
|
|
155
|
-
"url": "https://github.com/sponsors/ai"
|
|
156
|
-
}
|
|
157
|
-
],
|
|
158
|
-
"license": "MIT",
|
|
159
|
-
"peer": true,
|
|
160
|
-
"bin": {
|
|
161
|
-
"nanoid": "bin/nanoid.cjs"
|
|
162
|
-
},
|
|
163
|
-
"engines": {
|
|
164
|
-
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"node_modules/picocolors": {
|
|
168
|
-
"version": "1.1.1",
|
|
169
|
-
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
|
170
|
-
"integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
|
|
171
|
-
"license": "ISC",
|
|
172
|
-
"peer": true
|
|
173
|
-
},
|
|
174
|
-
"node_modules/picomatch": {
|
|
175
|
-
"version": "4.0.4",
|
|
176
|
-
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
|
|
177
|
-
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
|
|
178
|
-
"license": "MIT",
|
|
179
|
-
"peer": true,
|
|
180
|
-
"engines": {
|
|
181
|
-
"node": ">=12"
|
|
182
|
-
},
|
|
183
|
-
"funding": {
|
|
184
|
-
"url": "https://github.com/sponsors/jonschlinkert"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
"node_modules/postcss": {
|
|
188
|
-
"version": "8.5.10",
|
|
189
|
-
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.10.tgz",
|
|
190
|
-
"integrity": "sha512-pMMHxBOZKFU6HgAZ4eyGnwXF/EvPGGqUr0MnZ5+99485wwW41kW91A4LOGxSHhgugZmSChL5AlElNdwlNgcnLQ==",
|
|
191
|
-
"funding": [
|
|
192
|
-
{
|
|
193
|
-
"type": "opencollective",
|
|
194
|
-
"url": "https://opencollective.com/postcss/"
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"type": "tidelift",
|
|
198
|
-
"url": "https://tidelift.com/funding/github/npm/postcss"
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"type": "github",
|
|
202
|
-
"url": "https://github.com/sponsors/ai"
|
|
203
|
-
}
|
|
204
|
-
],
|
|
205
|
-
"license": "MIT",
|
|
206
|
-
"peer": true,
|
|
207
|
-
"dependencies": {
|
|
208
|
-
"nanoid": "^3.3.11",
|
|
209
|
-
"picocolors": "^1.1.1",
|
|
210
|
-
"source-map-js": "^1.2.1"
|
|
211
|
-
},
|
|
212
|
-
"engines": {
|
|
213
|
-
"node": "^10 || ^12 || >=14"
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"node_modules/rolldown": {
|
|
217
|
-
"version": "1.0.0-rc.17",
|
|
218
|
-
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-rc.17.tgz",
|
|
219
|
-
"integrity": "sha512-ZrT53oAKrtA4+YtBWPQbtPOxIbVDbxT0orcYERKd63VJTF13zPcgXTvD4843L8pcsI7M6MErt8QtON6lrB9tyA==",
|
|
220
|
-
"license": "MIT",
|
|
221
|
-
"peer": true,
|
|
222
|
-
"dependencies": {
|
|
223
|
-
"@oxc-project/types": "=0.127.0",
|
|
224
|
-
"@rolldown/pluginutils": "1.0.0-rc.17"
|
|
225
|
-
},
|
|
226
|
-
"bin": {
|
|
227
|
-
"rolldown": "bin/cli.mjs"
|
|
228
|
-
},
|
|
229
|
-
"engines": {
|
|
230
|
-
"node": "^20.19.0 || >=22.12.0"
|
|
231
|
-
},
|
|
232
|
-
"optionalDependencies": {
|
|
233
|
-
"@rolldown/binding-android-arm64": "1.0.0-rc.17",
|
|
234
|
-
"@rolldown/binding-darwin-arm64": "1.0.0-rc.17",
|
|
235
|
-
"@rolldown/binding-darwin-x64": "1.0.0-rc.17",
|
|
236
|
-
"@rolldown/binding-freebsd-x64": "1.0.0-rc.17",
|
|
237
|
-
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-rc.17",
|
|
238
|
-
"@rolldown/binding-linux-arm64-gnu": "1.0.0-rc.17",
|
|
239
|
-
"@rolldown/binding-linux-arm64-musl": "1.0.0-rc.17",
|
|
240
|
-
"@rolldown/binding-linux-ppc64-gnu": "1.0.0-rc.17",
|
|
241
|
-
"@rolldown/binding-linux-s390x-gnu": "1.0.0-rc.17",
|
|
242
|
-
"@rolldown/binding-linux-x64-gnu": "1.0.0-rc.17",
|
|
243
|
-
"@rolldown/binding-linux-x64-musl": "1.0.0-rc.17",
|
|
244
|
-
"@rolldown/binding-openharmony-arm64": "1.0.0-rc.17",
|
|
245
|
-
"@rolldown/binding-wasm32-wasi": "1.0.0-rc.17",
|
|
246
|
-
"@rolldown/binding-win32-arm64-msvc": "1.0.0-rc.17",
|
|
247
|
-
"@rolldown/binding-win32-x64-msvc": "1.0.0-rc.17"
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
"node_modules/source-map-js": {
|
|
251
|
-
"version": "1.2.1",
|
|
252
|
-
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
|
|
253
|
-
"integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
|
|
254
|
-
"license": "BSD-3-Clause",
|
|
255
|
-
"peer": true,
|
|
256
|
-
"engines": {
|
|
257
|
-
"node": ">=0.10.0"
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
"node_modules/tinyglobby": {
|
|
261
|
-
"version": "0.2.16",
|
|
262
|
-
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz",
|
|
263
|
-
"integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==",
|
|
264
|
-
"license": "MIT",
|
|
265
|
-
"peer": true,
|
|
266
|
-
"dependencies": {
|
|
267
|
-
"fdir": "^6.5.0",
|
|
268
|
-
"picomatch": "^4.0.4"
|
|
269
|
-
},
|
|
270
|
-
"engines": {
|
|
271
|
-
"node": ">=12.0.0"
|
|
272
|
-
},
|
|
273
|
-
"funding": {
|
|
274
|
-
"url": "https://github.com/sponsors/SuperchupuDev"
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
"node_modules/vite": {
|
|
278
|
-
"version": "8.0.10",
|
|
279
|
-
"resolved": "https://registry.npmjs.org/vite/-/vite-8.0.10.tgz",
|
|
280
|
-
"integrity": "sha512-rZuUu9j6J5uotLDs+cAA4O5H4K1SfPliUlQwqa6YEwSrWDZzP4rhm00oJR5snMewjxF5V/K3D4kctsUTsIU9Mw==",
|
|
281
|
-
"license": "MIT",
|
|
282
|
-
"peer": true,
|
|
283
|
-
"dependencies": {
|
|
284
|
-
"lightningcss": "^1.32.0",
|
|
285
|
-
"picomatch": "^4.0.4",
|
|
286
|
-
"postcss": "^8.5.10",
|
|
287
|
-
"rolldown": "1.0.0-rc.17",
|
|
288
|
-
"tinyglobby": "^0.2.16"
|
|
289
|
-
},
|
|
290
|
-
"bin": {
|
|
291
|
-
"vite": "bin/vite.js"
|
|
292
|
-
},
|
|
293
|
-
"engines": {
|
|
294
|
-
"node": "^20.19.0 || >=22.12.0"
|
|
295
|
-
},
|
|
296
|
-
"funding": {
|
|
297
|
-
"url": "https://github.com/vitejs/vite?sponsor=1"
|
|
298
|
-
},
|
|
299
|
-
"optionalDependencies": {
|
|
300
|
-
"fsevents": "~2.3.3"
|
|
301
|
-
},
|
|
302
|
-
"peerDependencies": {
|
|
303
|
-
"@types/node": "^20.19.0 || >=22.12.0",
|
|
304
|
-
"@vitejs/devtools": "^0.1.0",
|
|
305
|
-
"esbuild": "^0.27.0 || ^0.28.0",
|
|
306
|
-
"jiti": ">=1.21.0",
|
|
307
|
-
"less": "^4.0.0",
|
|
308
|
-
"sass": "^1.70.0",
|
|
309
|
-
"sass-embedded": "^1.70.0",
|
|
310
|
-
"stylus": ">=0.54.8",
|
|
311
|
-
"sugarss": "^5.0.0",
|
|
312
|
-
"terser": "^5.16.0",
|
|
313
|
-
"tsx": "^4.8.1",
|
|
314
|
-
"yaml": "^2.4.2"
|
|
315
|
-
},
|
|
316
|
-
"peerDependenciesMeta": {
|
|
317
|
-
"@types/node": {
|
|
318
|
-
"optional": true
|
|
319
|
-
},
|
|
320
|
-
"@vitejs/devtools": {
|
|
321
|
-
"optional": true
|
|
322
|
-
},
|
|
323
|
-
"esbuild": {
|
|
324
|
-
"optional": true
|
|
325
|
-
},
|
|
326
|
-
"jiti": {
|
|
327
|
-
"optional": true
|
|
328
|
-
},
|
|
329
|
-
"less": {
|
|
330
|
-
"optional": true
|
|
331
|
-
},
|
|
332
|
-
"sass": {
|
|
333
|
-
"optional": true
|
|
334
|
-
},
|
|
335
|
-
"sass-embedded": {
|
|
336
|
-
"optional": true
|
|
337
|
-
},
|
|
338
|
-
"stylus": {
|
|
339
|
-
"optional": true
|
|
340
|
-
},
|
|
341
|
-
"sugarss": {
|
|
342
|
-
"optional": true
|
|
343
|
-
},
|
|
344
|
-
"terser": {
|
|
345
|
-
"optional": true
|
|
346
|
-
},
|
|
347
|
-
"tsx": {
|
|
348
|
-
"optional": true
|
|
349
|
-
},
|
|
350
|
-
"yaml": {
|
|
351
|
-
"optional": true
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024-present VoidZero Inc. & Contributors
|
|
4
|
-
Copyright (c) 2023 Boshen
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@oxc-project/types",
|
|
3
|
-
"version": "0.127.0",
|
|
4
|
-
"description": "Types for Oxc AST nodes",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"AST",
|
|
7
|
-
"Parser"
|
|
8
|
-
],
|
|
9
|
-
"homepage": "https://oxc.rs",
|
|
10
|
-
"bugs": "https://github.com/oxc-project/oxc/issues",
|
|
11
|
-
"license": "MIT",
|
|
12
|
-
"author": "Boshen and oxc contributors",
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/oxc-project/oxc.git",
|
|
16
|
-
"directory": "npm/oxc-types"
|
|
17
|
-
},
|
|
18
|
-
"funding": {
|
|
19
|
-
"url": "https://github.com/sponsors/Boshen"
|
|
20
|
-
},
|
|
21
|
-
"files": [
|
|
22
|
-
"types.d.ts"
|
|
23
|
-
],
|
|
24
|
-
"type": "module",
|
|
25
|
-
"types": "types.d.ts"
|
|
26
|
-
}
|