picata 0.0.6__py3-none-any.whl → 0.0.8__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- node_modules/@ampproject/remapping/README.md +218 -0
- node_modules/@babel/code-frame/README.md +19 -0
- node_modules/@babel/compat-data/README.md +19 -0
- node_modules/@babel/core/README.md +19 -0
- node_modules/@babel/generator/README.md +19 -0
- node_modules/@babel/helper-annotate-as-pure/README.md +19 -0
- node_modules/@babel/helper-compilation-targets/README.md +19 -0
- node_modules/@babel/helper-create-class-features-plugin/README.md +19 -0
- node_modules/@babel/helper-create-regexp-features-plugin/README.md +19 -0
- node_modules/@babel/helper-define-polyfill-provider/README.md +15 -0
- node_modules/@babel/helper-member-expression-to-functions/README.md +19 -0
- node_modules/@babel/helper-module-imports/README.md +19 -0
- node_modules/@babel/helper-module-transforms/README.md +19 -0
- node_modules/@babel/helper-optimise-call-expression/README.md +19 -0
- node_modules/@babel/helper-plugin-utils/README.md +19 -0
- node_modules/@babel/helper-remap-async-to-generator/README.md +19 -0
- node_modules/@babel/helper-replace-supers/README.md +19 -0
- node_modules/@babel/helper-skip-transparent-expression-wrappers/README.md +19 -0
- node_modules/@babel/helper-string-parser/README.md +19 -0
- node_modules/@babel/helper-validator-identifier/README.md +19 -0
- node_modules/@babel/helper-validator-option/README.md +19 -0
- node_modules/@babel/helper-wrap-function/README.md +19 -0
- node_modules/@babel/helpers/README.md +19 -0
- node_modules/@babel/parser/README.md +19 -0
- node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key/README.md +19 -0
- node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope/README.md +19 -0
- node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/README.md +19 -0
- node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/README.md +19 -0
- node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/README.md +19 -0
- node_modules/@babel/plugin-proposal-private-property-in-object/README.md +23 -0
- node_modules/@babel/plugin-syntax-import-assertions/README.md +19 -0
- node_modules/@babel/plugin-syntax-import-attributes/README.md +19 -0
- node_modules/@babel/plugin-syntax-jsx/README.md +19 -0
- node_modules/@babel/plugin-syntax-typescript/README.md +19 -0
- node_modules/@babel/plugin-syntax-unicode-sets-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-arrow-functions/README.md +19 -0
- node_modules/@babel/plugin-transform-async-generator-functions/README.md +19 -0
- node_modules/@babel/plugin-transform-async-to-generator/README.md +19 -0
- node_modules/@babel/plugin-transform-block-scoped-functions/README.md +19 -0
- node_modules/@babel/plugin-transform-block-scoping/README.md +19 -0
- node_modules/@babel/plugin-transform-class-properties/README.md +19 -0
- node_modules/@babel/plugin-transform-class-static-block/README.md +19 -0
- node_modules/@babel/plugin-transform-classes/README.md +19 -0
- node_modules/@babel/plugin-transform-computed-properties/README.md +19 -0
- node_modules/@babel/plugin-transform-destructuring/README.md +19 -0
- node_modules/@babel/plugin-transform-dotall-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-duplicate-keys/README.md +19 -0
- node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-dynamic-import/README.md +19 -0
- node_modules/@babel/plugin-transform-exponentiation-operator/README.md +19 -0
- node_modules/@babel/plugin-transform-export-namespace-from/README.md +19 -0
- node_modules/@babel/plugin-transform-for-of/README.md +19 -0
- node_modules/@babel/plugin-transform-function-name/README.md +19 -0
- node_modules/@babel/plugin-transform-json-strings/README.md +19 -0
- node_modules/@babel/plugin-transform-literals/README.md +19 -0
- node_modules/@babel/plugin-transform-logical-assignment-operators/README.md +19 -0
- node_modules/@babel/plugin-transform-member-expression-literals/README.md +19 -0
- node_modules/@babel/plugin-transform-modules-amd/README.md +19 -0
- node_modules/@babel/plugin-transform-modules-commonjs/README.md +19 -0
- node_modules/@babel/plugin-transform-modules-systemjs/README.md +19 -0
- node_modules/@babel/plugin-transform-modules-umd/README.md +19 -0
- node_modules/@babel/plugin-transform-named-capturing-groups-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-new-target/README.md +19 -0
- node_modules/@babel/plugin-transform-nullish-coalescing-operator/README.md +19 -0
- node_modules/@babel/plugin-transform-numeric-separator/README.md +19 -0
- node_modules/@babel/plugin-transform-object-rest-spread/README.md +19 -0
- node_modules/@babel/plugin-transform-object-super/README.md +19 -0
- node_modules/@babel/plugin-transform-optional-catch-binding/README.md +19 -0
- node_modules/@babel/plugin-transform-optional-chaining/README.md +19 -0
- node_modules/@babel/plugin-transform-parameters/README.md +19 -0
- node_modules/@babel/plugin-transform-private-methods/README.md +19 -0
- node_modules/@babel/plugin-transform-private-property-in-object/README.md +19 -0
- node_modules/@babel/plugin-transform-property-literals/README.md +19 -0
- node_modules/@babel/plugin-transform-react-display-name/README.md +19 -0
- node_modules/@babel/plugin-transform-react-jsx/README.md +19 -0
- node_modules/@babel/plugin-transform-react-jsx-development/README.md +19 -0
- node_modules/@babel/plugin-transform-react-pure-annotations/README.md +19 -0
- node_modules/@babel/plugin-transform-regenerator/README.md +19 -0
- node_modules/@babel/plugin-transform-regexp-modifiers/README.md +19 -0
- node_modules/@babel/plugin-transform-reserved-words/README.md +19 -0
- node_modules/@babel/plugin-transform-shorthand-properties/README.md +19 -0
- node_modules/@babel/plugin-transform-spread/README.md +19 -0
- node_modules/@babel/plugin-transform-sticky-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-template-literals/README.md +19 -0
- node_modules/@babel/plugin-transform-typeof-symbol/README.md +19 -0
- node_modules/@babel/plugin-transform-typescript/README.md +19 -0
- node_modules/@babel/plugin-transform-unicode-escapes/README.md +19 -0
- node_modules/@babel/plugin-transform-unicode-property-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-unicode-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-unicode-sets-regex/README.md +19 -0
- node_modules/@babel/preset-env/README.md +19 -0
- node_modules/@babel/preset-modules/README.md +171 -0
- node_modules/@babel/preset-react/README.md +19 -0
- node_modules/@babel/preset-typescript/README.md +19 -0
- node_modules/@babel/runtime/README.md +19 -0
- node_modules/@babel/template/README.md +19 -0
- node_modules/@babel/traverse/README.md +19 -0
- node_modules/@babel/types/README.md +19 -0
- node_modules/@csstools/cascade-layer-name-parser/LICENSE.md +20 -0
- node_modules/@csstools/cascade-layer-name-parser/README.md +32 -0
- node_modules/@csstools/color-helpers/LICENSE.md +18 -0
- node_modules/@csstools/color-helpers/README.md +32 -0
- node_modules/@csstools/css-calc/LICENSE.md +20 -0
- node_modules/@csstools/css-calc/README.md +132 -0
- node_modules/@csstools/css-color-parser/LICENSE.md +20 -0
- node_modules/@csstools/css-color-parser/README.md +37 -0
- node_modules/@csstools/css-parser-algorithms/LICENSE.md +20 -0
- node_modules/@csstools/css-parser-algorithms/README.md +119 -0
- node_modules/@csstools/css-tokenizer/LICENSE.md +20 -0
- node_modules/@csstools/css-tokenizer/README.md +111 -0
- node_modules/@csstools/media-query-list-parser/LICENSE.md +20 -0
- node_modules/@csstools/media-query-list-parser/README.md +61 -0
- node_modules/@csstools/postcss-cascade-layers/LICENSE.md +18 -0
- node_modules/@csstools/postcss-cascade-layers/README.md +194 -0
- node_modules/@csstools/postcss-cascade-layers/node_modules/@csstools/selector-specificity/LICENSE.md +18 -0
- node_modules/@csstools/postcss-cascade-layers/node_modules/@csstools/selector-specificity/README.md +57 -0
- node_modules/@csstools/postcss-cascade-layers/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/@csstools/postcss-color-function/LICENSE.md +18 -0
- node_modules/@csstools/postcss-color-function/README.md +151 -0
- node_modules/@csstools/postcss-color-mix-function/LICENSE.md +18 -0
- node_modules/@csstools/postcss-color-mix-function/README.md +74 -0
- node_modules/@csstools/postcss-content-alt-text/LICENSE.md +18 -0
- node_modules/@csstools/postcss-content-alt-text/README.md +122 -0
- node_modules/@csstools/postcss-exponential-functions/LICENSE.md +18 -0
- node_modules/@csstools/postcss-exponential-functions/README.md +91 -0
- node_modules/@csstools/postcss-font-format-keywords/LICENSE.md +18 -0
- node_modules/@csstools/postcss-font-format-keywords/README.md +88 -0
- node_modules/@csstools/postcss-gamut-mapping/LICENSE.md +18 -0
- node_modules/@csstools/postcss-gamut-mapping/README.md +71 -0
- node_modules/@csstools/postcss-gradients-interpolation-method/LICENSE.md +18 -0
- node_modules/@csstools/postcss-gradients-interpolation-method/README.md +160 -0
- node_modules/@csstools/postcss-hwb-function/LICENSE.md +18 -0
- node_modules/@csstools/postcss-hwb-function/README.md +88 -0
- node_modules/@csstools/postcss-ic-unit/LICENSE.md +18 -0
- node_modules/@csstools/postcss-ic-unit/README.md +96 -0
- node_modules/@csstools/postcss-initial/LICENSE.md +18 -0
- node_modules/@csstools/postcss-initial/README.md +74 -0
- node_modules/@csstools/postcss-is-pseudo-class/LICENSE.md +18 -0
- node_modules/@csstools/postcss-is-pseudo-class/README.md +253 -0
- node_modules/@csstools/postcss-is-pseudo-class/node_modules/@csstools/selector-specificity/LICENSE.md +18 -0
- node_modules/@csstools/postcss-is-pseudo-class/node_modules/@csstools/selector-specificity/README.md +57 -0
- node_modules/@csstools/postcss-is-pseudo-class/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/@csstools/postcss-light-dark-function/LICENSE.md +18 -0
- node_modules/@csstools/postcss-light-dark-function/README.md +174 -0
- node_modules/@csstools/postcss-logical-float-and-clear/LICENSE.md +18 -0
- node_modules/@csstools/postcss-logical-float-and-clear/README.md +86 -0
- node_modules/@csstools/postcss-logical-overflow/LICENSE.md +18 -0
- node_modules/@csstools/postcss-logical-overflow/README.md +96 -0
- node_modules/@csstools/postcss-logical-overscroll-behavior/LICENSE.md +18 -0
- node_modules/@csstools/postcss-logical-overscroll-behavior/README.md +96 -0
- node_modules/@csstools/postcss-logical-resize/LICENSE.md +18 -0
- node_modules/@csstools/postcss-logical-resize/README.md +99 -0
- node_modules/@csstools/postcss-logical-viewport-units/LICENSE.md +18 -0
- node_modules/@csstools/postcss-logical-viewport-units/README.md +105 -0
- node_modules/@csstools/postcss-media-minmax/LICENSE.md +21 -0
- node_modules/@csstools/postcss-media-minmax/README.md +54 -0
- node_modules/@csstools/postcss-media-queries-aspect-ratio-number-values/LICENSE.md +18 -0
- node_modules/@csstools/postcss-media-queries-aspect-ratio-number-values/README.md +62 -0
- node_modules/@csstools/postcss-nested-calc/LICENSE.md +18 -0
- node_modules/@csstools/postcss-nested-calc/README.md +71 -0
- node_modules/@csstools/postcss-normalize-display-values/LICENSE.md +18 -0
- node_modules/@csstools/postcss-normalize-display-values/README.md +88 -0
- node_modules/@csstools/postcss-oklab-function/LICENSE.md +18 -0
- node_modules/@csstools/postcss-oklab-function/README.md +173 -0
- node_modules/@csstools/postcss-progressive-custom-properties/LICENSE.md +18 -0
- node_modules/@csstools/postcss-progressive-custom-properties/README.md +122 -0
- node_modules/@csstools/postcss-random-function/LICENSE.md +18 -0
- node_modules/@csstools/postcss-random-function/README.md +121 -0
- node_modules/@csstools/postcss-relative-color-syntax/LICENSE.md +18 -0
- node_modules/@csstools/postcss-relative-color-syntax/README.md +74 -0
- node_modules/@csstools/postcss-scope-pseudo-class/LICENSE.md +18 -0
- node_modules/@csstools/postcss-scope-pseudo-class/README.md +73 -0
- node_modules/@csstools/postcss-scope-pseudo-class/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/@csstools/postcss-sign-functions/LICENSE.md +18 -0
- node_modules/@csstools/postcss-sign-functions/README.md +184 -0
- node_modules/@csstools/postcss-stepped-value-functions/LICENSE.md +18 -0
- node_modules/@csstools/postcss-stepped-value-functions/README.md +107 -0
- node_modules/@csstools/postcss-text-decoration-shorthand/LICENSE.md +18 -0
- node_modules/@csstools/postcss-text-decoration-shorthand/README.md +75 -0
- node_modules/@csstools/postcss-trigonometric-functions/LICENSE.md +18 -0
- node_modules/@csstools/postcss-trigonometric-functions/README.md +149 -0
- node_modules/@csstools/postcss-unset-value/LICENSE.md +18 -0
- node_modules/@csstools/postcss-unset-value/README.md +120 -0
- node_modules/@csstools/utilities/LICENSE.md +18 -0
- node_modules/@csstools/utilities/README.md +25 -0
- node_modules/@discoveryjs/json-ext/README.md +256 -0
- node_modules/@eslint/config-array/README.md +358 -0
- node_modules/@eslint/core/README.md +29 -0
- node_modules/@eslint/eslintrc/README.md +126 -0
- node_modules/@eslint/js/README.md +60 -0
- node_modules/@eslint/object-schema/README.md +242 -0
- node_modules/@eslint/plugin-kit/README.md +273 -0
- node_modules/@eslint-community/eslint-utils/README.md +37 -0
- node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/README.md +105 -0
- node_modules/@eslint-community/regexpp/README.md +177 -0
- node_modules/@humanfs/core/README.md +140 -0
- node_modules/@humanfs/node/README.md +141 -0
- node_modules/@humanfs/node/node_modules/@humanwhocodes/retry/README.md +138 -0
- node_modules/@humanwhocodes/module-importer/README.md +80 -0
- node_modules/@humanwhocodes/retry/README.md +177 -0
- node_modules/@isaacs/cliui/README.md +143 -0
- node_modules/@jest/schemas/README.md +3 -0
- node_modules/@jest/types/README.md +30 -0
- node_modules/@jridgewell/gen-mapping/README.md +227 -0
- node_modules/@jridgewell/resolve-uri/README.md +40 -0
- node_modules/@jridgewell/set-array/README.md +37 -0
- node_modules/@jridgewell/source-map/README.md +184 -0
- node_modules/@jridgewell/sourcemap-codec/README.md +264 -0
- node_modules/@jridgewell/trace-mapping/README.md +257 -0
- node_modules/@nodelib/fs.scandir/README.md +171 -0
- node_modules/@nodelib/fs.stat/README.md +126 -0
- node_modules/@nodelib/fs.walk/README.md +215 -0
- node_modules/@parcel/watcher/README.md +135 -0
- node_modules/@parcel/watcher-linux-x64-glibc/README.md +1 -0
- node_modules/@pkgjs/parseargs/README.md +413 -0
- node_modules/@tailwindcss/typography/README.md +398 -0
- node_modules/@trysound/sax/README.md +202 -0
- node_modules/@types/eslint/README.md +15 -0
- node_modules/@types/eslint-scope/README.md +90 -0
- node_modules/@types/estree/README.md +15 -0
- node_modules/@types/istanbul-lib-coverage/README.md +15 -0
- node_modules/@types/istanbul-lib-report/README.md +15 -0
- node_modules/@types/istanbul-reports/README.md +86 -0
- node_modules/@types/json-schema/README.md +15 -0
- node_modules/@types/node/README.md +15 -0
- node_modules/@types/react/README.md +15 -0
- node_modules/@types/react-dom/README.md +16 -0
- node_modules/@types/yargs/README.md +15 -0
- node_modules/@types/yargs-parser/README.md +15 -0
- node_modules/@typescript-eslint/eslint-plugin/README.md +12 -0
- node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +57 -0
- node_modules/@typescript-eslint/parser/README.md +12 -0
- node_modules/@typescript-eslint/scope-manager/README.md +10 -0
- node_modules/@typescript-eslint/type-utils/README.md +12 -0
- node_modules/@typescript-eslint/types/README.md +12 -0
- node_modules/@typescript-eslint/typescript-estree/README.md +14 -0
- node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/README.md +135 -0
- node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/README.md +454 -0
- node_modules/@typescript-eslint/typescript-estree/node_modules/semver/README.md +654 -0
- node_modules/@typescript-eslint/utils/README.md +12 -0
- node_modules/@typescript-eslint/visitor-keys/README.md +10 -0
- node_modules/@webassemblyjs/ast/README.md +167 -0
- node_modules/@webassemblyjs/floating-point-hex-parser/README.md +34 -0
- node_modules/@webassemblyjs/wasm-edit/README.md +86 -0
- node_modules/@webassemblyjs/wasm-parser/README.md +28 -0
- node_modules/@webassemblyjs/wast-printer/README.md +17 -0
- node_modules/@webpack-cli/configtest/README.md +31 -0
- node_modules/@webpack-cli/info/README.md +54 -0
- node_modules/@webpack-cli/serve/README.md +32 -0
- node_modules/@xtuc/ieee754/README.md +51 -0
- node_modules/@xtuc/long/README.md +257 -0
- node_modules/acorn/README.md +282 -0
- node_modules/acorn-jsx/README.md +40 -0
- node_modules/ajv/README.md +1497 -0
- node_modules/ajv/lib/dotjs/README.md +3 -0
- node_modules/ajv-formats/README.md +123 -0
- node_modules/ajv-formats/node_modules/ajv/README.md +207 -0
- node_modules/ajv-formats/node_modules/json-schema-traverse/README.md +95 -0
- node_modules/ajv-keywords/README.md +836 -0
- node_modules/ajv-keywords/keywords/dotjs/README.md +3 -0
- node_modules/any-promise/README.md +161 -0
- node_modules/anymatch/README.md +87 -0
- node_modules/arg/LICENSE.md +21 -0
- node_modules/arg/README.md +317 -0
- node_modules/argparse/README.md +84 -0
- node_modules/array-buffer-byte-length/README.md +40 -0
- node_modules/array-includes/README.md +105 -0
- node_modules/array.prototype.findlast/README.md +74 -0
- node_modules/array.prototype.flat/README.md +75 -0
- node_modules/array.prototype.flatmap/README.md +82 -0
- node_modules/array.prototype.tosorted/README.md +71 -0
- node_modules/arraybuffer.prototype.slice/README.md +61 -0
- node_modules/async-function/README.md +51 -0
- node_modules/autoprefixer/README.md +66 -0
- node_modules/available-typed-arrays/README.md +55 -0
- node_modules/babel-loader/README.md +411 -0
- node_modules/babel-plugin-polyfill-corejs2/README.md +28 -0
- node_modules/babel-plugin-polyfill-corejs3/README.md +78 -0
- node_modules/babel-plugin-polyfill-corejs3/core-js-compat/README.md +4 -0
- node_modules/babel-plugin-polyfill-regenerator/README.md +28 -0
- node_modules/balanced-match/LICENSE.md +21 -0
- node_modules/balanced-match/README.md +97 -0
- node_modules/boolbase/README.md +10 -0
- node_modules/brace-expansion/README.md +129 -0
- node_modules/braces/README.md +586 -0
- node_modules/browserslist/README.md +67 -0
- node_modules/call-bind/README.md +64 -0
- node_modules/call-bind-apply-helpers/README.md +62 -0
- node_modules/call-bound/README.md +53 -0
- node_modules/camelcase-css/README.md +27 -0
- node_modules/caniuse-api/README.md +157 -0
- node_modules/caniuse-lite/README.md +6 -0
- node_modules/chokidar/README.md +308 -0
- node_modules/chokidar-cli/README.md +148 -0
- node_modules/chrome-trace-event/README.md +31 -0
- node_modules/ci-info/README.md +135 -0
- node_modules/cliui/README.md +115 -0
- node_modules/cliui/node_modules/color-convert/README.md +68 -0
- node_modules/cliui/node_modules/color-name/README.md +11 -0
- node_modules/cliui/node_modules/emoji-regex/README.md +73 -0
- node_modules/clone-deep/README.md +106 -0
- node_modules/color-convert/README.md +68 -0
- node_modules/color-name/README.md +11 -0
- node_modules/colord/LICENSE.md +21 -0
- node_modules/colord/README.md +1053 -0
- node_modules/colorette/LICENSE.md +7 -0
- node_modules/colorette/README.md +134 -0
- node_modules/common-path-prefix/README.md +51 -0
- node_modules/concurrently/README.md +229 -0
- node_modules/concurrently/docs/README.md +13 -0
- node_modules/concurrently/node_modules/cliui/README.md +141 -0
- node_modules/concurrently/node_modules/emoji-regex/README.md +73 -0
- node_modules/concurrently/node_modules/y18n/README.md +127 -0
- node_modules/concurrently/node_modules/yargs/README.md +204 -0
- node_modules/concurrently/node_modules/yargs-parser/README.md +518 -0
- node_modules/convert-source-map/README.md +206 -0
- node_modules/core-js-compat/README.md +135 -0
- node_modules/cosmiconfig/README.md +782 -0
- node_modules/cross-spawn/README.md +89 -0
- node_modules/css-blank-pseudo/LICENSE.md +18 -0
- node_modules/css-blank-pseudo/README.md +205 -0
- node_modules/css-blank-pseudo/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/css-has-pseudo/LICENSE.md +18 -0
- node_modules/css-has-pseudo/README.md +331 -0
- node_modules/css-has-pseudo/node_modules/@csstools/selector-specificity/LICENSE.md +18 -0
- node_modules/css-has-pseudo/node_modules/@csstools/selector-specificity/README.md +57 -0
- node_modules/css-has-pseudo/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/css-loader/README.md +2334 -0
- node_modules/css-loader/node_modules/semver/README.md +654 -0
- node_modules/css-minimizer-webpack-plugin/README.md +624 -0
- node_modules/css-prefers-color-scheme/LICENSE.md +18 -0
- node_modules/css-prefers-color-scheme/README.md +341 -0
- node_modules/css-select/README.md +264 -0
- node_modules/css-selector-tokenizer/README.md +92 -0
- node_modules/css-tree/README.md +193 -0
- node_modules/cssdb/LICENSE.md +18 -0
- node_modules/cssdb/README.md +35 -0
- node_modules/cssesc/README.md +201 -0
- node_modules/cssnano/README.md +6 -0
- node_modules/cssnano-preset-default/README.md +310 -0
- node_modules/cssnano-utils/README.md +15 -0
- node_modules/csso/README.md +422 -0
- node_modules/csso/node_modules/css-tree/README.md +193 -0
- node_modules/csso/node_modules/mdn-data/README.md +56 -0
- node_modules/csstype/README.md +277 -0
- node_modules/culori/README.md +19 -0
- node_modules/daisyui/README.md +65 -0
- node_modules/data-view-buffer/README.md +43 -0
- node_modules/data-view-byte-length/README.md +43 -0
- node_modules/data-view-byte-offset/README.md +43 -0
- node_modules/debug/README.md +481 -0
- node_modules/define-data-property/README.md +67 -0
- node_modules/define-properties/README.md +84 -0
- node_modules/detect-libc/README.md +78 -0
- node_modules/didyoumean/README.md +134 -0
- node_modules/dlv/README.md +76 -0
- node_modules/doctrine/README.md +165 -0
- node_modules/dom-serializer/README.md +109 -0
- node_modules/dunder-proto/README.md +54 -0
- node_modules/eastasianwidth/README.md +32 -0
- node_modules/electron-to-chromium/README.md +186 -0
- node_modules/emoji-regex/README.md +137 -0
- node_modules/enhanced-resolve/README.md +183 -0
- node_modules/envinfo/README.md +286 -0
- node_modules/error-ex/README.md +144 -0
- node_modules/es-abstract/README.md +43 -0
- node_modules/es-define-property/README.md +49 -0
- node_modules/es-errors/README.md +55 -0
- node_modules/es-iterator-helpers/README.md +110 -0
- node_modules/es-module-lexer/README.md +338 -0
- node_modules/es-object-atoms/README.md +63 -0
- node_modules/es-set-tostringtag/README.md +53 -0
- node_modules/es-shim-unscopables/README.md +57 -0
- node_modules/es-to-primitive/README.md +52 -0
- node_modules/eslint/README.md +329 -0
- node_modules/eslint/node_modules/glob-parent/README.md +134 -0
- node_modules/eslint-plugin-prettier/LICENSE.md +24 -0
- node_modules/eslint-plugin-prettier/README.md +202 -0
- node_modules/eslint-plugin-react/README.md +423 -0
- node_modules/eslint-plugin-tailwindcss/README.md +307 -0
- node_modules/eslint-scope/README.md +108 -0
- node_modules/eslint-visitor-keys/README.md +120 -0
- node_modules/espree/README.md +261 -0
- node_modules/esquery/README.md +27 -0
- node_modules/esrecurse/README.md +171 -0
- node_modules/estraverse/README.md +153 -0
- node_modules/esutils/README.md +174 -0
- node_modules/fast-deep-equal/README.md +96 -0
- node_modules/fast-diff/README.md +24 -0
- node_modules/fast-glob/README.md +830 -0
- node_modules/fast-json-stable-stringify/README.md +131 -0
- node_modules/fast-levenshtein/LICENSE.md +25 -0
- node_modules/fast-levenshtein/README.md +104 -0
- node_modules/fast-uri/README.md +130 -0
- node_modules/fastest-levenshtein/LICENSE.md +21 -0
- node_modules/fastest-levenshtein/README.md +57 -0
- node_modules/fastparse/README.md +118 -0
- node_modules/fastq/README.md +306 -0
- node_modules/file-entry-cache/README.md +115 -0
- node_modules/fill-range/README.md +237 -0
- node_modules/flat/README.md +236 -0
- node_modules/flat-cache/README.md +77 -0
- node_modules/flatted/README.md +115 -0
- node_modules/for-each/README.md +39 -0
- node_modules/foreground-child/README.md +128 -0
- node_modules/fraction.js/README.md +466 -0
- node_modules/function-bind/README.md +46 -0
- node_modules/function.prototype.name/README.md +55 -0
- node_modules/functions-have-names/README.md +40 -0
- node_modules/gensync/README.md +196 -0
- node_modules/get-caller-file/LICENSE.md +6 -0
- node_modules/get-caller-file/README.md +41 -0
- node_modules/get-intrinsic/README.md +71 -0
- node_modules/get-proto/README.md +50 -0
- node_modules/get-symbol-description/README.md +43 -0
- node_modules/glob/README.md +1265 -0
- node_modules/glob/node_modules/brace-expansion/README.md +135 -0
- node_modules/glob/node_modules/minimatch/README.md +454 -0
- node_modules/glob-parent/README.md +137 -0
- node_modules/glob-to-regexp/README.md +75 -0
- node_modules/globalthis/README.md +70 -0
- node_modules/gonzales-pe/README.md +808 -0
- node_modules/gopd/README.md +40 -0
- node_modules/graceful-fs/README.md +143 -0
- node_modules/graphemer/README.md +132 -0
- node_modules/has-bigints/README.md +39 -0
- node_modules/has-property-descriptors/README.md +43 -0
- node_modules/has-proto/README.md +57 -0
- node_modules/has-symbols/README.md +46 -0
- node_modules/has-tostringtag/README.md +46 -0
- node_modules/hasown/README.md +40 -0
- node_modules/hosted-git-info/README.md +133 -0
- node_modules/icss-utils/LICENSE.md +6 -0
- node_modules/icss-utils/README.md +94 -0
- node_modules/ignore/README.md +412 -0
- node_modules/immutable/README.md +761 -0
- node_modules/imurmurhash/README.md +122 -0
- node_modules/internal-slot/README.md +58 -0
- node_modules/interpret/README.md +244 -0
- node_modules/is-array-buffer/README.md +56 -0
- node_modules/is-arrayish/README.md +16 -0
- node_modules/is-async-function/README.md +41 -0
- node_modules/is-bigint/README.md +44 -0
- node_modules/is-boolean-object/README.md +57 -0
- node_modules/is-callable/README.md +83 -0
- node_modules/is-core-module/README.md +40 -0
- node_modules/is-data-view/README.md +69 -0
- node_modules/is-date-object/README.md +52 -0
- node_modules/is-extglob/README.md +107 -0
- node_modules/is-finalizationregistry/README.md +54 -0
- node_modules/is-generator-function/README.md +40 -0
- node_modules/is-glob/README.md +206 -0
- node_modules/is-map/README.md +52 -0
- node_modules/is-number/README.md +187 -0
- node_modules/is-number-object/README.md +55 -0
- node_modules/is-plain-object/README.md +104 -0
- node_modules/is-regex/README.md +52 -0
- node_modules/is-set/README.md +50 -0
- node_modules/is-shared-array-buffer/README.md +56 -0
- node_modules/is-string/README.md +56 -0
- node_modules/is-symbol/README.md +45 -0
- node_modules/is-typed-array/README.md +70 -0
- node_modules/is-weakmap/README.md +50 -0
- node_modules/is-weakref/README.md +52 -0
- node_modules/is-weakset/README.md +50 -0
- node_modules/isarray/README.md +38 -0
- node_modules/isexe/README.md +51 -0
- node_modules/isobject/README.md +122 -0
- node_modules/iterator.prototype/README.md +35 -0
- node_modules/jackspeak/LICENSE.md +55 -0
- node_modules/jackspeak/README.md +357 -0
- node_modules/jest-worker/README.md +272 -0
- node_modules/jiti/README.md +164 -0
- node_modules/js-tokens/README.md +240 -0
- node_modules/js-yaml/README.md +246 -0
- node_modules/jsesc/README.md +422 -0
- node_modules/json-buffer/README.md +24 -0
- node_modules/json-parse-better-errors/LICENSE.md +7 -0
- node_modules/json-parse-better-errors/README.md +46 -0
- node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
- node_modules/json-parse-even-better-errors/README.md +96 -0
- node_modules/json-schema-traverse/README.md +83 -0
- node_modules/json5/LICENSE.md +23 -0
- node_modules/json5/README.md +282 -0
- node_modules/jsx-ast-utils/LICENSE.md +8 -0
- node_modules/jsx-ast-utils/README.md +298 -0
- node_modules/keyv/README.md +429 -0
- node_modules/kind-of/README.md +367 -0
- node_modules/levn/README.md +196 -0
- node_modules/lines-and-columns/README.md +33 -0
- node_modules/loader-runner/README.md +53 -0
- node_modules/lodash/README.md +39 -0
- node_modules/lodash.castarray/README.md +18 -0
- node_modules/lodash.debounce/README.md +18 -0
- node_modules/lodash.isplainobject/README.md +18 -0
- node_modules/lodash.memoize/README.md +18 -0
- node_modules/lodash.merge/README.md +18 -0
- node_modules/lodash.throttle/README.md +18 -0
- node_modules/lodash.uniq/README.md +18 -0
- node_modules/loose-envify/README.md +45 -0
- node_modules/lru-cache/README.md +166 -0
- node_modules/math-intrinsics/README.md +50 -0
- node_modules/mdn-data/README.md +62 -0
- node_modules/memorystream/README.md +93 -0
- node_modules/merge-stream/README.md +78 -0
- node_modules/merge2/README.md +144 -0
- node_modules/micromatch/README.md +1024 -0
- node_modules/mime-db/README.md +100 -0
- node_modules/mime-types/README.md +113 -0
- node_modules/mini-css-extract-plugin/README.md +1296 -0
- node_modules/minimatch/README.md +230 -0
- node_modules/minimist/README.md +121 -0
- node_modules/minipass/README.md +825 -0
- node_modules/mz/README.md +106 -0
- node_modules/nanoid/README.md +554 -0
- node_modules/natural-compare/README.md +125 -0
- node_modules/neo-async/README.md +273 -0
- node_modules/nice-try/README.md +32 -0
- node_modules/node-addon-api/LICENSE.md +9 -0
- node_modules/node-addon-api/README.md +319 -0
- node_modules/node-addon-api/tools/README.md +73 -0
- node_modules/node-releases/README.md +12 -0
- node_modules/normalize-package-data/README.md +106 -0
- node_modules/normalize-package-data/node_modules/semver/README.md +412 -0
- node_modules/normalize-path/README.md +127 -0
- node_modules/npm-run-all/README.md +91 -0
- node_modules/npm-run-all/node_modules/color-convert/README.md +68 -0
- node_modules/npm-run-all/node_modules/color-name/README.md +11 -0
- node_modules/npm-run-all/node_modules/cross-spawn/README.md +94 -0
- node_modules/npm-run-all/node_modules/semver/README.md +412 -0
- node_modules/npm-run-all/node_modules/which/README.md +51 -0
- node_modules/nth-check/README.md +136 -0
- node_modules/object-keys/README.md +76 -0
- node_modules/object.assign/README.md +136 -0
- node_modules/object.entries/README.md +58 -0
- node_modules/object.fromentries/README.md +50 -0
- node_modules/object.values/README.md +58 -0
- node_modules/optionator/README.md +238 -0
- node_modules/own-keys/README.md +45 -0
- node_modules/package-json-from-dist/LICENSE.md +63 -0
- node_modules/package-json-from-dist/README.md +110 -0
- node_modules/path-parse/README.md +42 -0
- node_modules/path-scurry/LICENSE.md +55 -0
- node_modules/path-scurry/README.md +636 -0
- node_modules/path-scurry/node_modules/lru-cache/README.md +331 -0
- node_modules/picocolors/README.md +21 -0
- node_modules/picomatch/README.md +708 -0
- node_modules/pirates/README.md +69 -0
- node_modules/possible-typed-array-names/README.md +48 -0
- node_modules/postcss/README.md +28 -0
- node_modules/postcss-attribute-case-insensitive/LICENSE.md +20 -0
- node_modules/postcss-attribute-case-insensitive/README.md +73 -0
- node_modules/postcss-attribute-case-insensitive/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-calc/README.md +153 -0
- node_modules/postcss-calc/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-clamp/README.md +118 -0
- node_modules/postcss-color-functional-notation/LICENSE.md +18 -0
- node_modules/postcss-color-functional-notation/README.md +134 -0
- node_modules/postcss-color-hex-alpha/LICENSE.md +21 -0
- node_modules/postcss-color-hex-alpha/README.md +72 -0
- node_modules/postcss-color-rebeccapurple/LICENSE.md +18 -0
- node_modules/postcss-color-rebeccapurple/README.md +76 -0
- node_modules/postcss-colormin/README.md +45 -0
- node_modules/postcss-convert-values/README.md +98 -0
- node_modules/postcss-custom-media/LICENSE.md +21 -0
- node_modules/postcss-custom-media/README.md +183 -0
- node_modules/postcss-custom-properties/LICENSE.md +21 -0
- node_modules/postcss-custom-properties/README.md +173 -0
- node_modules/postcss-custom-selectors/LICENSE.md +21 -0
- node_modules/postcss-custom-selectors/README.md +107 -0
- node_modules/postcss-custom-selectors/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-dir-pseudo-class/LICENSE.md +18 -0
- node_modules/postcss-dir-pseudo-class/README.md +193 -0
- node_modules/postcss-dir-pseudo-class/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-discard-comments/README.md +114 -0
- node_modules/postcss-discard-comments/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-discard-duplicates/README.md +70 -0
- node_modules/postcss-discard-empty/README.md +49 -0
- node_modules/postcss-discard-overridden/README.md +158 -0
- node_modules/postcss-double-position-gradients/LICENSE.md +18 -0
- node_modules/postcss-double-position-gradients/README.md +129 -0
- node_modules/postcss-focus-visible/LICENSE.md +18 -0
- node_modules/postcss-focus-visible/README.md +137 -0
- node_modules/postcss-focus-visible/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-focus-within/LICENSE.md +18 -0
- node_modules/postcss-focus-within/README.md +196 -0
- node_modules/postcss-focus-within/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-font-variant/README.md +74 -0
- node_modules/postcss-gap-properties/LICENSE.md +18 -0
- node_modules/postcss-gap-properties/README.md +102 -0
- node_modules/postcss-image-set-function/LICENSE.md +18 -0
- node_modules/postcss-image-set-function/README.md +164 -0
- node_modules/postcss-import/README.md +244 -0
- node_modules/postcss-js/README.md +22 -0
- node_modules/postcss-lab-function/LICENSE.md +18 -0
- node_modules/postcss-lab-function/README.md +156 -0
- node_modules/postcss-load-config/README.md +466 -0
- node_modules/postcss-loader/README.md +1175 -0
- node_modules/postcss-loader/node_modules/semver/README.md +654 -0
- node_modules/postcss-logical/LICENSE.md +18 -0
- node_modules/postcss-logical/README.md +117 -0
- node_modules/postcss-merge-longhand/README.md +50 -0
- node_modules/postcss-merge-rules/README.md +105 -0
- node_modules/postcss-merge-rules/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-minify-font-values/README.md +83 -0
- node_modules/postcss-minify-gradients/README.md +53 -0
- node_modules/postcss-minify-params/README.md +39 -0
- node_modules/postcss-minify-selectors/README.md +42 -0
- node_modules/postcss-minify-selectors/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-modules-extract-imports/README.md +76 -0
- node_modules/postcss-modules-local-by-default/README.md +123 -0
- node_modules/postcss-modules-local-by-default/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-modules-scope/README.md +100 -0
- node_modules/postcss-modules-scope/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-modules-values/README.md +80 -0
- node_modules/postcss-nested/README.md +85 -0
- node_modules/postcss-nested/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-nesting/LICENSE.md +18 -0
- node_modules/postcss-nesting/README.md +255 -0
- node_modules/postcss-nesting/node_modules/@csstools/selector-resolve-nested/LICENSE.md +18 -0
- node_modules/postcss-nesting/node_modules/@csstools/selector-resolve-nested/README.md +33 -0
- node_modules/postcss-nesting/node_modules/@csstools/selector-specificity/LICENSE.md +18 -0
- node_modules/postcss-nesting/node_modules/@csstools/selector-specificity/README.md +57 -0
- node_modules/postcss-nesting/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-normalize-charset/README.md +43 -0
- node_modules/postcss-normalize-display-values/README.md +44 -0
- node_modules/postcss-normalize-positions/README.md +44 -0
- node_modules/postcss-normalize-repeat-style/README.md +44 -0
- node_modules/postcss-normalize-string/README.md +59 -0
- node_modules/postcss-normalize-timing-functions/README.md +44 -0
- node_modules/postcss-normalize-unicode/README.md +46 -0
- node_modules/postcss-normalize-url/README.md +48 -0
- node_modules/postcss-normalize-whitespace/README.md +44 -0
- node_modules/postcss-opacity-percentage/LICENSE.md +9 -0
- node_modules/postcss-opacity-percentage/README.md +85 -0
- node_modules/postcss-ordered-values/README.md +72 -0
- node_modules/postcss-overflow-shorthand/LICENSE.md +18 -0
- node_modules/postcss-overflow-shorthand/README.md +74 -0
- node_modules/postcss-page-break/README.md +83 -0
- node_modules/postcss-place/LICENSE.md +18 -0
- node_modules/postcss-place/README.md +81 -0
- node_modules/postcss-preset-env/LICENSE.md +18 -0
- node_modules/postcss-preset-env/README.md +496 -0
- node_modules/postcss-pseudo-class-any-link/LICENSE.md +18 -0
- node_modules/postcss-pseudo-class-any-link/README.md +106 -0
- node_modules/postcss-pseudo-class-any-link/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-reduce-initial/README.md +92 -0
- node_modules/postcss-reduce-transforms/README.md +47 -0
- node_modules/postcss-replace-overflow-wrap/README.md +56 -0
- node_modules/postcss-sass/README.md +21 -0
- node_modules/postcss-selector-not/LICENSE.md +20 -0
- node_modules/postcss-selector-not/README.md +51 -0
- node_modules/postcss-selector-not/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-svgo/README.md +109 -0
- node_modules/postcss-unique-selectors/README.md +46 -0
- node_modules/postcss-unique-selectors/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-value-parser/README.md +263 -0
- node_modules/prelude-ls/README.md +15 -0
- node_modules/prettier/README.md +109 -0
- node_modules/prettier-linter-helpers/LICENSE.md +24 -0
- node_modules/prettier-linter-helpers/README.md +14 -0
- node_modules/prettier-plugin-tailwindcss/README.md +239 -0
- node_modules/prettier-plugin-tailwindcss/dist/licenses/@shopify/prettier-plugin-liquid/README.md +158 -0
- node_modules/prettier-plugin-tailwindcss/dist/licenses/marko/README.md +161 -0
- node_modules/prettier-plugin-tailwindcss/dist/licenses/prettier-plugin-sort-imports/README.md +95 -0
- node_modules/prettier-plugin-tailwindcss/dist/licenses/prettier-plugin-style-order/README.md +19 -0
- node_modules/prop-types/README.md +302 -0
- node_modules/punycode/README.md +148 -0
- node_modules/queue-microtask/README.md +90 -0
- node_modules/randombytes/README.md +14 -0
- node_modules/react/README.md +37 -0
- node_modules/react-dom/README.md +60 -0
- node_modules/react-is/README.md +104 -0
- node_modules/read-cache/README.md +46 -0
- node_modules/readdirp/README.md +122 -0
- node_modules/rechoir/README.md +73 -0
- node_modules/reflect.getprototypeof/README.md +77 -0
- node_modules/regenerate/README.md +338 -0
- node_modules/regenerate-unicode-properties/README.md +70 -0
- node_modules/regenerator-runtime/README.md +31 -0
- node_modules/regenerator-transform/README.md +46 -0
- node_modules/regexp.prototype.flags/README.md +55 -0
- node_modules/regexpu-core/README.md +226 -0
- node_modules/regjsgen/README.md +41 -0
- node_modules/regjsparser/README.md +47 -0
- node_modules/regjsparser/node_modules/jsesc/README.md +422 -0
- node_modules/require-main-filename/README.md +26 -0
- node_modules/reusify/README.md +145 -0
- node_modules/run-parallel/README.md +85 -0
- node_modules/rxjs/README.md +107 -0
- node_modules/safe-array-concat/README.md +53 -0
- node_modules/safe-buffer/README.md +584 -0
- node_modules/safe-push-apply/README.md +59 -0
- node_modules/safe-regex-test/README.md +46 -0
- node_modules/sass/README.md +173 -0
- node_modules/sass/node_modules/chokidar/README.md +305 -0
- node_modules/sass/node_modules/readdirp/README.md +120 -0
- node_modules/sass-loader/README.md +904 -0
- node_modules/scheduler/README.md +9 -0
- node_modules/schema-utils/README.md +317 -0
- node_modules/schema-utils/node_modules/ajv/README.md +207 -0
- node_modules/schema-utils/node_modules/ajv-keywords/README.md +745 -0
- node_modules/schema-utils/node_modules/json-schema-traverse/README.md +95 -0
- node_modules/semver/README.md +443 -0
- node_modules/serialize-javascript/README.md +143 -0
- node_modules/set-blocking/README.md +31 -0
- node_modules/set-function-length/README.md +56 -0
- node_modules/set-function-name/README.md +61 -0
- node_modules/set-proto/README.md +52 -0
- node_modules/shallow-clone/README.md +153 -0
- node_modules/shell-quote/README.md +161 -0
- node_modules/side-channel/README.md +61 -0
- node_modules/side-channel-list/README.md +62 -0
- node_modules/side-channel-map/README.md +62 -0
- node_modules/side-channel-weakmap/README.md +62 -0
- node_modules/signal-exit/README.md +74 -0
- node_modules/source-map/README.md +742 -0
- node_modules/source-map-js/README.md +765 -0
- node_modules/source-map-support/LICENSE.md +21 -0
- node_modules/source-map-support/README.md +284 -0
- node_modules/spdx-correct/README.md +22 -0
- node_modules/spdx-exceptions/README.md +36 -0
- node_modules/spdx-expression-parse/README.md +91 -0
- node_modules/spdx-license-ids/README.md +51 -0
- node_modules/string-width-cjs/node_modules/emoji-regex/README.md +73 -0
- node_modules/string.prototype.matchall/README.md +73 -0
- node_modules/string.prototype.padend/README.md +46 -0
- node_modules/string.prototype.repeat/README.md +43 -0
- node_modules/string.prototype.trim/README.md +48 -0
- node_modules/string.prototype.trimend/README.md +46 -0
- node_modules/string.prototype.trimstart/README.md +46 -0
- node_modules/stylehacks/README.md +91 -0
- node_modules/stylehacks/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/sucrase/README.md +295 -0
- node_modules/supports-preserve-symlinks-flag/README.md +42 -0
- node_modules/svgo/README.md +199 -0
- node_modules/synckit/README.md +191 -0
- node_modules/tailwindcss/README.md +40 -0
- node_modules/tailwindcss/lib/postcss-plugins/nesting/README.md +42 -0
- node_modules/tailwindcss/lib/value-parser/README.md +3 -0
- node_modules/tailwindcss/node_modules/glob-parent/README.md +134 -0
- node_modules/tailwindcss/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/tailwindcss/src/postcss-plugins/nesting/README.md +42 -0
- node_modules/tailwindcss/src/value-parser/README.md +3 -0
- node_modules/tapable/README.md +296 -0
- node_modules/terser/README.md +1421 -0
- node_modules/terser-webpack-plugin/README.md +934 -0
- node_modules/terser-webpack-plugin/node_modules/jest-worker/README.md +247 -0
- node_modules/theme-change/README.md +376 -0
- node_modules/thenify/README.md +120 -0
- node_modules/thenify-all/README.md +66 -0
- node_modules/to-regex-range/README.md +305 -0
- node_modules/tree-kill/README.md +89 -0
- node_modules/ts-api-utils/LICENSE.md +20 -0
- node_modules/ts-api-utils/README.md +84 -0
- node_modules/ts-interface-checker/README.md +185 -0
- node_modules/ts-loader/README.md +773 -0
- node_modules/ts-loader/node_modules/semver/README.md +654 -0
- node_modules/ts-loader/node_modules/source-map/README.md +822 -0
- node_modules/tslib/README.md +164 -0
- node_modules/type-check/README.md +210 -0
- node_modules/typed-array-buffer/README.md +42 -0
- node_modules/typed-array-byte-length/README.md +70 -0
- node_modules/typed-array-byte-offset/README.md +70 -0
- node_modules/typed-array-length/README.md +64 -0
- node_modules/typescript/README.md +50 -0
- node_modules/typescript-eslint/README.md +12 -0
- node_modules/unbox-primitive/README.md +47 -0
- node_modules/undici-types/README.md +6 -0
- node_modules/unicode-canonical-property-names-ecmascript/README.md +58 -0
- node_modules/unicode-match-property-ecmascript/README.md +69 -0
- node_modules/unicode-match-property-value-ecmascript/README.md +72 -0
- node_modules/unicode-property-aliases-ecmascript/README.md +60 -0
- node_modules/update-browserslist-db/README.md +22 -0
- node_modules/uri-js/README.md +203 -0
- node_modules/util-deprecate/README.md +53 -0
- node_modules/validate-npm-package-license/README.md +113 -0
- node_modules/watchpack/README.md +133 -0
- node_modules/webpack/README.md +727 -0
- node_modules/webpack/node_modules/eslint-scope/README.md +54 -0
- node_modules/webpack/node_modules/estraverse/README.md +153 -0
- node_modules/webpack/node_modules/schema-utils/README.md +290 -0
- node_modules/webpack-cli/README.md +145 -0
- node_modules/webpack-merge/README.md +314 -0
- node_modules/webpack-sources/README.md +228 -0
- node_modules/which/README.md +54 -0
- node_modules/which-boxed-primitive/README.md +73 -0
- node_modules/which-builtin-type/README.md +67 -0
- node_modules/which-collection/README.md +65 -0
- node_modules/which-module/README.md +58 -0
- node_modules/which-typed-array/README.md +70 -0
- node_modules/wildcard/README.md +88 -0
- node_modules/word-wrap/README.md +201 -0
- node_modules/wrap-ansi-cjs/node_modules/emoji-regex/README.md +73 -0
- node_modules/y18n/README.md +109 -0
- node_modules/yallist/README.md +204 -0
- node_modules/yaml/README.md +188 -0
- node_modules/yargs/README.md +122 -0
- node_modules/yargs/node_modules/emoji-regex/README.md +73 -0
- node_modules/yargs-parser/README.md +396 -0
- picata/blocks.py +9 -7
- picata/helpers/wagtail.py +1 -1
- picata/models.py +2 -2
- picata/templatetags/__init__.py +1 -1
- picata/templatetags/{kill_orphans.py → filters/kill_orphans.py} +1 -5
- picata/templatetags/{stringify.py → filters/stringify.py} +1 -6
- picata/templatetags/picata_tags.py +18 -0
- picata/templatetags/{absolute_static.py → tags/absolute_static.py} +1 -5
- picata/templatetags/{menu_tags.py → tags/menu_tags.py} +1 -1
- picata/urls.py +3 -1
- picata/views.py +53 -2
- {picata-0.0.6.dist-info → picata-0.0.8.dist-info}/METADATA +1 -1
- picata-0.0.8.dist-info/RECORD +876 -0
- picata-0.0.6.dist-info/RECORD +0 -74
- {picata-0.0.6.dist-info → picata-0.0.8.dist-info}/WHEEL +0 -0
- {picata-0.0.6.dist-info → picata-0.0.8.dist-info}/licenses/LICENSE.md +0 -0
@@ -0,0 +1,341 @@
|
|
1
|
+
# Prefers Color Scheme [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS]
|
2
|
+
|
3
|
+
`npm install css-prefers-color-scheme --save-dev`
|
4
|
+
|
5
|
+
[Prefers Color Scheme] lets you use light and dark color schemes in all browsers, following the [Media Queries] specification.
|
6
|
+
|
7
|
+
To use this feature you need to do two things :
|
8
|
+
- add the [PostCSS plugin](#usage) that transforms the media queries
|
9
|
+
- add the [browser polyfill](#browser) that triggers specific queries in a browser
|
10
|
+
|
11
|
+
```pcss
|
12
|
+
@media (prefers-color-scheme: dark) {
|
13
|
+
:root {
|
14
|
+
--site-bgcolor: #1b1b1b;
|
15
|
+
--site-color: #fff;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
@media (prefers-color-scheme: light) {
|
20
|
+
:root {
|
21
|
+
--site-bgcolor: #fff;
|
22
|
+
--site-color: #222;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
/* becomes */
|
27
|
+
|
28
|
+
@media (color: 48842621) {
|
29
|
+
:root {
|
30
|
+
--site-bgcolor: #1b1b1b;
|
31
|
+
--site-color: #fff;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
@media (prefers-color-scheme: dark) {
|
36
|
+
:root {
|
37
|
+
--site-bgcolor: #1b1b1b;
|
38
|
+
--site-color: #fff;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
@media (color: 70318723) {
|
43
|
+
:root {
|
44
|
+
--site-bgcolor: #fff;
|
45
|
+
--site-color: #222;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
@media (prefers-color-scheme: light) {
|
50
|
+
:root {
|
51
|
+
--site-bgcolor: #fff;
|
52
|
+
--site-color: #222;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
```
|
56
|
+
|
57
|
+
## Usage
|
58
|
+
|
59
|
+
Add [Prefers Color Scheme] to your project:
|
60
|
+
|
61
|
+
```bash
|
62
|
+
npm install postcss css-prefers-color-scheme --save-dev
|
63
|
+
```
|
64
|
+
|
65
|
+
Use it as a [PostCSS] plugin:
|
66
|
+
|
67
|
+
```js
|
68
|
+
const postcss = require('postcss');
|
69
|
+
const prefersColorScheme = require('css-prefers-color-scheme');
|
70
|
+
|
71
|
+
postcss([
|
72
|
+
prefersColorScheme(/* pluginOptions */)
|
73
|
+
]).process(YOUR_CSS /*, processOptions */);
|
74
|
+
```
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
## Options
|
79
|
+
|
80
|
+
### preserve
|
81
|
+
|
82
|
+
The `preserve` option determines whether the original notation
|
83
|
+
is preserved. By default, it is preserved.
|
84
|
+
|
85
|
+
```js
|
86
|
+
prefersColorScheme({ preserve: false })
|
87
|
+
```
|
88
|
+
|
89
|
+
```pcss
|
90
|
+
@media (prefers-color-scheme: dark) {
|
91
|
+
:root {
|
92
|
+
--site-bgcolor: #1b1b1b;
|
93
|
+
--site-color: #fff;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
@media (prefers-color-scheme: light) {
|
98
|
+
:root {
|
99
|
+
--site-bgcolor: #fff;
|
100
|
+
--site-color: #222;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
/* becomes */
|
105
|
+
|
106
|
+
@media (color: 48842621) {
|
107
|
+
:root {
|
108
|
+
--site-bgcolor: #1b1b1b;
|
109
|
+
--site-color: #fff;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
@media (color: 70318723) {
|
114
|
+
:root {
|
115
|
+
--site-bgcolor: #fff;
|
116
|
+
--site-color: #222;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
```
|
120
|
+
|
121
|
+
## Browser
|
122
|
+
|
123
|
+
```js
|
124
|
+
// initialize prefersColorScheme (applies the current OS color scheme, if available)
|
125
|
+
import prefersColorSchemeInit from 'css-prefers-color-scheme/browser';
|
126
|
+
const prefersColorScheme = prefersColorSchemeInit();
|
127
|
+
|
128
|
+
// apply "dark" queries (you can also apply "light")
|
129
|
+
prefersColorScheme.scheme = 'dark';
|
130
|
+
```
|
131
|
+
|
132
|
+
or
|
133
|
+
|
134
|
+
```html
|
135
|
+
<!-- When using a CDN url you will have to manually update the version number -->
|
136
|
+
<script src="https://unpkg.com/css-prefers-color-scheme@10.0.0/dist/browser-global.js"></script>
|
137
|
+
<script>prefersColorSchemeInit()</script>
|
138
|
+
```
|
139
|
+
|
140
|
+
> [!TIP]
|
141
|
+
> Please use a versioned url, like this : `https://unpkg.com/css-prefers-color-scheme@10.0.0/dist/browser-global.js`
|
142
|
+
> Without the version, you might unexpectedly get a new major version of the library with breaking changes.
|
143
|
+
|
144
|
+
[Prefers Color Scheme] works in all major browsers, including Safari 6+ and
|
145
|
+
Internet Explorer 9+ without any additional polyfills.
|
146
|
+
|
147
|
+
To maintain compatibility with browsers supporting `prefers-color-scheme`, the
|
148
|
+
library will remove `prefers-color-scheme` media queries in favor of
|
149
|
+
cross-browser compatible `color` media queries. This ensures a seamless
|
150
|
+
experience, even when JavaScript is unable to run.
|
151
|
+
|
152
|
+
### Browser Usage
|
153
|
+
|
154
|
+
Use [Prefers Color Scheme] to activate your `prefers-color-scheme` queries:
|
155
|
+
|
156
|
+
```js
|
157
|
+
import prefersColorSchemeInit from 'css-prefers-color-scheme/browser';
|
158
|
+
const prefersColorScheme = prefersColorSchemeInit();
|
159
|
+
```
|
160
|
+
|
161
|
+
By default, the current OS color scheme is applied if your browser supports it.
|
162
|
+
Otherwise, the light color scheme is applied. You may override this by passing
|
163
|
+
in a color scheme.
|
164
|
+
|
165
|
+
```js
|
166
|
+
import prefersColorSchemeInit from 'css-prefers-color-scheme/browser';
|
167
|
+
const prefersColorScheme = prefersColorSchemeInit('dark');
|
168
|
+
```
|
169
|
+
|
170
|
+
The `prefersColorScheme` object returns the following properties — `scheme`,
|
171
|
+
`hasNativeSupport`, `onChange`, and `removeListener`.
|
172
|
+
|
173
|
+
#### scheme
|
174
|
+
|
175
|
+
The `scheme` property returns the currently preferred color scheme, and it can
|
176
|
+
be changed.
|
177
|
+
|
178
|
+
```js
|
179
|
+
import prefersColorSchemeInit from 'css-prefers-color-scheme/browser';
|
180
|
+
const prefersColorScheme = prefersColorSchemeInit();
|
181
|
+
|
182
|
+
// log the preferred color scheme
|
183
|
+
console.log(prefersColorScheme.scheme);
|
184
|
+
|
185
|
+
// apply "dark" queries
|
186
|
+
prefersColorScheme.scheme = 'dark';
|
187
|
+
```
|
188
|
+
|
189
|
+
#### hasNativeSupport
|
190
|
+
|
191
|
+
The `hasNativeSupport` boolean represents whether `prefers-color-scheme` is
|
192
|
+
supported by the browser.
|
193
|
+
|
194
|
+
#### onChange
|
195
|
+
|
196
|
+
The optional `onChange` function is run when the preferred color scheme is
|
197
|
+
changed, either from the OS or manually.
|
198
|
+
|
199
|
+
#### removeListener
|
200
|
+
|
201
|
+
The `removeListener` function removes the native `prefers-color-scheme`
|
202
|
+
listener, which may or may not be applied, depending on your browser support.
|
203
|
+
This is provided to give you complete control over plugin cleanup.
|
204
|
+
|
205
|
+
#### debug
|
206
|
+
|
207
|
+
If styles are not applied you can enable debug mode to log exceptions.
|
208
|
+
|
209
|
+
```js
|
210
|
+
import prefersColorSchemeInit from 'css-prefers-color-scheme/browser';
|
211
|
+
const prefersColorScheme = prefersColorSchemeInit('light', { debug: true });
|
212
|
+
```
|
213
|
+
|
214
|
+
```html
|
215
|
+
<script src="https://unpkg.com/css-prefers-color-scheme@10.0.0/dist/browser-global.js"></script>
|
216
|
+
<script>prefersColorSchemeInit('light', { debug: true })</script>
|
217
|
+
```
|
218
|
+
|
219
|
+
|
220
|
+
### Browser Dependencies
|
221
|
+
|
222
|
+
Web API's:
|
223
|
+
|
224
|
+
- [Window.matchMedia](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia)
|
225
|
+
|
226
|
+
ECMA Script:
|
227
|
+
|
228
|
+
- `Object.defineProperty`
|
229
|
+
- `Array.prototype.forEach`
|
230
|
+
- `Array.prototype.indexOf`
|
231
|
+
- `RegExp.prototype.exec`
|
232
|
+
- `String.prototype.match`
|
233
|
+
- `String.prototype.replace`
|
234
|
+
|
235
|
+
## CORS
|
236
|
+
|
237
|
+
> [!IMPORTANT]
|
238
|
+
> Applies to you if you load CSS from a different domain than the page.
|
239
|
+
>
|
240
|
+
> In this case the CSS is treated as untrusted and will not be made available to the JavaScript polyfill.
|
241
|
+
> The polyfill will not work without applying the correct configuration for CORS.
|
242
|
+
|
243
|
+
Example :
|
244
|
+
|
245
|
+
| page | css | CORS applies |
|
246
|
+
| --- | --- | --- |
|
247
|
+
| https://example.com/ | https://example.com/style.css | no |
|
248
|
+
| https://example.com/ | https://other.com/style.css | yes |
|
249
|
+
|
250
|
+
|
251
|
+
**You might see one of these error messages :**
|
252
|
+
|
253
|
+
Chrome :
|
254
|
+
|
255
|
+
> DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
|
256
|
+
|
257
|
+
Safari :
|
258
|
+
|
259
|
+
> SecurityError: Not allowed to access cross-origin stylesheet
|
260
|
+
|
261
|
+
Firefox :
|
262
|
+
|
263
|
+
> DOMException: CSSStyleSheet.cssRules getter: Not allowed to access cross-origin stylesheet
|
264
|
+
|
265
|
+
To resolve CORS errors you need to take two steps :
|
266
|
+
|
267
|
+
- add an HTTP header `Access-Control-Allow-Origin: <your-value>` when serving your CSS file.
|
268
|
+
- add `crossorigin="anonymous"` to the `<link rel="stylesheet">` tag for your CSS file.
|
269
|
+
|
270
|
+
In a node server setting the HTTP header might look like this :
|
271
|
+
|
272
|
+
```js
|
273
|
+
// http://localhost:8080 is the domain of your page!
|
274
|
+
res.setHeader('Access-Control-Allow-Origin', 'https://example.com');
|
275
|
+
```
|
276
|
+
|
277
|
+
You can also configure a wildcard but please be aware that this might be a security risk.
|
278
|
+
It is better to only set the header for the domain you want to allow and only on the responses you want to allow.
|
279
|
+
|
280
|
+
HTML might look like this :
|
281
|
+
|
282
|
+
```html
|
283
|
+
<link rel="stylesheet" href="https://example.com/styles.css" crossorigin="anonymous">
|
284
|
+
```
|
285
|
+
|
286
|
+
|
287
|
+
### Using with Next.js
|
288
|
+
|
289
|
+
Given that Next.js imports packages both on the browser and on the server, you need to make sure that the package is only imported on the browser.
|
290
|
+
|
291
|
+
As outlined in the [Next.js documentation](https://nextjs.org/docs/advanced-features/dynamic-import#with-external-libraries), you need to load the package with a dynamic import:
|
292
|
+
|
293
|
+
```jsx
|
294
|
+
useEffect(async () => {
|
295
|
+
const prefersColorSchemeInit = (await import('css-prefers-color-scheme/browser')).default;
|
296
|
+
const prefersColorScheme = prefersColorSchemeInit();
|
297
|
+
}, []);
|
298
|
+
```
|
299
|
+
|
300
|
+
## How does it work?
|
301
|
+
|
302
|
+
[Prefers Color Scheme] is a [PostCSS] plugin that transforms `prefers-color-scheme` queries into `color` queries.
|
303
|
+
This changes `prefers-color-scheme: dark` into `(color: 48842621)` and `prefers-color-scheme: light` into `(color: 70318723)`.
|
304
|
+
|
305
|
+
The frontend receives these `color` queries, which are understood in all
|
306
|
+
major browsers going back to Internet Explorer 9.
|
307
|
+
However, since browsers can only have a reasonably small number of bits per color,
|
308
|
+
our color scheme values are ignored.
|
309
|
+
|
310
|
+
[Prefers Color Scheme] uses a [browser script](#browser) to change
|
311
|
+
`(color: 48842621)` queries into `(max-color: 48842621)` in order to
|
312
|
+
activate “dark mode” specific CSS, and it changes `(color: 70318723)` queries
|
313
|
+
into `(max-color: 48842621)` to activate “light mode” specific CSS.
|
314
|
+
|
315
|
+
```css
|
316
|
+
@media (color: 70318723) { /* prefers-color-scheme: light */
|
317
|
+
body {
|
318
|
+
background-color: white;
|
319
|
+
color: black;
|
320
|
+
}
|
321
|
+
}
|
322
|
+
```
|
323
|
+
|
324
|
+
Since these media queries are accessible to `document.styleSheet`, no CSS
|
325
|
+
parsing is required.
|
326
|
+
|
327
|
+
### Why does the fallback work this way?
|
328
|
+
|
329
|
+
The value of `48` is chosen for dark mode because it is the keycode for `0`,
|
330
|
+
the hexidecimal value of black. Likewise, `70` is chosen for light mode because
|
331
|
+
it is the keycode for `f`, the hexidecimal value of white.
|
332
|
+
These are suffixed with a random large number.
|
333
|
+
|
334
|
+
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
|
335
|
+
[css-url]: https://cssdb.org/#prefers-color-scheme-query
|
336
|
+
[discord]: https://discord.gg/bUadyRwkJS
|
337
|
+
[npm-url]: https://www.npmjs.com/package/css-prefers-color-scheme
|
338
|
+
|
339
|
+
[PostCSS]: https://github.com/postcss/postcss
|
340
|
+
[Prefers Color Scheme]: https://github.com/csstools/postcss-plugins/tree/main/plugins/css-prefers-color-scheme
|
341
|
+
[Media Queries]: https://www.w3.org/TR/mediaqueries-5/#prefers-color-scheme
|
@@ -0,0 +1,264 @@
|
|
1
|
+
# css-select [](https://npmjs.org/package/css-select) [](http://travis-ci.com/fb55/css-select) [](https://npmjs.org/package/css-select) [](https://coveralls.io/r/fb55/css-select)
|
2
|
+
|
3
|
+
A CSS selector compiler and engine
|
4
|
+
|
5
|
+
## What?
|
6
|
+
|
7
|
+
As a **compiler**, css-select turns CSS selectors into functions that tests if
|
8
|
+
elements match them.
|
9
|
+
|
10
|
+
As an **engine**, css-select looks through a DOM tree, searching for elements.
|
11
|
+
Elements are tested "from the top", similar to how browsers execute CSS
|
12
|
+
selectors.
|
13
|
+
|
14
|
+
In its default configuration, css-select queries the DOM structure of the
|
15
|
+
[`domhandler`](https://github.com/fb55/domhandler) module (also known as
|
16
|
+
htmlparser2 DOM). To query alternative DOM structures, see [`Options`](#options)
|
17
|
+
below.
|
18
|
+
|
19
|
+
**Features:**
|
20
|
+
|
21
|
+
- 🔬 Full implementation of CSS3 selectors, as well as most CSS4 selectors
|
22
|
+
- 🧪 Partial implementation of jQuery/Sizzle extensions (see
|
23
|
+
[cheerio-select](https://github.com/cheeriojs/cheerio-select) for the
|
24
|
+
remaining selectors)
|
25
|
+
- 🧑🔬 High test coverage, including the full test suites from
|
26
|
+
[`Sizzle`](https://github.com/jquery/sizzle),
|
27
|
+
[`Qwery`](https://github.com/ded/qwery) and
|
28
|
+
[`NWMatcher`](https://github.com/dperini/nwmatcher/) and .
|
29
|
+
- 🥼 Reliably great performance
|
30
|
+
|
31
|
+
## Why?
|
32
|
+
|
33
|
+
Most CSS engines written in JavaScript execute selectors left-to-right. That
|
34
|
+
means thet execute every component of the selector in order, from left to right.
|
35
|
+
As an example: For the selector `a b`, these engines will first query for `a`
|
36
|
+
elements, then search these for `b` elements. (That's the approach of eg.
|
37
|
+
[`Sizzle`](https://github.com/jquery/sizzle),
|
38
|
+
[`Qwery`](https://github.com/ded/qwery) and
|
39
|
+
[`NWMatcher`](https://github.com/dperini/nwmatcher/).)
|
40
|
+
|
41
|
+
While this works, it has some downsides: Children of `a`s will be checked
|
42
|
+
multiple times; first, to check if they are also `a`s, then, for every superior
|
43
|
+
`a` once, if they are `b`s. Using
|
44
|
+
[Big O notation](http://en.wikipedia.org/wiki/Big_O_notation), that would be
|
45
|
+
`O(n^(k+1))`, where `k` is the number of descendant selectors (that's the space
|
46
|
+
in the example above).
|
47
|
+
|
48
|
+
The far more efficient approach is to first look for `b` elements, then check if
|
49
|
+
they have superior `a` elements: Using big O notation again, that would be
|
50
|
+
`O(n)`. That's called right-to-left execution.
|
51
|
+
|
52
|
+
And that's what css-select does – and why it's quite performant.
|
53
|
+
|
54
|
+
## How does it work?
|
55
|
+
|
56
|
+
By building a stack of functions.
|
57
|
+
|
58
|
+
_Wait, what?_
|
59
|
+
|
60
|
+
Okay, so let's suppose we want to compile the selector `a b`, for right-to-left
|
61
|
+
execution. We start by _parsing_ the selector. This turns the selector into an
|
62
|
+
array of the building blocks. That's what the
|
63
|
+
[`css-what`](https://github.com/fb55/css-what) module is for, if you want to
|
64
|
+
have a look.
|
65
|
+
|
66
|
+
Anyway, after parsing, we end up with an array like this one:
|
67
|
+
|
68
|
+
```js
|
69
|
+
[
|
70
|
+
{ type: "tag", name: "a" },
|
71
|
+
{ type: "descendant" },
|
72
|
+
{ type: "tag", name: "b" },
|
73
|
+
];
|
74
|
+
```
|
75
|
+
|
76
|
+
(Actually, this array is wrapped in another array, but that's another story,
|
77
|
+
involving commas in selectors.)
|
78
|
+
|
79
|
+
Now that we know the meaning of every part of the selector, we can compile it.
|
80
|
+
That is where things become interesting.
|
81
|
+
|
82
|
+
The basic idea is to turn every part of the selector into a function, which
|
83
|
+
takes an element as its only argument. The function checks whether a passed
|
84
|
+
element matches its part of the selector: If it does, the element is passed to
|
85
|
+
the next function representing the next part of the selector. That function does
|
86
|
+
the same. If an element is accepted by all parts of the selector, it _matches_
|
87
|
+
the selector and double rainbow ALL THE WAY.
|
88
|
+
|
89
|
+
As said before, we want to do right-to-left execution with all the big O
|
90
|
+
improvements. That means elements are passed from the rightmost part of the
|
91
|
+
selector (`b` in our example) to the leftmost (~~which would be `c`~~ of course
|
92
|
+
`a`).
|
93
|
+
|
94
|
+
For traversals, such as the _descendant_ operating the space between `a` and
|
95
|
+
`b`, we walk up the DOM tree, starting from the element passed as argument.
|
96
|
+
|
97
|
+
_//TODO: More in-depth description. Implementation details. Build a spaceship._
|
98
|
+
|
99
|
+
## API
|
100
|
+
|
101
|
+
```js
|
102
|
+
const CSSselect = require("css-select");
|
103
|
+
```
|
104
|
+
|
105
|
+
**Note:** css-select throws errors when invalid selectors are passed to it. This
|
106
|
+
is done to aid with writing css selectors, but can be unexpected when processing
|
107
|
+
arbitrary strings.
|
108
|
+
|
109
|
+
#### `CSSselect.selectAll(query, elems, options)`
|
110
|
+
|
111
|
+
Queries `elems`, returns an array containing all matches.
|
112
|
+
|
113
|
+
- `query` can be either a CSS selector or a function.
|
114
|
+
- `elems` can be either an array of elements, or a single element. If it is an
|
115
|
+
element, its children will be queried.
|
116
|
+
- `options` is described below.
|
117
|
+
|
118
|
+
Aliases: `default` export, `CSSselect.iterate(query, elems)`.
|
119
|
+
|
120
|
+
#### `CSSselect.compile(query, options)`
|
121
|
+
|
122
|
+
Compiles the query, returns a function.
|
123
|
+
|
124
|
+
#### `CSSselect.is(elem, query, options)`
|
125
|
+
|
126
|
+
Tests whether or not an element is matched by `query`. `query` can be either a
|
127
|
+
CSS selector or a function.
|
128
|
+
|
129
|
+
#### `CSSselect.selectOne(query, elems, options)`
|
130
|
+
|
131
|
+
Arguments are the same as for `CSSselect.selectAll(query, elems)`. Only returns
|
132
|
+
the first match, or `null` if there was no match.
|
133
|
+
|
134
|
+
### Options
|
135
|
+
|
136
|
+
All options are optional.
|
137
|
+
|
138
|
+
- `xmlMode`: When enabled, tag names will be case-sensitive. Default: `false`.
|
139
|
+
- `rootFunc`: The last function in the stack, will be called with the last
|
140
|
+
element that's looked at.
|
141
|
+
- `adapter`: The adapter to use when interacting with the backing DOM
|
142
|
+
structure. By default it uses the `domutils` module.
|
143
|
+
- `context`: The context of the current query. Used to limit the scope of
|
144
|
+
searches. Can be matched directly using the `:scope` pseudo-class.
|
145
|
+
- `relativeSelector`: By default, selectors are relative to the `context`,
|
146
|
+
which means that no parent elements of the context will be matched. (Eg.
|
147
|
+
`a b c` with context `b` will never give any results.) If `relativeSelector`
|
148
|
+
is set to `false`, selectors won't be
|
149
|
+
[absolutized](http://www.w3.org/TR/selectors4/#absolutizing) and selectors
|
150
|
+
can test for parent elements outside of the `context`.
|
151
|
+
- `cacheResults`: Allow css-select to cache results for some selectors,
|
152
|
+
sometimes greatly improving querying performance. Disable this if your
|
153
|
+
document can change in between queries with the same compiled selector.
|
154
|
+
Default: `true`.
|
155
|
+
- `pseudos`: A map of pseudo-class names to functions or strings.
|
156
|
+
|
157
|
+
#### Custom Adapters
|
158
|
+
|
159
|
+
A custom adapter must match the interface described
|
160
|
+
[here](https://github.com/fb55/css-select/blob/1aa44bdd64aaf2ebdfd7f338e2e76bed36521957/src/types.ts#L6-L96).
|
161
|
+
|
162
|
+
You may want to have a look at [`domutils`](https://github.com/fb55/domutils) to
|
163
|
+
see the default implementation, or at
|
164
|
+
[`css-select-browser-adapter`](https://github.com/nrkn/css-select-browser-adapter/blob/master/index.js)
|
165
|
+
for an implementation backed by the DOM.
|
166
|
+
|
167
|
+
## Supported selectors
|
168
|
+
|
169
|
+
_As defined by CSS 4 and / or jQuery._
|
170
|
+
|
171
|
+
- [Selector lists](https://developer.mozilla.org/en-US/docs/Web/CSS/Selector_list)
|
172
|
+
(`,`)
|
173
|
+
- [Universal](https://developer.mozilla.org/en-US/docs/Web/CSS/Universal_selectors)
|
174
|
+
(`*`)
|
175
|
+
- [Type](https://developer.mozilla.org/en-US/docs/Web/CSS/Type_selectors)
|
176
|
+
(`<tagname>`)
|
177
|
+
- [Descendant](https://developer.mozilla.org/en-US/docs/Web/CSS/Descendant_combinator)
|
178
|
+
(` `)
|
179
|
+
- [Child](https://developer.mozilla.org/en-US/docs/Web/CSS/Child_combinator)
|
180
|
+
(`>`)
|
181
|
+
- Parent (`<`)
|
182
|
+
- [Adjacent sibling](https://developer.mozilla.org/en-US/docs/Web/CSS/Adjacent_sibling_combinator)
|
183
|
+
(`+`)
|
184
|
+
- [General sibling](https://developer.mozilla.org/en-US/docs/Web/CSS/General_sibling_combinator)
|
185
|
+
(`~`)
|
186
|
+
- [Attribute](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors)
|
187
|
+
(`[attr=foo]`), with supported comparisons:
|
188
|
+
- `[attr]` (existential)
|
189
|
+
- `=`
|
190
|
+
- `~=`
|
191
|
+
- `|=`
|
192
|
+
- `*=`
|
193
|
+
- `^=`
|
194
|
+
- `$=`
|
195
|
+
- `!=`
|
196
|
+
- `i` and `s` can be added after the comparison to make the comparison
|
197
|
+
case-insensitive or case-sensitive (eg. `[attr=foo i]`). If neither is
|
198
|
+
supplied, css-select will follow the HTML spec's
|
199
|
+
[case-sensitivity rules](https://html.spec.whatwg.org/multipage/semantics-other.html#case-sensitivity-of-selectors).
|
200
|
+
- Pseudos:
|
201
|
+
- [`:not`](https://developer.mozilla.org/en-US/docs/Web/CSS/:not)
|
202
|
+
- [`:contains`](https://api.jquery.com/contains-selector)
|
203
|
+
- `:icontains` (case-insensitive version of `:contains`)
|
204
|
+
- [`:has`](https://developer.mozilla.org/en-US/docs/Web/CSS/:has)
|
205
|
+
- [`:root`](https://developer.mozilla.org/en-US/docs/Web/CSS/:root)
|
206
|
+
- [`:empty`](https://developer.mozilla.org/en-US/docs/Web/CSS/:empty)
|
207
|
+
- [`:parent`](https://api.jquery.com/parent-selector)
|
208
|
+
- [`:first-child`](https://developer.mozilla.org/en-US/docs/Web/CSS/:first-child),
|
209
|
+
[`:last-child`](https://developer.mozilla.org/en-US/docs/Web/CSS/:last-child),
|
210
|
+
[`:first-of-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/:first-of-type),
|
211
|
+
[`:last-of-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/:last-of-type)
|
212
|
+
- [`:only-of-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/:only-of-type),
|
213
|
+
[`:only-child`](https://developer.mozilla.org/en-US/docs/Web/CSS/:only-child)
|
214
|
+
- [`:nth-child`](https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child),
|
215
|
+
[`:nth-last-child`](https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-child),
|
216
|
+
[`:nth-of-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-of-type),
|
217
|
+
[`:nth-last-of-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-of-type),
|
218
|
+
- [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link),
|
219
|
+
[`:any-link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:any-link)
|
220
|
+
- [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited),
|
221
|
+
[`:hover`](https://developer.mozilla.org/en-US/docs/Web/CSS/:hover),
|
222
|
+
[`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active)
|
223
|
+
(these depend on optional `Adapter` methods, so these will only match
|
224
|
+
elements if implemented in `Adapter`)
|
225
|
+
- [`:selected`](https://api.jquery.com/selected-selector),
|
226
|
+
[`:checked`](https://developer.mozilla.org/en-US/docs/Web/CSS/:checked)
|
227
|
+
- [`:enabled`](https://developer.mozilla.org/en-US/docs/Web/CSS/:enabled),
|
228
|
+
[`:disabled`](https://developer.mozilla.org/en-US/docs/Web/CSS/:disabled)
|
229
|
+
- [`:required`](https://developer.mozilla.org/en-US/docs/Web/CSS/:required),
|
230
|
+
[`:optional`](https://developer.mozilla.org/en-US/docs/Web/CSS/:optional)
|
231
|
+
- [`:header`](https://api.jquery.com/header-selector),
|
232
|
+
[`:button`](https://api.jquery.com/button-selector),
|
233
|
+
[`:input`](https://api.jquery.com/input-selector),
|
234
|
+
[`:text`](https://api.jquery.com/text-selector),
|
235
|
+
[`:checkbox`](https://api.jquery.com/checkbox-selector),
|
236
|
+
[`:file`](https://api.jquery.com/file-selector),
|
237
|
+
[`:password`](https://api.jquery.com/password-selector),
|
238
|
+
[`:reset`](https://api.jquery.com/reset-selector),
|
239
|
+
[`:radio`](https://api.jquery.com/radio-selector) etc.
|
240
|
+
- [`:is`](https://developer.mozilla.org/en-US/docs/Web/CSS/:is), plus its
|
241
|
+
legacy alias `:matches`
|
242
|
+
- [`:scope`](https://developer.mozilla.org/en-US/docs/Web/CSS/:scope)
|
243
|
+
(uses the context from the passed options)
|
244
|
+
|
245
|
+
---
|
246
|
+
|
247
|
+
License: BSD-2-Clause
|
248
|
+
|
249
|
+
## Security contact information
|
250
|
+
|
251
|
+
To report a security vulnerability, please use the
|
252
|
+
[Tidelift security contact](https://tidelift.com/security). Tidelift will
|
253
|
+
coordinate the fix and disclosure.
|
254
|
+
|
255
|
+
## `css-select` for enterprise
|
256
|
+
|
257
|
+
Available as part of the Tidelift Subscription
|
258
|
+
|
259
|
+
The maintainers of `css-select` and thousands of other packages are working with
|
260
|
+
Tidelift to deliver commercial support and maintenance for the open source
|
261
|
+
dependencies you use to build your applications. Save time, reduce risk, and
|
262
|
+
improve code health, while paying the maintainers of the exact dependencies you
|
263
|
+
use.
|
264
|
+
[Learn more.](https://tidelift.com/subscription/pkg/npm-css-select?utm_source=npm-css-select&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# CSS Modules: css-selector-tokenizer
|
2
|
+
[](https://travis-ci.org/css-modules/css-selector-tokenizer)
|
3
|
+
[](https://coveralls.io/r/css-modules/css-selector-tokenizer?branch=master)
|
4
|
+
[](https://codecov.io/github/css-modules/css-selector-tokenizer?branch=master)
|
5
|
+
|
6
|
+
Parses and stringifies CSS selectors.
|
7
|
+
|
8
|
+
``` js
|
9
|
+
import Tokenizer from "css-selector-tokenizer";
|
10
|
+
|
11
|
+
let input = "a#content.active > div::first-line [data-content], a:not(:visited)";
|
12
|
+
|
13
|
+
Tokenizer.parse(input); // === expected
|
14
|
+
let expected = {
|
15
|
+
type: "selectors",
|
16
|
+
nodes: [
|
17
|
+
{
|
18
|
+
type: "selector",
|
19
|
+
nodes: [
|
20
|
+
{ type: "element", name: "a" },
|
21
|
+
{ type: "id", name: "content" },
|
22
|
+
{ type: "class", name: "active" },
|
23
|
+
{ type: "operator", operator: ">", before: " ", after: " " },
|
24
|
+
{ type: "element", name: "div" },
|
25
|
+
{ type: "pseudo-element", name: "first-line" },
|
26
|
+
{ type: "spacing", value: " " },
|
27
|
+
{ type: "attribute", content: "data-content" },
|
28
|
+
]
|
29
|
+
},
|
30
|
+
{
|
31
|
+
type: "selector",
|
32
|
+
nodes: [
|
33
|
+
{ type: "element", name: "a" },
|
34
|
+
{ type: "nested-pseudo-class", name: "not", nodes: [
|
35
|
+
{
|
36
|
+
type: "selector",
|
37
|
+
nodes: [
|
38
|
+
{ type: "pseudo-class", name: "visited" }
|
39
|
+
]
|
40
|
+
}
|
41
|
+
] }
|
42
|
+
],
|
43
|
+
before: " "
|
44
|
+
}
|
45
|
+
]
|
46
|
+
}
|
47
|
+
|
48
|
+
Tokenizer.stringify(expected) // === input
|
49
|
+
|
50
|
+
// * => { type: "universal" }
|
51
|
+
// foo|element = { type: "element", name: "element", namespace: "foo" }
|
52
|
+
// *|* = { type: "universal", namespace: "*" }
|
53
|
+
// :has(h1, h2) => { type: "nested-pseudo-class", name: "has", nodes: [
|
54
|
+
// {
|
55
|
+
// type: "selector",
|
56
|
+
// nodes: [
|
57
|
+
// { type: "element", name: "h1" }
|
58
|
+
// ]
|
59
|
+
// },
|
60
|
+
// {
|
61
|
+
// type: "selector",
|
62
|
+
// nodes: [
|
63
|
+
// { type: "element", name: "h2" }
|
64
|
+
// ],
|
65
|
+
// before: " "
|
66
|
+
// }
|
67
|
+
// ] }
|
68
|
+
```
|
69
|
+
|
70
|
+
## Building
|
71
|
+
|
72
|
+
```
|
73
|
+
npm install
|
74
|
+
npm test
|
75
|
+
```
|
76
|
+
|
77
|
+
## Development
|
78
|
+
|
79
|
+
- `npm test -- -w` will watch `lib` and `test` for changes and retest
|
80
|
+
|
81
|
+
## License
|
82
|
+
|
83
|
+
MIT
|
84
|
+
|
85
|
+
## With thanks
|
86
|
+
|
87
|
+
- Mark Dalgleish
|
88
|
+
- Glen Maddern
|
89
|
+
- Guy Bedford
|
90
|
+
|
91
|
+
---
|
92
|
+
Tobias Koppers, 2015.
|