mockaton 13.7.0 → 13.9.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/README.md +27 -8
- package/package.json +5 -3
- package/src/client/ApiConstants.js +0 -2
- package/src/client/Filename.js +2 -2
- package/src/client/app-payload-viewer.js +4 -2
- package/src/client/dir/groupByFolder.js +16 -14
- package/src/server/MockBroker.js +7 -2
- package/src/server/MockDispatcher.js +3 -2
- package/src/server/Mockaton.js +10 -12
- package/src/server/Mockaton.test.js +42 -0
- package/src/server/cli.js +9 -8
- package/src/server/importResolver.js +35 -0
- package/src/server/utils/logger.js +2 -4
- package/src/server/utils/openInBrowser.js +1 -1
- package/vite-plugin/README.md +29 -0
- package/vite-plugin/index.ts +21 -0
- package/vite-plugin/node_modules/.package-lock.json +356 -0
- package/vite-plugin/node_modules/@oxc-project/types/LICENSE +22 -0
- package/vite-plugin/node_modules/@oxc-project/types/README.md +3 -0
- package/vite-plugin/node_modules/@oxc-project/types/package.json +26 -0
- package/vite-plugin/node_modules/@oxc-project/types/types.d.ts +1912 -0
- package/vite-plugin/node_modules/@rolldown/binding-darwin-arm64/README.md +3 -0
- package/vite-plugin/node_modules/@rolldown/binding-darwin-arm64/package.json +37 -0
- package/vite-plugin/node_modules/@rolldown/binding-darwin-arm64/rolldown-binding.darwin-arm64.node +0 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/LICENSE +25 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/README.md +83 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.d.ts +90 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.js +256 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.d.ts +28 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.js +75 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/index.d.ts +3 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/index.js +3 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.d.ts +71 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.js +70 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/index.d.ts +1 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/index.js +1 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/utils.d.ts +2 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/dist/utils.js +17 -0
- package/vite-plugin/node_modules/@rolldown/pluginutils/package.json +37 -0
- package/vite-plugin/node_modules/detect-libc/LICENSE +201 -0
- package/vite-plugin/node_modules/detect-libc/README.md +163 -0
- package/vite-plugin/node_modules/detect-libc/index.d.ts +14 -0
- package/vite-plugin/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/vite-plugin/node_modules/detect-libc/lib/elf.js +39 -0
- package/vite-plugin/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/vite-plugin/node_modules/detect-libc/lib/process.js +24 -0
- package/vite-plugin/node_modules/detect-libc/package.json +44 -0
- package/vite-plugin/node_modules/fdir/LICENSE +7 -0
- package/vite-plugin/node_modules/fdir/README.md +91 -0
- package/vite-plugin/node_modules/fdir/dist/index.cjs +588 -0
- package/vite-plugin/node_modules/fdir/dist/index.d.cts +155 -0
- package/vite-plugin/node_modules/fdir/dist/index.d.mts +155 -0
- package/vite-plugin/node_modules/fdir/dist/index.mjs +570 -0
- package/vite-plugin/node_modules/fdir/package.json +103 -0
- package/vite-plugin/node_modules/fsevents/LICENSE +22 -0
- package/vite-plugin/node_modules/fsevents/README.md +89 -0
- package/vite-plugin/node_modules/fsevents/fsevents.d.ts +46 -0
- package/vite-plugin/node_modules/fsevents/fsevents.js +83 -0
- package/vite-plugin/node_modules/fsevents/fsevents.node +0 -0
- package/vite-plugin/node_modules/fsevents/package.json +62 -0
- package/vite-plugin/node_modules/lightningcss/LICENSE +373 -0
- package/vite-plugin/node_modules/lightningcss/README.md +105 -0
- package/vite-plugin/node_modules/lightningcss/node/ast.d.ts +9892 -0
- package/vite-plugin/node_modules/lightningcss/node/ast.js.flow +10539 -0
- package/vite-plugin/node_modules/lightningcss/node/browserslistToTargets.js +48 -0
- package/vite-plugin/node_modules/lightningcss/node/composeVisitors.js +450 -0
- package/vite-plugin/node_modules/lightningcss/node/flags.js +28 -0
- package/vite-plugin/node_modules/lightningcss/node/index.d.ts +494 -0
- package/vite-plugin/node_modules/lightningcss/node/index.js +59 -0
- package/vite-plugin/node_modules/lightningcss/node/index.js.flow +843 -0
- package/vite-plugin/node_modules/lightningcss/node/index.mjs +4 -0
- package/vite-plugin/node_modules/lightningcss/node/targets.d.ts +40 -0
- package/vite-plugin/node_modules/lightningcss/node/targets.js.flow +39 -0
- package/vite-plugin/node_modules/lightningcss/package.json +110 -0
- package/vite-plugin/node_modules/lightningcss-darwin-arm64/LICENSE +373 -0
- package/vite-plugin/node_modules/lightningcss-darwin-arm64/README.md +1 -0
- package/vite-plugin/node_modules/lightningcss-darwin-arm64/lightningcss.darwin-arm64.node +0 -0
- package/vite-plugin/node_modules/lightningcss-darwin-arm64/package.json +34 -0
- package/vite-plugin/node_modules/nanoid/LICENSE +20 -0
- package/vite-plugin/node_modules/nanoid/README.md +39 -0
- package/vite-plugin/node_modules/nanoid/async/index.browser.cjs +69 -0
- package/vite-plugin/node_modules/nanoid/async/index.browser.js +34 -0
- package/vite-plugin/node_modules/nanoid/async/index.cjs +71 -0
- package/vite-plugin/node_modules/nanoid/async/index.d.ts +56 -0
- package/vite-plugin/node_modules/nanoid/async/index.js +35 -0
- package/vite-plugin/node_modules/nanoid/async/index.native.js +26 -0
- package/vite-plugin/node_modules/nanoid/async/package.json +12 -0
- package/vite-plugin/node_modules/nanoid/bin/nanoid.cjs +55 -0
- package/vite-plugin/node_modules/nanoid/index.browser.cjs +72 -0
- package/vite-plugin/node_modules/nanoid/index.browser.js +34 -0
- package/vite-plugin/node_modules/nanoid/index.cjs +85 -0
- package/vite-plugin/node_modules/nanoid/index.d.cts +91 -0
- package/vite-plugin/node_modules/nanoid/index.d.ts +91 -0
- package/vite-plugin/node_modules/nanoid/index.js +45 -0
- package/vite-plugin/node_modules/nanoid/nanoid.js +1 -0
- package/vite-plugin/node_modules/nanoid/non-secure/index.cjs +34 -0
- package/vite-plugin/node_modules/nanoid/non-secure/index.d.ts +33 -0
- package/vite-plugin/node_modules/nanoid/non-secure/index.js +21 -0
- package/vite-plugin/node_modules/nanoid/non-secure/package.json +6 -0
- package/vite-plugin/node_modules/nanoid/package.json +89 -0
- package/vite-plugin/node_modules/nanoid/url-alphabet/index.cjs +7 -0
- package/vite-plugin/node_modules/nanoid/url-alphabet/index.js +3 -0
- package/vite-plugin/node_modules/nanoid/url-alphabet/package.json +6 -0
- package/vite-plugin/node_modules/picocolors/LICENSE +15 -0
- package/vite-plugin/node_modules/picocolors/README.md +21 -0
- package/vite-plugin/node_modules/picocolors/package.json +25 -0
- package/vite-plugin/node_modules/picocolors/picocolors.browser.js +4 -0
- package/vite-plugin/node_modules/picocolors/picocolors.d.ts +5 -0
- package/vite-plugin/node_modules/picocolors/picocolors.js +75 -0
- package/vite-plugin/node_modules/picocolors/types.d.ts +51 -0
- package/vite-plugin/node_modules/picomatch/LICENSE +21 -0
- package/vite-plugin/node_modules/picomatch/README.md +749 -0
- package/vite-plugin/node_modules/picomatch/index.js +17 -0
- package/vite-plugin/node_modules/picomatch/lib/constants.js +184 -0
- package/vite-plugin/node_modules/picomatch/lib/parse.js +1386 -0
- package/vite-plugin/node_modules/picomatch/lib/picomatch.js +349 -0
- package/vite-plugin/node_modules/picomatch/lib/scan.js +391 -0
- package/vite-plugin/node_modules/picomatch/lib/utils.js +72 -0
- package/vite-plugin/node_modules/picomatch/package.json +82 -0
- package/vite-plugin/node_modules/picomatch/posix.js +3 -0
- package/vite-plugin/node_modules/postcss/LICENSE +20 -0
- package/vite-plugin/node_modules/postcss/README.md +28 -0
- package/vite-plugin/node_modules/postcss/lib/at-rule.d.ts +139 -0
- package/vite-plugin/node_modules/postcss/lib/at-rule.js +25 -0
- package/vite-plugin/node_modules/postcss/lib/comment.d.ts +67 -0
- package/vite-plugin/node_modules/postcss/lib/comment.js +13 -0
- package/vite-plugin/node_modules/postcss/lib/container.d.ts +478 -0
- package/vite-plugin/node_modules/postcss/lib/container.js +447 -0
- package/vite-plugin/node_modules/postcss/lib/css-syntax-error.d.ts +247 -0
- package/vite-plugin/node_modules/postcss/lib/css-syntax-error.js +133 -0
- package/vite-plugin/node_modules/postcss/lib/declaration.d.ts +150 -0
- package/vite-plugin/node_modules/postcss/lib/declaration.js +24 -0
- package/vite-plugin/node_modules/postcss/lib/document.d.ts +68 -0
- package/vite-plugin/node_modules/postcss/lib/document.js +33 -0
- package/vite-plugin/node_modules/postcss/lib/fromJSON.d.ts +9 -0
- package/vite-plugin/node_modules/postcss/lib/fromJSON.js +54 -0
- package/vite-plugin/node_modules/postcss/lib/input.d.ts +226 -0
- package/vite-plugin/node_modules/postcss/lib/input.js +273 -0
- package/vite-plugin/node_modules/postcss/lib/lazy-result.d.ts +189 -0
- package/vite-plugin/node_modules/postcss/lib/lazy-result.js +550 -0
- package/vite-plugin/node_modules/postcss/lib/list.d.ts +60 -0
- package/vite-plugin/node_modules/postcss/lib/list.js +58 -0
- package/vite-plugin/node_modules/postcss/lib/map-generator.js +376 -0
- package/vite-plugin/node_modules/postcss/lib/no-work-result.d.ts +45 -0
- package/vite-plugin/node_modules/postcss/lib/no-work-result.js +137 -0
- package/vite-plugin/node_modules/postcss/lib/node.d.ts +555 -0
- package/vite-plugin/node_modules/postcss/lib/node.js +449 -0
- package/vite-plugin/node_modules/postcss/lib/parse.d.ts +9 -0
- package/vite-plugin/node_modules/postcss/lib/parse.js +42 -0
- package/vite-plugin/node_modules/postcss/lib/parser.js +611 -0
- package/vite-plugin/node_modules/postcss/lib/postcss.d.mts +66 -0
- package/vite-plugin/node_modules/postcss/lib/postcss.d.ts +456 -0
- package/vite-plugin/node_modules/postcss/lib/postcss.js +101 -0
- package/vite-plugin/node_modules/postcss/lib/postcss.mjs +30 -0
- package/vite-plugin/node_modules/postcss/lib/previous-map.d.ts +80 -0
- package/vite-plugin/node_modules/postcss/lib/previous-map.js +145 -0
- package/vite-plugin/node_modules/postcss/lib/processor.d.ts +114 -0
- package/vite-plugin/node_modules/postcss/lib/processor.js +67 -0
- package/vite-plugin/node_modules/postcss/lib/result.d.ts +204 -0
- package/vite-plugin/node_modules/postcss/lib/result.js +42 -0
- package/vite-plugin/node_modules/postcss/lib/root.d.ts +86 -0
- package/vite-plugin/node_modules/postcss/lib/root.js +61 -0
- package/vite-plugin/node_modules/postcss/lib/rule.d.ts +126 -0
- package/vite-plugin/node_modules/postcss/lib/rule.js +27 -0
- package/vite-plugin/node_modules/postcss/lib/stringifier.d.ts +45 -0
- package/vite-plugin/node_modules/postcss/lib/stringifier.js +370 -0
- package/vite-plugin/node_modules/postcss/lib/stringify.d.ts +9 -0
- package/vite-plugin/node_modules/postcss/lib/stringify.js +11 -0
- package/vite-plugin/node_modules/postcss/lib/symbols.js +5 -0
- package/vite-plugin/node_modules/postcss/lib/terminal-highlight.js +70 -0
- package/vite-plugin/node_modules/postcss/lib/tokenize.js +266 -0
- package/vite-plugin/node_modules/postcss/lib/warn-once.js +13 -0
- package/vite-plugin/node_modules/postcss/lib/warning.d.ts +146 -0
- package/vite-plugin/node_modules/postcss/lib/warning.js +37 -0
- package/vite-plugin/node_modules/postcss/package.json +88 -0
- package/vite-plugin/node_modules/rolldown/LICENSE +25 -0
- package/vite-plugin/node_modules/rolldown/README.md +11 -0
- package/vite-plugin/node_modules/rolldown/bin/cli.mjs +2 -0
- package/vite-plugin/node_modules/rolldown/dist/cli.d.mts +1 -0
- package/vite-plugin/node_modules/rolldown/dist/cli.mjs +1191 -0
- package/vite-plugin/node_modules/rolldown/dist/config.d.mts +14 -0
- package/vite-plugin/node_modules/rolldown/dist/config.mjs +4 -0
- package/vite-plugin/node_modules/rolldown/dist/experimental-index.d.mts +253 -0
- package/vite-plugin/node_modules/rolldown/dist/experimental-index.mjs +320 -0
- package/vite-plugin/node_modules/rolldown/dist/experimental-runtime-types.d.ts +98 -0
- package/vite-plugin/node_modules/rolldown/dist/filter-index.d.mts +196 -0
- package/vite-plugin/node_modules/rolldown/dist/filter-index.mjs +386 -0
- package/vite-plugin/node_modules/rolldown/dist/get-log-filter.d.mts +3 -0
- package/vite-plugin/node_modules/rolldown/dist/get-log-filter.mjs +68 -0
- package/vite-plugin/node_modules/rolldown/dist/index.d.mts +4 -0
- package/vite-plugin/node_modules/rolldown/dist/index.mjs +50 -0
- package/vite-plugin/node_modules/rolldown/dist/parallel-plugin-worker.d.mts +1 -0
- package/vite-plugin/node_modules/rolldown/dist/parallel-plugin-worker.mjs +28 -0
- package/vite-plugin/node_modules/rolldown/dist/parallel-plugin.d.mts +13 -0
- package/vite-plugin/node_modules/rolldown/dist/parallel-plugin.mjs +6 -0
- package/vite-plugin/node_modules/rolldown/dist/parse-ast-index.d.mts +32 -0
- package/vite-plugin/node_modules/rolldown/dist/parse-ast-index.mjs +60 -0
- package/vite-plugin/node_modules/rolldown/dist/plugins-index.d.mts +33 -0
- package/vite-plugin/node_modules/rolldown/dist/plugins-index.mjs +40 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/binding-BeU_1iEk.mjs +582 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/binding-zH1vcmbM.d.mts +1899 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/bindingify-input-options-DbbBhzky.mjs +2211 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/constructors-C2EWPKW3.mjs +68 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/constructors-D0W3rNfA.d.mts +37 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/define-config-5HJ1b9vG.d.mts +3829 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/define-config-DJOr6Iwt.mjs +6 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/error-DL-e8-oE.mjs +85 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/get-log-filter-semyr3Lj.d.mts +35 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/load-config-BoVO31Un.mjs +120 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/logging-C6h4g8dA.d.mts +50 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/logs-D80CXhvg.mjs +180 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/misc-DJYbNKZX.mjs +21 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/normalize-string-or-regex-CbQQ69gT.mjs +66 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/parse-B_ZnWxLZ.mjs +74 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/prompt-U5ajztzG.mjs +847 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/resolve-tsconfig-CfYpGzid.mjs +113 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/rolldown-D3JZ9rMt.mjs +40 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/rolldown-build-DSxL8qiP.mjs +3325 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/transform-DgZ3paSD.d.mts +149 -0
- package/vite-plugin/node_modules/rolldown/dist/shared/watch-Bd8v9ewv.mjs +374 -0
- package/vite-plugin/node_modules/rolldown/dist/utils-index.d.mts +376 -0
- package/vite-plugin/node_modules/rolldown/dist/utils-index.mjs +2414 -0
- package/vite-plugin/node_modules/rolldown/package.json +153 -0
- package/vite-plugin/node_modules/source-map-js/LICENSE +28 -0
- package/vite-plugin/node_modules/source-map-js/README.md +765 -0
- package/vite-plugin/node_modules/source-map-js/lib/array-set.js +121 -0
- package/vite-plugin/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/vite-plugin/node_modules/source-map-js/lib/base64.js +67 -0
- package/vite-plugin/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/vite-plugin/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/vite-plugin/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/vite-plugin/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
- package/vite-plugin/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/vite-plugin/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
- package/vite-plugin/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/vite-plugin/node_modules/source-map-js/lib/source-node.d.ts +1 -0
- package/vite-plugin/node_modules/source-map-js/lib/source-node.js +413 -0
- package/vite-plugin/node_modules/source-map-js/lib/util.js +594 -0
- package/vite-plugin/node_modules/source-map-js/package.json +71 -0
- package/vite-plugin/node_modules/source-map-js/source-map.d.ts +104 -0
- package/vite-plugin/node_modules/source-map-js/source-map.js +8 -0
- package/vite-plugin/node_modules/tinyglobby/LICENSE +21 -0
- package/vite-plugin/node_modules/tinyglobby/README.md +25 -0
- package/vite-plugin/node_modules/tinyglobby/dist/index.cjs +334 -0
- package/vite-plugin/node_modules/tinyglobby/dist/index.d.cts +148 -0
- package/vite-plugin/node_modules/tinyglobby/dist/index.d.mts +148 -0
- package/vite-plugin/node_modules/tinyglobby/dist/index.mjs +306 -0
- package/vite-plugin/node_modules/tinyglobby/package.json +73 -0
- package/vite-plugin/node_modules/vite/LICENSE.md +2230 -0
- package/vite-plugin/node_modules/vite/README.md +20 -0
- package/vite-plugin/node_modules/vite/bin/openChrome.js +68 -0
- package/vite-plugin/node_modules/vite/bin/vite.js +79 -0
- package/vite-plugin/node_modules/vite/client.d.ts +282 -0
- package/vite-plugin/node_modules/vite/dist/client/client.mjs +1237 -0
- package/vite-plugin/node_modules/vite/dist/client/env.mjs +18 -0
- package/vite-plugin/node_modules/vite/dist/node/chunks/build.js +5381 -0
- package/vite-plugin/node_modules/vite/dist/node/chunks/chunk.js +37 -0
- package/vite-plugin/node_modules/vite/dist/node/chunks/dist.js +6784 -0
- package/vite-plugin/node_modules/vite/dist/node/chunks/lib.js +371 -0
- package/vite-plugin/node_modules/vite/dist/node/chunks/logger.js +322 -0
- package/vite-plugin/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts +96 -0
- package/vite-plugin/node_modules/vite/dist/node/chunks/node.js +34874 -0
- package/vite-plugin/node_modules/vite/dist/node/chunks/postcss-import.js +467 -0
- package/vite-plugin/node_modules/vite/dist/node/cli.js +837 -0
- package/vite-plugin/node_modules/vite/dist/node/index.d.ts +3867 -0
- package/vite-plugin/node_modules/vite/dist/node/index.js +3 -0
- package/vite-plugin/node_modules/vite/dist/node/internal.d.ts +2 -0
- package/vite-plugin/node_modules/vite/dist/node/internal.js +2 -0
- package/vite-plugin/node_modules/vite/dist/node/module-runner.d.ts +315 -0
- package/vite-plugin/node_modules/vite/dist/node/module-runner.js +1262 -0
- package/vite-plugin/node_modules/vite/misc/false.js +1 -0
- package/vite-plugin/node_modules/vite/misc/true.js +1 -0
- package/vite-plugin/node_modules/vite/package.json +192 -0
- package/vite-plugin/node_modules/vite/types/customEvent.d.ts +79 -0
- package/vite-plugin/node_modules/vite/types/hmrPayload.d.ts +80 -0
- package/vite-plugin/node_modules/vite/types/hot.d.ts +39 -0
- package/vite-plugin/node_modules/vite/types/import-meta.d.ts +5 -0
- package/vite-plugin/node_modules/vite/types/importGlob.d.ts +89 -0
- package/vite-plugin/node_modules/vite/types/importMeta.d.ts +30 -0
- package/vite-plugin/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts +44 -0
- package/vite-plugin/node_modules/vite/types/internal/esbuildOptions.d.ts +28 -0
- package/vite-plugin/node_modules/vite/types/internal/lightningcssOptions.d.ts +18 -0
- package/vite-plugin/node_modules/vite/types/internal/rollupTypeCompat.d.ts +24 -0
- package/vite-plugin/node_modules/vite/types/internal/terserOptions.d.ts +11 -0
- package/vite-plugin/node_modules/vite/types/metadata.d.ts +47 -0
- package/vite-plugin/package.json +14 -0
- package/www/src/{assets → .well-known/agent-skills/mockaton}/SKILLS.md +21 -9
- package/src/server/cacheBustResolver.js +0 -19
|
@@ -0,0 +1,376 @@
|
|
|
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 };
|