@poveste/vendors 0.15.0 → 0.16.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 +15 -1
- package/iconify.d.ts +5 -0
- package/iconify.js +5 -0
- package/package.json +39 -34
- package/pinia.d.ts +5 -0
- package/pinia.js +5 -0
- package/vue-router.d.ts +5 -0
- package/vue-router.js +5 -0
- package/vue-use.d.ts +5 -0
- package/vue-use.js +5 -0
- package/vue.d.ts +5 -0
- package/vue.js +9 -0
- package/dist/client/b-floating-vue.d.ts +0 -3
- package/dist/client/b-floating-vue.js +0 -3377
- package/dist/client/b-iconify.d.ts +0 -1
- package/dist/client/b-iconify.js +0 -1896
- package/dist/client/b-pinia.d.ts +0 -1
- package/dist/client/b-pinia.js +0 -1492
- package/dist/client/b-scroll.d.ts +0 -2
- package/dist/client/b-scroll.js +0 -7
- package/dist/client/b-vue-router.d.ts +0 -1
- package/dist/client/b-vue-router.js +0 -3058
- package/dist/client/b-vue-use.d.ts +0 -1
- package/dist/client/b-vue-use.js +0 -10774
- package/dist/client/b-vue.d.ts +0 -1
- package/dist/client/b-vue.js +0 -1
- package/dist/client/devtools-api.js +0 -6568
- package/dist/client/index.js +0 -185
- package/dist/client/node_modules/@babel/helper-string-parser/package.json +0 -31
- package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +0 -31
- package/dist/client/node_modules/@babel/parser/package.json +0 -50
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +0 -262
- package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +0 -2796
- package/dist/client/node_modules/@babel/types/lib/index.d.ts +0 -3616
- package/dist/client/node_modules/@babel/types/package.json +0 -39
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +0 -535
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +0 -535
- package/dist/client/node_modules/@floating-ui/core/package.json +0 -63
- package/dist/client/node_modules/@floating-ui/dom/index.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/package.json +0 -74
- package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +0 -31
- package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +0 -11
- package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +0 -128
- package/dist/client/node_modules/@floating-ui/dom/src/utils/convertOffsetParentRelativeRectToViewportRelativeRect.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +0 -12
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getComputedStyle.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +0 -4
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentElement.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeName.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeScroll.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOffsetParent.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +0 -3
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getParentNode.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getRectRelativeToOffsetParent.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +0 -7
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +0 -17
- package/dist/client/node_modules/@floating-ui/dom/src/utils/math.d.ts +0 -3
- package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +0 -105
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +0 -105
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +0 -47
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +0 -47
- package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +0 -47
- package/dist/client/node_modules/@floating-ui/utils/dom/package.json +0 -6
- package/dist/client/node_modules/@floating-ui/utils/package.json +0 -70
- package/dist/client/node_modules/@iconify/types/package.json +0 -23
- package/dist/client/node_modules/@iconify/types/provider.d.ts +0 -44
- package/dist/client/node_modules/@iconify/types/types.d.ts +0 -272
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +0 -420
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +0 -109
- package/dist/client/node_modules/@iconify/vue/offline/package.json +0 -14
- package/dist/client/node_modules/@iconify/vue/package.json +0 -62
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +0 -88
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/set-array.d.ts +0 -32
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +0 -12
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +0 -43
- package/dist/client/node_modules/@jridgewell/gen-mapping/package.json +0 -67
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts +0 -89
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts +0 -33
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts +0 -13
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/types.d.mts +0 -44
- package/dist/client/node_modules/@jridgewell/remapping/package.json +0 -71
- package/dist/client/node_modules/@jridgewell/remapping/types/build-source-map-tree.d.mts +0 -15
- package/dist/client/node_modules/@jridgewell/remapping/types/remapping.d.mts +0 -21
- package/dist/client/node_modules/@jridgewell/remapping/types/source-map-tree.d.mts +0 -46
- package/dist/client/node_modules/@jridgewell/remapping/types/source-map.d.mts +0 -19
- package/dist/client/node_modules/@jridgewell/remapping/types/types.d.mts +0 -16
- package/dist/client/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +0 -4
- package/dist/client/node_modules/@jridgewell/resolve-uri/package.json +0 -69
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +0 -64
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts +0 -5
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +0 -50
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +0 -11
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +0 -16
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +0 -9
- package/dist/client/node_modules/@jridgewell/trace-mapping/package.json +0 -67
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts +0 -33
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts +0 -4
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts +0 -9
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts +0 -4
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/sort.d.mts +0 -4
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts +0 -17
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts +0 -5
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts +0 -80
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/types.d.mts +0 -107
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +0 -265
- package/dist/client/node_modules/@types/web-bluetooth/package.json +0 -46
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +0 -1120
- package/dist/client/node_modules/@vue/compiler-core/package.json +0 -58
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +0 -45
- package/dist/client/node_modules/@vue/compiler-dom/package.json +0 -57
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +0 -487
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +0 -67
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +0 -4
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +0 -34
- package/dist/client/node_modules/@vue/devtools-api/dist/index-node.d.ts +0 -11
- package/dist/client/node_modules/@vue/devtools-api/dist/index.d.ts +0 -2
- package/dist/client/node_modules/@vue/devtools-api/package.json +0 -38
- package/dist/client/node_modules/@vue/devtools-kit/dist/index.d.ts +0 -1170
- package/dist/client/node_modules/@vue/devtools-kit/global.d.ts +0 -20
- package/dist/client/node_modules/@vue/devtools-kit/package.json +0 -44
- package/dist/client/node_modules/@vue/devtools-kit/types.d.ts +0 -2
- package/dist/client/node_modules/@vue/devtools-shared/dist/index.d.ts +0 -40
- package/dist/client/node_modules/@vue/devtools-shared/package.json +0 -33
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +0 -757
- package/dist/client/node_modules/@vue/reactivity/package.json +0 -55
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +0 -1868
- package/dist/client/node_modules/@vue/runtime-core/package.json +0 -52
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +0 -1452
- package/dist/client/node_modules/@vue/runtime-dom/package.json +0 -60
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +0 -65
- package/dist/client/node_modules/@vue/server-renderer/package.json +0 -53
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +0 -334
- package/dist/client/node_modules/@vue/shared/package.json +0 -47
- package/dist/client/node_modules/@vue-macros/common/dist/index.d.ts +0 -124
- package/dist/client/node_modules/@vue-macros/common/package.json +0 -63
- package/dist/client/node_modules/@vueuse/core/dist/index.d.ts +0 -5860
- package/dist/client/node_modules/@vueuse/core/dist/metadata.d.mts +0 -1
- package/dist/client/node_modules/@vueuse/core/package.json +0 -56
- package/dist/client/node_modules/@vueuse/metadata/dist/index.d.ts +0 -81
- package/dist/client/node_modules/@vueuse/metadata/package.json +0 -41
- package/dist/client/node_modules/@vueuse/shared/dist/index.d.ts +0 -1511
- package/dist/client/node_modules/@vueuse/shared/package.json +0 -45
- package/dist/client/node_modules/acorn/dist/acorn.d.mts +0 -897
- package/dist/client/node_modules/acorn/dist/acorn.d.ts +0 -897
- package/dist/client/node_modules/acorn/package.json +0 -50
- package/dist/client/node_modules/ast-kit/dist/index.d.ts +0 -380
- package/dist/client/node_modules/ast-kit/package.json +0 -63
- package/dist/client/node_modules/ast-walker-scope/dist/index.d.mts +0 -51
- package/dist/client/node_modules/ast-walker-scope/package.json +0 -60
- package/dist/client/node_modules/birpc/dist/index.d.mts +0 -215
- package/dist/client/node_modules/birpc/dist/index.d.ts +0 -215
- package/dist/client/node_modules/birpc/package.json +0 -57
- package/dist/client/node_modules/chokidar/handler.d.ts +0 -90
- package/dist/client/node_modules/chokidar/index.d.ts +0 -217
- package/dist/client/node_modules/chokidar/package.json +0 -63
- package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +0 -75
- package/dist/client/node_modules/compute-scroll-into-view/package.json +0 -82
- package/dist/client/node_modules/confbox/dist/_chunks/_format.d.mts +0 -25
- package/dist/client/node_modules/confbox/dist/index.d.mts +0 -34
- package/dist/client/node_modules/confbox/dist/ini.d.mts +0 -62
- package/dist/client/node_modules/confbox/dist/json5.d.mts +0 -59
- package/dist/client/node_modules/confbox/dist/jsonc.d.mts +0 -41
- package/dist/client/node_modules/confbox/dist/toml.d.mts +0 -23
- package/dist/client/node_modules/confbox/dist/yaml.d.mts +0 -96
- package/dist/client/node_modules/confbox/package.json +0 -67
- package/dist/client/node_modules/csstype/index.d.ts +0 -22569
- package/dist/client/node_modules/csstype/package.json +0 -70
- package/dist/client/node_modules/entities/decode.d.ts +0 -3
- package/dist/client/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +0 -19
- package/dist/client/node_modules/entities/dist/commonjs/decode.d.ts +0 -205
- package/dist/client/node_modules/entities/dist/commonjs/encode.d.ts +0 -22
- package/dist/client/node_modules/entities/dist/commonjs/escape.d.ts +0 -46
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +0 -3
- package/dist/client/node_modules/entities/dist/commonjs/index.d.ts +0 -96
- package/dist/client/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +0 -17
- package/dist/client/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +0 -32
- package/dist/client/node_modules/entities/dist/commonjs/package.json +0 -3
- package/dist/client/node_modules/entities/dist/esm/decode-codepoint.d.ts +0 -19
- package/dist/client/node_modules/entities/dist/esm/decode.d.ts +0 -205
- package/dist/client/node_modules/entities/dist/esm/encode.d.ts +0 -22
- package/dist/client/node_modules/entities/dist/esm/escape.d.ts +0 -46
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/esm/generated/encode-html.d.ts +0 -3
- package/dist/client/node_modules/entities/dist/esm/index.d.ts +0 -96
- package/dist/client/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +0 -17
- package/dist/client/node_modules/entities/dist/esm/internal/decode-shared.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/esm/internal/encode-shared.d.ts +0 -32
- package/dist/client/node_modules/entities/dist/esm/package.json +0 -3
- package/dist/client/node_modules/entities/escape.d.ts +0 -3
- package/dist/client/node_modules/entities/package.json +0 -120
- package/dist/client/node_modules/estree-walker/dist/esm/package.json +0 -1
- package/dist/client/node_modules/estree-walker/package.json +0 -37
- package/dist/client/node_modules/estree-walker/src/package.json +0 -1
- package/dist/client/node_modules/estree-walker/types/async.d.ts +0 -53
- package/dist/client/node_modules/estree-walker/types/index.d.ts +0 -56
- package/dist/client/node_modules/estree-walker/types/sync.d.ts +0 -53
- package/dist/client/node_modules/estree-walker/types/walker.d.ts +0 -37
- package/dist/client/node_modules/exsolve/dist/index.d.mts +0 -66
- package/dist/client/node_modules/exsolve/package.json +0 -42
- package/dist/client/node_modules/fdir/dist/index.d.mts +0 -155
- package/dist/client/node_modules/fdir/package.json +0 -103
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +0 -398
- package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +0 -398
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +0 -495
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +0 -474
- package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +0 -37
- package/dist/client/node_modules/floating-vue/dist/components/PopperMethods.d.ts +0 -9
- package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +0 -414
- package/dist/client/node_modules/floating-vue/dist/components/ThemeClass.d.ts +0 -6
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +0 -398
- package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +0 -67
- package/dist/client/node_modules/floating-vue/dist/config.d.ts +0 -11
- package/dist/client/node_modules/floating-vue/dist/directives/v-close-popper.d.ts +0 -13
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.d.ts +0 -27
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.spec.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +0 -2239
- package/dist/client/node_modules/floating-vue/dist/util/assign-deep.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/dist/util/env.d.ts +0 -2
- package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +0 -14
- package/dist/client/node_modules/floating-vue/dist/util/frame.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/dist/util/lang.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +0 -3
- package/dist/client/node_modules/floating-vue/package.json +0 -80
- package/dist/client/node_modules/hookable/dist/index.d.ts +0 -103
- package/dist/client/node_modules/hookable/package.json +0 -49
- package/dist/client/node_modules/local-pkg/dist/index.d.mts +0 -42
- package/dist/client/node_modules/local-pkg/dist/index.d.ts +0 -42
- package/dist/client/node_modules/local-pkg/package.json +0 -65
- package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +0 -289
- package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +0 -289
- package/dist/client/node_modules/magic-string/package.json +0 -67
- package/dist/client/node_modules/magic-string-ast/dist/index.d.ts +0 -67
- package/dist/client/node_modules/magic-string-ast/package.json +0 -64
- package/dist/client/node_modules/mlly/dist/index.d.mts +0 -564
- package/dist/client/node_modules/mlly/dist/index.d.ts +0 -564
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/index.d.mts +0 -32
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/index.d.ts +0 -32
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/json5.d.mts +0 -58
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/json5.d.ts +0 -58
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/jsonc.d.mts +0 -41
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/jsonc.d.ts +0 -41
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/shared/confbox.9745c98f.d.mts +0 -24
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/shared/confbox.9745c98f.d.ts +0 -24
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/toml.d.mts +0 -22
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/toml.d.ts +0 -22
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/yaml.d.mts +0 -95
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/yaml.d.ts +0 -95
- package/dist/client/node_modules/mlly/node_modules/confbox/json5.d.ts +0 -2
- package/dist/client/node_modules/mlly/node_modules/confbox/jsonc.d.ts +0 -2
- package/dist/client/node_modules/mlly/node_modules/confbox/package.json +0 -86
- package/dist/client/node_modules/mlly/node_modules/confbox/toml.d.ts +0 -2
- package/dist/client/node_modules/mlly/node_modules/confbox/yaml.d.ts +0 -2
- package/dist/client/node_modules/mlly/node_modules/pkg-types/dist/index.d.mts +0 -411
- package/dist/client/node_modules/mlly/node_modules/pkg-types/dist/index.d.ts +0 -411
- package/dist/client/node_modules/mlly/node_modules/pkg-types/package.json +0 -47
- package/dist/client/node_modules/mlly/package.json +0 -55
- package/dist/client/node_modules/muggle-string/out/base.d.ts +0 -6
- package/dist/client/node_modules/muggle-string/out/basic.d.ts +0 -6
- package/dist/client/node_modules/muggle-string/out/binarySearch.d.ts +0 -1
- package/dist/client/node_modules/muggle-string/out/common.d.ts +0 -9
- package/dist/client/node_modules/muggle-string/out/getLength.d.ts +0 -2
- package/dist/client/node_modules/muggle-string/out/index.d.ts +0 -10
- package/dist/client/node_modules/muggle-string/out/map.d.ts +0 -3
- package/dist/client/node_modules/muggle-string/out/overwriteSource.d.ts +0 -3
- package/dist/client/node_modules/muggle-string/out/replace.d.ts +0 -3
- package/dist/client/node_modules/muggle-string/out/segment.d.ts +0 -6
- package/dist/client/node_modules/muggle-string/out/sourceBased.d.ts +0 -3
- package/dist/client/node_modules/muggle-string/out/toString.d.ts +0 -2
- package/dist/client/node_modules/muggle-string/out/track.d.ts +0 -6
- package/dist/client/node_modules/muggle-string/out/types.d.ts +0 -16
- package/dist/client/node_modules/muggle-string/package.json +0 -22
- package/dist/client/node_modules/nanoid/async/index.d.ts +0 -56
- package/dist/client/node_modules/nanoid/async/package.json +0 -12
- package/dist/client/node_modules/nanoid/index.d.ts +0 -91
- package/dist/client/node_modules/nanoid/non-secure/index.d.ts +0 -33
- package/dist/client/node_modules/nanoid/non-secure/package.json +0 -6
- package/dist/client/node_modules/nanoid/package.json +0 -89
- package/dist/client/node_modules/nanoid/url-alphabet/package.json +0 -6
- package/dist/client/node_modules/nostics/dist/diagnostic-wduO7saY.d.mts +0 -295
- package/dist/client/node_modules/nostics/dist/formatters/ansi.d.mts +0 -15
- package/dist/client/node_modules/nostics/dist/formatters/json.d.mts +0 -7
- package/dist/client/node_modules/nostics/dist/index.d.mts +0 -51
- package/dist/client/node_modules/nostics/dist/reporters/dev.d.mts +0 -13
- package/dist/client/node_modules/nostics/dist/reporters/fetch.d.mts +0 -11
- package/dist/client/node_modules/nostics/dist/reporters/node.d.mts +0 -43
- package/dist/client/node_modules/nostics/package.json +0 -125
- package/dist/client/node_modules/pathe/dist/index.d.mts +0 -47
- package/dist/client/node_modules/pathe/dist/index.d.ts +0 -47
- package/dist/client/node_modules/pathe/dist/utils.d.mts +0 -32
- package/dist/client/node_modules/pathe/dist/utils.d.ts +0 -32
- package/dist/client/node_modules/pathe/package.json +0 -61
- package/dist/client/node_modules/pathe/utils.d.ts +0 -1
- package/dist/client/node_modules/perfect-debounce/dist/index.d.mts +0 -49
- package/dist/client/node_modules/perfect-debounce/package.json +0 -41
- package/dist/client/node_modules/picocolors/package.json +0 -25
- package/dist/client/node_modules/picocolors/picocolors.d.ts +0 -5
- package/dist/client/node_modules/picocolors/types.d.ts +0 -51
- package/dist/client/node_modules/picomatch/package.json +0 -83
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +0 -955
- package/dist/client/node_modules/pinia/package.json +0 -82
- package/dist/client/node_modules/pkg-types/dist/index.d.mts +0 -695
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/_chunks/_format.d.mts +0 -22
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/_chunks/libs/js-yaml.d.mts +0 -33
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/index.d.mts +0 -7
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/ini.d.mts +0 -59
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/json.d.mts +0 -25
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/json5.d.mts +0 -55
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/jsonc.d.mts +0 -29
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/toml.d.mts +0 -20
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/yaml.d.mts +0 -101
- package/dist/client/node_modules/pkg-types/node_modules/confbox/package.json +0 -68
- package/dist/client/node_modules/pkg-types/package.json +0 -47
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +0 -139
- package/dist/client/node_modules/postcss/lib/comment.d.ts +0 -67
- package/dist/client/node_modules/postcss/lib/container.d.ts +0 -474
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +0 -247
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +0 -150
- package/dist/client/node_modules/postcss/lib/document.d.ts +0 -68
- package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +0 -9
- package/dist/client/node_modules/postcss/lib/input.d.ts +0 -226
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +0 -189
- package/dist/client/node_modules/postcss/lib/list.d.ts +0 -60
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +0 -45
- package/dist/client/node_modules/postcss/lib/node.d.ts +0 -555
- package/dist/client/node_modules/postcss/lib/parse.d.ts +0 -9
- package/dist/client/node_modules/postcss/lib/postcss.d.mts +0 -66
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +0 -464
- package/dist/client/node_modules/postcss/lib/previous-map.d.ts +0 -80
- package/dist/client/node_modules/postcss/lib/processor.d.ts +0 -114
- package/dist/client/node_modules/postcss/lib/result.d.ts +0 -204
- package/dist/client/node_modules/postcss/lib/root.d.ts +0 -86
- package/dist/client/node_modules/postcss/lib/rule.d.ts +0 -126
- package/dist/client/node_modules/postcss/lib/stringifier.d.ts +0 -45
- package/dist/client/node_modules/postcss/lib/stringify.d.ts +0 -9
- package/dist/client/node_modules/postcss/lib/warning.d.ts +0 -146
- package/dist/client/node_modules/postcss/package.json +0 -88
- package/dist/client/node_modules/quansync/dist/index.d.mts +0 -22
- package/dist/client/node_modules/quansync/dist/index.d.ts +0 -22
- package/dist/client/node_modules/quansync/dist/macro.d.mts +0 -18
- package/dist/client/node_modules/quansync/dist/macro.d.ts +0 -18
- package/dist/client/node_modules/quansync/dist/types.d.mts +0 -27
- package/dist/client/node_modules/quansync/dist/types.d.ts +0 -27
- package/dist/client/node_modules/quansync/package.json +0 -95
- package/dist/client/node_modules/readdirp/index.d.ts +0 -117
- package/dist/client/node_modules/readdirp/package.json +0 -62
- package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +0 -79
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +0 -80
- package/dist/client/node_modules/scule/dist/index.d.mts +0 -57
- package/dist/client/node_modules/scule/dist/index.d.ts +0 -57
- package/dist/client/node_modules/scule/package.json +0 -43
- package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +0 -1
- package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +0 -1
- package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +0 -1
- package/dist/client/node_modules/source-map-js/package.json +0 -71
- package/dist/client/node_modules/source-map-js/source-map.d.ts +0 -104
- package/dist/client/node_modules/tinyglobby/dist/index.d.mts +0 -148
- package/dist/client/node_modules/tinyglobby/package.json +0 -70
- package/dist/client/node_modules/ufo/dist/index.d.mts +0 -714
- package/dist/client/node_modules/ufo/dist/index.d.ts +0 -714
- package/dist/client/node_modules/ufo/package.json +0 -48
- package/dist/client/node_modules/unplugin/dist/index.d.mts +0 -241
- package/dist/client/node_modules/unplugin/dist/rspack/loaders/load.d.mts +0 -4
- package/dist/client/node_modules/unplugin/dist/rspack/loaders/transform.d.mts +0 -4
- package/dist/client/node_modules/unplugin/dist/webpack/loaders/load.d.mts +0 -4
- package/dist/client/node_modules/unplugin/dist/webpack/loaders/transform.d.mts +0 -4
- package/dist/client/node_modules/unplugin/package.json +0 -146
- package/dist/client/node_modules/unplugin-utils/dist/index.d.ts +0 -31
- package/dist/client/node_modules/unplugin-utils/package.json +0 -61
- package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +0 -1
- package/dist/client/node_modules/vue/compiler-sfc/index.d.ts +0 -1
- package/dist/client/node_modules/vue/compiler-sfc/package.json +0 -4
- package/dist/client/node_modules/vue/dist/vue.d.mts +0 -7
- package/dist/client/node_modules/vue/dist/vue.d.ts +0 -7
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +0 -25
- package/dist/client/node_modules/vue/jsx-runtime/package.json +0 -5
- package/dist/client/node_modules/vue/jsx.d.ts +0 -22
- package/dist/client/node_modules/vue/package.json +0 -112
- package/dist/client/node_modules/vue/server-renderer/index.d.mts +0 -1
- package/dist/client/node_modules/vue/server-renderer/index.d.ts +0 -1
- package/dist/client/node_modules/vue/server-renderer/package.json +0 -4
- package/dist/client/node_modules/vue-resize/package.json +0 -77
- package/dist/client/node_modules/vue-router/dist/experimental/index.d.ts +0 -7
- package/dist/client/node_modules/vue-router/dist/experimental/pinia-colada.d.ts +0 -151
- package/dist/client/node_modules/vue-router/dist/index-D7ja2BKs.d.ts +0 -3293
- package/dist/client/node_modules/vue-router/dist/options-CwYZKRl4.d.mts +0 -2923
- package/dist/client/node_modules/vue-router/dist/unplugin/esbuild.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/unplugin/index.d.mts +0 -62
- package/dist/client/node_modules/vue-router/dist/unplugin/options.d.mts +0 -7
- package/dist/client/node_modules/vue-router/dist/unplugin/rolldown.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/unplugin/rollup.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/unplugin/types.d.mts +0 -7
- package/dist/client/node_modules/vue-router/dist/unplugin/vite.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/unplugin/webpack.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +0 -7
- package/dist/client/node_modules/vue-router/package.json +0 -211
- package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +0 -27
- package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.mts +0 -53
- package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +0 -2
- package/dist/client/node_modules/webpack-virtual-modules/lib/index.d.ts +0 -15
- package/dist/client/node_modules/webpack-virtual-modules/lib/virtual-stats.d.ts +0 -11
- package/dist/client/node_modules/webpack-virtual-modules/package.json +0 -82
- package/dist/client/vue.runtime.esm-bundler.js +0 -13389
- package/src/client/b-floating-vue.ts +0 -5
- package/src/client/b-iconify.ts +0 -1
- package/src/client/b-pinia.ts +0 -1
- package/src/client/b-scroll.ts +0 -4
- package/src/client/b-vue-router.ts +0 -1
- package/src/client/b-vue-use.ts +0 -1
- package/src/client/b-vue.ts +0 -1
package/dist/client/index.js
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
//#region src/formatters/plain.ts
|
|
2
|
-
/**
|
|
3
|
-
* Renders a diagnostic into a multi-line, unicode-decorated string suitable
|
|
4
|
-
* for terminal output. The first line is `[<name>] <message>`; optional
|
|
5
|
-
* details (`fix`, `sources`, `docs`) follow with `├▶`/`╰▶` connectors.
|
|
6
|
-
*/
|
|
7
|
-
function formatDiagnostic(diagnostic) {
|
|
8
|
-
const header = `[${diagnostic.name}] ${diagnostic.message}`;
|
|
9
|
-
const details = [];
|
|
10
|
-
if (diagnostic.fix) details.push(`fix: ${diagnostic.fix}`);
|
|
11
|
-
if (diagnostic.sources?.length) details.push(`sources: ${diagnostic.sources.join(", ")}`);
|
|
12
|
-
if (diagnostic.docs) details.push(`see: ${diagnostic.docs}`);
|
|
13
|
-
if (details.length === 0) return header;
|
|
14
|
-
return [header, ...details.map((detail, i) => {
|
|
15
|
-
return `${i < details.length - 1 ? "├▶" : "╰▶"} ${detail}`;
|
|
16
|
-
})].join("\n");
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region src/utils.ts
|
|
20
|
-
/**
|
|
21
|
-
* Transforms a value or a function that returns a value to a value.
|
|
22
|
-
*
|
|
23
|
-
* @param valFn either a value or a function that returns a value
|
|
24
|
-
* @param args arguments to pass to the function if `valFn` is a function
|
|
25
|
-
*
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
28
|
-
function toValueWithArgs(valFn, ...args) {
|
|
29
|
-
return typeof valFn === "function" ? valFn(...args) : valFn;
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/diagnostic.ts
|
|
33
|
-
/**
|
|
34
|
-
* Creates a console reporter that renders each diagnostic with `formatter` and
|
|
35
|
-
* prints the result via `console[method]`. Both default sensibly (`'warn'` and
|
|
36
|
-
* {@link formatDiagnostic}); `method` can also be overridden per call through
|
|
37
|
-
* the reporter options.
|
|
38
|
-
*/
|
|
39
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
40
|
-
function createConsoleReporter({ method: defaultMethod = "warn", formatter = formatDiagnostic } = {}) {
|
|
41
|
-
return (diagnostic, { method = defaultMethod } = {}) => {
|
|
42
|
-
console[method](formatter(diagnostic));
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
const captureStackTrace = Error.captureStackTrace;
|
|
46
|
-
var Diagnostic = class Diagnostic extends Error {
|
|
47
|
-
name;
|
|
48
|
-
/**
|
|
49
|
-
* The diagnostic code, e.g. `MATH_E001`.
|
|
50
|
-
* Also appears as the `name` property.
|
|
51
|
-
*/
|
|
52
|
-
code;
|
|
53
|
-
/**
|
|
54
|
-
* URL to extended documentation for this diagnostic code.
|
|
55
|
-
* Auto-generated from {@link DefineDiagnosticsOptions.docsBase}.
|
|
56
|
-
*/
|
|
57
|
-
docs;
|
|
58
|
-
/**
|
|
59
|
-
* Optional actionable instructions on how to resolve the problem.
|
|
60
|
-
*/
|
|
61
|
-
fix;
|
|
62
|
-
/**
|
|
63
|
-
* Locations in user code that contributed to this diagnostic, in
|
|
64
|
-
* `file:line:column` format. Relevant when the stack trace doesn't reflect
|
|
65
|
-
* the user's source (e.g. compilers, bundlers), otherwise redundant with the
|
|
66
|
-
* stack and should be omitted.
|
|
67
|
-
*/
|
|
68
|
-
sources;
|
|
69
|
-
/**
|
|
70
|
-
* Alias for {@link Error.message}: the reason this diagnostic was raised.
|
|
71
|
-
*/
|
|
72
|
-
get why() {
|
|
73
|
-
return this.message;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* @param init structured initializer; `why` is required
|
|
77
|
-
* @param captureFrom V8 stack-cutoff frame. Defaults to {@link Diagnostic}
|
|
78
|
-
* so the top of the trace is the `new Diagnostic(...)` call site.
|
|
79
|
-
* `defineDiagnostics` passes its action method to strip its own frames too.
|
|
80
|
-
* Ignored on engines without `Error.captureStackTrace`.
|
|
81
|
-
*/
|
|
82
|
-
constructor(init, captureFrom = Diagnostic) {
|
|
83
|
-
super(init.why, { cause: init.cause });
|
|
84
|
-
this.code = this.name = init.code;
|
|
85
|
-
this.fix = init.fix;
|
|
86
|
-
this.docs = init.docs;
|
|
87
|
-
this.sources = init.sources;
|
|
88
|
-
captureStackTrace?.(this, captureFrom);
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Converts the diagnostic into a serializable structured object.
|
|
92
|
-
*/
|
|
93
|
-
toJSON() {
|
|
94
|
-
return {
|
|
95
|
-
name: this.name,
|
|
96
|
-
why: this.why,
|
|
97
|
-
fix: this.fix,
|
|
98
|
-
docs: this.docs,
|
|
99
|
-
sources: this.sources,
|
|
100
|
-
cause: this.cause,
|
|
101
|
-
stack: this.stack
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
/**
|
|
106
|
-
* Resolves the docs URL for a code from a `docsBase` (string template or
|
|
107
|
-
* resolver function). Shared by {@link defineDiagnostics} and
|
|
108
|
-
* {@link defineProdDiagnostics}. Per-code `docs` overrides are handled by the
|
|
109
|
-
* caller; this only covers the `docsBase`-derived case.
|
|
110
|
-
*
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
function deriveDocs(docsBase, code) {
|
|
114
|
-
return typeof docsBase === "string" ? `${docsBase}/${code.toLowerCase()}` : docsBase?.(code);
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Creates a typed diagnostics object from a set of code definitions. Each
|
|
118
|
-
* code becomes a callable {@link DiagnosticHandle}: invoke to report, or
|
|
119
|
-
* `throw` the result to raise. No `new` required, no proxy.
|
|
120
|
-
*/
|
|
121
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
122
|
-
function defineDiagnostics(options) {
|
|
123
|
-
const reporters = options.reporters ?? [];
|
|
124
|
-
const result = {};
|
|
125
|
-
const { docsBase } = options;
|
|
126
|
-
for (const code of Object.keys(options.codes)) {
|
|
127
|
-
const def = options.codes[code];
|
|
128
|
-
const docs = def.docs === false ? void 0 : def.docs || deriveDocs(docsBase, code);
|
|
129
|
-
const handle = (params = {}, reporterOptions = {}) => {
|
|
130
|
-
const diagnostic = new Diagnostic({
|
|
131
|
-
code,
|
|
132
|
-
why: toValueWithArgs(def.why, params),
|
|
133
|
-
fix: toValueWithArgs(def.fix, params),
|
|
134
|
-
docs,
|
|
135
|
-
cause: params.cause,
|
|
136
|
-
sources: params.sources
|
|
137
|
-
}, handle);
|
|
138
|
-
for (const reporter of reporters) reporter(diagnostic, reporterOptions);
|
|
139
|
-
return diagnostic;
|
|
140
|
-
};
|
|
141
|
-
result[code] = handle;
|
|
142
|
-
}
|
|
143
|
-
return result;
|
|
144
|
-
}
|
|
145
|
-
//#endregion
|
|
146
|
-
//#region src/prod-diagnostics.ts
|
|
147
|
-
/**
|
|
148
|
-
* Production counterpart to {@link defineDiagnostics}. Returns a `Proxy` that
|
|
149
|
-
* builds a minimal {@link Diagnostic} for any accessed code: the code becomes
|
|
150
|
-
* the instance `name`, `docs` is derived from `docsBase`, and `why` points to
|
|
151
|
-
* the docs URL when one exists (empty otherwise, so the thrown header is just
|
|
152
|
-
* the code). It carries no catalog text, so it stays tiny in a bundle.
|
|
153
|
-
*
|
|
154
|
-
* The strip plugin (`@nostics/unplugin`) can rewrite a `defineDiagnostics()`
|
|
155
|
-
* call into a `process.env.NODE_ENV === 'production'` ternary that selects this
|
|
156
|
-
* factory in production, dropping every `why`/`fix` string from the bundle.
|
|
157
|
-
*
|
|
158
|
-
* @example
|
|
159
|
-
* ```ts
|
|
160
|
-
* const diagnostics = defineProdDiagnostics({ docsBase: 'https://docs.example.com' })
|
|
161
|
-
* throw diagnostics.NUXT_B2011() // NUXT_B2011: https://docs.example.com/nuxt_b2011
|
|
162
|
-
* ```
|
|
163
|
-
*/
|
|
164
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
165
|
-
function defineProdDiagnostics(options = {}) {
|
|
166
|
-
const { docsBase, reporters = [] } = options;
|
|
167
|
-
return new Proxy({}, { get(_target, code) {
|
|
168
|
-
if (typeof code !== "string") return void 0;
|
|
169
|
-
const handle = (params = {}, reporterOptions = {}) => {
|
|
170
|
-
const docs = deriveDocs(docsBase, code);
|
|
171
|
-
const diagnostic = new Diagnostic({
|
|
172
|
-
code,
|
|
173
|
-
why: docs ?? "",
|
|
174
|
-
docs,
|
|
175
|
-
cause: params.cause,
|
|
176
|
-
sources: params.sources
|
|
177
|
-
}, handle);
|
|
178
|
-
for (const reporter of reporters) reporter(diagnostic, reporterOptions);
|
|
179
|
-
return diagnostic;
|
|
180
|
-
};
|
|
181
|
-
return handle;
|
|
182
|
-
} });
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
export { createConsoleReporter, defineDiagnostics };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@babel/helper-string-parser",
|
|
3
|
-
"version": "7.29.7",
|
|
4
|
-
"description": "A utility package to parse strings",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "https://github.com/babel/babel.git",
|
|
8
|
-
"directory": "packages/babel-helper-string-parser"
|
|
9
|
-
},
|
|
10
|
-
"homepage": "https://babel.dev/docs/en/next/babel-helper-string-parser",
|
|
11
|
-
"license": "MIT",
|
|
12
|
-
"publishConfig": {
|
|
13
|
-
"access": "public"
|
|
14
|
-
},
|
|
15
|
-
"main": "./lib/index.js",
|
|
16
|
-
"devDependencies": {
|
|
17
|
-
"charcodes": "^0.2.0"
|
|
18
|
-
},
|
|
19
|
-
"engines": {
|
|
20
|
-
"node": ">=6.9.0"
|
|
21
|
-
},
|
|
22
|
-
"author": "The Babel Team (https://babel.dev/team)",
|
|
23
|
-
"exports": {
|
|
24
|
-
".": {
|
|
25
|
-
"types": "./lib/index.d.ts",
|
|
26
|
-
"default": "./lib/index.js"
|
|
27
|
-
},
|
|
28
|
-
"./package.json": "./package.json"
|
|
29
|
-
},
|
|
30
|
-
"type": "commonjs"
|
|
31
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@babel/helper-validator-identifier",
|
|
3
|
-
"version": "7.29.7",
|
|
4
|
-
"description": "Validate identifier/keywords name",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "https://github.com/babel/babel.git",
|
|
8
|
-
"directory": "packages/babel-helper-validator-identifier"
|
|
9
|
-
},
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"publishConfig": {
|
|
12
|
-
"access": "public"
|
|
13
|
-
},
|
|
14
|
-
"main": "./lib/index.js",
|
|
15
|
-
"exports": {
|
|
16
|
-
".": {
|
|
17
|
-
"types": "./lib/index.d.ts",
|
|
18
|
-
"default": "./lib/index.js"
|
|
19
|
-
},
|
|
20
|
-
"./package.json": "./package.json"
|
|
21
|
-
},
|
|
22
|
-
"devDependencies": {
|
|
23
|
-
"@unicode/unicode-17.0.0": "^1.6.10",
|
|
24
|
-
"charcodes": "^0.2.0"
|
|
25
|
-
},
|
|
26
|
-
"engines": {
|
|
27
|
-
"node": ">=6.9.0"
|
|
28
|
-
},
|
|
29
|
-
"author": "The Babel Team (https://babel.dev/team)",
|
|
30
|
-
"type": "commonjs"
|
|
31
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@babel/parser",
|
|
3
|
-
"version": "7.29.8",
|
|
4
|
-
"description": "A JavaScript parser",
|
|
5
|
-
"author": "The Babel Team (https://babel.dev/team)",
|
|
6
|
-
"homepage": "https://babel.dev/docs/en/next/babel-parser",
|
|
7
|
-
"bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A+parser+%28babylon%29%22+is%3Aopen",
|
|
8
|
-
"license": "MIT",
|
|
9
|
-
"publishConfig": {
|
|
10
|
-
"access": "public"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [
|
|
13
|
-
"babel",
|
|
14
|
-
"javascript",
|
|
15
|
-
"parser",
|
|
16
|
-
"tc39",
|
|
17
|
-
"ecmascript",
|
|
18
|
-
"@babel/parser"
|
|
19
|
-
],
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "https://github.com/babel/babel.git",
|
|
23
|
-
"directory": "packages/babel-parser"
|
|
24
|
-
},
|
|
25
|
-
"main": "./lib/index.js",
|
|
26
|
-
"types": "./typings/babel-parser.d.ts",
|
|
27
|
-
"files": [
|
|
28
|
-
"bin",
|
|
29
|
-
"lib",
|
|
30
|
-
"typings/babel-parser.d.ts",
|
|
31
|
-
"index.cjs"
|
|
32
|
-
],
|
|
33
|
-
"engines": {
|
|
34
|
-
"node": ">=6.0.0"
|
|
35
|
-
},
|
|
36
|
-
"# dependencies": "This package doesn't actually have runtime dependencies. @babel/types is only needed for type definitions.",
|
|
37
|
-
"dependencies": {
|
|
38
|
-
"@babel/types": "^7.29.8"
|
|
39
|
-
},
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"@babel/code-frame": "^7.29.7",
|
|
42
|
-
"@babel/helper-check-duplicate-nodes": "^7.29.7",
|
|
43
|
-
"@babel/helper-fixtures": "^7.29.7",
|
|
44
|
-
"@babel/helper-string-parser": "^7.29.7",
|
|
45
|
-
"@babel/helper-validator-identifier": "^7.29.7",
|
|
46
|
-
"charcodes": "^0.2.0"
|
|
47
|
-
},
|
|
48
|
-
"bin": "./bin/babel-parser.js",
|
|
49
|
-
"type": "commonjs"
|
|
50
|
-
}
|
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated! Do not modify it directly.
|
|
2
|
-
// Run `yarn gulp bundle-dts` to re-generate it.
|
|
3
|
-
/* eslint-disable @typescript-eslint/consistent-type-imports, @typescript-eslint/no-redundant-type-constituents */
|
|
4
|
-
import { File, Expression } from '@babel/types';
|
|
5
|
-
|
|
6
|
-
declare class Position {
|
|
7
|
-
line: number;
|
|
8
|
-
column: number;
|
|
9
|
-
index: number;
|
|
10
|
-
constructor(line: number, col: number, index: number);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
type SyntaxPlugin = "flow" | "typescript" | "jsx" | "functionBind" | "pipelineOperator" | "placeholders";
|
|
14
|
-
type ParseErrorCode = "BABEL_PARSER_SYNTAX_ERROR" | "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";
|
|
15
|
-
interface ParseErrorSpecification<ErrorDetails> {
|
|
16
|
-
code: ParseErrorCode;
|
|
17
|
-
reasonCode: string;
|
|
18
|
-
syntaxPlugin?: SyntaxPlugin;
|
|
19
|
-
missingPlugin?: string | string[];
|
|
20
|
-
loc: Position;
|
|
21
|
-
details: ErrorDetails;
|
|
22
|
-
pos: number;
|
|
23
|
-
}
|
|
24
|
-
type ParseError$1<ErrorDetails> = SyntaxError & ParseErrorSpecification<ErrorDetails>;
|
|
25
|
-
|
|
26
|
-
type BABEL_8_BREAKING = false;
|
|
27
|
-
type IF_BABEL_7<V> = false extends BABEL_8_BREAKING ? V : never;
|
|
28
|
-
|
|
29
|
-
type Plugin$1 =
|
|
30
|
-
| "asyncDoExpressions"
|
|
31
|
-
| IF_BABEL_7<"asyncGenerators">
|
|
32
|
-
| IF_BABEL_7<"bigInt">
|
|
33
|
-
| IF_BABEL_7<"classPrivateMethods">
|
|
34
|
-
| IF_BABEL_7<"classPrivateProperties">
|
|
35
|
-
| IF_BABEL_7<"classProperties">
|
|
36
|
-
| IF_BABEL_7<"classStaticBlock">
|
|
37
|
-
| IF_BABEL_7<"decimal">
|
|
38
|
-
| "decorators-legacy"
|
|
39
|
-
| "deferredImportEvaluation"
|
|
40
|
-
| "decoratorAutoAccessors"
|
|
41
|
-
| "destructuringPrivate"
|
|
42
|
-
| IF_BABEL_7<"deprecatedImportAssert">
|
|
43
|
-
| "doExpressions"
|
|
44
|
-
| IF_BABEL_7<"dynamicImport">
|
|
45
|
-
| IF_BABEL_7<"explicitResourceManagement">
|
|
46
|
-
| "exportDefaultFrom"
|
|
47
|
-
| IF_BABEL_7<"exportNamespaceFrom">
|
|
48
|
-
| "flow"
|
|
49
|
-
| "flowComments"
|
|
50
|
-
| "functionBind"
|
|
51
|
-
| "functionSent"
|
|
52
|
-
| "importMeta"
|
|
53
|
-
| "jsx"
|
|
54
|
-
| IF_BABEL_7<"jsonStrings">
|
|
55
|
-
| IF_BABEL_7<"logicalAssignment">
|
|
56
|
-
| IF_BABEL_7<"importAssertions">
|
|
57
|
-
| IF_BABEL_7<"importReflection">
|
|
58
|
-
| "moduleBlocks"
|
|
59
|
-
| IF_BABEL_7<"moduleStringNames">
|
|
60
|
-
| IF_BABEL_7<"nullishCoalescingOperator">
|
|
61
|
-
| IF_BABEL_7<"numericSeparator">
|
|
62
|
-
| IF_BABEL_7<"objectRestSpread">
|
|
63
|
-
| IF_BABEL_7<"optionalCatchBinding">
|
|
64
|
-
| IF_BABEL_7<"optionalChaining">
|
|
65
|
-
| "partialApplication"
|
|
66
|
-
| "placeholders"
|
|
67
|
-
| IF_BABEL_7<"privateIn">
|
|
68
|
-
| IF_BABEL_7<"regexpUnicodeSets">
|
|
69
|
-
| "sourcePhaseImports"
|
|
70
|
-
| "throwExpressions"
|
|
71
|
-
| IF_BABEL_7<"topLevelAwait">
|
|
72
|
-
| "v8intrinsic"
|
|
73
|
-
| ParserPluginWithOptions[0];
|
|
74
|
-
|
|
75
|
-
type ParserPluginWithOptions =
|
|
76
|
-
| ["decorators", DecoratorsPluginOptions]
|
|
77
|
-
| ["discardBinding", { syntaxType: "void" }]
|
|
78
|
-
| ["estree", { classFeatures?: boolean }]
|
|
79
|
-
| IF_BABEL_7<["importAttributes", { deprecatedAssertSyntax: boolean }]>
|
|
80
|
-
| IF_BABEL_7<["moduleAttributes", { version: "may-2020" }]>
|
|
81
|
-
| ["optionalChainingAssign", { version: "2023-07" }]
|
|
82
|
-
| ["pipelineOperator", PipelineOperatorPluginOptions]
|
|
83
|
-
| ["recordAndTuple", RecordAndTuplePluginOptions]
|
|
84
|
-
| ["flow", FlowPluginOptions]
|
|
85
|
-
| ["typescript", TypeScriptPluginOptions];
|
|
86
|
-
|
|
87
|
-
type PluginConfig = Plugin$1 | ParserPluginWithOptions;
|
|
88
|
-
|
|
89
|
-
interface DecoratorsPluginOptions {
|
|
90
|
-
decoratorsBeforeExport?: boolean;
|
|
91
|
-
allowCallParenthesized?: boolean;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
interface PipelineOperatorPluginOptions {
|
|
95
|
-
proposal: BABEL_8_BREAKING extends false
|
|
96
|
-
? "minimal" | "fsharp" | "hack" | "smart"
|
|
97
|
-
: "fsharp" | "hack";
|
|
98
|
-
topicToken?: "%" | "#" | "@@" | "^^" | "^";
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
interface RecordAndTuplePluginOptions {
|
|
102
|
-
syntaxType: "bar" | "hash";
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
type FlowPluginOptions = BABEL_8_BREAKING extends true
|
|
106
|
-
? {
|
|
107
|
-
all?: boolean;
|
|
108
|
-
enums?: boolean;
|
|
109
|
-
}
|
|
110
|
-
: {
|
|
111
|
-
all?: boolean;
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
interface TypeScriptPluginOptions {
|
|
115
|
-
dts?: boolean;
|
|
116
|
-
disallowAmbiguousJSXLike?: boolean;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
type Plugin = PluginConfig;
|
|
120
|
-
|
|
121
|
-
type SourceType = "script" | "commonjs" | "module" | "unambiguous";
|
|
122
|
-
interface Options {
|
|
123
|
-
/**
|
|
124
|
-
* By default, import and export declarations can only appear at a program's top level.
|
|
125
|
-
* Setting this option to true allows them anywhere where a statement is allowed.
|
|
126
|
-
*/
|
|
127
|
-
allowImportExportEverywhere?: boolean;
|
|
128
|
-
/**
|
|
129
|
-
* By default, await use is not allowed outside of an async function.
|
|
130
|
-
* Set this to true to accept such code.
|
|
131
|
-
*/
|
|
132
|
-
allowAwaitOutsideFunction?: boolean;
|
|
133
|
-
/**
|
|
134
|
-
* By default, a return statement at the top level raises an error.
|
|
135
|
-
* Set this to true to accept such code.
|
|
136
|
-
*/
|
|
137
|
-
allowReturnOutsideFunction?: boolean;
|
|
138
|
-
/**
|
|
139
|
-
* By default, new.target use is not allowed outside of a function or class.
|
|
140
|
-
* Set this to true to accept such code.
|
|
141
|
-
*/
|
|
142
|
-
allowNewTargetOutsideFunction?: boolean;
|
|
143
|
-
/**
|
|
144
|
-
* By default, super calls are not allowed outside of a method.
|
|
145
|
-
* Set this to true to accept such code.
|
|
146
|
-
*/
|
|
147
|
-
allowSuperOutsideMethod?: boolean;
|
|
148
|
-
/**
|
|
149
|
-
* By default, exported identifiers must refer to a declared variable.
|
|
150
|
-
* Set this to true to allow export statements to reference undeclared variables.
|
|
151
|
-
*/
|
|
152
|
-
allowUndeclaredExports?: boolean;
|
|
153
|
-
/**
|
|
154
|
-
* By default, yield use is not allowed outside of a generator function.
|
|
155
|
-
* Set this to true to accept such code.
|
|
156
|
-
*/
|
|
157
|
-
allowYieldOutsideFunction?: boolean;
|
|
158
|
-
/**
|
|
159
|
-
* By default, Babel parser JavaScript code according to Annex B syntax.
|
|
160
|
-
* Set this to `false` to disable such behavior.
|
|
161
|
-
*/
|
|
162
|
-
annexB?: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* By default, Babel attaches comments to adjacent AST nodes.
|
|
165
|
-
* When this option is set to false, comments are not attached.
|
|
166
|
-
* It can provide up to 30% performance improvement when the input code has many comments.
|
|
167
|
-
* @babel/eslint-parser will set it for you.
|
|
168
|
-
* It is not recommended to use attachComment: false with Babel transform,
|
|
169
|
-
* as doing so removes all the comments in output code, and renders annotations such as
|
|
170
|
-
* /* istanbul ignore next *\/ nonfunctional.
|
|
171
|
-
*/
|
|
172
|
-
attachComment?: boolean;
|
|
173
|
-
/**
|
|
174
|
-
* By default, Babel always throws an error when it finds some invalid code.
|
|
175
|
-
* When this option is set to true, it will store the parsing error and
|
|
176
|
-
* try to continue parsing the invalid input file.
|
|
177
|
-
*/
|
|
178
|
-
errorRecovery?: boolean;
|
|
179
|
-
/**
|
|
180
|
-
* Indicate the mode the code should be parsed in.
|
|
181
|
-
* Can be one of "script", "commonjs", "module", or "unambiguous". Defaults to "script".
|
|
182
|
-
* "unambiguous" will make @babel/parser attempt to guess, based on the presence
|
|
183
|
-
* of ES6 import or export statements.
|
|
184
|
-
* Files with ES6 imports and exports are considered "module" and are otherwise "script".
|
|
185
|
-
*
|
|
186
|
-
* Use "commonjs" to parse code that is intended to be run in a CommonJS environment such as Node.js.
|
|
187
|
-
*/
|
|
188
|
-
sourceType?: SourceType;
|
|
189
|
-
/**
|
|
190
|
-
* Correlate output AST nodes with their source filename.
|
|
191
|
-
* Useful when generating code and source maps from the ASTs of multiple input files.
|
|
192
|
-
*/
|
|
193
|
-
sourceFilename?: string;
|
|
194
|
-
/**
|
|
195
|
-
* By default, all source indexes start from 0.
|
|
196
|
-
* You can provide a start index to alternatively start with.
|
|
197
|
-
* Useful for integration with other source tools.
|
|
198
|
-
*/
|
|
199
|
-
startIndex?: number;
|
|
200
|
-
/**
|
|
201
|
-
* By default, the first line of code parsed is treated as line 1.
|
|
202
|
-
* You can provide a line number to alternatively start with.
|
|
203
|
-
* Useful for integration with other source tools.
|
|
204
|
-
*/
|
|
205
|
-
startLine?: number;
|
|
206
|
-
/**
|
|
207
|
-
* By default, the parsed code is treated as if it starts from line 1, column 0.
|
|
208
|
-
* You can provide a column number to alternatively start with.
|
|
209
|
-
* Useful for integration with other source tools.
|
|
210
|
-
*/
|
|
211
|
-
startColumn?: number;
|
|
212
|
-
/**
|
|
213
|
-
* Array containing the plugins that you want to enable.
|
|
214
|
-
*/
|
|
215
|
-
plugins?: Plugin[];
|
|
216
|
-
/**
|
|
217
|
-
* Should the parser work in strict mode.
|
|
218
|
-
* Defaults to true if sourceType === 'module'. Otherwise, false.
|
|
219
|
-
*/
|
|
220
|
-
strictMode?: boolean;
|
|
221
|
-
/**
|
|
222
|
-
* Adds a ranges property to each node: [node.start, node.end]
|
|
223
|
-
*/
|
|
224
|
-
ranges?: boolean;
|
|
225
|
-
/**
|
|
226
|
-
* Adds all parsed tokens to a tokens property on the File node.
|
|
227
|
-
*/
|
|
228
|
-
tokens?: boolean;
|
|
229
|
-
/**
|
|
230
|
-
* By default, the parser adds information about parentheses by setting
|
|
231
|
-
* `extra.parenthesized` to `true` as needed.
|
|
232
|
-
* When this option is `true` the parser creates `ParenthesizedExpression`
|
|
233
|
-
* AST nodes instead of using the `extra` property.
|
|
234
|
-
*/
|
|
235
|
-
createParenthesizedExpressions?: boolean;
|
|
236
|
-
/**
|
|
237
|
-
* The default is false in Babel 7 and true in Babel 8
|
|
238
|
-
* Set this to true to parse it as an `ImportExpression` node.
|
|
239
|
-
* Otherwise `import(foo)` is parsed as `CallExpression(Import, [Identifier(foo)])`.
|
|
240
|
-
*/
|
|
241
|
-
createImportExpressions?: boolean;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
type ParserOptions = Partial<Options>;
|
|
245
|
-
type ParseError = ParseError$1<object>;
|
|
246
|
-
type ParseResult<Result extends File | Expression = File> = Result & {
|
|
247
|
-
comments: File["comments"];
|
|
248
|
-
errors: null | ParseError[];
|
|
249
|
-
tokens?: File["tokens"];
|
|
250
|
-
};
|
|
251
|
-
/**
|
|
252
|
-
* Parse the provided code as an entire ECMAScript program.
|
|
253
|
-
*/
|
|
254
|
-
declare function parse(input: string, options?: ParserOptions): ParseResult<File>;
|
|
255
|
-
declare function parseExpression(input: string, options?: ParserOptions): ParseResult<Expression>;
|
|
256
|
-
|
|
257
|
-
declare const tokTypes: {
|
|
258
|
-
// todo(flow->ts) real token type
|
|
259
|
-
[name: string]: any;
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
export { DecoratorsPluginOptions, FlowPluginOptions, ParseError, ParseResult, ParserOptions, PluginConfig as ParserPlugin, ParserPluginWithOptions, PipelineOperatorPluginOptions, RecordAndTuplePluginOptions, TypeScriptPluginOptions, parse, parseExpression, tokTypes };
|