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.
- package/package.json +3 -2
- package/src/client/app-header.js +62 -42
- package/src/client/app.css +22 -4
- package/src/client/dir/dittoSplitPaths.js +1 -1
- package/src/client/dir/dittoSplitPaths.test.js +9 -7
- package/src/server/MockBroker.js +1 -1
- package/src/server/cli.test.js +1 -1
- package/src/server/mockBrokersCollection.js +4 -2
- 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
|
@@ -1,376 +0,0 @@
|
|
|
1
|
-
import { _ as BindingTsconfigRawOptions, g as BindingTsconfigCompilerOptions } from "./shared/binding-zH1vcmbM.mjs";
|
|
2
|
-
import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as transformSync, l as ParseResult, n as TransformResult, o as MinifyResult, p as TsconfigCache, r as transform, s as minify, t as TransformOptions, u as ParserOptions } from "./shared/transform-DgZ3paSD.mjs";
|
|
3
|
-
import * as ESTree from "@oxc-project/types";
|
|
4
|
-
import { Program } from "@oxc-project/types";
|
|
5
|
-
|
|
6
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.127.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
|
|
7
|
-
interface VisitorObject$1 {
|
|
8
|
-
DebuggerStatement?: (node: ESTree.DebuggerStatement) => void;
|
|
9
|
-
"DebuggerStatement:exit"?: (node: ESTree.DebuggerStatement) => void;
|
|
10
|
-
EmptyStatement?: (node: ESTree.EmptyStatement) => void;
|
|
11
|
-
"EmptyStatement:exit"?: (node: ESTree.EmptyStatement) => void;
|
|
12
|
-
Literal?: (node: ESTree.BooleanLiteral | ESTree.NullLiteral | ESTree.NumericLiteral | ESTree.StringLiteral | ESTree.BigIntLiteral | ESTree.RegExpLiteral) => void;
|
|
13
|
-
"Literal:exit"?: (node: ESTree.BooleanLiteral | ESTree.NullLiteral | ESTree.NumericLiteral | ESTree.StringLiteral | ESTree.BigIntLiteral | ESTree.RegExpLiteral) => void;
|
|
14
|
-
PrivateIdentifier?: (node: ESTree.PrivateIdentifier) => void;
|
|
15
|
-
"PrivateIdentifier:exit"?: (node: ESTree.PrivateIdentifier) => void;
|
|
16
|
-
Super?: (node: ESTree.Super) => void;
|
|
17
|
-
"Super:exit"?: (node: ESTree.Super) => void;
|
|
18
|
-
TemplateElement?: (node: ESTree.TemplateElement) => void;
|
|
19
|
-
"TemplateElement:exit"?: (node: ESTree.TemplateElement) => void;
|
|
20
|
-
ThisExpression?: (node: ESTree.ThisExpression) => void;
|
|
21
|
-
"ThisExpression:exit"?: (node: ESTree.ThisExpression) => void;
|
|
22
|
-
JSXClosingFragment?: (node: ESTree.JSXClosingFragment) => void;
|
|
23
|
-
"JSXClosingFragment:exit"?: (node: ESTree.JSXClosingFragment) => void;
|
|
24
|
-
JSXEmptyExpression?: (node: ESTree.JSXEmptyExpression) => void;
|
|
25
|
-
"JSXEmptyExpression:exit"?: (node: ESTree.JSXEmptyExpression) => void;
|
|
26
|
-
JSXIdentifier?: (node: ESTree.JSXIdentifier) => void;
|
|
27
|
-
"JSXIdentifier:exit"?: (node: ESTree.JSXIdentifier) => void;
|
|
28
|
-
JSXOpeningFragment?: (node: ESTree.JSXOpeningFragment) => void;
|
|
29
|
-
"JSXOpeningFragment:exit"?: (node: ESTree.JSXOpeningFragment) => void;
|
|
30
|
-
JSXText?: (node: ESTree.JSXText) => void;
|
|
31
|
-
"JSXText:exit"?: (node: ESTree.JSXText) => void;
|
|
32
|
-
TSAnyKeyword?: (node: ESTree.TSAnyKeyword) => void;
|
|
33
|
-
"TSAnyKeyword:exit"?: (node: ESTree.TSAnyKeyword) => void;
|
|
34
|
-
TSBigIntKeyword?: (node: ESTree.TSBigIntKeyword) => void;
|
|
35
|
-
"TSBigIntKeyword:exit"?: (node: ESTree.TSBigIntKeyword) => void;
|
|
36
|
-
TSBooleanKeyword?: (node: ESTree.TSBooleanKeyword) => void;
|
|
37
|
-
"TSBooleanKeyword:exit"?: (node: ESTree.TSBooleanKeyword) => void;
|
|
38
|
-
TSIntrinsicKeyword?: (node: ESTree.TSIntrinsicKeyword) => void;
|
|
39
|
-
"TSIntrinsicKeyword:exit"?: (node: ESTree.TSIntrinsicKeyword) => void;
|
|
40
|
-
TSJSDocUnknownType?: (node: ESTree.JSDocUnknownType) => void;
|
|
41
|
-
"TSJSDocUnknownType:exit"?: (node: ESTree.JSDocUnknownType) => void;
|
|
42
|
-
TSNeverKeyword?: (node: ESTree.TSNeverKeyword) => void;
|
|
43
|
-
"TSNeverKeyword:exit"?: (node: ESTree.TSNeverKeyword) => void;
|
|
44
|
-
TSNullKeyword?: (node: ESTree.TSNullKeyword) => void;
|
|
45
|
-
"TSNullKeyword:exit"?: (node: ESTree.TSNullKeyword) => void;
|
|
46
|
-
TSNumberKeyword?: (node: ESTree.TSNumberKeyword) => void;
|
|
47
|
-
"TSNumberKeyword:exit"?: (node: ESTree.TSNumberKeyword) => void;
|
|
48
|
-
TSObjectKeyword?: (node: ESTree.TSObjectKeyword) => void;
|
|
49
|
-
"TSObjectKeyword:exit"?: (node: ESTree.TSObjectKeyword) => void;
|
|
50
|
-
TSStringKeyword?: (node: ESTree.TSStringKeyword) => void;
|
|
51
|
-
"TSStringKeyword:exit"?: (node: ESTree.TSStringKeyword) => void;
|
|
52
|
-
TSSymbolKeyword?: (node: ESTree.TSSymbolKeyword) => void;
|
|
53
|
-
"TSSymbolKeyword:exit"?: (node: ESTree.TSSymbolKeyword) => void;
|
|
54
|
-
TSThisType?: (node: ESTree.TSThisType) => void;
|
|
55
|
-
"TSThisType:exit"?: (node: ESTree.TSThisType) => void;
|
|
56
|
-
TSUndefinedKeyword?: (node: ESTree.TSUndefinedKeyword) => void;
|
|
57
|
-
"TSUndefinedKeyword:exit"?: (node: ESTree.TSUndefinedKeyword) => void;
|
|
58
|
-
TSUnknownKeyword?: (node: ESTree.TSUnknownKeyword) => void;
|
|
59
|
-
"TSUnknownKeyword:exit"?: (node: ESTree.TSUnknownKeyword) => void;
|
|
60
|
-
TSVoidKeyword?: (node: ESTree.TSVoidKeyword) => void;
|
|
61
|
-
"TSVoidKeyword:exit"?: (node: ESTree.TSVoidKeyword) => void;
|
|
62
|
-
AccessorProperty?: (node: ESTree.AccessorProperty) => void;
|
|
63
|
-
"AccessorProperty:exit"?: (node: ESTree.AccessorProperty) => void;
|
|
64
|
-
ArrayExpression?: (node: ESTree.ArrayExpression) => void;
|
|
65
|
-
"ArrayExpression:exit"?: (node: ESTree.ArrayExpression) => void;
|
|
66
|
-
ArrayPattern?: (node: ESTree.ArrayPattern) => void;
|
|
67
|
-
"ArrayPattern:exit"?: (node: ESTree.ArrayPattern) => void;
|
|
68
|
-
ArrowFunctionExpression?: (node: ESTree.ArrowFunctionExpression) => void;
|
|
69
|
-
"ArrowFunctionExpression:exit"?: (node: ESTree.ArrowFunctionExpression) => void;
|
|
70
|
-
AssignmentExpression?: (node: ESTree.AssignmentExpression) => void;
|
|
71
|
-
"AssignmentExpression:exit"?: (node: ESTree.AssignmentExpression) => void;
|
|
72
|
-
AssignmentPattern?: (node: ESTree.AssignmentPattern) => void;
|
|
73
|
-
"AssignmentPattern:exit"?: (node: ESTree.AssignmentPattern) => void;
|
|
74
|
-
AwaitExpression?: (node: ESTree.AwaitExpression) => void;
|
|
75
|
-
"AwaitExpression:exit"?: (node: ESTree.AwaitExpression) => void;
|
|
76
|
-
BinaryExpression?: (node: ESTree.BinaryExpression) => void;
|
|
77
|
-
"BinaryExpression:exit"?: (node: ESTree.BinaryExpression) => void;
|
|
78
|
-
BlockStatement?: (node: ESTree.BlockStatement) => void;
|
|
79
|
-
"BlockStatement:exit"?: (node: ESTree.BlockStatement) => void;
|
|
80
|
-
BreakStatement?: (node: ESTree.BreakStatement) => void;
|
|
81
|
-
"BreakStatement:exit"?: (node: ESTree.BreakStatement) => void;
|
|
82
|
-
CallExpression?: (node: ESTree.CallExpression) => void;
|
|
83
|
-
"CallExpression:exit"?: (node: ESTree.CallExpression) => void;
|
|
84
|
-
CatchClause?: (node: ESTree.CatchClause) => void;
|
|
85
|
-
"CatchClause:exit"?: (node: ESTree.CatchClause) => void;
|
|
86
|
-
ChainExpression?: (node: ESTree.ChainExpression) => void;
|
|
87
|
-
"ChainExpression:exit"?: (node: ESTree.ChainExpression) => void;
|
|
88
|
-
ClassBody?: (node: ESTree.ClassBody) => void;
|
|
89
|
-
"ClassBody:exit"?: (node: ESTree.ClassBody) => void;
|
|
90
|
-
ClassDeclaration?: (node: ESTree.Class) => void;
|
|
91
|
-
"ClassDeclaration:exit"?: (node: ESTree.Class) => void;
|
|
92
|
-
ClassExpression?: (node: ESTree.Class) => void;
|
|
93
|
-
"ClassExpression:exit"?: (node: ESTree.Class) => void;
|
|
94
|
-
ConditionalExpression?: (node: ESTree.ConditionalExpression) => void;
|
|
95
|
-
"ConditionalExpression:exit"?: (node: ESTree.ConditionalExpression) => void;
|
|
96
|
-
ContinueStatement?: (node: ESTree.ContinueStatement) => void;
|
|
97
|
-
"ContinueStatement:exit"?: (node: ESTree.ContinueStatement) => void;
|
|
98
|
-
Decorator?: (node: ESTree.Decorator) => void;
|
|
99
|
-
"Decorator:exit"?: (node: ESTree.Decorator) => void;
|
|
100
|
-
DoWhileStatement?: (node: ESTree.DoWhileStatement) => void;
|
|
101
|
-
"DoWhileStatement:exit"?: (node: ESTree.DoWhileStatement) => void;
|
|
102
|
-
ExportAllDeclaration?: (node: ESTree.ExportAllDeclaration) => void;
|
|
103
|
-
"ExportAllDeclaration:exit"?: (node: ESTree.ExportAllDeclaration) => void;
|
|
104
|
-
ExportDefaultDeclaration?: (node: ESTree.ExportDefaultDeclaration) => void;
|
|
105
|
-
"ExportDefaultDeclaration:exit"?: (node: ESTree.ExportDefaultDeclaration) => void;
|
|
106
|
-
ExportNamedDeclaration?: (node: ESTree.ExportNamedDeclaration) => void;
|
|
107
|
-
"ExportNamedDeclaration:exit"?: (node: ESTree.ExportNamedDeclaration) => void;
|
|
108
|
-
ExportSpecifier?: (node: ESTree.ExportSpecifier) => void;
|
|
109
|
-
"ExportSpecifier:exit"?: (node: ESTree.ExportSpecifier) => void;
|
|
110
|
-
ExpressionStatement?: (node: ESTree.ExpressionStatement) => void;
|
|
111
|
-
"ExpressionStatement:exit"?: (node: ESTree.ExpressionStatement) => void;
|
|
112
|
-
ForInStatement?: (node: ESTree.ForInStatement) => void;
|
|
113
|
-
"ForInStatement:exit"?: (node: ESTree.ForInStatement) => void;
|
|
114
|
-
ForOfStatement?: (node: ESTree.ForOfStatement) => void;
|
|
115
|
-
"ForOfStatement:exit"?: (node: ESTree.ForOfStatement) => void;
|
|
116
|
-
ForStatement?: (node: ESTree.ForStatement) => void;
|
|
117
|
-
"ForStatement:exit"?: (node: ESTree.ForStatement) => void;
|
|
118
|
-
FunctionDeclaration?: (node: ESTree.Function) => void;
|
|
119
|
-
"FunctionDeclaration:exit"?: (node: ESTree.Function) => void;
|
|
120
|
-
FunctionExpression?: (node: ESTree.Function) => void;
|
|
121
|
-
"FunctionExpression:exit"?: (node: ESTree.Function) => void;
|
|
122
|
-
Identifier?: (node: ESTree.IdentifierName | ESTree.IdentifierReference | ESTree.BindingIdentifier | ESTree.LabelIdentifier | ESTree.TSThisParameter | ESTree.TSIndexSignatureName) => void;
|
|
123
|
-
"Identifier:exit"?: (node: ESTree.IdentifierName | ESTree.IdentifierReference | ESTree.BindingIdentifier | ESTree.LabelIdentifier | ESTree.TSThisParameter | ESTree.TSIndexSignatureName) => void;
|
|
124
|
-
IfStatement?: (node: ESTree.IfStatement) => void;
|
|
125
|
-
"IfStatement:exit"?: (node: ESTree.IfStatement) => void;
|
|
126
|
-
ImportAttribute?: (node: ESTree.ImportAttribute) => void;
|
|
127
|
-
"ImportAttribute:exit"?: (node: ESTree.ImportAttribute) => void;
|
|
128
|
-
ImportDeclaration?: (node: ESTree.ImportDeclaration) => void;
|
|
129
|
-
"ImportDeclaration:exit"?: (node: ESTree.ImportDeclaration) => void;
|
|
130
|
-
ImportDefaultSpecifier?: (node: ESTree.ImportDefaultSpecifier) => void;
|
|
131
|
-
"ImportDefaultSpecifier:exit"?: (node: ESTree.ImportDefaultSpecifier) => void;
|
|
132
|
-
ImportExpression?: (node: ESTree.ImportExpression) => void;
|
|
133
|
-
"ImportExpression:exit"?: (node: ESTree.ImportExpression) => void;
|
|
134
|
-
ImportNamespaceSpecifier?: (node: ESTree.ImportNamespaceSpecifier) => void;
|
|
135
|
-
"ImportNamespaceSpecifier:exit"?: (node: ESTree.ImportNamespaceSpecifier) => void;
|
|
136
|
-
ImportSpecifier?: (node: ESTree.ImportSpecifier) => void;
|
|
137
|
-
"ImportSpecifier:exit"?: (node: ESTree.ImportSpecifier) => void;
|
|
138
|
-
LabeledStatement?: (node: ESTree.LabeledStatement) => void;
|
|
139
|
-
"LabeledStatement:exit"?: (node: ESTree.LabeledStatement) => void;
|
|
140
|
-
LogicalExpression?: (node: ESTree.LogicalExpression) => void;
|
|
141
|
-
"LogicalExpression:exit"?: (node: ESTree.LogicalExpression) => void;
|
|
142
|
-
MemberExpression?: (node: ESTree.MemberExpression) => void;
|
|
143
|
-
"MemberExpression:exit"?: (node: ESTree.MemberExpression) => void;
|
|
144
|
-
MetaProperty?: (node: ESTree.MetaProperty) => void;
|
|
145
|
-
"MetaProperty:exit"?: (node: ESTree.MetaProperty) => void;
|
|
146
|
-
MethodDefinition?: (node: ESTree.MethodDefinition) => void;
|
|
147
|
-
"MethodDefinition:exit"?: (node: ESTree.MethodDefinition) => void;
|
|
148
|
-
NewExpression?: (node: ESTree.NewExpression) => void;
|
|
149
|
-
"NewExpression:exit"?: (node: ESTree.NewExpression) => void;
|
|
150
|
-
ObjectExpression?: (node: ESTree.ObjectExpression) => void;
|
|
151
|
-
"ObjectExpression:exit"?: (node: ESTree.ObjectExpression) => void;
|
|
152
|
-
ObjectPattern?: (node: ESTree.ObjectPattern) => void;
|
|
153
|
-
"ObjectPattern:exit"?: (node: ESTree.ObjectPattern) => void;
|
|
154
|
-
ParenthesizedExpression?: (node: ESTree.ParenthesizedExpression) => void;
|
|
155
|
-
"ParenthesizedExpression:exit"?: (node: ESTree.ParenthesizedExpression) => void;
|
|
156
|
-
Program?: (node: ESTree.Program) => void;
|
|
157
|
-
"Program:exit"?: (node: ESTree.Program) => void;
|
|
158
|
-
Property?: (node: ESTree.ObjectProperty | ESTree.AssignmentTargetProperty | ESTree.AssignmentTargetPropertyProperty | ESTree.BindingProperty) => void;
|
|
159
|
-
"Property:exit"?: (node: ESTree.ObjectProperty | ESTree.AssignmentTargetProperty | ESTree.AssignmentTargetPropertyProperty | ESTree.BindingProperty) => void;
|
|
160
|
-
PropertyDefinition?: (node: ESTree.PropertyDefinition) => void;
|
|
161
|
-
"PropertyDefinition:exit"?: (node: ESTree.PropertyDefinition) => void;
|
|
162
|
-
RestElement?: (node: ESTree.AssignmentTargetRest | ESTree.BindingRestElement | ESTree.FormalParameterRest) => void;
|
|
163
|
-
"RestElement:exit"?: (node: ESTree.AssignmentTargetRest | ESTree.BindingRestElement | ESTree.FormalParameterRest) => void;
|
|
164
|
-
ReturnStatement?: (node: ESTree.ReturnStatement) => void;
|
|
165
|
-
"ReturnStatement:exit"?: (node: ESTree.ReturnStatement) => void;
|
|
166
|
-
SequenceExpression?: (node: ESTree.SequenceExpression) => void;
|
|
167
|
-
"SequenceExpression:exit"?: (node: ESTree.SequenceExpression) => void;
|
|
168
|
-
SpreadElement?: (node: ESTree.SpreadElement) => void;
|
|
169
|
-
"SpreadElement:exit"?: (node: ESTree.SpreadElement) => void;
|
|
170
|
-
StaticBlock?: (node: ESTree.StaticBlock) => void;
|
|
171
|
-
"StaticBlock:exit"?: (node: ESTree.StaticBlock) => void;
|
|
172
|
-
SwitchCase?: (node: ESTree.SwitchCase) => void;
|
|
173
|
-
"SwitchCase:exit"?: (node: ESTree.SwitchCase) => void;
|
|
174
|
-
SwitchStatement?: (node: ESTree.SwitchStatement) => void;
|
|
175
|
-
"SwitchStatement:exit"?: (node: ESTree.SwitchStatement) => void;
|
|
176
|
-
TaggedTemplateExpression?: (node: ESTree.TaggedTemplateExpression) => void;
|
|
177
|
-
"TaggedTemplateExpression:exit"?: (node: ESTree.TaggedTemplateExpression) => void;
|
|
178
|
-
TemplateLiteral?: (node: ESTree.TemplateLiteral) => void;
|
|
179
|
-
"TemplateLiteral:exit"?: (node: ESTree.TemplateLiteral) => void;
|
|
180
|
-
ThrowStatement?: (node: ESTree.ThrowStatement) => void;
|
|
181
|
-
"ThrowStatement:exit"?: (node: ESTree.ThrowStatement) => void;
|
|
182
|
-
TryStatement?: (node: ESTree.TryStatement) => void;
|
|
183
|
-
"TryStatement:exit"?: (node: ESTree.TryStatement) => void;
|
|
184
|
-
UnaryExpression?: (node: ESTree.UnaryExpression) => void;
|
|
185
|
-
"UnaryExpression:exit"?: (node: ESTree.UnaryExpression) => void;
|
|
186
|
-
UpdateExpression?: (node: ESTree.UpdateExpression) => void;
|
|
187
|
-
"UpdateExpression:exit"?: (node: ESTree.UpdateExpression) => void;
|
|
188
|
-
V8IntrinsicExpression?: (node: ESTree.V8IntrinsicExpression) => void;
|
|
189
|
-
"V8IntrinsicExpression:exit"?: (node: ESTree.V8IntrinsicExpression) => void;
|
|
190
|
-
VariableDeclaration?: (node: ESTree.VariableDeclaration) => void;
|
|
191
|
-
"VariableDeclaration:exit"?: (node: ESTree.VariableDeclaration) => void;
|
|
192
|
-
VariableDeclarator?: (node: ESTree.VariableDeclarator) => void;
|
|
193
|
-
"VariableDeclarator:exit"?: (node: ESTree.VariableDeclarator) => void;
|
|
194
|
-
WhileStatement?: (node: ESTree.WhileStatement) => void;
|
|
195
|
-
"WhileStatement:exit"?: (node: ESTree.WhileStatement) => void;
|
|
196
|
-
WithStatement?: (node: ESTree.WithStatement) => void;
|
|
197
|
-
"WithStatement:exit"?: (node: ESTree.WithStatement) => void;
|
|
198
|
-
YieldExpression?: (node: ESTree.YieldExpression) => void;
|
|
199
|
-
"YieldExpression:exit"?: (node: ESTree.YieldExpression) => void;
|
|
200
|
-
JSXAttribute?: (node: ESTree.JSXAttribute) => void;
|
|
201
|
-
"JSXAttribute:exit"?: (node: ESTree.JSXAttribute) => void;
|
|
202
|
-
JSXClosingElement?: (node: ESTree.JSXClosingElement) => void;
|
|
203
|
-
"JSXClosingElement:exit"?: (node: ESTree.JSXClosingElement) => void;
|
|
204
|
-
JSXElement?: (node: ESTree.JSXElement) => void;
|
|
205
|
-
"JSXElement:exit"?: (node: ESTree.JSXElement) => void;
|
|
206
|
-
JSXExpressionContainer?: (node: ESTree.JSXExpressionContainer) => void;
|
|
207
|
-
"JSXExpressionContainer:exit"?: (node: ESTree.JSXExpressionContainer) => void;
|
|
208
|
-
JSXFragment?: (node: ESTree.JSXFragment) => void;
|
|
209
|
-
"JSXFragment:exit"?: (node: ESTree.JSXFragment) => void;
|
|
210
|
-
JSXMemberExpression?: (node: ESTree.JSXMemberExpression) => void;
|
|
211
|
-
"JSXMemberExpression:exit"?: (node: ESTree.JSXMemberExpression) => void;
|
|
212
|
-
JSXNamespacedName?: (node: ESTree.JSXNamespacedName) => void;
|
|
213
|
-
"JSXNamespacedName:exit"?: (node: ESTree.JSXNamespacedName) => void;
|
|
214
|
-
JSXOpeningElement?: (node: ESTree.JSXOpeningElement) => void;
|
|
215
|
-
"JSXOpeningElement:exit"?: (node: ESTree.JSXOpeningElement) => void;
|
|
216
|
-
JSXSpreadAttribute?: (node: ESTree.JSXSpreadAttribute) => void;
|
|
217
|
-
"JSXSpreadAttribute:exit"?: (node: ESTree.JSXSpreadAttribute) => void;
|
|
218
|
-
JSXSpreadChild?: (node: ESTree.JSXSpreadChild) => void;
|
|
219
|
-
"JSXSpreadChild:exit"?: (node: ESTree.JSXSpreadChild) => void;
|
|
220
|
-
TSAbstractAccessorProperty?: (node: ESTree.AccessorProperty) => void;
|
|
221
|
-
"TSAbstractAccessorProperty:exit"?: (node: ESTree.AccessorProperty) => void;
|
|
222
|
-
TSAbstractMethodDefinition?: (node: ESTree.MethodDefinition) => void;
|
|
223
|
-
"TSAbstractMethodDefinition:exit"?: (node: ESTree.MethodDefinition) => void;
|
|
224
|
-
TSAbstractPropertyDefinition?: (node: ESTree.PropertyDefinition) => void;
|
|
225
|
-
"TSAbstractPropertyDefinition:exit"?: (node: ESTree.PropertyDefinition) => void;
|
|
226
|
-
TSArrayType?: (node: ESTree.TSArrayType) => void;
|
|
227
|
-
"TSArrayType:exit"?: (node: ESTree.TSArrayType) => void;
|
|
228
|
-
TSAsExpression?: (node: ESTree.TSAsExpression) => void;
|
|
229
|
-
"TSAsExpression:exit"?: (node: ESTree.TSAsExpression) => void;
|
|
230
|
-
TSCallSignatureDeclaration?: (node: ESTree.TSCallSignatureDeclaration) => void;
|
|
231
|
-
"TSCallSignatureDeclaration:exit"?: (node: ESTree.TSCallSignatureDeclaration) => void;
|
|
232
|
-
TSClassImplements?: (node: ESTree.TSClassImplements) => void;
|
|
233
|
-
"TSClassImplements:exit"?: (node: ESTree.TSClassImplements) => void;
|
|
234
|
-
TSConditionalType?: (node: ESTree.TSConditionalType) => void;
|
|
235
|
-
"TSConditionalType:exit"?: (node: ESTree.TSConditionalType) => void;
|
|
236
|
-
TSConstructSignatureDeclaration?: (node: ESTree.TSConstructSignatureDeclaration) => void;
|
|
237
|
-
"TSConstructSignatureDeclaration:exit"?: (node: ESTree.TSConstructSignatureDeclaration) => void;
|
|
238
|
-
TSConstructorType?: (node: ESTree.TSConstructorType) => void;
|
|
239
|
-
"TSConstructorType:exit"?: (node: ESTree.TSConstructorType) => void;
|
|
240
|
-
TSDeclareFunction?: (node: ESTree.Function) => void;
|
|
241
|
-
"TSDeclareFunction:exit"?: (node: ESTree.Function) => void;
|
|
242
|
-
TSEmptyBodyFunctionExpression?: (node: ESTree.Function) => void;
|
|
243
|
-
"TSEmptyBodyFunctionExpression:exit"?: (node: ESTree.Function) => void;
|
|
244
|
-
TSEnumBody?: (node: ESTree.TSEnumBody) => void;
|
|
245
|
-
"TSEnumBody:exit"?: (node: ESTree.TSEnumBody) => void;
|
|
246
|
-
TSEnumDeclaration?: (node: ESTree.TSEnumDeclaration) => void;
|
|
247
|
-
"TSEnumDeclaration:exit"?: (node: ESTree.TSEnumDeclaration) => void;
|
|
248
|
-
TSEnumMember?: (node: ESTree.TSEnumMember) => void;
|
|
249
|
-
"TSEnumMember:exit"?: (node: ESTree.TSEnumMember) => void;
|
|
250
|
-
TSExportAssignment?: (node: ESTree.TSExportAssignment) => void;
|
|
251
|
-
"TSExportAssignment:exit"?: (node: ESTree.TSExportAssignment) => void;
|
|
252
|
-
TSExternalModuleReference?: (node: ESTree.TSExternalModuleReference) => void;
|
|
253
|
-
"TSExternalModuleReference:exit"?: (node: ESTree.TSExternalModuleReference) => void;
|
|
254
|
-
TSFunctionType?: (node: ESTree.TSFunctionType) => void;
|
|
255
|
-
"TSFunctionType:exit"?: (node: ESTree.TSFunctionType) => void;
|
|
256
|
-
TSImportEqualsDeclaration?: (node: ESTree.TSImportEqualsDeclaration) => void;
|
|
257
|
-
"TSImportEqualsDeclaration:exit"?: (node: ESTree.TSImportEqualsDeclaration) => void;
|
|
258
|
-
TSImportType?: (node: ESTree.TSImportType) => void;
|
|
259
|
-
"TSImportType:exit"?: (node: ESTree.TSImportType) => void;
|
|
260
|
-
TSIndexSignature?: (node: ESTree.TSIndexSignature) => void;
|
|
261
|
-
"TSIndexSignature:exit"?: (node: ESTree.TSIndexSignature) => void;
|
|
262
|
-
TSIndexedAccessType?: (node: ESTree.TSIndexedAccessType) => void;
|
|
263
|
-
"TSIndexedAccessType:exit"?: (node: ESTree.TSIndexedAccessType) => void;
|
|
264
|
-
TSInferType?: (node: ESTree.TSInferType) => void;
|
|
265
|
-
"TSInferType:exit"?: (node: ESTree.TSInferType) => void;
|
|
266
|
-
TSInstantiationExpression?: (node: ESTree.TSInstantiationExpression) => void;
|
|
267
|
-
"TSInstantiationExpression:exit"?: (node: ESTree.TSInstantiationExpression) => void;
|
|
268
|
-
TSInterfaceBody?: (node: ESTree.TSInterfaceBody) => void;
|
|
269
|
-
"TSInterfaceBody:exit"?: (node: ESTree.TSInterfaceBody) => void;
|
|
270
|
-
TSInterfaceDeclaration?: (node: ESTree.TSInterfaceDeclaration) => void;
|
|
271
|
-
"TSInterfaceDeclaration:exit"?: (node: ESTree.TSInterfaceDeclaration) => void;
|
|
272
|
-
TSInterfaceHeritage?: (node: ESTree.TSInterfaceHeritage) => void;
|
|
273
|
-
"TSInterfaceHeritage:exit"?: (node: ESTree.TSInterfaceHeritage) => void;
|
|
274
|
-
TSIntersectionType?: (node: ESTree.TSIntersectionType) => void;
|
|
275
|
-
"TSIntersectionType:exit"?: (node: ESTree.TSIntersectionType) => void;
|
|
276
|
-
TSJSDocNonNullableType?: (node: ESTree.JSDocNonNullableType) => void;
|
|
277
|
-
"TSJSDocNonNullableType:exit"?: (node: ESTree.JSDocNonNullableType) => void;
|
|
278
|
-
TSJSDocNullableType?: (node: ESTree.JSDocNullableType) => void;
|
|
279
|
-
"TSJSDocNullableType:exit"?: (node: ESTree.JSDocNullableType) => void;
|
|
280
|
-
TSLiteralType?: (node: ESTree.TSLiteralType) => void;
|
|
281
|
-
"TSLiteralType:exit"?: (node: ESTree.TSLiteralType) => void;
|
|
282
|
-
TSMappedType?: (node: ESTree.TSMappedType) => void;
|
|
283
|
-
"TSMappedType:exit"?: (node: ESTree.TSMappedType) => void;
|
|
284
|
-
TSMethodSignature?: (node: ESTree.TSMethodSignature) => void;
|
|
285
|
-
"TSMethodSignature:exit"?: (node: ESTree.TSMethodSignature) => void;
|
|
286
|
-
TSModuleBlock?: (node: ESTree.TSModuleBlock) => void;
|
|
287
|
-
"TSModuleBlock:exit"?: (node: ESTree.TSModuleBlock) => void;
|
|
288
|
-
TSModuleDeclaration?: (node: ESTree.TSModuleDeclaration | ESTree.TSGlobalDeclaration) => void;
|
|
289
|
-
"TSModuleDeclaration:exit"?: (node: ESTree.TSModuleDeclaration | ESTree.TSGlobalDeclaration) => void;
|
|
290
|
-
TSNamedTupleMember?: (node: ESTree.TSNamedTupleMember) => void;
|
|
291
|
-
"TSNamedTupleMember:exit"?: (node: ESTree.TSNamedTupleMember) => void;
|
|
292
|
-
TSNamespaceExportDeclaration?: (node: ESTree.TSNamespaceExportDeclaration) => void;
|
|
293
|
-
"TSNamespaceExportDeclaration:exit"?: (node: ESTree.TSNamespaceExportDeclaration) => void;
|
|
294
|
-
TSNonNullExpression?: (node: ESTree.TSNonNullExpression) => void;
|
|
295
|
-
"TSNonNullExpression:exit"?: (node: ESTree.TSNonNullExpression) => void;
|
|
296
|
-
TSOptionalType?: (node: ESTree.TSOptionalType) => void;
|
|
297
|
-
"TSOptionalType:exit"?: (node: ESTree.TSOptionalType) => void;
|
|
298
|
-
TSParameterProperty?: (node: ESTree.TSParameterProperty) => void;
|
|
299
|
-
"TSParameterProperty:exit"?: (node: ESTree.TSParameterProperty) => void;
|
|
300
|
-
TSParenthesizedType?: (node: ESTree.TSParenthesizedType) => void;
|
|
301
|
-
"TSParenthesizedType:exit"?: (node: ESTree.TSParenthesizedType) => void;
|
|
302
|
-
TSPropertySignature?: (node: ESTree.TSPropertySignature) => void;
|
|
303
|
-
"TSPropertySignature:exit"?: (node: ESTree.TSPropertySignature) => void;
|
|
304
|
-
TSQualifiedName?: (node: ESTree.TSQualifiedName) => void;
|
|
305
|
-
"TSQualifiedName:exit"?: (node: ESTree.TSQualifiedName) => void;
|
|
306
|
-
TSRestType?: (node: ESTree.TSRestType) => void;
|
|
307
|
-
"TSRestType:exit"?: (node: ESTree.TSRestType) => void;
|
|
308
|
-
TSSatisfiesExpression?: (node: ESTree.TSSatisfiesExpression) => void;
|
|
309
|
-
"TSSatisfiesExpression:exit"?: (node: ESTree.TSSatisfiesExpression) => void;
|
|
310
|
-
TSTemplateLiteralType?: (node: ESTree.TSTemplateLiteralType) => void;
|
|
311
|
-
"TSTemplateLiteralType:exit"?: (node: ESTree.TSTemplateLiteralType) => void;
|
|
312
|
-
TSTupleType?: (node: ESTree.TSTupleType) => void;
|
|
313
|
-
"TSTupleType:exit"?: (node: ESTree.TSTupleType) => void;
|
|
314
|
-
TSTypeAliasDeclaration?: (node: ESTree.TSTypeAliasDeclaration) => void;
|
|
315
|
-
"TSTypeAliasDeclaration:exit"?: (node: ESTree.TSTypeAliasDeclaration) => void;
|
|
316
|
-
TSTypeAnnotation?: (node: ESTree.TSTypeAnnotation) => void;
|
|
317
|
-
"TSTypeAnnotation:exit"?: (node: ESTree.TSTypeAnnotation) => void;
|
|
318
|
-
TSTypeAssertion?: (node: ESTree.TSTypeAssertion) => void;
|
|
319
|
-
"TSTypeAssertion:exit"?: (node: ESTree.TSTypeAssertion) => void;
|
|
320
|
-
TSTypeLiteral?: (node: ESTree.TSTypeLiteral) => void;
|
|
321
|
-
"TSTypeLiteral:exit"?: (node: ESTree.TSTypeLiteral) => void;
|
|
322
|
-
TSTypeOperator?: (node: ESTree.TSTypeOperator) => void;
|
|
323
|
-
"TSTypeOperator:exit"?: (node: ESTree.TSTypeOperator) => void;
|
|
324
|
-
TSTypeParameter?: (node: ESTree.TSTypeParameter) => void;
|
|
325
|
-
"TSTypeParameter:exit"?: (node: ESTree.TSTypeParameter) => void;
|
|
326
|
-
TSTypeParameterDeclaration?: (node: ESTree.TSTypeParameterDeclaration) => void;
|
|
327
|
-
"TSTypeParameterDeclaration:exit"?: (node: ESTree.TSTypeParameterDeclaration) => void;
|
|
328
|
-
TSTypeParameterInstantiation?: (node: ESTree.TSTypeParameterInstantiation) => void;
|
|
329
|
-
"TSTypeParameterInstantiation:exit"?: (node: ESTree.TSTypeParameterInstantiation) => void;
|
|
330
|
-
TSTypePredicate?: (node: ESTree.TSTypePredicate) => void;
|
|
331
|
-
"TSTypePredicate:exit"?: (node: ESTree.TSTypePredicate) => void;
|
|
332
|
-
TSTypeQuery?: (node: ESTree.TSTypeQuery) => void;
|
|
333
|
-
"TSTypeQuery:exit"?: (node: ESTree.TSTypeQuery) => void;
|
|
334
|
-
TSTypeReference?: (node: ESTree.TSTypeReference) => void;
|
|
335
|
-
"TSTypeReference:exit"?: (node: ESTree.TSTypeReference) => void;
|
|
336
|
-
TSUnionType?: (node: ESTree.TSUnionType) => void;
|
|
337
|
-
"TSUnionType:exit"?: (node: ESTree.TSUnionType) => void;
|
|
338
|
-
}
|
|
339
|
-
//#endregion
|
|
340
|
-
//#region src/utils/visitor.d.ts
|
|
341
|
-
/**
|
|
342
|
-
* Visitor object for traversing AST.
|
|
343
|
-
*
|
|
344
|
-
* @category Utilities
|
|
345
|
-
*/
|
|
346
|
-
type VisitorObject = VisitorObject$1;
|
|
347
|
-
/**
|
|
348
|
-
* Visitor class for traversing AST.
|
|
349
|
-
*
|
|
350
|
-
* @example
|
|
351
|
-
* ```ts
|
|
352
|
-
* import { Visitor } from 'rolldown/utils';
|
|
353
|
-
* import { parseSync } from 'rolldown/utils';
|
|
354
|
-
*
|
|
355
|
-
* const result = parseSync(...);
|
|
356
|
-
* const visitor = new Visitor({
|
|
357
|
-
* VariableDeclaration(path) {
|
|
358
|
-
* // Do something with the variable declaration
|
|
359
|
-
* },
|
|
360
|
-
* "VariableDeclaration:exit"(path) {
|
|
361
|
-
* // Do something after visiting the variable declaration
|
|
362
|
-
* }
|
|
363
|
-
* });
|
|
364
|
-
* visitor.visit(result.program);
|
|
365
|
-
* ```
|
|
366
|
-
*
|
|
367
|
-
* @category Utilities
|
|
368
|
-
* @experimental
|
|
369
|
-
*/
|
|
370
|
-
declare class Visitor {
|
|
371
|
-
#private;
|
|
372
|
-
constructor(visitor: VisitorObject);
|
|
373
|
-
visit(program: Program): void;
|
|
374
|
-
}
|
|
375
|
-
//#endregion
|
|
376
|
-
export { type ESTree, type MinifyOptions, type MinifyResult, type ParseResult, type ParserOptions, type TransformOptions, type TransformResult, TsconfigCache, type BindingTsconfigCompilerOptions as TsconfigCompilerOptions, type BindingTsconfigRawOptions as TsconfigRawOptions, Visitor, type VisitorObject, minify, minifySync, parse, parseSync, transform, transformSync };
|