@poveste/vendors 0.1.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/LICENSE +22 -0
- package/dist/client/b-floating-vue.d.ts +3 -0
- package/dist/client/b-floating-vue.js +3377 -0
- package/dist/client/b-iconify.d.ts +1 -0
- package/dist/client/b-iconify.js +1883 -0
- package/dist/client/b-pinia.d.ts +1 -0
- package/dist/client/b-pinia.js +2069 -0
- package/dist/client/b-scroll.d.ts +2 -0
- package/dist/client/b-scroll.js +7 -0
- package/dist/client/b-vue-router.d.ts +1 -0
- package/dist/client/b-vue-router.js +2773 -0
- package/dist/client/b-vue-use.d.ts +1 -0
- package/dist/client/b-vue-use.js +9626 -0
- package/dist/client/b-vue.d.ts +1 -0
- package/dist/client/b-vue.js +1 -0
- package/dist/client/index.js +169 -0
- package/dist/client/node_modules/@babel/helper-string-parser/package.json +31 -0
- package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- package/dist/client/node_modules/@babel/parser/package.json +50 -0
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +262 -0
- package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +2796 -0
- package/dist/client/node_modules/@babel/types/lib/index.d.ts +3616 -0
- package/dist/client/node_modules/@babel/types/package.json +39 -0
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +535 -0
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +535 -0
- package/dist/client/node_modules/@floating-ui/core/package.json +63 -0
- package/dist/client/node_modules/@floating-ui/dom/index.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/package.json +74 -0
- package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +31 -0
- package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +11 -0
- package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +128 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/convertOffsetParentRelativeRectToViewportRelativeRect.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +12 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getComputedStyle.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +4 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentElement.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeName.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeScroll.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOffsetParent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +3 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getParentNode.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getRectRelativeToOffsetParent.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +7 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +17 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/math.d.ts +3 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +105 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +105 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dom/package.json +6 -0
- package/dist/client/node_modules/@floating-ui/utils/package.json +70 -0
- package/dist/client/node_modules/@iconify/types/package.json +23 -0
- package/dist/client/node_modules/@iconify/types/provider.d.ts +44 -0
- package/dist/client/node_modules/@iconify/types/types.d.ts +272 -0
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +475 -0
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +114 -0
- package/dist/client/node_modules/@iconify/vue/offline/package.json +14 -0
- package/dist/client/node_modules/@iconify/vue/package.json +65 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +63 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +50 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +9 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +16 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +7 -0
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +265 -0
- package/dist/client/node_modules/@types/web-bluetooth/package.json +46 -0
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +1100 -0
- package/dist/client/node_modules/@vue/compiler-core/package.json +58 -0
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +45 -0
- package/dist/client/node_modules/@vue/compiler-dom/package.json +57 -0
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +485 -0
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +67 -0
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +4 -0
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +108 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +1 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +78 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts +5 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +180 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts +6 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +4 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/const.d.ts +2 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/env.d.ts +15 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/index.d.ts +18 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +47 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts +20 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/time.d.ts +2 -0
- package/dist/client/node_modules/@vue/devtools-api/package.json +37 -0
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +753 -0
- package/dist/client/node_modules/@vue/reactivity/package.json +55 -0
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +1839 -0
- package/dist/client/node_modules/@vue/runtime-core/package.json +52 -0
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +1430 -0
- package/dist/client/node_modules/@vue/runtime-dom/package.json +60 -0
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +65 -0
- package/dist/client/node_modules/@vue/server-renderer/package.json +55 -0
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +334 -0
- package/dist/client/node_modules/@vue/shared/package.json +47 -0
- package/dist/client/node_modules/@vueuse/core/index.d.mts +6221 -0
- package/dist/client/node_modules/@vueuse/core/index.d.ts +6221 -0
- package/dist/client/node_modules/@vueuse/core/metadata.d.mts +1 -0
- package/dist/client/node_modules/@vueuse/core/metadata.d.ts +1 -0
- package/dist/client/node_modules/@vueuse/core/package.json +57 -0
- package/dist/client/node_modules/@vueuse/metadata/index.d.mts +78 -0
- package/dist/client/node_modules/@vueuse/metadata/index.d.ts +78 -0
- package/dist/client/node_modules/@vueuse/metadata/package.json +46 -0
- package/dist/client/node_modules/@vueuse/shared/index.d.mts +1260 -0
- package/dist/client/node_modules/@vueuse/shared/index.d.ts +1260 -0
- package/dist/client/node_modules/@vueuse/shared/package.json +49 -0
- package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +75 -0
- package/dist/client/node_modules/compute-scroll-into-view/package.json +82 -0
- package/dist/client/node_modules/csstype/index.d.ts +22569 -0
- package/dist/client/node_modules/csstype/package.json +70 -0
- package/dist/client/node_modules/entities/decode.d.ts +3 -0
- package/dist/client/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
- package/dist/client/node_modules/entities/dist/commonjs/decode.d.ts +205 -0
- package/dist/client/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
- package/dist/client/node_modules/entities/dist/commonjs/escape.d.ts +46 -0
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
- package/dist/client/node_modules/entities/dist/commonjs/index.d.ts +96 -0
- package/dist/client/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
- package/dist/client/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
- package/dist/client/node_modules/entities/dist/commonjs/package.json +3 -0
- package/dist/client/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
- package/dist/client/node_modules/entities/dist/esm/decode.d.ts +205 -0
- package/dist/client/node_modules/entities/dist/esm/encode.d.ts +22 -0
- package/dist/client/node_modules/entities/dist/esm/escape.d.ts +46 -0
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
- package/dist/client/node_modules/entities/dist/esm/index.d.ts +96 -0
- package/dist/client/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
- package/dist/client/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
- package/dist/client/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
- package/dist/client/node_modules/entities/dist/esm/package.json +3 -0
- package/dist/client/node_modules/entities/escape.d.ts +3 -0
- package/dist/client/node_modules/entities/package.json +120 -0
- package/dist/client/node_modules/estree-walker/dist/esm/package.json +1 -0
- package/dist/client/node_modules/estree-walker/package.json +37 -0
- package/dist/client/node_modules/estree-walker/src/package.json +1 -0
- package/dist/client/node_modules/estree-walker/types/async.d.ts +53 -0
- package/dist/client/node_modules/estree-walker/types/index.d.ts +56 -0
- package/dist/client/node_modules/estree-walker/types/sync.d.ts +53 -0
- package/dist/client/node_modules/estree-walker/types/walker.d.ts +37 -0
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +495 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +474 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +37 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperMethods.d.ts +9 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +414 -0
- package/dist/client/node_modules/floating-vue/dist/components/ThemeClass.d.ts +6 -0
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +67 -0
- package/dist/client/node_modules/floating-vue/dist/config.d.ts +11 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-close-popper.d.ts +13 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.d.ts +27 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.spec.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +2239 -0
- package/dist/client/node_modules/floating-vue/dist/util/assign-deep.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/env.d.ts +2 -0
- package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +14 -0
- package/dist/client/node_modules/floating-vue/dist/util/frame.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/lang.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +3 -0
- package/dist/client/node_modules/floating-vue/package.json +80 -0
- package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +289 -0
- package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +289 -0
- package/dist/client/node_modules/magic-string/package.json +67 -0
- package/dist/client/node_modules/nanoid/async/index.d.ts +56 -0
- package/dist/client/node_modules/nanoid/async/package.json +12 -0
- package/dist/client/node_modules/nanoid/index.d.ts +91 -0
- package/dist/client/node_modules/nanoid/non-secure/index.d.ts +33 -0
- package/dist/client/node_modules/nanoid/non-secure/package.json +6 -0
- package/dist/client/node_modules/nanoid/package.json +89 -0
- package/dist/client/node_modules/nanoid/url-alphabet/package.json +6 -0
- package/dist/client/node_modules/picocolors/package.json +25 -0
- package/dist/client/node_modules/picocolors/picocolors.d.ts +5 -0
- package/dist/client/node_modules/picocolors/types.d.ts +51 -0
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +1074 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +22 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +33 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +38 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +22 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +47 -0
- package/dist/client/node_modules/pinia/package.json +96 -0
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +139 -0
- package/dist/client/node_modules/postcss/lib/comment.d.ts +67 -0
- package/dist/client/node_modules/postcss/lib/container.d.ts +478 -0
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +247 -0
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +150 -0
- package/dist/client/node_modules/postcss/lib/document.d.ts +68 -0
- package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +9 -0
- package/dist/client/node_modules/postcss/lib/input.d.ts +226 -0
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +189 -0
- package/dist/client/node_modules/postcss/lib/list.d.ts +60 -0
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +45 -0
- package/dist/client/node_modules/postcss/lib/node.d.ts +555 -0
- package/dist/client/node_modules/postcss/lib/parse.d.ts +9 -0
- package/dist/client/node_modules/postcss/lib/postcss.d.mts +66 -0
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +464 -0
- package/dist/client/node_modules/postcss/lib/previous-map.d.ts +80 -0
- package/dist/client/node_modules/postcss/lib/processor.d.ts +114 -0
- package/dist/client/node_modules/postcss/lib/result.d.ts +204 -0
- package/dist/client/node_modules/postcss/lib/root.d.ts +86 -0
- package/dist/client/node_modules/postcss/lib/rule.d.ts +126 -0
- package/dist/client/node_modules/postcss/lib/stringifier.d.ts +45 -0
- package/dist/client/node_modules/postcss/lib/stringify.d.ts +9 -0
- package/dist/client/node_modules/postcss/lib/warning.d.ts +146 -0
- package/dist/client/node_modules/postcss/package.json +88 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +79 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +80 -0
- package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/package.json +71 -0
- package/dist/client/node_modules/source-map-js/source-map.d.ts +104 -0
- package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +1 -0
- package/dist/client/node_modules/vue/compiler-sfc/index.d.ts +1 -0
- package/dist/client/node_modules/vue/compiler-sfc/package.json +4 -0
- package/dist/client/node_modules/vue/dist/vue.d.mts +7 -0
- package/dist/client/node_modules/vue/dist/vue.d.ts +7 -0
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +25 -0
- package/dist/client/node_modules/vue/jsx-runtime/package.json +5 -0
- package/dist/client/node_modules/vue/jsx.d.ts +22 -0
- package/dist/client/node_modules/vue/package.json +112 -0
- package/dist/client/node_modules/vue/server-renderer/index.d.mts +1 -0
- package/dist/client/node_modules/vue/server-renderer/index.d.ts +1 -0
- package/dist/client/node_modules/vue/server-renderer/package.json +4 -0
- package/dist/client/node_modules/vue-resize/package.json +77 -0
- package/dist/client/node_modules/vue-router/dist/experimental/index.d.mts +38 -0
- package/dist/client/node_modules/vue-router/dist/router-CWoNjPRp.d.mts +1973 -0
- package/dist/client/node_modules/vue-router/dist/vue-router.d.mts +361 -0
- package/dist/client/node_modules/vue-router/package.json +153 -0
- package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +22 -0
- package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.ts +4 -0
- package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +1 -0
- package/dist/client/vue.runtime.esm-bundler.js +13167 -0
- package/entries.js +9 -0
- package/floating-vue.d.ts +4 -0
- package/iconify.d.ts +4 -0
- package/package.json +50 -0
- package/pinia.d.ts +4 -0
- package/rollup.config.mjs +119 -0
- package/scroll.d.ts +4 -0
- package/src/client/b-floating-vue.ts +5 -0
- package/src/client/b-iconify.ts +1 -0
- package/src/client/b-pinia.ts +1 -0
- package/src/client/b-scroll.ts +4 -0
- package/src/client/b-vue-router.ts +1 -0
- package/src/client/b-vue-use.ts +1 -0
- package/src/client/b-vue.ts +1 -0
- package/tsconfig.json +34 -0
- package/vue-router.d.ts +4 -0
- package/vue-use.d.ts +4 -0
- package/vue.d.ts +4 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "magic-string",
|
|
3
|
+
"version": "0.30.21",
|
|
4
|
+
"type": "commonjs",
|
|
5
|
+
"description": "Modify strings, generate sourcemaps",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"string",
|
|
8
|
+
"string manipulation",
|
|
9
|
+
"sourcemap",
|
|
10
|
+
"templating",
|
|
11
|
+
"transpilation"
|
|
12
|
+
],
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/Rich-Harris/magic-string.git"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": "Rich Harris",
|
|
19
|
+
"main": "./dist/magic-string.cjs.js",
|
|
20
|
+
"module": "./dist/magic-string.es.mjs",
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"jsnext:main": "./dist/magic-string.es.mjs",
|
|
23
|
+
"types": "./dist/magic-string.cjs.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
"./package.json": "./package.json",
|
|
26
|
+
".": {
|
|
27
|
+
"import": "./dist/magic-string.es.mjs",
|
|
28
|
+
"require": "./dist/magic-string.cjs.js"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist/*",
|
|
33
|
+
"index.d.ts",
|
|
34
|
+
"README.md"
|
|
35
|
+
],
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@eslint/js": "^9.38.0",
|
|
38
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
39
|
+
"@rollup/plugin-replace": "^6.0.2",
|
|
40
|
+
"benchmark": "^2.1.4",
|
|
41
|
+
"bumpp": "^10.3.1",
|
|
42
|
+
"conventional-changelog-cli": "^5.0.0",
|
|
43
|
+
"eslint": "^9.38.0",
|
|
44
|
+
"prettier": "^3.6.2",
|
|
45
|
+
"publint": "^0.3.15",
|
|
46
|
+
"rollup": "^4.52.5",
|
|
47
|
+
"source-map-js": "^1.2.1",
|
|
48
|
+
"source-map-support": "^0.5.21",
|
|
49
|
+
"vitest": "^4.0.2"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@jridgewell/sourcemap-codec": "^1.5.5"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "rollup -c",
|
|
56
|
+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
57
|
+
"format": "prettier --single-quote --print-width 100 --use-tabs --write .",
|
|
58
|
+
"lint": "eslint src test && publint",
|
|
59
|
+
"lint:fix": "eslint src test --fix",
|
|
60
|
+
"release": "bumpp -x \"pnpm run changelog\" --all",
|
|
61
|
+
"pretest": "pnpm run build",
|
|
62
|
+
"test": "vitest run",
|
|
63
|
+
"test:dev": "vitest",
|
|
64
|
+
"bench": "pnpm run build && node benchmark/index.mjs",
|
|
65
|
+
"watch": "rollup -cw"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generate secure URL-friendly unique ID. The non-blocking version.
|
|
3
|
+
*
|
|
4
|
+
* By default, the ID will have 21 symbols to have a collision probability
|
|
5
|
+
* similar to UUID v4.
|
|
6
|
+
*
|
|
7
|
+
* ```js
|
|
8
|
+
* import { nanoid } from 'nanoid/async'
|
|
9
|
+
* nanoid().then(id => {
|
|
10
|
+
* model.id = id
|
|
11
|
+
* })
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* @param size Size of the ID. The default size is 21.
|
|
15
|
+
* @returns A promise with a random string.
|
|
16
|
+
*/
|
|
17
|
+
export function nanoid(size?: number): Promise<string>
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* A low-level function.
|
|
21
|
+
* Generate secure unique ID with custom alphabet. The non-blocking version.
|
|
22
|
+
*
|
|
23
|
+
* Alphabet must contain 256 symbols or less. Otherwise, the generator
|
|
24
|
+
* will not be secure.
|
|
25
|
+
*
|
|
26
|
+
* @param alphabet Alphabet used to generate the ID.
|
|
27
|
+
* @param defaultSize Size of the ID. The default size is 21.
|
|
28
|
+
* @returns A function that returns a promise with a random string.
|
|
29
|
+
*
|
|
30
|
+
* ```js
|
|
31
|
+
* import { customAlphabet } from 'nanoid/async'
|
|
32
|
+
* const nanoid = customAlphabet('0123456789абвгдеё', 5)
|
|
33
|
+
* nanoid().then(id => {
|
|
34
|
+
* model.id = id //=> "8ё56а"
|
|
35
|
+
* })
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export function customAlphabet(
|
|
39
|
+
alphabet: string,
|
|
40
|
+
defaultSize?: number
|
|
41
|
+
): (size?: number) => Promise<string>
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Generate an array of random bytes collected from hardware noise.
|
|
45
|
+
*
|
|
46
|
+
* ```js
|
|
47
|
+
* import { random } from 'nanoid/async'
|
|
48
|
+
* random(5).then(bytes => {
|
|
49
|
+
* bytes //=> [10, 67, 212, 67, 89]
|
|
50
|
+
* })
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param bytes Size of the array.
|
|
54
|
+
* @returns A promise with a random bytes array.
|
|
55
|
+
*/
|
|
56
|
+
export function random(bytes: number): Promise<Uint8Array>
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generate secure URL-friendly unique ID.
|
|
3
|
+
*
|
|
4
|
+
* By default, the ID will have 21 symbols to have a collision probability
|
|
5
|
+
* similar to UUID v4.
|
|
6
|
+
*
|
|
7
|
+
* ```js
|
|
8
|
+
* import { nanoid } from 'nanoid'
|
|
9
|
+
* model.id = nanoid() //=> "Uakgb_J5m9g-0JDMbcJqL"
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* @param size Size of the ID. The default size is 21.
|
|
13
|
+
* @returns A random string.
|
|
14
|
+
*/
|
|
15
|
+
export function nanoid(size?: number): string
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Generate secure unique ID with custom alphabet.
|
|
19
|
+
*
|
|
20
|
+
* Alphabet must contain 256 symbols or less. Otherwise, the generator
|
|
21
|
+
* will not be secure.
|
|
22
|
+
*
|
|
23
|
+
* @param alphabet Alphabet used to generate the ID.
|
|
24
|
+
* @param defaultSize Size of the ID. The default size is 21.
|
|
25
|
+
* @returns A random string generator.
|
|
26
|
+
*
|
|
27
|
+
* ```js
|
|
28
|
+
* const { customAlphabet } = require('nanoid')
|
|
29
|
+
* const nanoid = customAlphabet('0123456789абвгдеё', 5)
|
|
30
|
+
* nanoid() //=> "8ё56а"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export function customAlphabet(
|
|
34
|
+
alphabet: string,
|
|
35
|
+
defaultSize?: number
|
|
36
|
+
): (size?: number) => string
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Generate unique ID with custom random generator and alphabet.
|
|
40
|
+
*
|
|
41
|
+
* Alphabet must contain 256 symbols or less. Otherwise, the generator
|
|
42
|
+
* will not be secure.
|
|
43
|
+
*
|
|
44
|
+
* ```js
|
|
45
|
+
* import { customRandom } from 'nanoid/format'
|
|
46
|
+
*
|
|
47
|
+
* const nanoid = customRandom('abcdef', 5, size => {
|
|
48
|
+
* const random = []
|
|
49
|
+
* for (let i = 0; i < size; i++) {
|
|
50
|
+
* random.push(randomByte())
|
|
51
|
+
* }
|
|
52
|
+
* return random
|
|
53
|
+
* })
|
|
54
|
+
*
|
|
55
|
+
* nanoid() //=> "fbaef"
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param alphabet Alphabet used to generate a random string.
|
|
59
|
+
* @param size Size of the random string.
|
|
60
|
+
* @param random A random bytes generator.
|
|
61
|
+
* @returns A random string generator.
|
|
62
|
+
*/
|
|
63
|
+
export function customRandom(
|
|
64
|
+
alphabet: string,
|
|
65
|
+
size: number,
|
|
66
|
+
random: (bytes: number) => Uint8Array
|
|
67
|
+
): () => string
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* URL safe symbols.
|
|
71
|
+
*
|
|
72
|
+
* ```js
|
|
73
|
+
* import { urlAlphabet } from 'nanoid'
|
|
74
|
+
* const nanoid = customAlphabet(urlAlphabet, 10)
|
|
75
|
+
* nanoid() //=> "Uakgb_J5m9"
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export const urlAlphabet: string
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Generate an array of random bytes collected from hardware noise.
|
|
82
|
+
*
|
|
83
|
+
* ```js
|
|
84
|
+
* import { customRandom, random } from 'nanoid'
|
|
85
|
+
* const nanoid = customRandom("abcdef", 5, random)
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @param bytes Size of the array.
|
|
89
|
+
* @returns An array of random bytes.
|
|
90
|
+
*/
|
|
91
|
+
export function random(bytes: number): Uint8Array
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generate URL-friendly unique ID. This method uses the non-secure
|
|
3
|
+
* predictable random generator with bigger collision probability.
|
|
4
|
+
*
|
|
5
|
+
* ```js
|
|
6
|
+
* import { nanoid } from 'nanoid/non-secure'
|
|
7
|
+
* model.id = nanoid() //=> "Uakgb_J5m9g-0JDMbcJqL"
|
|
8
|
+
* ```
|
|
9
|
+
*
|
|
10
|
+
* @param size Size of the ID. The default size is 21.
|
|
11
|
+
* @returns A random string.
|
|
12
|
+
*/
|
|
13
|
+
export function nanoid(size?: number): string
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Generate a unique ID based on a custom alphabet.
|
|
17
|
+
* This method uses the non-secure predictable random generator
|
|
18
|
+
* with bigger collision probability.
|
|
19
|
+
*
|
|
20
|
+
* @param alphabet Alphabet used to generate the ID.
|
|
21
|
+
* @param defaultSize Size of the ID. The default size is 21.
|
|
22
|
+
* @returns A random string generator.
|
|
23
|
+
*
|
|
24
|
+
* ```js
|
|
25
|
+
* import { customAlphabet } from 'nanoid/non-secure'
|
|
26
|
+
* const nanoid = customAlphabet('0123456789абвгдеё', 5)
|
|
27
|
+
* model.id = //=> "8ё56а"
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export function customAlphabet(
|
|
31
|
+
alphabet: string,
|
|
32
|
+
defaultSize?: number
|
|
33
|
+
): (size?: number) => string
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nanoid",
|
|
3
|
+
"version": "3.3.17",
|
|
4
|
+
"description": "A tiny (116 bytes), secure URL-friendly unique string ID generator",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"uuid",
|
|
7
|
+
"random",
|
|
8
|
+
"id",
|
|
9
|
+
"url"
|
|
10
|
+
],
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
|
13
|
+
},
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/ai"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"author": "Andrey Sitnik <andrey@sitnik.ru>",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"repository": "ai/nanoid",
|
|
23
|
+
"browser": {
|
|
24
|
+
"./index.js": "./index.browser.js",
|
|
25
|
+
"./async/index.js": "./async/index.browser.js",
|
|
26
|
+
"./async/index.cjs": "./async/index.browser.cjs",
|
|
27
|
+
"./index.cjs": "./index.browser.cjs"
|
|
28
|
+
},
|
|
29
|
+
"react-native": "index.js",
|
|
30
|
+
"bin": "./bin/nanoid.cjs",
|
|
31
|
+
"sideEffects": false,
|
|
32
|
+
"types": "./index.d.ts",
|
|
33
|
+
"type": "module",
|
|
34
|
+
"main": "index.cjs",
|
|
35
|
+
"module": "index.js",
|
|
36
|
+
"exports": {
|
|
37
|
+
".": {
|
|
38
|
+
"react-native": "./index.browser.js",
|
|
39
|
+
"browser": "./index.browser.js",
|
|
40
|
+
"require": {
|
|
41
|
+
"types": "./index.d.cts",
|
|
42
|
+
"default": "./index.cjs"
|
|
43
|
+
},
|
|
44
|
+
"import": {
|
|
45
|
+
"types": "./index.d.ts",
|
|
46
|
+
"default": "./index.js"
|
|
47
|
+
},
|
|
48
|
+
"default": "./index.js"
|
|
49
|
+
},
|
|
50
|
+
"./package.json": "./package.json",
|
|
51
|
+
"./async/package.json": "./async/package.json",
|
|
52
|
+
"./async": {
|
|
53
|
+
"browser": "./async/index.browser.js",
|
|
54
|
+
"require": {
|
|
55
|
+
"types": "./index.d.cts",
|
|
56
|
+
"default": "./async/index.cjs"
|
|
57
|
+
},
|
|
58
|
+
"import": {
|
|
59
|
+
"types": "./index.d.ts",
|
|
60
|
+
"default": "./async/index.js"
|
|
61
|
+
},
|
|
62
|
+
"default": "./async/index.js"
|
|
63
|
+
},
|
|
64
|
+
"./non-secure/package.json": "./non-secure/package.json",
|
|
65
|
+
"./non-secure": {
|
|
66
|
+
"require": {
|
|
67
|
+
"types": "./index.d.cts",
|
|
68
|
+
"default": "./non-secure/index.cjs"
|
|
69
|
+
},
|
|
70
|
+
"import": {
|
|
71
|
+
"types": "./index.d.ts",
|
|
72
|
+
"default": "./non-secure/index.js"
|
|
73
|
+
},
|
|
74
|
+
"default": "./non-secure/index.js"
|
|
75
|
+
},
|
|
76
|
+
"./url-alphabet/package.json": "./url-alphabet/package.json",
|
|
77
|
+
"./url-alphabet": {
|
|
78
|
+
"require": {
|
|
79
|
+
"types": "./index.d.cts",
|
|
80
|
+
"default": "./url-alphabet/index.cjs"
|
|
81
|
+
},
|
|
82
|
+
"import": {
|
|
83
|
+
"types": "./index.d.ts",
|
|
84
|
+
"default": "./url-alphabet/index.js"
|
|
85
|
+
},
|
|
86
|
+
"default": "./url-alphabet/index.js"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "picocolors",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"main": "./picocolors.js",
|
|
5
|
+
"types": "./picocolors.d.ts",
|
|
6
|
+
"browser": {
|
|
7
|
+
"./picocolors.js": "./picocolors.browser.js"
|
|
8
|
+
},
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"description": "The tiniest and the fastest library for terminal output formatting with ANSI colors",
|
|
11
|
+
"files": [
|
|
12
|
+
"picocolors.*",
|
|
13
|
+
"types.d.ts"
|
|
14
|
+
],
|
|
15
|
+
"keywords": [
|
|
16
|
+
"terminal",
|
|
17
|
+
"colors",
|
|
18
|
+
"formatting",
|
|
19
|
+
"cli",
|
|
20
|
+
"console"
|
|
21
|
+
],
|
|
22
|
+
"author": "Alexey Raspopov",
|
|
23
|
+
"repository": "alexeyraspopov/picocolors",
|
|
24
|
+
"license": "ISC"
|
|
25
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export type Formatter = (input: string | number | null | undefined) => string
|
|
2
|
+
|
|
3
|
+
export interface Colors {
|
|
4
|
+
isColorSupported: boolean
|
|
5
|
+
|
|
6
|
+
reset: Formatter
|
|
7
|
+
bold: Formatter
|
|
8
|
+
dim: Formatter
|
|
9
|
+
italic: Formatter
|
|
10
|
+
underline: Formatter
|
|
11
|
+
inverse: Formatter
|
|
12
|
+
hidden: Formatter
|
|
13
|
+
strikethrough: Formatter
|
|
14
|
+
|
|
15
|
+
black: Formatter
|
|
16
|
+
red: Formatter
|
|
17
|
+
green: Formatter
|
|
18
|
+
yellow: Formatter
|
|
19
|
+
blue: Formatter
|
|
20
|
+
magenta: Formatter
|
|
21
|
+
cyan: Formatter
|
|
22
|
+
white: Formatter
|
|
23
|
+
gray: Formatter
|
|
24
|
+
|
|
25
|
+
bgBlack: Formatter
|
|
26
|
+
bgRed: Formatter
|
|
27
|
+
bgGreen: Formatter
|
|
28
|
+
bgYellow: Formatter
|
|
29
|
+
bgBlue: Formatter
|
|
30
|
+
bgMagenta: Formatter
|
|
31
|
+
bgCyan: Formatter
|
|
32
|
+
bgWhite: Formatter
|
|
33
|
+
|
|
34
|
+
blackBright: Formatter
|
|
35
|
+
redBright: Formatter
|
|
36
|
+
greenBright: Formatter
|
|
37
|
+
yellowBright: Formatter
|
|
38
|
+
blueBright: Formatter
|
|
39
|
+
magentaBright: Formatter
|
|
40
|
+
cyanBright: Formatter
|
|
41
|
+
whiteBright: Formatter
|
|
42
|
+
|
|
43
|
+
bgBlackBright: Formatter
|
|
44
|
+
bgRedBright: Formatter
|
|
45
|
+
bgGreenBright: Formatter
|
|
46
|
+
bgYellowBright: Formatter
|
|
47
|
+
bgBlueBright: Formatter
|
|
48
|
+
bgMagentaBright: Formatter
|
|
49
|
+
bgCyanBright: Formatter
|
|
50
|
+
bgWhiteBright: Formatter
|
|
51
|
+
}
|