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,48 @@
|
|
|
1
|
+
const BROWSER_MAPPING = {
|
|
2
|
+
and_chr: 'chrome',
|
|
3
|
+
and_ff: 'firefox',
|
|
4
|
+
ie_mob: 'ie',
|
|
5
|
+
op_mob: 'opera',
|
|
6
|
+
and_qq: null,
|
|
7
|
+
and_uc: null,
|
|
8
|
+
baidu: null,
|
|
9
|
+
bb: null,
|
|
10
|
+
kaios: null,
|
|
11
|
+
op_mini: null,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
function browserslistToTargets(browserslist) {
|
|
15
|
+
let targets = {};
|
|
16
|
+
for (let browser of browserslist) {
|
|
17
|
+
let [name, v] = browser.split(' ');
|
|
18
|
+
if (BROWSER_MAPPING[name] === null) {
|
|
19
|
+
continue;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
let version = parseVersion(v);
|
|
23
|
+
if (version == null) {
|
|
24
|
+
continue;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
if (targets[name] == null || version < targets[name]) {
|
|
28
|
+
targets[name] = version;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return targets;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function parseVersion(version) {
|
|
36
|
+
let [major, minor = 0, patch = 0] = version
|
|
37
|
+
.split('-')[0]
|
|
38
|
+
.split('.')
|
|
39
|
+
.map(v => parseInt(v, 10));
|
|
40
|
+
|
|
41
|
+
if (isNaN(major) || isNaN(minor) || isNaN(patch)) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return (major << 16) | (minor << 8) | patch;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
module.exports = browserslistToTargets;
|
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
/** @typedef {import('./index').Visitor} Visitor */
|
|
3
|
+
/** @typedef {import('./index').VisitorFunction} VisitorFunction */
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Composes multiple visitor objects into a single one.
|
|
7
|
+
* @param {(Visitor | VisitorFunction)[]} visitors
|
|
8
|
+
* @return {Visitor | VisitorFunction}
|
|
9
|
+
*/
|
|
10
|
+
function composeVisitors(visitors) {
|
|
11
|
+
if (visitors.length === 1) {
|
|
12
|
+
return visitors[0];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
if (visitors.some(v => typeof v === 'function')) {
|
|
16
|
+
return (opts) => {
|
|
17
|
+
let v = visitors.map(v => typeof v === 'function' ? v(opts) : v);
|
|
18
|
+
return composeVisitors(v);
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** @type Visitor */
|
|
23
|
+
let res = {};
|
|
24
|
+
composeSimpleVisitors(res, visitors, 'StyleSheet');
|
|
25
|
+
composeSimpleVisitors(res, visitors, 'StyleSheetExit');
|
|
26
|
+
composeObjectVisitors(res, visitors, 'Rule', ruleVisitor, wrapCustomAndUnknownAtRule);
|
|
27
|
+
composeObjectVisitors(res, visitors, 'RuleExit', ruleVisitor, wrapCustomAndUnknownAtRule);
|
|
28
|
+
composeObjectVisitors(res, visitors, 'Declaration', declarationVisitor, wrapCustomProperty);
|
|
29
|
+
composeObjectVisitors(res, visitors, 'DeclarationExit', declarationVisitor, wrapCustomProperty);
|
|
30
|
+
composeSimpleVisitors(res, visitors, 'Url');
|
|
31
|
+
composeSimpleVisitors(res, visitors, 'Color');
|
|
32
|
+
composeSimpleVisitors(res, visitors, 'Image');
|
|
33
|
+
composeSimpleVisitors(res, visitors, 'ImageExit');
|
|
34
|
+
composeSimpleVisitors(res, visitors, 'Length');
|
|
35
|
+
composeSimpleVisitors(res, visitors, 'Angle');
|
|
36
|
+
composeSimpleVisitors(res, visitors, 'Ratio');
|
|
37
|
+
composeSimpleVisitors(res, visitors, 'Resolution');
|
|
38
|
+
composeSimpleVisitors(res, visitors, 'Time');
|
|
39
|
+
composeSimpleVisitors(res, visitors, 'CustomIdent');
|
|
40
|
+
composeSimpleVisitors(res, visitors, 'DashedIdent');
|
|
41
|
+
composeArrayFunctions(res, visitors, 'MediaQuery');
|
|
42
|
+
composeArrayFunctions(res, visitors, 'MediaQueryExit');
|
|
43
|
+
composeSimpleVisitors(res, visitors, 'SupportsCondition');
|
|
44
|
+
composeSimpleVisitors(res, visitors, 'SupportsConditionExit');
|
|
45
|
+
composeArrayFunctions(res, visitors, 'Selector');
|
|
46
|
+
composeTokenVisitors(res, visitors, 'Token', 'token', false);
|
|
47
|
+
composeTokenVisitors(res, visitors, 'Function', 'function', false);
|
|
48
|
+
composeTokenVisitors(res, visitors, 'FunctionExit', 'function', true);
|
|
49
|
+
composeTokenVisitors(res, visitors, 'Variable', 'var', false);
|
|
50
|
+
composeTokenVisitors(res, visitors, 'VariableExit', 'var', true);
|
|
51
|
+
composeTokenVisitors(res, visitors, 'EnvironmentVariable', 'env', false);
|
|
52
|
+
composeTokenVisitors(res, visitors, 'EnvironmentVariableExit', 'env', true);
|
|
53
|
+
return res;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
module.exports = composeVisitors;
|
|
57
|
+
|
|
58
|
+
function wrapCustomAndUnknownAtRule(k, f) {
|
|
59
|
+
if (k === 'unknown') {
|
|
60
|
+
return (value => f({ type: 'unknown', value }));
|
|
61
|
+
}
|
|
62
|
+
if (k === 'custom') {
|
|
63
|
+
return (value => f({ type: 'custom', value }));
|
|
64
|
+
}
|
|
65
|
+
return f;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function wrapCustomProperty(k, f) {
|
|
69
|
+
return k === 'custom' ? (value => f({ property: 'custom', value })) : f;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @param {import('./index').Visitor['Rule']} f
|
|
74
|
+
* @param {import('./ast').Rule} item
|
|
75
|
+
*/
|
|
76
|
+
function ruleVisitor(f, item) {
|
|
77
|
+
if (typeof f === 'object') {
|
|
78
|
+
if (item.type === 'unknown') {
|
|
79
|
+
let v = f.unknown;
|
|
80
|
+
if (typeof v === 'object') {
|
|
81
|
+
v = v[item.value.name];
|
|
82
|
+
}
|
|
83
|
+
return v?.(item.value);
|
|
84
|
+
}
|
|
85
|
+
if (item.type === 'custom') {
|
|
86
|
+
let v = f.custom;
|
|
87
|
+
if (typeof v === 'object') {
|
|
88
|
+
v = v[item.value.name];
|
|
89
|
+
}
|
|
90
|
+
return v?.(item.value);
|
|
91
|
+
}
|
|
92
|
+
return f[item.type]?.(item);
|
|
93
|
+
}
|
|
94
|
+
return f?.(item);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @param {import('./index').Visitor['Declaration']} f
|
|
99
|
+
* @param {import('./ast').Declaration} item
|
|
100
|
+
*/
|
|
101
|
+
function declarationVisitor(f, item) {
|
|
102
|
+
if (typeof f === 'object') {
|
|
103
|
+
/** @type {string} */
|
|
104
|
+
let name = item.property;
|
|
105
|
+
if (item.property === 'unparsed') {
|
|
106
|
+
name = item.value.propertyId.property;
|
|
107
|
+
} else if (item.property === 'custom') {
|
|
108
|
+
let v = f.custom;
|
|
109
|
+
if (typeof v === 'object') {
|
|
110
|
+
v = v[item.value.name];
|
|
111
|
+
}
|
|
112
|
+
return v?.(item.value);
|
|
113
|
+
}
|
|
114
|
+
return f[name]?.(item);
|
|
115
|
+
}
|
|
116
|
+
return f?.(item);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @param {Visitor[]} visitors
|
|
122
|
+
* @param {string} key
|
|
123
|
+
* @returns {[any[], boolean, Set<string>]}
|
|
124
|
+
*/
|
|
125
|
+
function extractObjectsOrFunctions(visitors, key) {
|
|
126
|
+
let values = [];
|
|
127
|
+
let hasFunction = false;
|
|
128
|
+
let allKeys = new Set();
|
|
129
|
+
for (let visitor of visitors) {
|
|
130
|
+
let v = visitor[key];
|
|
131
|
+
if (v) {
|
|
132
|
+
if (typeof v === 'function') {
|
|
133
|
+
hasFunction = true;
|
|
134
|
+
} else {
|
|
135
|
+
for (let key in v) {
|
|
136
|
+
allKeys.add(key);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
values.push(v);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return [values, hasFunction, allKeys];
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @template {keyof Visitor} K
|
|
147
|
+
* @param {Visitor} res
|
|
148
|
+
* @param {Visitor[]} visitors
|
|
149
|
+
* @param {K} key
|
|
150
|
+
* @param {(visitor: Visitor[K], item: any) => any | any[] | void} apply
|
|
151
|
+
* @param {(k: string, f: any) => any} wrapKey
|
|
152
|
+
*/
|
|
153
|
+
function composeObjectVisitors(res, visitors, key, apply, wrapKey) {
|
|
154
|
+
let [values, hasFunction, allKeys] = extractObjectsOrFunctions(visitors, key);
|
|
155
|
+
if (values.length === 0) {
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if (values.length === 1) {
|
|
160
|
+
res[key] = values[0];
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
let f = createArrayVisitor(visitors, (visitor, item) => apply(visitor[key], item));
|
|
165
|
+
if (hasFunction) {
|
|
166
|
+
res[key] = f;
|
|
167
|
+
} else {
|
|
168
|
+
/** @type {any} */
|
|
169
|
+
let v = {};
|
|
170
|
+
for (let k of allKeys) {
|
|
171
|
+
v[k] = wrapKey(k, f);
|
|
172
|
+
}
|
|
173
|
+
res[key] = v;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @param {Visitor} res
|
|
179
|
+
* @param {Visitor[]} visitors
|
|
180
|
+
* @param {string} key
|
|
181
|
+
* @param {import('./ast').TokenOrValue['type']} type
|
|
182
|
+
* @param {boolean} isExit
|
|
183
|
+
*/
|
|
184
|
+
function composeTokenVisitors(res, visitors, key, type, isExit) {
|
|
185
|
+
let [values, hasFunction, allKeys] = extractObjectsOrFunctions(visitors, key);
|
|
186
|
+
if (values.length === 0) {
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
if (values.length === 1) {
|
|
191
|
+
res[key] = values[0];
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
let f = createTokenVisitor(visitors, type, isExit);
|
|
196
|
+
if (hasFunction) {
|
|
197
|
+
res[key] = f;
|
|
198
|
+
} else {
|
|
199
|
+
let v = {};
|
|
200
|
+
for (let key of allKeys) {
|
|
201
|
+
v[key] = f;
|
|
202
|
+
}
|
|
203
|
+
res[key] = v;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @param {Visitor[]} visitors
|
|
209
|
+
* @param {import('./ast').TokenOrValue['type']} type
|
|
210
|
+
*/
|
|
211
|
+
function createTokenVisitor(visitors, type, isExit) {
|
|
212
|
+
let v = createArrayVisitor(visitors, (visitor, /** @type {import('./ast').TokenOrValue} */ item) => {
|
|
213
|
+
let f;
|
|
214
|
+
switch (item.type) {
|
|
215
|
+
case 'token':
|
|
216
|
+
f = visitor.Token;
|
|
217
|
+
if (typeof f === 'object') {
|
|
218
|
+
f = f[item.value.type];
|
|
219
|
+
}
|
|
220
|
+
break;
|
|
221
|
+
case 'function':
|
|
222
|
+
f = isExit ? visitor.FunctionExit : visitor.Function;
|
|
223
|
+
if (typeof f === 'object') {
|
|
224
|
+
f = f[item.value.name];
|
|
225
|
+
}
|
|
226
|
+
break;
|
|
227
|
+
case 'var':
|
|
228
|
+
f = isExit ? visitor.VariableExit : visitor.Variable;
|
|
229
|
+
break;
|
|
230
|
+
case 'env':
|
|
231
|
+
f = isExit ? visitor.EnvironmentVariableExit : visitor.EnvironmentVariable;
|
|
232
|
+
if (typeof f === 'object') {
|
|
233
|
+
let name;
|
|
234
|
+
switch (item.value.name.type) {
|
|
235
|
+
case 'ua':
|
|
236
|
+
case 'unknown':
|
|
237
|
+
name = item.value.name.value;
|
|
238
|
+
break;
|
|
239
|
+
case 'custom':
|
|
240
|
+
name = item.value.name.ident;
|
|
241
|
+
break;
|
|
242
|
+
}
|
|
243
|
+
f = f[name];
|
|
244
|
+
}
|
|
245
|
+
break;
|
|
246
|
+
case 'color':
|
|
247
|
+
f = visitor.Color;
|
|
248
|
+
break;
|
|
249
|
+
case 'url':
|
|
250
|
+
f = visitor.Url;
|
|
251
|
+
break;
|
|
252
|
+
case 'length':
|
|
253
|
+
f = visitor.Length;
|
|
254
|
+
break;
|
|
255
|
+
case 'angle':
|
|
256
|
+
f = visitor.Angle;
|
|
257
|
+
break;
|
|
258
|
+
case 'time':
|
|
259
|
+
f = visitor.Time;
|
|
260
|
+
break;
|
|
261
|
+
case 'resolution':
|
|
262
|
+
f = visitor.Resolution;
|
|
263
|
+
break;
|
|
264
|
+
case 'dashed-ident':
|
|
265
|
+
f = visitor.DashedIdent;
|
|
266
|
+
break;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
if (!f) {
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
let res = f(item.value);
|
|
274
|
+
switch (item.type) {
|
|
275
|
+
case 'color':
|
|
276
|
+
case 'url':
|
|
277
|
+
case 'length':
|
|
278
|
+
case 'angle':
|
|
279
|
+
case 'time':
|
|
280
|
+
case 'resolution':
|
|
281
|
+
case 'dashed-ident':
|
|
282
|
+
if (Array.isArray(res)) {
|
|
283
|
+
res = res.map(value => ({ type: item.type, value }))
|
|
284
|
+
} else if (res) {
|
|
285
|
+
res = { type: item.type, value: res };
|
|
286
|
+
}
|
|
287
|
+
break;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
return res;
|
|
291
|
+
});
|
|
292
|
+
|
|
293
|
+
return value => v({ type, value });
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @param {Visitor[]} visitors
|
|
298
|
+
* @param {string} key
|
|
299
|
+
*/
|
|
300
|
+
function extractFunctions(visitors, key) {
|
|
301
|
+
let functions = [];
|
|
302
|
+
for (let visitor of visitors) {
|
|
303
|
+
let f = visitor[key];
|
|
304
|
+
if (f) {
|
|
305
|
+
functions.push(f);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
return functions;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* @param {Visitor} res
|
|
313
|
+
* @param {Visitor[]} visitors
|
|
314
|
+
* @param {string} key
|
|
315
|
+
*/
|
|
316
|
+
function composeSimpleVisitors(res, visitors, key) {
|
|
317
|
+
let functions = extractFunctions(visitors, key);
|
|
318
|
+
if (functions.length === 0) {
|
|
319
|
+
return;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
if (functions.length === 1) {
|
|
323
|
+
res[key] = functions[0];
|
|
324
|
+
return;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
res[key] = arg => {
|
|
328
|
+
let mutated = false;
|
|
329
|
+
for (let f of functions) {
|
|
330
|
+
let res = f(arg);
|
|
331
|
+
if (res) {
|
|
332
|
+
arg = res;
|
|
333
|
+
mutated = true;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
return mutated ? arg : undefined;
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @param {Visitor} res
|
|
343
|
+
* @param {Visitor[]} visitors
|
|
344
|
+
* @param {string} key
|
|
345
|
+
*/
|
|
346
|
+
function composeArrayFunctions(res, visitors, key) {
|
|
347
|
+
let functions = extractFunctions(visitors, key);
|
|
348
|
+
if (functions.length === 0) {
|
|
349
|
+
return;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
if (functions.length === 1) {
|
|
353
|
+
res[key] = functions[0];
|
|
354
|
+
return;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
res[key] = createArrayVisitor(functions, (f, item) => f(item));
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* @template T
|
|
362
|
+
* @template V
|
|
363
|
+
* @param {T[]} visitors
|
|
364
|
+
* @param {(visitor: T, item: V) => V | V[] | void} apply
|
|
365
|
+
* @returns {(item: V) => V | V[] | void}
|
|
366
|
+
*/
|
|
367
|
+
function createArrayVisitor(visitors, apply) {
|
|
368
|
+
let seen = new Bitset(visitors.length);
|
|
369
|
+
return arg => {
|
|
370
|
+
let arr = [arg];
|
|
371
|
+
let mutated = false;
|
|
372
|
+
seen.clear();
|
|
373
|
+
for (let i = 0; i < arr.length; i++) {
|
|
374
|
+
// For each value, call all visitors. If a visitor returns a new value,
|
|
375
|
+
// we start over, but skip the visitor that generated the value or saw
|
|
376
|
+
// it before (to avoid cycles). This way, visitors can be composed in any order.
|
|
377
|
+
for (let v = 0; v < visitors.length && i < arr.length;) {
|
|
378
|
+
if (seen.get(v)) {
|
|
379
|
+
v++;
|
|
380
|
+
continue;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
let item = arr[i];
|
|
384
|
+
let visitor = visitors[v];
|
|
385
|
+
let res = apply(visitor, item);
|
|
386
|
+
if (Array.isArray(res)) {
|
|
387
|
+
if (res.length === 0) {
|
|
388
|
+
arr.splice(i, 1);
|
|
389
|
+
} else if (res.length === 1) {
|
|
390
|
+
arr[i] = res[0];
|
|
391
|
+
} else {
|
|
392
|
+
arr.splice(i, 1, ...res);
|
|
393
|
+
}
|
|
394
|
+
mutated = true;
|
|
395
|
+
seen.set(v);
|
|
396
|
+
v = 0;
|
|
397
|
+
} else if (res) {
|
|
398
|
+
arr[i] = res;
|
|
399
|
+
mutated = true;
|
|
400
|
+
seen.set(v);
|
|
401
|
+
v = 0;
|
|
402
|
+
} else {
|
|
403
|
+
v++;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
if (!mutated) {
|
|
409
|
+
return;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
return arr.length === 1 ? arr[0] : arr;
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
class Bitset {
|
|
417
|
+
constructor(maxBits = 32) {
|
|
418
|
+
this.bits = 0;
|
|
419
|
+
this.more = maxBits > 32 ? new Uint32Array(Math.ceil((maxBits - 32) / 32)) : null;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/** @param {number} bit */
|
|
423
|
+
get(bit) {
|
|
424
|
+
if (bit >= 32 && this.more) {
|
|
425
|
+
let i = Math.floor((bit - 32) / 32);
|
|
426
|
+
let b = bit % 32;
|
|
427
|
+
return Boolean(this.more[i] & (1 << b));
|
|
428
|
+
} else {
|
|
429
|
+
return Boolean(this.bits & (1 << bit));
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
/** @param {number} bit */
|
|
434
|
+
set(bit) {
|
|
435
|
+
if (bit >= 32 && this.more) {
|
|
436
|
+
let i = Math.floor((bit - 32) / 32);
|
|
437
|
+
let b = bit % 32;
|
|
438
|
+
this.more[i] |= 1 << b;
|
|
439
|
+
} else {
|
|
440
|
+
this.bits |= 1 << bit;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
clear() {
|
|
445
|
+
this.bits = 0;
|
|
446
|
+
if (this.more) {
|
|
447
|
+
this.more.fill(0);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// This file is autogenerated by build-prefixes.js. DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
exports.Features = {
|
|
4
|
+
Nesting: 1,
|
|
5
|
+
NotSelectorList: 2,
|
|
6
|
+
DirSelector: 4,
|
|
7
|
+
LangSelectorList: 8,
|
|
8
|
+
IsSelector: 16,
|
|
9
|
+
TextDecorationThicknessPercent: 32,
|
|
10
|
+
MediaIntervalSyntax: 64,
|
|
11
|
+
MediaRangeSyntax: 128,
|
|
12
|
+
CustomMediaQueries: 256,
|
|
13
|
+
ClampFunction: 512,
|
|
14
|
+
ColorFunction: 1024,
|
|
15
|
+
OklabColors: 2048,
|
|
16
|
+
LabColors: 4096,
|
|
17
|
+
P3Colors: 8192,
|
|
18
|
+
HexAlphaColors: 16384,
|
|
19
|
+
SpaceSeparatedColorNotation: 32768,
|
|
20
|
+
FontFamilySystemUi: 65536,
|
|
21
|
+
DoublePositionGradients: 131072,
|
|
22
|
+
VendorPrefixes: 262144,
|
|
23
|
+
LogicalProperties: 524288,
|
|
24
|
+
LightDark: 1048576,
|
|
25
|
+
Selectors: 31,
|
|
26
|
+
MediaQueries: 448,
|
|
27
|
+
Colors: 1113088,
|
|
28
|
+
};
|