├── .editorconfig ├── .github └── workflows │ └── test.yml ├── .gitignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── index.test.mjs ├── package-lock.json ├── package.json ├── src ├── index.mjs └── lib │ ├── get-custom-properties-from-imports.mjs │ ├── get-custom-properties-from-root.mjs │ ├── messages.mjs │ ├── resolve-id.mjs │ ├── rule-name.mjs │ ├── validate-decl.mjs │ └── validate-result.mjs └── test ├── dummy-module-package ├── import-custom-properties.js └── package.json ├── dummy-package ├── import-custom-properties.js └── package.json ├── import-custom-properties-2.css ├── import-custom-properties-absolute.css ├── import-custom-properties.cjs ├── import-custom-properties.css ├── import-custom-properties.json └── import-custom-properties.mjs /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_style = tab 7 | insert_final_newline = true 8 | trim_trailing_whitespace = true 9 | 10 | [*.md] 11 | trim_trailing_whitespace = false 12 | 13 | [*.{json,md,yml}] 14 | indent_size = 2 15 | indent_style = space 16 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: test 2 | on: 3 | push: 4 | 5 | concurrency: 6 | group: branch-node-${{ github.ref }} 7 | cancel-in-progress: true 8 | 9 | jobs: 10 | test: 11 | runs-on: ubuntu-latest 12 | strategy: 13 | matrix: 14 | node: [18, 20, 'lts/*'] 15 | steps: 16 | - uses: actions/checkout@v4 17 | - uses: actions/setup-node@v4 18 | with: 19 | node-version: ${{ matrix.node }} 20 | 21 | - run: npm i 22 | - run: npm run test 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log* 3 | .eslintcache 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changes to Stylelint Value No Unknown Custom Properties 2 | 3 | ### 6.0.1 (Dec 28, 2023) 4 | 5 | - Fix `@import` prelude parsing 6 | 7 | ### 6.0.0 (Dec 28, 2023) 8 | 9 | - Updated: peer `stylelint` to >=16 (breaking) 10 | - Removed `false` option, use `null` instead 11 | 12 | ### 5.0.0 (November 6, 2023) 13 | 14 | - Ensure this can work with Stylelint 15 too. (thanks [@alex-e-leon](https://github.com/alex-e-leon)!) 15 | - Updated dependencies to latest versions. 16 | - Breaking: Dropping support for old Node versions. 17 | 18 | ### 4.0.0 (March 26, 2022) 19 | 20 | - Updated to use `postcss-value-parser`. 21 | - Updating to use common plugin layout. (thanks [@jameschensmith](https://github.com/jameschensmith)!) 22 | - Updating: peer `stylelint` to 14 (major). (thanks [@oscarvz](https://github.com/oscarvz) and [@ronilaukkarinen](https://github.com/ronilaukkarinen)!) 23 | - Updated: Engines to match PostCSS support 24 | - Added resolver to resolve absolute path in `@import` (thanks [@heroandtn3](https://github.com/heroandtn3)!) 25 | 26 | ### 3.0.0 (May 12, 2020) 27 | 28 | - Updated: `postcss-values-parser` to 3.0.4 (major) 29 | - Updated: peer `stylelint` to 10 - 13 (major) 30 | - Updated: Node 10+ compatibility (major) 31 | 32 | ### 2.0.0 (September 26, 2018) 33 | 34 | - Fixed: Options are now configured 35 | 36 | ### 1.0.0 (September 25, 2018) 37 | 38 | - Initial version 39 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to make participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, sex characteristics, gender identity and expression, 9 | level of experience, education, socio-economic status, nationality, personal 10 | appearance, race, religion, or sexual identity and orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language 18 | * Being respectful of differing viewpoints and experiences 19 | * Gracefully accepting constructive criticism 20 | * Focusing on what is best for the community 21 | * Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | * Trolling, insulting/derogatory comments, and personal or political attacks 28 | * Public or private harassment 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, and other contributions 42 | that are not aligned to this Code of Conduct, or to ban temporarily or 43 | permanently any contributor for other behaviors that they deem inappropriate, 44 | threatening, offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies within all project spaces, and it also applies when 49 | an individual is representing the project or its community in public spaces. 50 | Examples of representing a project or community include using an official 51 | project e-mail address, posting via an official social media account, or acting 52 | as an appointed representative at an online or offline event. Representation of 53 | a project may be further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting Jonathan Neal . All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project team is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ## Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 72 | 73 | [homepage]: https://www.contributor-covenant.org 74 | 75 | For answers to common questions about this code of conduct, see 76 | https://www.contributor-covenant.org/faq 77 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to Stylelint Value No Unknown Custom Properties 2 | 3 | You want to help? You rock! Now, take a moment to be sure your contributions 4 | make sense to everyone else. 5 | 6 | ## Reporting Issues 7 | 8 | Found a problem? Want a new feature? 9 | 10 | - See if your issue or idea has [already been reported]. 11 | - Provide a [reduced test case] or a [live example]. 12 | 13 | Remember, a bug is a _demonstrable problem_ caused by _our_ code. 14 | 15 | ## Submitting Pull Requests 16 | 17 | Pull requests are the greatest contributions, so be sure they are focused in 18 | scope and avoid unrelated commits. 19 | 20 | 1. To begin; [fork this project], clone your fork, and add our upstream. 21 | ```bash 22 | # Clone your fork of the repo into the current directory 23 | git clone git@github.com:YOUR_USER/stylelint-value-no-unknown-custom-properties.git 24 | 25 | # Navigate to the newly cloned directory 26 | cd stylelint-value-no-unknown-custom-properties 27 | 28 | # Assign the original repo to a remote called "upstream" 29 | git remote add upstream git@github.com:csstools/stylelint-value-no-unknown-custom-properties.git 30 | 31 | # Install the tools necessary for testing 32 | npm install 33 | ``` 34 | 35 | 2. Create a branch for your feature or fix: 36 | ```bash 37 | # Move into a new branch for your feature 38 | git checkout -b feature/thing 39 | ``` 40 | ```bash 41 | # Move into a new branch for your fix 42 | git checkout -b fix/something 43 | ``` 44 | 45 | 3. If your code follows our practices, then push your feature branch: 46 | ```bash 47 | # Test current code 48 | npm test 49 | ``` 50 | ```bash 51 | # Push the branch for your new feature 52 | git push origin feature/thing 53 | ``` 54 | ```bash 55 | # Or, push the branch for your update 56 | git push origin update/something 57 | ``` 58 | 59 | That’s it! Now [open a pull request] with a clear title and description. 60 | 61 | [already been reported]: issues 62 | [fork this project]: fork 63 | [live example]: https://codepen.io/pen 64 | [open a pull request]: https://help.github.com/articles/using-pull-requests/ 65 | [reduced test case]: https://css-tricks.com/reduced-test-cases/ 66 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | # CC0 1.0 Universal 2 | 3 | ## Statement of Purpose 4 | 5 | The laws of most jurisdictions throughout the world automatically confer 6 | exclusive Copyright and Related Rights (defined below) upon the creator and 7 | subsequent owner(s) (each and all, an “owner”) of an original work of 8 | authorship and/or a database (each, a “Work”). 9 | 10 | Certain owners wish to permanently relinquish those rights to a Work for the 11 | purpose of contributing to a commons of creative, cultural and scientific works 12 | (“Commons”) that the public can reliably and without fear of later claims of 13 | infringement build upon, modify, incorporate in other works, reuse and 14 | redistribute as freely as possible in any form whatsoever and for any purposes, 15 | including without limitation commercial purposes. These owners may contribute 16 | to the Commons to promote the ideal of a free culture and the further 17 | production of creative, cultural and scientific works, or to gain reputation or 18 | greater distribution for their Work in part through the use and efforts of 19 | others. 20 | 21 | For these and/or other purposes and motivations, and without any expectation of 22 | additional consideration or compensation, the person associating CC0 with a 23 | Work (the “Affirmer”), to the extent that he or she is an owner of Copyright 24 | and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and 25 | publicly distribute the Work under its terms, with knowledge of his or her 26 | Copyright and Related Rights in the Work and the meaning and intended legal 27 | effect of CC0 on those rights. 28 | 29 | 1. Copyright and Related Rights. A Work made available under CC0 may be 30 | protected by copyright and related or neighboring rights (“Copyright and 31 | Related Rights”). Copyright and Related Rights include, but are not limited 32 | to, the following: 33 | 1. the right to reproduce, adapt, distribute, perform, display, communicate, 34 | and translate a Work; 35 | 2. moral rights retained by the original author(s) and/or performer(s); 36 | 3. publicity and privacy rights pertaining to a person’s image or likeness 37 | depicted in a Work; 38 | 4. rights protecting against unfair competition in regards to a Work, 39 | subject to the limitations in paragraph 4(i), below; 40 | 5. rights protecting the extraction, dissemination, use and reuse of data in 41 | a Work; 42 | 6. database rights (such as those arising under Directive 96/9/EC of the 43 | European Parliament and of the Council of 11 March 1996 on the legal 44 | protection of databases, and under any national implementation thereof, 45 | including any amended or successor version of such directive); and 46 | 7. other similar, equivalent or corresponding rights throughout the world 47 | based on applicable law or treaty, and any national implementations 48 | thereof. 49 | 50 | 2. Waiver. To the greatest extent permitted by, but not in contravention of, 51 | applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and 52 | unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright 53 | and Related Rights and associated claims and causes of action, whether now 54 | known or unknown (including existing as well as future claims and causes of 55 | action), in the Work (i) in all territories worldwide, (ii) for the maximum 56 | duration provided by applicable law or treaty (including future time 57 | extensions), (iii) in any current or future medium and for any number of 58 | copies, and (iv) for any purpose whatsoever, including without limitation 59 | commercial, advertising or promotional purposes (the “Waiver”). Affirmer 60 | makes the Waiver for the benefit of each member of the public at large and 61 | to the detriment of Affirmer’s heirs and successors, fully intending that 62 | such Waiver shall not be subject to revocation, rescission, cancellation, 63 | termination, or any other legal or equitable action to disrupt the quiet 64 | enjoyment of the Work by the public as contemplated by Affirmer’s express 65 | Statement of Purpose. 66 | 67 | 3. Public License Fallback. Should any part of the Waiver for any reason be 68 | judged legally invalid or ineffective under applicable law, then the Waiver 69 | shall be preserved to the maximum extent permitted taking into account 70 | Affirmer’s express Statement of Purpose. In addition, to the extent the 71 | Waiver is so judged Affirmer hereby grants to each affected person a 72 | royalty-free, non transferable, non sublicensable, non exclusive, 73 | irrevocable and unconditional license to exercise Affirmer’s Copyright and 74 | Related Rights in the Work (i) in all territories worldwide, (ii) for the 75 | maximum duration provided by applicable law or treaty (including future time 76 | extensions), (iii) in any current or future medium and for any number of 77 | copies, and (iv) for any purpose whatsoever, including without limitation 78 | commercial, advertising or promotional purposes (the “License”). The License 79 | shall be deemed effective as of the date CC0 was applied by Affirmer to the 80 | Work. Should any part of the License for any reason be judged legally 81 | invalid or ineffective under applicable law, such partial invalidity or 82 | ineffectiveness shall not invalidate the remainder of the License, and in 83 | such case Affirmer hereby affirms that he or she will not (i) exercise any 84 | of his or her remaining Copyright and Related Rights in the Work or (ii) 85 | assert any associated claims and causes of action with respect to the Work, 86 | in either case contrary to Affirmer’s express Statement of Purpose. 87 | 88 | 4. Limitations and Disclaimers. 89 | 1. No trademark or patent rights held by Affirmer are waived, abandoned, 90 | surrendered, licensed or otherwise affected by this document. 91 | 2. Affirmer offers the Work as-is and makes no representations or warranties 92 | of any kind concerning the Work, express, implied, statutory or 93 | otherwise, including without limitation warranties of title, 94 | merchantability, fitness for a particular purpose, non infringement, or 95 | the absence of latent or other defects, accuracy, or the present or 96 | absence of errors, whether or not discoverable, all to the greatest 97 | extent permissible under applicable law. 98 | 3. Affirmer disclaims responsibility for clearing rights of other persons 99 | that may apply to the Work or any use thereof, including without 100 | limitation any person’s Copyright and Related Rights in the Work. 101 | Further, Affirmer disclaims responsibility for obtaining any necessary 102 | consents, permissions or other rights required for any use of the Work. 103 | 4. Affirmer understands and acknowledges that Creative Commons is not a 104 | party to this document and has no duty or obligation with respect to this 105 | CC0 or use of the Work. 106 | 107 | For more information, please see 108 | http://creativecommons.org/publicdomain/zero/1.0/. 109 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Stylelint Value No Unknown Custom Properties [stylelint][stylelint] 2 | 3 | [![NPM Version][npm-img]][npm-url] 4 | [![test][test-badge]][test-url] 5 | [![Discord][discord-badge]][discord] 6 | 7 | [Stylelint Value No Unknown Custom Properties] is a [stylelint] rule to disallow usage of 8 | unknown custom properties. 9 | 10 | ## Usage 11 | 12 | Add [stylelint] and [Stylelint Value No Unknown Custom Properties] to your project. 13 | 14 | ```bash 15 | npm install stylelint stylelint-value-no-unknown-custom-properties --save-dev 16 | ``` 17 | 18 | Add [Stylelint Value No Unknown Custom Properties] to your [stylelint configuration]. 19 | 20 | ```js 21 | { 22 | "plugins": [ 23 | "stylelint-value-no-unknown-custom-properties" 24 | ], 25 | "rules": { 26 | "csstools/value-no-unknown-custom-properties": true || null 27 | } 28 | } 29 | ``` 30 | 31 | ## Options 32 | 33 | ### true 34 | 35 | If the first option is `true`, then [Stylelint Value No Unknown Custom Properties] 36 | requires all custom properties to be known, and the following patterns are 37 | _not_ considered violations: 38 | 39 | ```css 40 | :root { 41 | --brand-blue: #33f; 42 | } 43 | 44 | .example { 45 | color: var(--brand-blue); 46 | } 47 | ``` 48 | 49 | ```css 50 | .example { 51 | color: var(--brand-blue); 52 | } 53 | 54 | .some-other-class { 55 | --brand-blue: #33f; 56 | } 57 | ``` 58 | 59 | ```css 60 | :root { 61 | --brand-blue: #33f; 62 | --brand-color: var(--brand-blue); 63 | } 64 | ``` 65 | 66 | While the following patterns are considered violations: 67 | 68 | ```css 69 | .example { 70 | color: var(--brand-blue); 71 | } 72 | ``` 73 | 74 | ```css 75 | :root { 76 | --brand-color: var(--brand-blue); 77 | } 78 | ``` 79 | 80 | Custom Properties can be imported using the second option. 81 | 82 | ### `null` 83 | 84 | If the first option is `null`, then 85 | [Stylelint Value No Unknown Custom Properties] does nothing. 86 | 87 | --- 88 | 89 | ### importFrom 90 | 91 | When the first option is `true`, then the second option can specify sources 92 | where Custom Properties should be imported from by using an `importFrom` key. 93 | These imports might be CSS, JS, and JSON files, functions, and directly passed 94 | objects. 95 | 96 | The plugin resolves relative paths from the current working directory 97 | which may not work in monorepos, in which case it is best to pass only absolute 98 | paths to the plugin. 99 | 100 | ```js 101 | // .stylelintrc 102 | { 103 | "plugins": [ 104 | "stylelint-value-no-unknown-custom-properties" 105 | ], 106 | "rules": { 107 | "csstools/value-no-unknown-custom-properties": [true, { 108 | "importFrom": [ 109 | "path/to/file.css", // => :root { --brand-blue: #33f; } 110 | "path/to/file.json" // => { "custom-properties": { "--brand-blue": "#33f" } } 111 | ] 112 | }] 113 | } 114 | } 115 | ``` 116 | 117 | ### resolver 118 | 119 | Use this option to configure how the rule solve paths of `@import` rules. 120 | 121 | ```js 122 | // .stylelintrc 123 | { 124 | "plugins": [ 125 | "stylelint-value-no-unknown-custom-properties" 126 | ], 127 | "rules": { 128 | "csstools/value-no-unknown-custom-properties": [true, { 129 | "resolver": { 130 | "extensions": [".css"], // => default to [".css"] 131 | "paths": ["./assets/css", "./static/css"], // => paths to look for files, default to [] 132 | "moduleDirectories": ["node_modules"] // => modules folder to look for files, default to ["node_modules"] 133 | } 134 | }] 135 | } 136 | } 137 | ``` 138 | 139 | [discord]: https://discord.gg/bUadyRwkJS 140 | [discord-badge]: https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white 141 | [test-badge]: https://github.com/csstools/stylelint-value-no-unknown-custom-properties/actions/workflows/test.yml/badge.svg 142 | [test-url]: https://github.com/csstools/stylelint-value-no-unknown-custom-properties/actions/workflows/test.yml 143 | [npm-img]: https://img.shields.io/npm/v/stylelint-value-no-unknown-custom-properties.svg 144 | [npm-url]: https://www.npmjs.com/package/stylelint-value-no-unknown-custom-properties 145 | 146 | [stylelint]: https://github.com/stylelint/stylelint 147 | [stylelint configuration]: https://stylelint.io/user-guide/configure/ 148 | [Stylelint Value No Unknown Custom Properties]: https://github.com/csstools/stylelint-value-no-unknown-custom-properties 149 | -------------------------------------------------------------------------------- /index.test.mjs: -------------------------------------------------------------------------------- 1 | 2 | import { testRule } from 'stylelint-test-rule-node'; 3 | import plugin from './src/index.mjs'; 4 | 5 | const rule = plugin.rule; 6 | const messages = plugin.rule.messages; 7 | 8 | let accept = [], reject = []; 9 | 10 | /* Test basic checks 11 | /* ========================================================================== */ 12 | 13 | testRule({ plugins: ['.'], ruleName: rule.ruleName, config: null, accept: [{ code: '' }] }); 14 | testRule({ plugins: ['.'], ruleName: rule.ruleName, config: true, accept: [{ code: '' }] }); 15 | 16 | /* Test disabled 17 | /* ========================================================================== */ 18 | 19 | accept = [ 20 | { code: 'body { color: var(--brand-blue); }', description: 'ignored custom property' }, 21 | ]; 22 | 23 | testRule({ plugins: ['.'], ruleName: rule.ruleName, config: null, accept }); 24 | 25 | /* Test enabled 26 | /* ========================================================================== */ 27 | 28 | accept = [ 29 | { code: 'body { --brand-blue: #33f; color: var(--brand-blue); }' }, 30 | { code: ':root { --brand-blue: #33f; } body { color: var(--brand-blue); }' }, 31 | { code: 'html { --brand-blue: #33f; } body { color: var(--brand-blue); }' }, 32 | { code: '* { --brand-blue: #33f; } body { color: var(--brand-blue); }' }, 33 | { code: '.anything { --brand-blue: #33f; } body { color: var(--brand-blue); }' }, 34 | { code: ':root { --brand-blue: #33f; --brand-color: var(--brand-blue); }' }, 35 | { code: '@import \'./test/import-custom-properties.css\'; body { color: var(--brand-red); }' }, 36 | { code: '@import "./test/import-custom-properties.css" screen; body { color: var(--brand-red); }' }, 37 | { code: '@import "./test/import-custom-properties.css"/**/; body { color: var(--brand-red); }' }, 38 | { code: '@import url(./test/import-custom-properties.css); body { color: var(--brand-red); }' }, 39 | { code: '@import url(\'./test/import-custom-properties.css\'); body { color: var(--brand-red); }' }, 40 | { code: '@import url( \'./test/import-custom-properties.css\'/**/)/**/; body { color: var(--brand-red); }' }, 41 | { code: '@import url(\t\'./test/import-custom-properties.css\'\t)\t; body { color: var(--brand-red); }' }, 42 | { code: '@import url(./test/import-custom-properties.css) screen; body { color: var(--brand-red); }' }, 43 | { code: '@import url("./test/import-custom-properties.css") screen; body { color: var(--brand-red); }' }, 44 | { code: '@import url("./test/import-custom-properties.css" url-mod); body { color: var(--brand-red); }' }, 45 | { code: '@import \'./test/import-custom-properties.css\'; @import \'./test/import-custom-properties123.css\'; body { color: var(--brand-red); }' }, 46 | { code: 'color: var(--my-undefined-color, #ffffff);' }, 47 | ]; 48 | reject = [ 49 | { code: 'body { color: var(--brand-blue); }', message: messages.unexpected('--brand-blue', 'color') }, 50 | { code: '@import \'./test/import-custom-properties123.css\'; body { color: var(--brand-red); }', message: messages.unexpected('--brand-red', 'color') }, 51 | ]; 52 | 53 | testRule({ plugins: ['.'], ruleName: rule.ruleName, config: true, accept, reject }); 54 | 55 | 56 | /* Test fallbacks 57 | /* ========================================================================== */ 58 | 59 | accept = [ 60 | { code: 'body { color: var(--brand-blue, #33f); }' }, 61 | ]; 62 | reject = [ 63 | { code: 'body { color: var(--brand-blue, var(--brand-red)); }', message: messages.unexpected('--brand-red', 'color') }, 64 | ]; 65 | testRule({ plugins: ['.'], ruleName: rule.ruleName, config: true, accept, reject }); 66 | 67 | /* Test enabled: not var()s 68 | /* ========================================================================== */ 69 | 70 | accept = [ 71 | { code: 'body { color: brand-blue; }' }, 72 | { code: 'body { color: var(); }' }, 73 | ]; 74 | 75 | testRule({ plugins: ['.'], ruleName: rule.ruleName, config: true, accept }); 76 | 77 | /* Test enabled: { importFrom } 78 | /* ========================================================================== */ 79 | 80 | accept = [ 81 | { code: 'body { color: var(--brand-blue); }' }, 82 | ]; 83 | reject = [ 84 | { code: 'body { color: var(--brand-blu); }', message: messages.unexpected('--brand-blu', 'color') }, 85 | { code: 'body { color: var(--brand-bluez); }', message: messages.unexpected('--brand-bluez', 'color') }, 86 | ]; 87 | 88 | testRule({ 89 | plugins: ['.'], 90 | ruleName: rule.ruleName, 91 | config: [true, { 92 | importFrom: { 93 | customProperties: { 94 | '--brand-blue': '#fff', 95 | }, 96 | }, 97 | }], 98 | accept, 99 | reject, 100 | }); 101 | 102 | accept = [ 103 | { code: 'body { background-color: var(--brand-red); background: var(--brand-green); color: var(--brand-blue); }' }, 104 | ]; 105 | reject = [ 106 | { code: 'body { color: var(--brand-blu); }', message: messages.unexpected('--brand-blu', 'color') }, 107 | { code: 'body { color: var(--brand-bluez); }', message: messages.unexpected('--brand-bluez', 'color') }, 108 | ]; 109 | 110 | testRule({ 111 | plugins: ['.'], 112 | ruleName: rule.ruleName, 113 | config: [true, { 114 | importFrom: [ 115 | './test/import-custom-properties.json', 116 | './test/import-custom-properties.css', 117 | ], 118 | }], 119 | accept, 120 | reject, 121 | }); 122 | 123 | accept = [ 124 | { code: 'body { border-color: var(--brand-white); }' }, 125 | ]; 126 | 127 | testRule({ plugins: ['.'], ruleName: rule.ruleName, config: [true, { importFrom: ['./test/dummy-module-package/import-custom-properties.js'] }], accept, reject }); 128 | testRule({ plugins: ['.'], ruleName: rule.ruleName, config: [true, { importFrom: ['./test/dummy-package/import-custom-properties.js'] }], accept, reject }); 129 | testRule({ plugins: ['.'], ruleName: rule.ruleName, config: [true, { importFrom: ['./test/import-custom-properties.cjs'] }], accept, reject }); 130 | testRule({ plugins: ['.'], ruleName: rule.ruleName, config: [true, { importFrom: ['./test/import-custom-properties.mjs'] }], accept, reject }); 131 | 132 | accept = [ 133 | { code: '@import "import-custom-properties-absolute.css"; body { background-color: var(--brand-red); background: var(--brand-green); }' }, 134 | ]; 135 | reject = []; 136 | 137 | testRule({ 138 | plugins: ['.'], 139 | ruleName: rule.ruleName, 140 | config: [true, { 141 | resolver: { 142 | paths: './test', 143 | }, 144 | }], 145 | accept, 146 | reject, 147 | }); 148 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "stylelint-value-no-unknown-custom-properties", 3 | "version": "6.0.1", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "stylelint-value-no-unknown-custom-properties", 9 | "version": "6.0.1", 10 | "license": "CC0-1.0", 11 | "dependencies": { 12 | "postcss-value-parser": "^4.2.0", 13 | "resolve": "^1.22.8" 14 | }, 15 | "devDependencies": { 16 | "eslint": "^8.53.0", 17 | "eslint-config-dev": "^3.3.1", 18 | "stylelint": "^16.1.0", 19 | "stylelint-test-rule-node": "^0.2.1" 20 | }, 21 | "engines": { 22 | "node": ">=18.12.0" 23 | }, 24 | "peerDependencies": { 25 | "stylelint": ">=16" 26 | } 27 | }, 28 | "node_modules/@babel/code-frame": { 29 | "version": "7.26.2", 30 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", 31 | "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", 32 | "dev": true, 33 | "license": "MIT", 34 | "dependencies": { 35 | "@babel/helper-validator-identifier": "^7.25.9", 36 | "js-tokens": "^4.0.0", 37 | "picocolors": "^1.0.0" 38 | }, 39 | "engines": { 40 | "node": ">=6.9.0" 41 | } 42 | }, 43 | "node_modules/@babel/helper-validator-identifier": { 44 | "version": "7.25.9", 45 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", 46 | "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", 47 | "dev": true, 48 | "license": "MIT", 49 | "engines": { 50 | "node": ">=6.9.0" 51 | } 52 | }, 53 | "node_modules/@csstools/css-parser-algorithms": { 54 | "version": "3.0.4", 55 | "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.4.tgz", 56 | "integrity": "sha512-Up7rBoV77rv29d3uKHUIVubz1BTcgyUK72IvCQAbfbMv584xHcGKCKbWh7i8hPrRJ7qU4Y8IO3IY9m+iTB7P3A==", 57 | "dev": true, 58 | "funding": [ 59 | { 60 | "type": "github", 61 | "url": "https://github.com/sponsors/csstools" 62 | }, 63 | { 64 | "type": "opencollective", 65 | "url": "https://opencollective.com/csstools" 66 | } 67 | ], 68 | "license": "MIT", 69 | "engines": { 70 | "node": ">=18" 71 | }, 72 | "peerDependencies": { 73 | "@csstools/css-tokenizer": "^3.0.3" 74 | } 75 | }, 76 | "node_modules/@csstools/css-tokenizer": { 77 | "version": "3.0.3", 78 | "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.3.tgz", 79 | "integrity": "sha512-UJnjoFsmxfKUdNYdWgOB0mWUypuLvAfQPH1+pyvRJs6euowbFkFC6P13w1l8mJyi3vxYMxc9kld5jZEGRQs6bw==", 80 | "dev": true, 81 | "funding": [ 82 | { 83 | "type": "github", 84 | "url": "https://github.com/sponsors/csstools" 85 | }, 86 | { 87 | "type": "opencollective", 88 | "url": "https://opencollective.com/csstools" 89 | } 90 | ], 91 | "license": "MIT", 92 | "engines": { 93 | "node": ">=18" 94 | } 95 | }, 96 | "node_modules/@csstools/media-query-list-parser": { 97 | "version": "4.0.2", 98 | "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-4.0.2.tgz", 99 | "integrity": "sha512-EUos465uvVvMJehckATTlNqGj4UJWkTmdWuDMjqvSUkjGpmOyFZBVwb4knxCm/k2GMTXY+c/5RkdndzFYWeX5A==", 100 | "dev": true, 101 | "funding": [ 102 | { 103 | "type": "github", 104 | "url": "https://github.com/sponsors/csstools" 105 | }, 106 | { 107 | "type": "opencollective", 108 | "url": "https://opencollective.com/csstools" 109 | } 110 | ], 111 | "license": "MIT", 112 | "engines": { 113 | "node": ">=18" 114 | }, 115 | "peerDependencies": { 116 | "@csstools/css-parser-algorithms": "^3.0.4", 117 | "@csstools/css-tokenizer": "^3.0.3" 118 | } 119 | }, 120 | "node_modules/@csstools/selector-specificity": { 121 | "version": "5.0.0", 122 | "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-5.0.0.tgz", 123 | "integrity": "sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw==", 124 | "dev": true, 125 | "funding": [ 126 | { 127 | "type": "github", 128 | "url": "https://github.com/sponsors/csstools" 129 | }, 130 | { 131 | "type": "opencollective", 132 | "url": "https://opencollective.com/csstools" 133 | } 134 | ], 135 | "license": "MIT-0", 136 | "engines": { 137 | "node": ">=18" 138 | }, 139 | "peerDependencies": { 140 | "postcss-selector-parser": "^7.0.0" 141 | } 142 | }, 143 | "node_modules/@dual-bundle/import-meta-resolve": { 144 | "version": "4.1.0", 145 | "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", 146 | "integrity": "sha512-+nxncfwHM5SgAtrVzgpzJOI1ol0PkumhVo469KCf9lUi21IGcY90G98VuHm9VRrUypmAzawAHO9bs6hqeADaVg==", 147 | "dev": true, 148 | "license": "MIT", 149 | "funding": { 150 | "type": "github", 151 | "url": "https://github.com/sponsors/wooorm" 152 | } 153 | }, 154 | "node_modules/@eslint-community/eslint-utils": { 155 | "version": "4.4.1", 156 | "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", 157 | "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", 158 | "dev": true, 159 | "license": "MIT", 160 | "dependencies": { 161 | "eslint-visitor-keys": "^3.4.3" 162 | }, 163 | "engines": { 164 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 165 | }, 166 | "funding": { 167 | "url": "https://opencollective.com/eslint" 168 | }, 169 | "peerDependencies": { 170 | "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" 171 | } 172 | }, 173 | "node_modules/@eslint-community/regexpp": { 174 | "version": "4.12.1", 175 | "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", 176 | "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", 177 | "dev": true, 178 | "license": "MIT", 179 | "engines": { 180 | "node": "^12.0.0 || ^14.0.0 || >=16.0.0" 181 | } 182 | }, 183 | "node_modules/@eslint/eslintrc": { 184 | "version": "2.1.4", 185 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", 186 | "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", 187 | "dev": true, 188 | "license": "MIT", 189 | "dependencies": { 190 | "ajv": "^6.12.4", 191 | "debug": "^4.3.2", 192 | "espree": "^9.6.0", 193 | "globals": "^13.19.0", 194 | "ignore": "^5.2.0", 195 | "import-fresh": "^3.2.1", 196 | "js-yaml": "^4.1.0", 197 | "minimatch": "^3.1.2", 198 | "strip-json-comments": "^3.1.1" 199 | }, 200 | "engines": { 201 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 202 | }, 203 | "funding": { 204 | "url": "https://opencollective.com/eslint" 205 | } 206 | }, 207 | "node_modules/@eslint/js": { 208 | "version": "8.57.1", 209 | "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", 210 | "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", 211 | "dev": true, 212 | "license": "MIT", 213 | "engines": { 214 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 215 | } 216 | }, 217 | "node_modules/@humanwhocodes/config-array": { 218 | "version": "0.13.0", 219 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", 220 | "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", 221 | "deprecated": "Use @eslint/config-array instead", 222 | "dev": true, 223 | "license": "Apache-2.0", 224 | "dependencies": { 225 | "@humanwhocodes/object-schema": "^2.0.3", 226 | "debug": "^4.3.1", 227 | "minimatch": "^3.0.5" 228 | }, 229 | "engines": { 230 | "node": ">=10.10.0" 231 | } 232 | }, 233 | "node_modules/@humanwhocodes/module-importer": { 234 | "version": "1.0.1", 235 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", 236 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", 237 | "dev": true, 238 | "license": "Apache-2.0", 239 | "engines": { 240 | "node": ">=12.22" 241 | }, 242 | "funding": { 243 | "type": "github", 244 | "url": "https://github.com/sponsors/nzakas" 245 | } 246 | }, 247 | "node_modules/@humanwhocodes/object-schema": { 248 | "version": "2.0.3", 249 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", 250 | "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", 251 | "deprecated": "Use @eslint/object-schema instead", 252 | "dev": true, 253 | "license": "BSD-3-Clause" 254 | }, 255 | "node_modules/@nodelib/fs.scandir": { 256 | "version": "2.1.5", 257 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 258 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 259 | "dev": true, 260 | "license": "MIT", 261 | "dependencies": { 262 | "@nodelib/fs.stat": "2.0.5", 263 | "run-parallel": "^1.1.9" 264 | }, 265 | "engines": { 266 | "node": ">= 8" 267 | } 268 | }, 269 | "node_modules/@nodelib/fs.stat": { 270 | "version": "2.0.5", 271 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 272 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 273 | "dev": true, 274 | "license": "MIT", 275 | "engines": { 276 | "node": ">= 8" 277 | } 278 | }, 279 | "node_modules/@nodelib/fs.walk": { 280 | "version": "1.2.8", 281 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 282 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 283 | "dev": true, 284 | "license": "MIT", 285 | "dependencies": { 286 | "@nodelib/fs.scandir": "2.1.5", 287 | "fastq": "^1.6.0" 288 | }, 289 | "engines": { 290 | "node": ">= 8" 291 | } 292 | }, 293 | "node_modules/@ungap/structured-clone": { 294 | "version": "1.2.1", 295 | "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.1.tgz", 296 | "integrity": "sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==", 297 | "dev": true, 298 | "license": "ISC" 299 | }, 300 | "node_modules/acorn": { 301 | "version": "8.14.0", 302 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", 303 | "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", 304 | "dev": true, 305 | "license": "MIT", 306 | "bin": { 307 | "acorn": "bin/acorn" 308 | }, 309 | "engines": { 310 | "node": ">=0.4.0" 311 | } 312 | }, 313 | "node_modules/acorn-jsx": { 314 | "version": "5.3.2", 315 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 316 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 317 | "dev": true, 318 | "license": "MIT", 319 | "peerDependencies": { 320 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" 321 | } 322 | }, 323 | "node_modules/ajv": { 324 | "version": "6.12.6", 325 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 326 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 327 | "dev": true, 328 | "license": "MIT", 329 | "dependencies": { 330 | "fast-deep-equal": "^3.1.1", 331 | "fast-json-stable-stringify": "^2.0.0", 332 | "json-schema-traverse": "^0.4.1", 333 | "uri-js": "^4.2.2" 334 | }, 335 | "funding": { 336 | "type": "github", 337 | "url": "https://github.com/sponsors/epoberezkin" 338 | } 339 | }, 340 | "node_modules/ansi-regex": { 341 | "version": "5.0.1", 342 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 343 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 344 | "dev": true, 345 | "license": "MIT", 346 | "engines": { 347 | "node": ">=8" 348 | } 349 | }, 350 | "node_modules/ansi-styles": { 351 | "version": "4.3.0", 352 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 353 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 354 | "dev": true, 355 | "license": "MIT", 356 | "dependencies": { 357 | "color-convert": "^2.0.1" 358 | }, 359 | "engines": { 360 | "node": ">=8" 361 | }, 362 | "funding": { 363 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 364 | } 365 | }, 366 | "node_modules/argparse": { 367 | "version": "2.0.1", 368 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 369 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 370 | "dev": true, 371 | "license": "Python-2.0" 372 | }, 373 | "node_modules/array-union": { 374 | "version": "2.1.0", 375 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", 376 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", 377 | "dev": true, 378 | "license": "MIT", 379 | "engines": { 380 | "node": ">=8" 381 | } 382 | }, 383 | "node_modules/astral-regex": { 384 | "version": "2.0.0", 385 | "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", 386 | "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", 387 | "dev": true, 388 | "license": "MIT", 389 | "engines": { 390 | "node": ">=8" 391 | } 392 | }, 393 | "node_modules/balanced-match": { 394 | "version": "1.0.2", 395 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 396 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 397 | "dev": true, 398 | "license": "MIT" 399 | }, 400 | "node_modules/brace-expansion": { 401 | "version": "1.1.11", 402 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 403 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 404 | "dev": true, 405 | "license": "MIT", 406 | "dependencies": { 407 | "balanced-match": "^1.0.0", 408 | "concat-map": "0.0.1" 409 | } 410 | }, 411 | "node_modules/braces": { 412 | "version": "3.0.3", 413 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", 414 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", 415 | "dev": true, 416 | "license": "MIT", 417 | "dependencies": { 418 | "fill-range": "^7.1.1" 419 | }, 420 | "engines": { 421 | "node": ">=8" 422 | } 423 | }, 424 | "node_modules/callsites": { 425 | "version": "3.1.0", 426 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 427 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 428 | "dev": true, 429 | "license": "MIT", 430 | "engines": { 431 | "node": ">=6" 432 | } 433 | }, 434 | "node_modules/chalk": { 435 | "version": "4.1.2", 436 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 437 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 438 | "dev": true, 439 | "license": "MIT", 440 | "dependencies": { 441 | "ansi-styles": "^4.1.0", 442 | "supports-color": "^7.1.0" 443 | }, 444 | "engines": { 445 | "node": ">=10" 446 | }, 447 | "funding": { 448 | "url": "https://github.com/chalk/chalk?sponsor=1" 449 | } 450 | }, 451 | "node_modules/color-convert": { 452 | "version": "2.0.1", 453 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 454 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 455 | "dev": true, 456 | "license": "MIT", 457 | "dependencies": { 458 | "color-name": "~1.1.4" 459 | }, 460 | "engines": { 461 | "node": ">=7.0.0" 462 | } 463 | }, 464 | "node_modules/color-name": { 465 | "version": "1.1.4", 466 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 467 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 468 | "dev": true, 469 | "license": "MIT" 470 | }, 471 | "node_modules/colord": { 472 | "version": "2.9.3", 473 | "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.3.tgz", 474 | "integrity": "sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==", 475 | "dev": true, 476 | "license": "MIT" 477 | }, 478 | "node_modules/concat-map": { 479 | "version": "0.0.1", 480 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 481 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 482 | "dev": true, 483 | "license": "MIT" 484 | }, 485 | "node_modules/cosmiconfig": { 486 | "version": "9.0.0", 487 | "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", 488 | "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", 489 | "dev": true, 490 | "license": "MIT", 491 | "dependencies": { 492 | "env-paths": "^2.2.1", 493 | "import-fresh": "^3.3.0", 494 | "js-yaml": "^4.1.0", 495 | "parse-json": "^5.2.0" 496 | }, 497 | "engines": { 498 | "node": ">=14" 499 | }, 500 | "funding": { 501 | "url": "https://github.com/sponsors/d-fischer" 502 | }, 503 | "peerDependencies": { 504 | "typescript": ">=4.9.5" 505 | }, 506 | "peerDependenciesMeta": { 507 | "typescript": { 508 | "optional": true 509 | } 510 | } 511 | }, 512 | "node_modules/cross-spawn": { 513 | "version": "7.0.6", 514 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", 515 | "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", 516 | "dev": true, 517 | "license": "MIT", 518 | "dependencies": { 519 | "path-key": "^3.1.0", 520 | "shebang-command": "^2.0.0", 521 | "which": "^2.0.1" 522 | }, 523 | "engines": { 524 | "node": ">= 8" 525 | } 526 | }, 527 | "node_modules/css-functions-list": { 528 | "version": "3.2.3", 529 | "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.3.tgz", 530 | "integrity": "sha512-IQOkD3hbR5KrN93MtcYuad6YPuTSUhntLHDuLEbFWE+ff2/XSZNdZG+LcbbIW5AXKg/WFIfYItIzVoHngHXZzA==", 531 | "dev": true, 532 | "license": "MIT", 533 | "engines": { 534 | "node": ">=12 || >=16" 535 | } 536 | }, 537 | "node_modules/css-tree": { 538 | "version": "3.1.0", 539 | "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.1.0.tgz", 540 | "integrity": "sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==", 541 | "dev": true, 542 | "license": "MIT", 543 | "dependencies": { 544 | "mdn-data": "2.12.2", 545 | "source-map-js": "^1.0.1" 546 | }, 547 | "engines": { 548 | "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" 549 | } 550 | }, 551 | "node_modules/cssesc": { 552 | "version": "3.0.0", 553 | "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", 554 | "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", 555 | "dev": true, 556 | "license": "MIT", 557 | "bin": { 558 | "cssesc": "bin/cssesc" 559 | }, 560 | "engines": { 561 | "node": ">=4" 562 | } 563 | }, 564 | "node_modules/debug": { 565 | "version": "4.4.0", 566 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", 567 | "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", 568 | "dev": true, 569 | "license": "MIT", 570 | "dependencies": { 571 | "ms": "^2.1.3" 572 | }, 573 | "engines": { 574 | "node": ">=6.0" 575 | }, 576 | "peerDependenciesMeta": { 577 | "supports-color": { 578 | "optional": true 579 | } 580 | } 581 | }, 582 | "node_modules/deep-is": { 583 | "version": "0.1.4", 584 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", 585 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", 586 | "dev": true, 587 | "license": "MIT" 588 | }, 589 | "node_modules/dir-glob": { 590 | "version": "3.0.1", 591 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", 592 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", 593 | "dev": true, 594 | "license": "MIT", 595 | "dependencies": { 596 | "path-type": "^4.0.0" 597 | }, 598 | "engines": { 599 | "node": ">=8" 600 | } 601 | }, 602 | "node_modules/doctrine": { 603 | "version": "3.0.0", 604 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 605 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 606 | "dev": true, 607 | "license": "Apache-2.0", 608 | "dependencies": { 609 | "esutils": "^2.0.2" 610 | }, 611 | "engines": { 612 | "node": ">=6.0.0" 613 | } 614 | }, 615 | "node_modules/emoji-regex": { 616 | "version": "8.0.0", 617 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 618 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 619 | "dev": true, 620 | "license": "MIT" 621 | }, 622 | "node_modules/env-paths": { 623 | "version": "2.2.1", 624 | "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", 625 | "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", 626 | "dev": true, 627 | "license": "MIT", 628 | "engines": { 629 | "node": ">=6" 630 | } 631 | }, 632 | "node_modules/error-ex": { 633 | "version": "1.3.2", 634 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", 635 | "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", 636 | "dev": true, 637 | "license": "MIT", 638 | "dependencies": { 639 | "is-arrayish": "^0.2.1" 640 | } 641 | }, 642 | "node_modules/escape-string-regexp": { 643 | "version": "4.0.0", 644 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 645 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 646 | "dev": true, 647 | "license": "MIT", 648 | "engines": { 649 | "node": ">=10" 650 | }, 651 | "funding": { 652 | "url": "https://github.com/sponsors/sindresorhus" 653 | } 654 | }, 655 | "node_modules/eslint": { 656 | "version": "8.57.1", 657 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", 658 | "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", 659 | "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", 660 | "dev": true, 661 | "license": "MIT", 662 | "dependencies": { 663 | "@eslint-community/eslint-utils": "^4.2.0", 664 | "@eslint-community/regexpp": "^4.6.1", 665 | "@eslint/eslintrc": "^2.1.4", 666 | "@eslint/js": "8.57.1", 667 | "@humanwhocodes/config-array": "^0.13.0", 668 | "@humanwhocodes/module-importer": "^1.0.1", 669 | "@nodelib/fs.walk": "^1.2.8", 670 | "@ungap/structured-clone": "^1.2.0", 671 | "ajv": "^6.12.4", 672 | "chalk": "^4.0.0", 673 | "cross-spawn": "^7.0.2", 674 | "debug": "^4.3.2", 675 | "doctrine": "^3.0.0", 676 | "escape-string-regexp": "^4.0.0", 677 | "eslint-scope": "^7.2.2", 678 | "eslint-visitor-keys": "^3.4.3", 679 | "espree": "^9.6.1", 680 | "esquery": "^1.4.2", 681 | "esutils": "^2.0.2", 682 | "fast-deep-equal": "^3.1.3", 683 | "file-entry-cache": "^6.0.1", 684 | "find-up": "^5.0.0", 685 | "glob-parent": "^6.0.2", 686 | "globals": "^13.19.0", 687 | "graphemer": "^1.4.0", 688 | "ignore": "^5.2.0", 689 | "imurmurhash": "^0.1.4", 690 | "is-glob": "^4.0.0", 691 | "is-path-inside": "^3.0.3", 692 | "js-yaml": "^4.1.0", 693 | "json-stable-stringify-without-jsonify": "^1.0.1", 694 | "levn": "^0.4.1", 695 | "lodash.merge": "^4.6.2", 696 | "minimatch": "^3.1.2", 697 | "natural-compare": "^1.4.0", 698 | "optionator": "^0.9.3", 699 | "strip-ansi": "^6.0.1", 700 | "text-table": "^0.2.0" 701 | }, 702 | "bin": { 703 | "eslint": "bin/eslint.js" 704 | }, 705 | "engines": { 706 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 707 | }, 708 | "funding": { 709 | "url": "https://opencollective.com/eslint" 710 | } 711 | }, 712 | "node_modules/eslint-config-dev": { 713 | "version": "3.3.1", 714 | "resolved": "https://registry.npmjs.org/eslint-config-dev/-/eslint-config-dev-3.3.1.tgz", 715 | "integrity": "sha512-qFf7Y8y655tpas8QJxVkJI2MgcyQ1VingfxUm/pkFq/4r9XxW3fBTlGHr9zIizEWnnkTCnSk6uJLB0pl8Z16gQ==", 716 | "dev": true, 717 | "license": "CC0-1.0", 718 | "peerDependencies": { 719 | "eslint": "^8" 720 | } 721 | }, 722 | "node_modules/eslint-scope": { 723 | "version": "7.2.2", 724 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", 725 | "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", 726 | "dev": true, 727 | "license": "BSD-2-Clause", 728 | "dependencies": { 729 | "esrecurse": "^4.3.0", 730 | "estraverse": "^5.2.0" 731 | }, 732 | "engines": { 733 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 734 | }, 735 | "funding": { 736 | "url": "https://opencollective.com/eslint" 737 | } 738 | }, 739 | "node_modules/eslint-visitor-keys": { 740 | "version": "3.4.3", 741 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", 742 | "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", 743 | "dev": true, 744 | "license": "Apache-2.0", 745 | "engines": { 746 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 747 | }, 748 | "funding": { 749 | "url": "https://opencollective.com/eslint" 750 | } 751 | }, 752 | "node_modules/espree": { 753 | "version": "9.6.1", 754 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", 755 | "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", 756 | "dev": true, 757 | "license": "BSD-2-Clause", 758 | "dependencies": { 759 | "acorn": "^8.9.0", 760 | "acorn-jsx": "^5.3.2", 761 | "eslint-visitor-keys": "^3.4.1" 762 | }, 763 | "engines": { 764 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 765 | }, 766 | "funding": { 767 | "url": "https://opencollective.com/eslint" 768 | } 769 | }, 770 | "node_modules/esquery": { 771 | "version": "1.6.0", 772 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", 773 | "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", 774 | "dev": true, 775 | "license": "BSD-3-Clause", 776 | "dependencies": { 777 | "estraverse": "^5.1.0" 778 | }, 779 | "engines": { 780 | "node": ">=0.10" 781 | } 782 | }, 783 | "node_modules/esrecurse": { 784 | "version": "4.3.0", 785 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 786 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 787 | "dev": true, 788 | "license": "BSD-2-Clause", 789 | "dependencies": { 790 | "estraverse": "^5.2.0" 791 | }, 792 | "engines": { 793 | "node": ">=4.0" 794 | } 795 | }, 796 | "node_modules/estraverse": { 797 | "version": "5.3.0", 798 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 799 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 800 | "dev": true, 801 | "license": "BSD-2-Clause", 802 | "engines": { 803 | "node": ">=4.0" 804 | } 805 | }, 806 | "node_modules/esutils": { 807 | "version": "2.0.3", 808 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 809 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 810 | "dev": true, 811 | "license": "BSD-2-Clause", 812 | "engines": { 813 | "node": ">=0.10.0" 814 | } 815 | }, 816 | "node_modules/fast-deep-equal": { 817 | "version": "3.1.3", 818 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 819 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 820 | "dev": true, 821 | "license": "MIT" 822 | }, 823 | "node_modules/fast-glob": { 824 | "version": "3.3.2", 825 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", 826 | "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", 827 | "dev": true, 828 | "license": "MIT", 829 | "dependencies": { 830 | "@nodelib/fs.stat": "^2.0.2", 831 | "@nodelib/fs.walk": "^1.2.3", 832 | "glob-parent": "^5.1.2", 833 | "merge2": "^1.3.0", 834 | "micromatch": "^4.0.4" 835 | }, 836 | "engines": { 837 | "node": ">=8.6.0" 838 | } 839 | }, 840 | "node_modules/fast-glob/node_modules/glob-parent": { 841 | "version": "5.1.2", 842 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 843 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 844 | "dev": true, 845 | "license": "ISC", 846 | "dependencies": { 847 | "is-glob": "^4.0.1" 848 | }, 849 | "engines": { 850 | "node": ">= 6" 851 | } 852 | }, 853 | "node_modules/fast-json-stable-stringify": { 854 | "version": "2.1.0", 855 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 856 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 857 | "dev": true, 858 | "license": "MIT" 859 | }, 860 | "node_modules/fast-levenshtein": { 861 | "version": "2.0.6", 862 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 863 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", 864 | "dev": true, 865 | "license": "MIT" 866 | }, 867 | "node_modules/fast-uri": { 868 | "version": "3.0.3", 869 | "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.3.tgz", 870 | "integrity": "sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==", 871 | "dev": true, 872 | "license": "BSD-3-Clause" 873 | }, 874 | "node_modules/fastest-levenshtein": { 875 | "version": "1.0.16", 876 | "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", 877 | "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", 878 | "dev": true, 879 | "license": "MIT", 880 | "engines": { 881 | "node": ">= 4.9.1" 882 | } 883 | }, 884 | "node_modules/fastq": { 885 | "version": "1.18.0", 886 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.18.0.tgz", 887 | "integrity": "sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==", 888 | "dev": true, 889 | "license": "ISC", 890 | "dependencies": { 891 | "reusify": "^1.0.4" 892 | } 893 | }, 894 | "node_modules/file-entry-cache": { 895 | "version": "6.0.1", 896 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 897 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 898 | "dev": true, 899 | "license": "MIT", 900 | "dependencies": { 901 | "flat-cache": "^3.0.4" 902 | }, 903 | "engines": { 904 | "node": "^10.12.0 || >=12.0.0" 905 | } 906 | }, 907 | "node_modules/fill-range": { 908 | "version": "7.1.1", 909 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", 910 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", 911 | "dev": true, 912 | "license": "MIT", 913 | "dependencies": { 914 | "to-regex-range": "^5.0.1" 915 | }, 916 | "engines": { 917 | "node": ">=8" 918 | } 919 | }, 920 | "node_modules/find-up": { 921 | "version": "5.0.0", 922 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 923 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 924 | "dev": true, 925 | "license": "MIT", 926 | "dependencies": { 927 | "locate-path": "^6.0.0", 928 | "path-exists": "^4.0.0" 929 | }, 930 | "engines": { 931 | "node": ">=10" 932 | }, 933 | "funding": { 934 | "url": "https://github.com/sponsors/sindresorhus" 935 | } 936 | }, 937 | "node_modules/flat-cache": { 938 | "version": "3.2.0", 939 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", 940 | "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", 941 | "dev": true, 942 | "license": "MIT", 943 | "dependencies": { 944 | "flatted": "^3.2.9", 945 | "keyv": "^4.5.3", 946 | "rimraf": "^3.0.2" 947 | }, 948 | "engines": { 949 | "node": "^10.12.0 || >=12.0.0" 950 | } 951 | }, 952 | "node_modules/flatted": { 953 | "version": "3.3.2", 954 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", 955 | "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", 956 | "dev": true, 957 | "license": "ISC" 958 | }, 959 | "node_modules/fs.realpath": { 960 | "version": "1.0.0", 961 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 962 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 963 | "dev": true, 964 | "license": "ISC" 965 | }, 966 | "node_modules/function-bind": { 967 | "version": "1.1.2", 968 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", 969 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", 970 | "license": "MIT", 971 | "funding": { 972 | "url": "https://github.com/sponsors/ljharb" 973 | } 974 | }, 975 | "node_modules/glob": { 976 | "version": "7.2.3", 977 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 978 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 979 | "deprecated": "Glob versions prior to v9 are no longer supported", 980 | "dev": true, 981 | "license": "ISC", 982 | "dependencies": { 983 | "fs.realpath": "^1.0.0", 984 | "inflight": "^1.0.4", 985 | "inherits": "2", 986 | "minimatch": "^3.1.1", 987 | "once": "^1.3.0", 988 | "path-is-absolute": "^1.0.0" 989 | }, 990 | "engines": { 991 | "node": "*" 992 | }, 993 | "funding": { 994 | "url": "https://github.com/sponsors/isaacs" 995 | } 996 | }, 997 | "node_modules/glob-parent": { 998 | "version": "6.0.2", 999 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 1000 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 1001 | "dev": true, 1002 | "license": "ISC", 1003 | "dependencies": { 1004 | "is-glob": "^4.0.3" 1005 | }, 1006 | "engines": { 1007 | "node": ">=10.13.0" 1008 | } 1009 | }, 1010 | "node_modules/global-modules": { 1011 | "version": "2.0.0", 1012 | "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", 1013 | "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", 1014 | "dev": true, 1015 | "license": "MIT", 1016 | "dependencies": { 1017 | "global-prefix": "^3.0.0" 1018 | }, 1019 | "engines": { 1020 | "node": ">=6" 1021 | } 1022 | }, 1023 | "node_modules/global-prefix": { 1024 | "version": "3.0.0", 1025 | "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", 1026 | "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", 1027 | "dev": true, 1028 | "license": "MIT", 1029 | "dependencies": { 1030 | "ini": "^1.3.5", 1031 | "kind-of": "^6.0.2", 1032 | "which": "^1.3.1" 1033 | }, 1034 | "engines": { 1035 | "node": ">=6" 1036 | } 1037 | }, 1038 | "node_modules/global-prefix/node_modules/which": { 1039 | "version": "1.3.1", 1040 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", 1041 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", 1042 | "dev": true, 1043 | "license": "ISC", 1044 | "dependencies": { 1045 | "isexe": "^2.0.0" 1046 | }, 1047 | "bin": { 1048 | "which": "bin/which" 1049 | } 1050 | }, 1051 | "node_modules/globals": { 1052 | "version": "13.24.0", 1053 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", 1054 | "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", 1055 | "dev": true, 1056 | "license": "MIT", 1057 | "dependencies": { 1058 | "type-fest": "^0.20.2" 1059 | }, 1060 | "engines": { 1061 | "node": ">=8" 1062 | }, 1063 | "funding": { 1064 | "url": "https://github.com/sponsors/sindresorhus" 1065 | } 1066 | }, 1067 | "node_modules/globby": { 1068 | "version": "11.1.0", 1069 | "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", 1070 | "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", 1071 | "dev": true, 1072 | "license": "MIT", 1073 | "dependencies": { 1074 | "array-union": "^2.1.0", 1075 | "dir-glob": "^3.0.1", 1076 | "fast-glob": "^3.2.9", 1077 | "ignore": "^5.2.0", 1078 | "merge2": "^1.4.1", 1079 | "slash": "^3.0.0" 1080 | }, 1081 | "engines": { 1082 | "node": ">=10" 1083 | }, 1084 | "funding": { 1085 | "url": "https://github.com/sponsors/sindresorhus" 1086 | } 1087 | }, 1088 | "node_modules/globjoin": { 1089 | "version": "0.1.4", 1090 | "resolved": "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz", 1091 | "integrity": "sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==", 1092 | "dev": true, 1093 | "license": "MIT" 1094 | }, 1095 | "node_modules/graphemer": { 1096 | "version": "1.4.0", 1097 | "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", 1098 | "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", 1099 | "dev": true, 1100 | "license": "MIT" 1101 | }, 1102 | "node_modules/has-flag": { 1103 | "version": "4.0.0", 1104 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1105 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 1106 | "dev": true, 1107 | "license": "MIT", 1108 | "engines": { 1109 | "node": ">=8" 1110 | } 1111 | }, 1112 | "node_modules/hasown": { 1113 | "version": "2.0.2", 1114 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", 1115 | "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", 1116 | "license": "MIT", 1117 | "dependencies": { 1118 | "function-bind": "^1.1.2" 1119 | }, 1120 | "engines": { 1121 | "node": ">= 0.4" 1122 | } 1123 | }, 1124 | "node_modules/html-tags": { 1125 | "version": "3.3.1", 1126 | "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.3.1.tgz", 1127 | "integrity": "sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==", 1128 | "dev": true, 1129 | "license": "MIT", 1130 | "engines": { 1131 | "node": ">=8" 1132 | }, 1133 | "funding": { 1134 | "url": "https://github.com/sponsors/sindresorhus" 1135 | } 1136 | }, 1137 | "node_modules/ignore": { 1138 | "version": "5.3.2", 1139 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", 1140 | "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", 1141 | "dev": true, 1142 | "license": "MIT", 1143 | "engines": { 1144 | "node": ">= 4" 1145 | } 1146 | }, 1147 | "node_modules/import-fresh": { 1148 | "version": "3.3.0", 1149 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 1150 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 1151 | "dev": true, 1152 | "license": "MIT", 1153 | "dependencies": { 1154 | "parent-module": "^1.0.0", 1155 | "resolve-from": "^4.0.0" 1156 | }, 1157 | "engines": { 1158 | "node": ">=6" 1159 | }, 1160 | "funding": { 1161 | "url": "https://github.com/sponsors/sindresorhus" 1162 | } 1163 | }, 1164 | "node_modules/imurmurhash": { 1165 | "version": "0.1.4", 1166 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1167 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", 1168 | "dev": true, 1169 | "license": "MIT", 1170 | "engines": { 1171 | "node": ">=0.8.19" 1172 | } 1173 | }, 1174 | "node_modules/inflight": { 1175 | "version": "1.0.6", 1176 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1177 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 1178 | "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", 1179 | "dev": true, 1180 | "license": "ISC", 1181 | "dependencies": { 1182 | "once": "^1.3.0", 1183 | "wrappy": "1" 1184 | } 1185 | }, 1186 | "node_modules/inherits": { 1187 | "version": "2.0.4", 1188 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1189 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1190 | "dev": true, 1191 | "license": "ISC" 1192 | }, 1193 | "node_modules/ini": { 1194 | "version": "1.3.8", 1195 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", 1196 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", 1197 | "dev": true, 1198 | "license": "ISC" 1199 | }, 1200 | "node_modules/is-arrayish": { 1201 | "version": "0.2.1", 1202 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", 1203 | "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", 1204 | "dev": true, 1205 | "license": "MIT" 1206 | }, 1207 | "node_modules/is-core-module": { 1208 | "version": "2.16.1", 1209 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", 1210 | "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", 1211 | "license": "MIT", 1212 | "dependencies": { 1213 | "hasown": "^2.0.2" 1214 | }, 1215 | "engines": { 1216 | "node": ">= 0.4" 1217 | }, 1218 | "funding": { 1219 | "url": "https://github.com/sponsors/ljharb" 1220 | } 1221 | }, 1222 | "node_modules/is-extglob": { 1223 | "version": "2.1.1", 1224 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1225 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 1226 | "dev": true, 1227 | "license": "MIT", 1228 | "engines": { 1229 | "node": ">=0.10.0" 1230 | } 1231 | }, 1232 | "node_modules/is-fullwidth-code-point": { 1233 | "version": "3.0.0", 1234 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1235 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 1236 | "dev": true, 1237 | "license": "MIT", 1238 | "engines": { 1239 | "node": ">=8" 1240 | } 1241 | }, 1242 | "node_modules/is-glob": { 1243 | "version": "4.0.3", 1244 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1245 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1246 | "dev": true, 1247 | "license": "MIT", 1248 | "dependencies": { 1249 | "is-extglob": "^2.1.1" 1250 | }, 1251 | "engines": { 1252 | "node": ">=0.10.0" 1253 | } 1254 | }, 1255 | "node_modules/is-number": { 1256 | "version": "7.0.0", 1257 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1258 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1259 | "dev": true, 1260 | "license": "MIT", 1261 | "engines": { 1262 | "node": ">=0.12.0" 1263 | } 1264 | }, 1265 | "node_modules/is-path-inside": { 1266 | "version": "3.0.3", 1267 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", 1268 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", 1269 | "dev": true, 1270 | "license": "MIT", 1271 | "engines": { 1272 | "node": ">=8" 1273 | } 1274 | }, 1275 | "node_modules/is-plain-object": { 1276 | "version": "5.0.0", 1277 | "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", 1278 | "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", 1279 | "dev": true, 1280 | "license": "MIT", 1281 | "engines": { 1282 | "node": ">=0.10.0" 1283 | } 1284 | }, 1285 | "node_modules/isexe": { 1286 | "version": "2.0.0", 1287 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1288 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 1289 | "dev": true, 1290 | "license": "ISC" 1291 | }, 1292 | "node_modules/js-tokens": { 1293 | "version": "4.0.0", 1294 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 1295 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", 1296 | "dev": true, 1297 | "license": "MIT" 1298 | }, 1299 | "node_modules/js-yaml": { 1300 | "version": "4.1.0", 1301 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 1302 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 1303 | "dev": true, 1304 | "license": "MIT", 1305 | "dependencies": { 1306 | "argparse": "^2.0.1" 1307 | }, 1308 | "bin": { 1309 | "js-yaml": "bin/js-yaml.js" 1310 | } 1311 | }, 1312 | "node_modules/json-buffer": { 1313 | "version": "3.0.1", 1314 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", 1315 | "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", 1316 | "dev": true, 1317 | "license": "MIT" 1318 | }, 1319 | "node_modules/json-parse-even-better-errors": { 1320 | "version": "2.3.1", 1321 | "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", 1322 | "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", 1323 | "dev": true, 1324 | "license": "MIT" 1325 | }, 1326 | "node_modules/json-schema-traverse": { 1327 | "version": "0.4.1", 1328 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1329 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 1330 | "dev": true, 1331 | "license": "MIT" 1332 | }, 1333 | "node_modules/json-stable-stringify-without-jsonify": { 1334 | "version": "1.0.1", 1335 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 1336 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", 1337 | "dev": true, 1338 | "license": "MIT" 1339 | }, 1340 | "node_modules/keyv": { 1341 | "version": "4.5.4", 1342 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", 1343 | "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", 1344 | "dev": true, 1345 | "license": "MIT", 1346 | "dependencies": { 1347 | "json-buffer": "3.0.1" 1348 | } 1349 | }, 1350 | "node_modules/kind-of": { 1351 | "version": "6.0.3", 1352 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", 1353 | "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", 1354 | "dev": true, 1355 | "license": "MIT", 1356 | "engines": { 1357 | "node": ">=0.10.0" 1358 | } 1359 | }, 1360 | "node_modules/known-css-properties": { 1361 | "version": "0.35.0", 1362 | "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.35.0.tgz", 1363 | "integrity": "sha512-a/RAk2BfKk+WFGhhOCAYqSiFLc34k8Mt/6NWRI4joER0EYUzXIcFivjjnoD3+XU1DggLn/tZc3DOAgke7l8a4A==", 1364 | "dev": true, 1365 | "license": "MIT" 1366 | }, 1367 | "node_modules/levn": { 1368 | "version": "0.4.1", 1369 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 1370 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 1371 | "dev": true, 1372 | "license": "MIT", 1373 | "dependencies": { 1374 | "prelude-ls": "^1.2.1", 1375 | "type-check": "~0.4.0" 1376 | }, 1377 | "engines": { 1378 | "node": ">= 0.8.0" 1379 | } 1380 | }, 1381 | "node_modules/lines-and-columns": { 1382 | "version": "1.2.4", 1383 | "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", 1384 | "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", 1385 | "dev": true, 1386 | "license": "MIT" 1387 | }, 1388 | "node_modules/locate-path": { 1389 | "version": "6.0.0", 1390 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 1391 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 1392 | "dev": true, 1393 | "license": "MIT", 1394 | "dependencies": { 1395 | "p-locate": "^5.0.0" 1396 | }, 1397 | "engines": { 1398 | "node": ">=10" 1399 | }, 1400 | "funding": { 1401 | "url": "https://github.com/sponsors/sindresorhus" 1402 | } 1403 | }, 1404 | "node_modules/lodash.merge": { 1405 | "version": "4.6.2", 1406 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 1407 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 1408 | "dev": true, 1409 | "license": "MIT" 1410 | }, 1411 | "node_modules/lodash.truncate": { 1412 | "version": "4.4.2", 1413 | "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", 1414 | "integrity": "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==", 1415 | "dev": true, 1416 | "license": "MIT" 1417 | }, 1418 | "node_modules/mathml-tag-names": { 1419 | "version": "2.1.3", 1420 | "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz", 1421 | "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==", 1422 | "dev": true, 1423 | "license": "MIT", 1424 | "funding": { 1425 | "type": "github", 1426 | "url": "https://github.com/sponsors/wooorm" 1427 | } 1428 | }, 1429 | "node_modules/mdn-data": { 1430 | "version": "2.12.2", 1431 | "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.12.2.tgz", 1432 | "integrity": "sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==", 1433 | "dev": true, 1434 | "license": "CC0-1.0" 1435 | }, 1436 | "node_modules/meow": { 1437 | "version": "13.2.0", 1438 | "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", 1439 | "integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==", 1440 | "dev": true, 1441 | "license": "MIT", 1442 | "engines": { 1443 | "node": ">=18" 1444 | }, 1445 | "funding": { 1446 | "url": "https://github.com/sponsors/sindresorhus" 1447 | } 1448 | }, 1449 | "node_modules/merge2": { 1450 | "version": "1.4.1", 1451 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 1452 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 1453 | "dev": true, 1454 | "license": "MIT", 1455 | "engines": { 1456 | "node": ">= 8" 1457 | } 1458 | }, 1459 | "node_modules/micromatch": { 1460 | "version": "4.0.8", 1461 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", 1462 | "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", 1463 | "dev": true, 1464 | "license": "MIT", 1465 | "dependencies": { 1466 | "braces": "^3.0.3", 1467 | "picomatch": "^2.3.1" 1468 | }, 1469 | "engines": { 1470 | "node": ">=8.6" 1471 | } 1472 | }, 1473 | "node_modules/minimatch": { 1474 | "version": "3.1.2", 1475 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1476 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1477 | "dev": true, 1478 | "license": "ISC", 1479 | "dependencies": { 1480 | "brace-expansion": "^1.1.7" 1481 | }, 1482 | "engines": { 1483 | "node": "*" 1484 | } 1485 | }, 1486 | "node_modules/ms": { 1487 | "version": "2.1.3", 1488 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1489 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 1490 | "dev": true, 1491 | "license": "MIT" 1492 | }, 1493 | "node_modules/nanoid": { 1494 | "version": "3.3.8", 1495 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", 1496 | "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", 1497 | "dev": true, 1498 | "funding": [ 1499 | { 1500 | "type": "github", 1501 | "url": "https://github.com/sponsors/ai" 1502 | } 1503 | ], 1504 | "license": "MIT", 1505 | "bin": { 1506 | "nanoid": "bin/nanoid.cjs" 1507 | }, 1508 | "engines": { 1509 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" 1510 | } 1511 | }, 1512 | "node_modules/natural-compare": { 1513 | "version": "1.4.0", 1514 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 1515 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", 1516 | "dev": true, 1517 | "license": "MIT" 1518 | }, 1519 | "node_modules/normalize-path": { 1520 | "version": "3.0.0", 1521 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 1522 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 1523 | "dev": true, 1524 | "license": "MIT", 1525 | "engines": { 1526 | "node": ">=0.10.0" 1527 | } 1528 | }, 1529 | "node_modules/once": { 1530 | "version": "1.4.0", 1531 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1532 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 1533 | "dev": true, 1534 | "license": "ISC", 1535 | "dependencies": { 1536 | "wrappy": "1" 1537 | } 1538 | }, 1539 | "node_modules/optionator": { 1540 | "version": "0.9.4", 1541 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", 1542 | "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", 1543 | "dev": true, 1544 | "license": "MIT", 1545 | "dependencies": { 1546 | "deep-is": "^0.1.3", 1547 | "fast-levenshtein": "^2.0.6", 1548 | "levn": "^0.4.1", 1549 | "prelude-ls": "^1.2.1", 1550 | "type-check": "^0.4.0", 1551 | "word-wrap": "^1.2.5" 1552 | }, 1553 | "engines": { 1554 | "node": ">= 0.8.0" 1555 | } 1556 | }, 1557 | "node_modules/p-limit": { 1558 | "version": "3.1.0", 1559 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 1560 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 1561 | "dev": true, 1562 | "license": "MIT", 1563 | "dependencies": { 1564 | "yocto-queue": "^0.1.0" 1565 | }, 1566 | "engines": { 1567 | "node": ">=10" 1568 | }, 1569 | "funding": { 1570 | "url": "https://github.com/sponsors/sindresorhus" 1571 | } 1572 | }, 1573 | "node_modules/p-locate": { 1574 | "version": "5.0.0", 1575 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 1576 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 1577 | "dev": true, 1578 | "license": "MIT", 1579 | "dependencies": { 1580 | "p-limit": "^3.0.2" 1581 | }, 1582 | "engines": { 1583 | "node": ">=10" 1584 | }, 1585 | "funding": { 1586 | "url": "https://github.com/sponsors/sindresorhus" 1587 | } 1588 | }, 1589 | "node_modules/parent-module": { 1590 | "version": "1.0.1", 1591 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 1592 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 1593 | "dev": true, 1594 | "license": "MIT", 1595 | "dependencies": { 1596 | "callsites": "^3.0.0" 1597 | }, 1598 | "engines": { 1599 | "node": ">=6" 1600 | } 1601 | }, 1602 | "node_modules/parse-json": { 1603 | "version": "5.2.0", 1604 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", 1605 | "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", 1606 | "dev": true, 1607 | "license": "MIT", 1608 | "dependencies": { 1609 | "@babel/code-frame": "^7.0.0", 1610 | "error-ex": "^1.3.1", 1611 | "json-parse-even-better-errors": "^2.3.0", 1612 | "lines-and-columns": "^1.1.6" 1613 | }, 1614 | "engines": { 1615 | "node": ">=8" 1616 | }, 1617 | "funding": { 1618 | "url": "https://github.com/sponsors/sindresorhus" 1619 | } 1620 | }, 1621 | "node_modules/path-exists": { 1622 | "version": "4.0.0", 1623 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 1624 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 1625 | "dev": true, 1626 | "license": "MIT", 1627 | "engines": { 1628 | "node": ">=8" 1629 | } 1630 | }, 1631 | "node_modules/path-is-absolute": { 1632 | "version": "1.0.1", 1633 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1634 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 1635 | "dev": true, 1636 | "license": "MIT", 1637 | "engines": { 1638 | "node": ">=0.10.0" 1639 | } 1640 | }, 1641 | "node_modules/path-key": { 1642 | "version": "3.1.1", 1643 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 1644 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 1645 | "dev": true, 1646 | "license": "MIT", 1647 | "engines": { 1648 | "node": ">=8" 1649 | } 1650 | }, 1651 | "node_modules/path-parse": { 1652 | "version": "1.0.7", 1653 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 1654 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 1655 | "license": "MIT" 1656 | }, 1657 | "node_modules/path-type": { 1658 | "version": "4.0.0", 1659 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 1660 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 1661 | "dev": true, 1662 | "license": "MIT", 1663 | "engines": { 1664 | "node": ">=8" 1665 | } 1666 | }, 1667 | "node_modules/picocolors": { 1668 | "version": "1.1.1", 1669 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", 1670 | "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", 1671 | "dev": true, 1672 | "license": "ISC" 1673 | }, 1674 | "node_modules/picomatch": { 1675 | "version": "2.3.1", 1676 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 1677 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 1678 | "dev": true, 1679 | "license": "MIT", 1680 | "engines": { 1681 | "node": ">=8.6" 1682 | }, 1683 | "funding": { 1684 | "url": "https://github.com/sponsors/jonschlinkert" 1685 | } 1686 | }, 1687 | "node_modules/postcss": { 1688 | "version": "8.4.49", 1689 | "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", 1690 | "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", 1691 | "dev": true, 1692 | "funding": [ 1693 | { 1694 | "type": "opencollective", 1695 | "url": "https://opencollective.com/postcss/" 1696 | }, 1697 | { 1698 | "type": "tidelift", 1699 | "url": "https://tidelift.com/funding/github/npm/postcss" 1700 | }, 1701 | { 1702 | "type": "github", 1703 | "url": "https://github.com/sponsors/ai" 1704 | } 1705 | ], 1706 | "license": "MIT", 1707 | "dependencies": { 1708 | "nanoid": "^3.3.7", 1709 | "picocolors": "^1.1.1", 1710 | "source-map-js": "^1.2.1" 1711 | }, 1712 | "engines": { 1713 | "node": "^10 || ^12 || >=14" 1714 | } 1715 | }, 1716 | "node_modules/postcss-resolve-nested-selector": { 1717 | "version": "0.1.6", 1718 | "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.6.tgz", 1719 | "integrity": "sha512-0sglIs9Wmkzbr8lQwEyIzlDOOC9bGmfVKcJTaxv3vMmd3uo4o4DerC3En0bnmgceeql9BfC8hRkp7cg0fjdVqw==", 1720 | "dev": true, 1721 | "license": "MIT" 1722 | }, 1723 | "node_modules/postcss-safe-parser": { 1724 | "version": "7.0.1", 1725 | "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-7.0.1.tgz", 1726 | "integrity": "sha512-0AioNCJZ2DPYz5ABT6bddIqlhgwhpHZ/l65YAYo0BCIn0xiDpsnTHz0gnoTGk0OXZW0JRs+cDwL8u/teRdz+8A==", 1727 | "dev": true, 1728 | "funding": [ 1729 | { 1730 | "type": "opencollective", 1731 | "url": "https://opencollective.com/postcss/" 1732 | }, 1733 | { 1734 | "type": "tidelift", 1735 | "url": "https://tidelift.com/funding/github/npm/postcss-safe-parser" 1736 | }, 1737 | { 1738 | "type": "github", 1739 | "url": "https://github.com/sponsors/ai" 1740 | } 1741 | ], 1742 | "license": "MIT", 1743 | "engines": { 1744 | "node": ">=18.0" 1745 | }, 1746 | "peerDependencies": { 1747 | "postcss": "^8.4.31" 1748 | } 1749 | }, 1750 | "node_modules/postcss-selector-parser": { 1751 | "version": "7.0.0", 1752 | "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.0.0.tgz", 1753 | "integrity": "sha512-9RbEr1Y7FFfptd/1eEdntyjMwLeghW1bHX9GWjXo19vx4ytPQhANltvVxDggzJl7mnWM+dX28kb6cyS/4iQjlQ==", 1754 | "dev": true, 1755 | "license": "MIT", 1756 | "dependencies": { 1757 | "cssesc": "^3.0.0", 1758 | "util-deprecate": "^1.0.2" 1759 | }, 1760 | "engines": { 1761 | "node": ">=4" 1762 | } 1763 | }, 1764 | "node_modules/postcss-value-parser": { 1765 | "version": "4.2.0", 1766 | "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", 1767 | "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", 1768 | "license": "MIT" 1769 | }, 1770 | "node_modules/prelude-ls": { 1771 | "version": "1.2.1", 1772 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 1773 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 1774 | "dev": true, 1775 | "license": "MIT", 1776 | "engines": { 1777 | "node": ">= 0.8.0" 1778 | } 1779 | }, 1780 | "node_modules/punycode": { 1781 | "version": "2.3.1", 1782 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", 1783 | "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", 1784 | "dev": true, 1785 | "license": "MIT", 1786 | "engines": { 1787 | "node": ">=6" 1788 | } 1789 | }, 1790 | "node_modules/queue-microtask": { 1791 | "version": "1.2.3", 1792 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 1793 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 1794 | "dev": true, 1795 | "funding": [ 1796 | { 1797 | "type": "github", 1798 | "url": "https://github.com/sponsors/feross" 1799 | }, 1800 | { 1801 | "type": "patreon", 1802 | "url": "https://www.patreon.com/feross" 1803 | }, 1804 | { 1805 | "type": "consulting", 1806 | "url": "https://feross.org/support" 1807 | } 1808 | ], 1809 | "license": "MIT" 1810 | }, 1811 | "node_modules/require-from-string": { 1812 | "version": "2.0.2", 1813 | "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", 1814 | "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", 1815 | "dev": true, 1816 | "license": "MIT", 1817 | "engines": { 1818 | "node": ">=0.10.0" 1819 | } 1820 | }, 1821 | "node_modules/resolve": { 1822 | "version": "1.22.10", 1823 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", 1824 | "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", 1825 | "license": "MIT", 1826 | "dependencies": { 1827 | "is-core-module": "^2.16.0", 1828 | "path-parse": "^1.0.7", 1829 | "supports-preserve-symlinks-flag": "^1.0.0" 1830 | }, 1831 | "bin": { 1832 | "resolve": "bin/resolve" 1833 | }, 1834 | "engines": { 1835 | "node": ">= 0.4" 1836 | }, 1837 | "funding": { 1838 | "url": "https://github.com/sponsors/ljharb" 1839 | } 1840 | }, 1841 | "node_modules/resolve-from": { 1842 | "version": "4.0.0", 1843 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 1844 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 1845 | "dev": true, 1846 | "license": "MIT", 1847 | "engines": { 1848 | "node": ">=4" 1849 | } 1850 | }, 1851 | "node_modules/reusify": { 1852 | "version": "1.0.4", 1853 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 1854 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 1855 | "dev": true, 1856 | "license": "MIT", 1857 | "engines": { 1858 | "iojs": ">=1.0.0", 1859 | "node": ">=0.10.0" 1860 | } 1861 | }, 1862 | "node_modules/rimraf": { 1863 | "version": "3.0.2", 1864 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 1865 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 1866 | "deprecated": "Rimraf versions prior to v4 are no longer supported", 1867 | "dev": true, 1868 | "license": "ISC", 1869 | "dependencies": { 1870 | "glob": "^7.1.3" 1871 | }, 1872 | "bin": { 1873 | "rimraf": "bin.js" 1874 | }, 1875 | "funding": { 1876 | "url": "https://github.com/sponsors/isaacs" 1877 | } 1878 | }, 1879 | "node_modules/run-parallel": { 1880 | "version": "1.2.0", 1881 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 1882 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 1883 | "dev": true, 1884 | "funding": [ 1885 | { 1886 | "type": "github", 1887 | "url": "https://github.com/sponsors/feross" 1888 | }, 1889 | { 1890 | "type": "patreon", 1891 | "url": "https://www.patreon.com/feross" 1892 | }, 1893 | { 1894 | "type": "consulting", 1895 | "url": "https://feross.org/support" 1896 | } 1897 | ], 1898 | "license": "MIT", 1899 | "dependencies": { 1900 | "queue-microtask": "^1.2.2" 1901 | } 1902 | }, 1903 | "node_modules/shebang-command": { 1904 | "version": "2.0.0", 1905 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 1906 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 1907 | "dev": true, 1908 | "license": "MIT", 1909 | "dependencies": { 1910 | "shebang-regex": "^3.0.0" 1911 | }, 1912 | "engines": { 1913 | "node": ">=8" 1914 | } 1915 | }, 1916 | "node_modules/shebang-regex": { 1917 | "version": "3.0.0", 1918 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 1919 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 1920 | "dev": true, 1921 | "license": "MIT", 1922 | "engines": { 1923 | "node": ">=8" 1924 | } 1925 | }, 1926 | "node_modules/signal-exit": { 1927 | "version": "4.1.0", 1928 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", 1929 | "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", 1930 | "dev": true, 1931 | "license": "ISC", 1932 | "engines": { 1933 | "node": ">=14" 1934 | }, 1935 | "funding": { 1936 | "url": "https://github.com/sponsors/isaacs" 1937 | } 1938 | }, 1939 | "node_modules/slash": { 1940 | "version": "3.0.0", 1941 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 1942 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 1943 | "dev": true, 1944 | "license": "MIT", 1945 | "engines": { 1946 | "node": ">=8" 1947 | } 1948 | }, 1949 | "node_modules/slice-ansi": { 1950 | "version": "4.0.0", 1951 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", 1952 | "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", 1953 | "dev": true, 1954 | "license": "MIT", 1955 | "dependencies": { 1956 | "ansi-styles": "^4.0.0", 1957 | "astral-regex": "^2.0.0", 1958 | "is-fullwidth-code-point": "^3.0.0" 1959 | }, 1960 | "engines": { 1961 | "node": ">=10" 1962 | }, 1963 | "funding": { 1964 | "url": "https://github.com/chalk/slice-ansi?sponsor=1" 1965 | } 1966 | }, 1967 | "node_modules/source-map-js": { 1968 | "version": "1.2.1", 1969 | "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", 1970 | "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", 1971 | "dev": true, 1972 | "license": "BSD-3-Clause", 1973 | "engines": { 1974 | "node": ">=0.10.0" 1975 | } 1976 | }, 1977 | "node_modules/string-width": { 1978 | "version": "4.2.3", 1979 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 1980 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 1981 | "dev": true, 1982 | "license": "MIT", 1983 | "dependencies": { 1984 | "emoji-regex": "^8.0.0", 1985 | "is-fullwidth-code-point": "^3.0.0", 1986 | "strip-ansi": "^6.0.1" 1987 | }, 1988 | "engines": { 1989 | "node": ">=8" 1990 | } 1991 | }, 1992 | "node_modules/strip-ansi": { 1993 | "version": "6.0.1", 1994 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1995 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1996 | "dev": true, 1997 | "license": "MIT", 1998 | "dependencies": { 1999 | "ansi-regex": "^5.0.1" 2000 | }, 2001 | "engines": { 2002 | "node": ">=8" 2003 | } 2004 | }, 2005 | "node_modules/strip-json-comments": { 2006 | "version": "3.1.1", 2007 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 2008 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 2009 | "dev": true, 2010 | "license": "MIT", 2011 | "engines": { 2012 | "node": ">=8" 2013 | }, 2014 | "funding": { 2015 | "url": "https://github.com/sponsors/sindresorhus" 2016 | } 2017 | }, 2018 | "node_modules/stylelint": { 2019 | "version": "16.12.0", 2020 | "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.12.0.tgz", 2021 | "integrity": "sha512-F8zZ3L/rBpuoBZRvI4JVT20ZanPLXfQLzMOZg1tzPflRVh9mKpOZ8qcSIhh1my3FjAjZWG4T2POwGnmn6a6hbg==", 2022 | "dev": true, 2023 | "funding": [ 2024 | { 2025 | "type": "opencollective", 2026 | "url": "https://opencollective.com/stylelint" 2027 | }, 2028 | { 2029 | "type": "github", 2030 | "url": "https://github.com/sponsors/stylelint" 2031 | } 2032 | ], 2033 | "license": "MIT", 2034 | "dependencies": { 2035 | "@csstools/css-parser-algorithms": "^3.0.4", 2036 | "@csstools/css-tokenizer": "^3.0.3", 2037 | "@csstools/media-query-list-parser": "^4.0.2", 2038 | "@csstools/selector-specificity": "^5.0.0", 2039 | "@dual-bundle/import-meta-resolve": "^4.1.0", 2040 | "balanced-match": "^2.0.0", 2041 | "colord": "^2.9.3", 2042 | "cosmiconfig": "^9.0.0", 2043 | "css-functions-list": "^3.2.3", 2044 | "css-tree": "^3.0.1", 2045 | "debug": "^4.3.7", 2046 | "fast-glob": "^3.3.2", 2047 | "fastest-levenshtein": "^1.0.16", 2048 | "file-entry-cache": "^9.1.0", 2049 | "global-modules": "^2.0.0", 2050 | "globby": "^11.1.0", 2051 | "globjoin": "^0.1.4", 2052 | "html-tags": "^3.3.1", 2053 | "ignore": "^6.0.2", 2054 | "imurmurhash": "^0.1.4", 2055 | "is-plain-object": "^5.0.0", 2056 | "known-css-properties": "^0.35.0", 2057 | "mathml-tag-names": "^2.1.3", 2058 | "meow": "^13.2.0", 2059 | "micromatch": "^4.0.8", 2060 | "normalize-path": "^3.0.0", 2061 | "picocolors": "^1.1.1", 2062 | "postcss": "^8.4.49", 2063 | "postcss-resolve-nested-selector": "^0.1.6", 2064 | "postcss-safe-parser": "^7.0.1", 2065 | "postcss-selector-parser": "^7.0.0", 2066 | "postcss-value-parser": "^4.2.0", 2067 | "resolve-from": "^5.0.0", 2068 | "string-width": "^4.2.3", 2069 | "supports-hyperlinks": "^3.1.0", 2070 | "svg-tags": "^1.0.0", 2071 | "table": "^6.9.0", 2072 | "write-file-atomic": "^5.0.1" 2073 | }, 2074 | "bin": { 2075 | "stylelint": "bin/stylelint.mjs" 2076 | }, 2077 | "engines": { 2078 | "node": ">=18.12.0" 2079 | } 2080 | }, 2081 | "node_modules/stylelint-test-rule-node": { 2082 | "version": "0.2.2", 2083 | "resolved": "https://registry.npmjs.org/stylelint-test-rule-node/-/stylelint-test-rule-node-0.2.2.tgz", 2084 | "integrity": "sha512-muMgHkW0rpGwIHuL+dgxiWgojcPNByNiBHm5+NqZT/vUAWo0QZYY1jCDVbw2G404LFpzHDd0BZ4JEMKOIw/Dlw==", 2085 | "dev": true, 2086 | "funding": [ 2087 | { 2088 | "type": "opencollective", 2089 | "url": "https://opencollective.com/stylelint" 2090 | }, 2091 | { 2092 | "type": "github", 2093 | "url": "https://github.com/sponsors/stylelint" 2094 | } 2095 | ], 2096 | "license": "MIT", 2097 | "engines": { 2098 | "node": ">=18.12.0" 2099 | }, 2100 | "peerDependencies": { 2101 | "stylelint": "^16.0.1" 2102 | } 2103 | }, 2104 | "node_modules/stylelint/node_modules/balanced-match": { 2105 | "version": "2.0.0", 2106 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", 2107 | "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==", 2108 | "dev": true, 2109 | "license": "MIT" 2110 | }, 2111 | "node_modules/stylelint/node_modules/file-entry-cache": { 2112 | "version": "9.1.0", 2113 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-9.1.0.tgz", 2114 | "integrity": "sha512-/pqPFG+FdxWQj+/WSuzXSDaNzxgTLr/OrR1QuqfEZzDakpdYE70PwUxL7BPUa8hpjbvY1+qvCl8k+8Tq34xJgg==", 2115 | "dev": true, 2116 | "license": "MIT", 2117 | "dependencies": { 2118 | "flat-cache": "^5.0.0" 2119 | }, 2120 | "engines": { 2121 | "node": ">=18" 2122 | } 2123 | }, 2124 | "node_modules/stylelint/node_modules/flat-cache": { 2125 | "version": "5.0.0", 2126 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-5.0.0.tgz", 2127 | "integrity": "sha512-JrqFmyUl2PnPi1OvLyTVHnQvwQ0S+e6lGSwu8OkAZlSaNIZciTY2H/cOOROxsBA1m/LZNHDsqAgDZt6akWcjsQ==", 2128 | "dev": true, 2129 | "license": "MIT", 2130 | "dependencies": { 2131 | "flatted": "^3.3.1", 2132 | "keyv": "^4.5.4" 2133 | }, 2134 | "engines": { 2135 | "node": ">=18" 2136 | } 2137 | }, 2138 | "node_modules/stylelint/node_modules/ignore": { 2139 | "version": "6.0.2", 2140 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-6.0.2.tgz", 2141 | "integrity": "sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A==", 2142 | "dev": true, 2143 | "license": "MIT", 2144 | "engines": { 2145 | "node": ">= 4" 2146 | } 2147 | }, 2148 | "node_modules/stylelint/node_modules/resolve-from": { 2149 | "version": "5.0.0", 2150 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", 2151 | "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", 2152 | "dev": true, 2153 | "license": "MIT", 2154 | "engines": { 2155 | "node": ">=8" 2156 | } 2157 | }, 2158 | "node_modules/supports-color": { 2159 | "version": "7.2.0", 2160 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 2161 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 2162 | "dev": true, 2163 | "license": "MIT", 2164 | "dependencies": { 2165 | "has-flag": "^4.0.0" 2166 | }, 2167 | "engines": { 2168 | "node": ">=8" 2169 | } 2170 | }, 2171 | "node_modules/supports-hyperlinks": { 2172 | "version": "3.1.0", 2173 | "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.1.0.tgz", 2174 | "integrity": "sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==", 2175 | "dev": true, 2176 | "license": "MIT", 2177 | "dependencies": { 2178 | "has-flag": "^4.0.0", 2179 | "supports-color": "^7.0.0" 2180 | }, 2181 | "engines": { 2182 | "node": ">=14.18" 2183 | }, 2184 | "funding": { 2185 | "url": "https://github.com/sponsors/sindresorhus" 2186 | } 2187 | }, 2188 | "node_modules/supports-preserve-symlinks-flag": { 2189 | "version": "1.0.0", 2190 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 2191 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 2192 | "license": "MIT", 2193 | "engines": { 2194 | "node": ">= 0.4" 2195 | }, 2196 | "funding": { 2197 | "url": "https://github.com/sponsors/ljharb" 2198 | } 2199 | }, 2200 | "node_modules/svg-tags": { 2201 | "version": "1.0.0", 2202 | "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz", 2203 | "integrity": "sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==", 2204 | "dev": true 2205 | }, 2206 | "node_modules/table": { 2207 | "version": "6.9.0", 2208 | "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", 2209 | "integrity": "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==", 2210 | "dev": true, 2211 | "license": "BSD-3-Clause", 2212 | "dependencies": { 2213 | "ajv": "^8.0.1", 2214 | "lodash.truncate": "^4.4.2", 2215 | "slice-ansi": "^4.0.0", 2216 | "string-width": "^4.2.3", 2217 | "strip-ansi": "^6.0.1" 2218 | }, 2219 | "engines": { 2220 | "node": ">=10.0.0" 2221 | } 2222 | }, 2223 | "node_modules/table/node_modules/ajv": { 2224 | "version": "8.17.1", 2225 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", 2226 | "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", 2227 | "dev": true, 2228 | "license": "MIT", 2229 | "dependencies": { 2230 | "fast-deep-equal": "^3.1.3", 2231 | "fast-uri": "^3.0.1", 2232 | "json-schema-traverse": "^1.0.0", 2233 | "require-from-string": "^2.0.2" 2234 | }, 2235 | "funding": { 2236 | "type": "github", 2237 | "url": "https://github.com/sponsors/epoberezkin" 2238 | } 2239 | }, 2240 | "node_modules/table/node_modules/json-schema-traverse": { 2241 | "version": "1.0.0", 2242 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", 2243 | "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", 2244 | "dev": true, 2245 | "license": "MIT" 2246 | }, 2247 | "node_modules/text-table": { 2248 | "version": "0.2.0", 2249 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 2250 | "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", 2251 | "dev": true, 2252 | "license": "MIT" 2253 | }, 2254 | "node_modules/to-regex-range": { 2255 | "version": "5.0.1", 2256 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 2257 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 2258 | "dev": true, 2259 | "license": "MIT", 2260 | "dependencies": { 2261 | "is-number": "^7.0.0" 2262 | }, 2263 | "engines": { 2264 | "node": ">=8.0" 2265 | } 2266 | }, 2267 | "node_modules/type-check": { 2268 | "version": "0.4.0", 2269 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 2270 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 2271 | "dev": true, 2272 | "license": "MIT", 2273 | "dependencies": { 2274 | "prelude-ls": "^1.2.1" 2275 | }, 2276 | "engines": { 2277 | "node": ">= 0.8.0" 2278 | } 2279 | }, 2280 | "node_modules/type-fest": { 2281 | "version": "0.20.2", 2282 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 2283 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 2284 | "dev": true, 2285 | "license": "(MIT OR CC0-1.0)", 2286 | "engines": { 2287 | "node": ">=10" 2288 | }, 2289 | "funding": { 2290 | "url": "https://github.com/sponsors/sindresorhus" 2291 | } 2292 | }, 2293 | "node_modules/uri-js": { 2294 | "version": "4.4.1", 2295 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 2296 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 2297 | "dev": true, 2298 | "license": "BSD-2-Clause", 2299 | "dependencies": { 2300 | "punycode": "^2.1.0" 2301 | } 2302 | }, 2303 | "node_modules/util-deprecate": { 2304 | "version": "1.0.2", 2305 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 2306 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", 2307 | "dev": true, 2308 | "license": "MIT" 2309 | }, 2310 | "node_modules/which": { 2311 | "version": "2.0.2", 2312 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 2313 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 2314 | "dev": true, 2315 | "license": "ISC", 2316 | "dependencies": { 2317 | "isexe": "^2.0.0" 2318 | }, 2319 | "bin": { 2320 | "node-which": "bin/node-which" 2321 | }, 2322 | "engines": { 2323 | "node": ">= 8" 2324 | } 2325 | }, 2326 | "node_modules/word-wrap": { 2327 | "version": "1.2.5", 2328 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", 2329 | "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", 2330 | "dev": true, 2331 | "license": "MIT", 2332 | "engines": { 2333 | "node": ">=0.10.0" 2334 | } 2335 | }, 2336 | "node_modules/wrappy": { 2337 | "version": "1.0.2", 2338 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 2339 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 2340 | "dev": true, 2341 | "license": "ISC" 2342 | }, 2343 | "node_modules/write-file-atomic": { 2344 | "version": "5.0.1", 2345 | "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", 2346 | "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", 2347 | "dev": true, 2348 | "license": "ISC", 2349 | "dependencies": { 2350 | "imurmurhash": "^0.1.4", 2351 | "signal-exit": "^4.0.1" 2352 | }, 2353 | "engines": { 2354 | "node": "^14.17.0 || ^16.13.0 || >=18.0.0" 2355 | } 2356 | }, 2357 | "node_modules/yocto-queue": { 2358 | "version": "0.1.0", 2359 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 2360 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 2361 | "dev": true, 2362 | "license": "MIT", 2363 | "engines": { 2364 | "node": ">=10" 2365 | }, 2366 | "funding": { 2367 | "url": "https://github.com/sponsors/sindresorhus" 2368 | } 2369 | } 2370 | } 2371 | } 2372 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "stylelint-value-no-unknown-custom-properties", 3 | "version": "6.0.1", 4 | "description": "A stylelint rule to disallow usage of unknown custom properties", 5 | "author": "Jonathan Neal ", 6 | "license": "CC0-1.0", 7 | "repository": "csstools/stylelint-value-no-unknown-custom-properties", 8 | "homepage": "https://github.com/csstools/stylelint-value-no-unknown-custom-properties#readme", 9 | "bugs": "https://github.com/csstools/stylelint-value-no-unknown-custom-properties/issues", 10 | "type": "module", 11 | "main": "src/index.mjs", 12 | "files": [ 13 | "src" 14 | ], 15 | "scripts": { 16 | "prepublishOnly": "npm test", 17 | "test": "npm run lint && node --test index.test.mjs", 18 | "lint": "eslint src/**/*.mjs *.mjs --cache --ignore-path .gitignore --quiet" 19 | }, 20 | "engines": { 21 | "node": ">=18.12.0" 22 | }, 23 | "dependencies": { 24 | "postcss-value-parser": "^4.2.0", 25 | "resolve": "^1.22.8" 26 | }, 27 | "devDependencies": { 28 | "eslint": "^8.53.0", 29 | "eslint-config-dev": "^3.3.1", 30 | "stylelint": "^16.1.0", 31 | "stylelint-test-rule-node": "^0.2.1" 32 | }, 33 | "peerDependencies": { 34 | "stylelint": ">=16" 35 | }, 36 | "eslintConfig": { 37 | "env": { 38 | "es6": true, 39 | "node": true 40 | }, 41 | "extends": "eslint:recommended", 42 | "rules": { 43 | "quotes": [ 44 | "error", 45 | "single" 46 | ], 47 | "comma-dangle": [ 48 | "error", 49 | "always-multiline" 50 | ], 51 | "semi": [ 52 | "error", 53 | "always" 54 | ], 55 | "curly": "error", 56 | "brace-style": "error", 57 | "indent": [ 58 | "error", 59 | "tab", 60 | { 61 | "SwitchCase": 1 62 | } 63 | ], 64 | "radix": "error" 65 | }, 66 | "parserOptions": { 67 | "ecmaVersion": 2020, 68 | "sourceType": "module" 69 | }, 70 | "root": true 71 | }, 72 | "keywords": [ 73 | "stylelint", 74 | "stylelint-plugin", 75 | "css", 76 | "custom", 77 | "properties", 78 | "property", 79 | "variables", 80 | "variable", 81 | "vars", 82 | "var", 83 | "csswg", 84 | "w3c", 85 | "unknown" 86 | ] 87 | } 88 | -------------------------------------------------------------------------------- /src/index.mjs: -------------------------------------------------------------------------------- 1 | import stylelint from 'stylelint'; 2 | import getCustomPropertiesFromRoot from './lib/get-custom-properties-from-root.mjs'; 3 | import getCustomPropertiesFromImports from './lib/get-custom-properties-from-imports.mjs'; 4 | import validateResult from './lib/validate-result.mjs'; 5 | import messages from './lib/messages.mjs'; 6 | import ruleName from './lib/rule-name.mjs'; 7 | 8 | const meta = { 9 | url: 'https://github.com/csstools/stylelint-value-no-unknown-custom-properties/blob/main/README.md', 10 | }; 11 | 12 | const ruleFunction = (method, opts) => { 13 | // sources to import custom selectors from 14 | const importFrom = [].concat(Object(opts).importFrom || []); 15 | const resolver = Object(opts).resolver || {}; 16 | 17 | // promise any custom selectors are imported 18 | const customPropertiesPromise = isMethodEnabled(method) 19 | ? getCustomPropertiesFromImports(importFrom, resolver) 20 | : {}; 21 | 22 | return async (root, result) => { 23 | // validate the method 24 | const isMethodValid = stylelint.utils.validateOptions(result, ruleName, { 25 | actual: method, 26 | possible() { 27 | return isMethodEnabled(method) || isMethodDisabled(method); 28 | }, 29 | }); 30 | 31 | if (isMethodValid && isMethodEnabled(method)) { 32 | // all custom properties from the file and imports 33 | const customProperties = Object.assign( 34 | await customPropertiesPromise, 35 | await getCustomPropertiesFromRoot(root, resolver), 36 | ); 37 | 38 | // validate the css root 39 | validateResult(result, customProperties); 40 | } 41 | }; 42 | }; 43 | 44 | ruleFunction.ruleName = ruleName; 45 | ruleFunction.messages = messages; 46 | ruleFunction.meta = meta; 47 | 48 | export default stylelint.createPlugin(ruleName, ruleFunction); 49 | 50 | const isMethodEnabled = method => method === true; 51 | const isMethodDisabled = method => method === null || method === false; 52 | -------------------------------------------------------------------------------- /src/lib/get-custom-properties-from-imports.mjs: -------------------------------------------------------------------------------- 1 | import fs from 'node:fs/promises'; 2 | import path from 'node:path'; 3 | import postcss from 'postcss'; 4 | import getCustomPropertiesFromRoot from './get-custom-properties-from-root.mjs'; 5 | 6 | /* Get Custom Properties from CSS File 7 | /* ========================================================================== */ 8 | 9 | async function getCustomPropertiesFromCSSFile(from, resolver) { 10 | const css = await fs.readFile(from, 'utf-8'); 11 | const root = postcss.parse(css, { from }); 12 | 13 | return await getCustomPropertiesFromRoot(root, resolver); 14 | } 15 | 16 | /* Get Custom Properties from Object 17 | /* ========================================================================== */ 18 | 19 | function getCustomPropertiesFromObject(object) { 20 | return Object.assign( 21 | {}, 22 | Object( object ).customProperties, 23 | Object( object )[ 'custom-properties' ], 24 | ); 25 | } 26 | 27 | /* Get Custom Properties from JSON file 28 | /* ========================================================================== */ 29 | 30 | async function getCustomPropertiesFromJSONFile(from) { 31 | const object = await readJSON(from); 32 | 33 | return getCustomPropertiesFromObject(object); 34 | } 35 | 36 | /* Get Custom Properties from JS file 37 | /* ========================================================================== */ 38 | 39 | async function getCustomPropertiesFromJSFile(from) { 40 | const object = await import(from); 41 | if ('default' in object) { 42 | return getCustomPropertiesFromObject(object.default); 43 | } 44 | 45 | return getCustomPropertiesFromObject(object); 46 | } 47 | 48 | /* Get Custom Properties from Sources 49 | /* ========================================================================== */ 50 | 51 | export default function getCustomPropertiesFromSources(sources, resolver) { 52 | return sources.map(source => { 53 | if (source instanceof Promise) { 54 | return source; 55 | } else if (source instanceof Function) { 56 | return source(); 57 | } 58 | 59 | // read the source as an object 60 | const opts = source === Object(source) ? source : { from: String(source) }; 61 | 62 | // skip objects with Custom Properties 63 | if (opts.customProperties || opts['custom-properties']) { 64 | return opts; 65 | } 66 | 67 | // source pathname 68 | const from = path.resolve(String(opts.from || '')); 69 | 70 | // type of file being read from 71 | const type = (opts.type || path.extname(from).slice(1)).toLowerCase(); 72 | 73 | return { type, from }; 74 | }).reduce(async (customProperties, source) => { 75 | const { type, from } = await source; 76 | 77 | if (type === 'css') { 78 | return Object.assign(await customProperties, await getCustomPropertiesFromCSSFile(from, resolver)); 79 | } 80 | 81 | if (type === 'js' || type === 'mjs' || type === 'cjs') { 82 | return Object.assign(await customProperties, await getCustomPropertiesFromJSFile(from)); 83 | } 84 | 85 | if (type === 'json') { 86 | return Object.assign(await customProperties, await getCustomPropertiesFromJSONFile(from)); 87 | } 88 | 89 | return Object.assign(await customProperties, await getCustomPropertiesFromObject(await source)); 90 | }, {}); 91 | } 92 | 93 | /* Promise-ified utilities 94 | /* ========================================================================== */ 95 | const readJSON = async from => JSON.parse(await fs.readFile(from, 'utf-8')); 96 | -------------------------------------------------------------------------------- /src/lib/get-custom-properties-from-root.mjs: -------------------------------------------------------------------------------- 1 | import fs from 'node:fs/promises'; 2 | import path from 'node:path'; 3 | import postcss from 'postcss'; 4 | import valueParser from 'postcss-value-parser'; 5 | import { resolveId } from './resolve-id.mjs'; 6 | 7 | // return custom selectors from the css root, conditionally removing them 8 | export default async function getCustomPropertiesFromRoot(root, resolver) { 9 | // initialize custom selectors 10 | let customProperties = {}; 11 | 12 | // resolve current file directory 13 | let sourceDir = process.cwd(); 14 | if (root.source && root.source.input && root.source.input.file) { 15 | sourceDir = path.dirname(root.source.input.file); 16 | } 17 | 18 | // recursively add custom properties from @import statements 19 | const importPromises = []; 20 | root.walkAtRules('import', atRule => { 21 | const fileName = parseImportParams(atRule.params); 22 | if (!fileName) { 23 | return; 24 | } 25 | 26 | if (path.isAbsolute(fileName)) { 27 | importPromises.push(getCustomPropertiesFromCSSFile(fileName, resolver)); 28 | } else { 29 | const promise = resolveId(fileName, sourceDir, { 30 | paths: resolver.paths, 31 | extensions: resolver.extensions, 32 | moduleDirectories: resolver.moduleDirectories, 33 | }) 34 | .then((filePath) => getCustomPropertiesFromCSSFile(filePath, resolver)) 35 | .catch(() => {}); 36 | 37 | importPromises.push(promise); 38 | } 39 | }); 40 | 41 | (await Promise.all(importPromises)).forEach(propertiesFromImport => { 42 | customProperties = Object.assign(customProperties, propertiesFromImport); 43 | }); 44 | 45 | // for each custom property declaration 46 | root.walkDecls(decl => { 47 | if (!decl.variable || !decl.prop.startsWith('--')) { 48 | return; 49 | } 50 | 51 | // write the parsed value to the custom property 52 | customProperties[decl.prop] = decl.value; 53 | }); 54 | 55 | // return all custom properties, preferring :root properties over html properties 56 | return customProperties; 57 | } 58 | 59 | async function getCustomPropertiesFromCSSFile(from, resolver) { 60 | try { 61 | const css = await fs.readFile(from, 'utf8'); 62 | const root = postcss.parse(css, { from }); 63 | 64 | return await getCustomPropertiesFromRoot(root, resolver); 65 | } catch (e) { 66 | return {}; 67 | } 68 | } 69 | 70 | function parseImportParams(params) { 71 | const nodes = valueParser(params).nodes; 72 | if (!nodes.length) { 73 | return; 74 | } 75 | 76 | for (let i = 0; i < nodes.length; i++) { 77 | const node = nodes[i]; 78 | if (node.type === 'space' || node.type === 'comment') { 79 | continue; 80 | } 81 | 82 | if (node.type === 'string') { 83 | return node.value; 84 | } 85 | 86 | if (node.type === 'function' && /url/i.test(node.value)) { 87 | for (let j = 0; j < node.nodes.length; j++) { 88 | const urlNode = node.nodes[j]; 89 | if (urlNode.type === 'space' || urlNode.type === 'comment') { 90 | continue; 91 | } 92 | 93 | if (urlNode.type === 'word') { 94 | return urlNode.value; 95 | } 96 | 97 | if (urlNode.type === 'string') { 98 | return urlNode.value; 99 | } 100 | 101 | return false; 102 | } 103 | } 104 | 105 | return false; 106 | } 107 | 108 | return false; 109 | } 110 | -------------------------------------------------------------------------------- /src/lib/messages.mjs: -------------------------------------------------------------------------------- 1 | import stylelint from 'stylelint'; 2 | import ruleName from './rule-name.mjs'; 3 | 4 | export default stylelint.utils.ruleMessages(ruleName, { 5 | unexpected: (name, prop) => `Unexpected custom property "${name}" inside declaration "${prop}".`, 6 | }); 7 | -------------------------------------------------------------------------------- /src/lib/resolve-id.mjs: -------------------------------------------------------------------------------- 1 | import resolve from 'resolve'; 2 | 3 | export function resolveId(id, basedir, { 4 | paths = [], 5 | moduleDirectories = ['node_modules'], 6 | extensions = ['.css'], 7 | } = {}, 8 | ) { 9 | const resolveOpts = { 10 | basedir, 11 | moduleDirectory: moduleDirectories, 12 | paths, 13 | extensions, 14 | preserveSymlinks: false, 15 | }; 16 | return new Promise((res, rej) => { 17 | resolve(id, resolveOpts, (err, resolvedPath) => err ? rej(err) : res(resolvedPath)); 18 | }); 19 | } 20 | -------------------------------------------------------------------------------- /src/lib/rule-name.mjs: -------------------------------------------------------------------------------- 1 | export default 'csstools/value-no-unknown-custom-properties'; 2 | -------------------------------------------------------------------------------- /src/lib/validate-decl.mjs: -------------------------------------------------------------------------------- 1 | import stylelint from 'stylelint'; 2 | import valueParser from 'postcss-value-parser'; 3 | import ruleName from './rule-name.mjs'; 4 | import messages from './messages.mjs'; 5 | 6 | // validate css declarations 7 | export default (decl, { result, customProperties }) => { 8 | const valueAST = valueParser(decl.value); 9 | 10 | validateValueAST(valueAST, { result, customProperties, decl }); 11 | }; 12 | 13 | // validate a value ast 14 | const validateValueAST = (ast, { result, customProperties, decl }) => { 15 | const isValid = typeof ast?.walk === 'function'; 16 | 17 | if (!isValid) { 18 | return; 19 | } 20 | 21 | ast.walk(node => { 22 | if (isVarFunction(node)) { 23 | const [propertyNode, , ...fallbacks] = node.nodes; 24 | const propertyName = propertyNode.value; 25 | 26 | if (propertyName in customProperties) { 27 | return; 28 | } 29 | 30 | // conditionally test fallbacks 31 | if (fallbacks.length) { 32 | validateValueAST({ nodes: fallbacks.filter(isVarFunction) }, { result, customProperties, decl }); 33 | 34 | return; 35 | } 36 | 37 | // report unknown custom properties 38 | stylelint.utils.report({ 39 | message: messages.unexpected(propertyName, decl.prop), 40 | node: decl, 41 | result, 42 | ruleName, 43 | word: String(propertyName), 44 | }); 45 | } 46 | }); 47 | }; 48 | 49 | // whether the node is a var() function 50 | const isVarFunction = node => node.type === 'function' && node.value === 'var' && node.nodes[0].value.startsWith('--'); 51 | -------------------------------------------------------------------------------- /src/lib/validate-result.mjs: -------------------------------------------------------------------------------- 1 | import validateDecl from './validate-decl.mjs'; 2 | 3 | // validate the css root 4 | export default (result, customProperties) => { 5 | // validate each declaration 6 | result.root.walkDecls(decl => { 7 | if (hasCustomPropertyReference(decl)) { 8 | validateDecl(decl, { result, customProperties }); 9 | } 10 | }); 11 | }; 12 | 13 | // match custom property inclusions 14 | const customPropertyReferenceRegExp = /(^|[^\w-])var\([\W\w]+\)/i; 15 | 16 | // whether a declaration references a custom property 17 | const hasCustomPropertyReference = decl => customPropertyReferenceRegExp.test(decl.value); 18 | 19 | -------------------------------------------------------------------------------- /test/dummy-module-package/import-custom-properties.js: -------------------------------------------------------------------------------- 1 | export default { 2 | customProperties: { 3 | '--brand-white': 'white', 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /test/dummy-module-package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dummy-package", 3 | "type": "module", 4 | "private": true 5 | } 6 | -------------------------------------------------------------------------------- /test/dummy-package/import-custom-properties.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | customProperties: { 3 | '--brand-white': 'white', 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /test/dummy-package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dummy-package", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /test/import-custom-properties-2.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --brand-green: green; 3 | } 4 | -------------------------------------------------------------------------------- /test/import-custom-properties-absolute.css: -------------------------------------------------------------------------------- 1 | @import 'import-custom-properties-2.css'; 2 | 3 | :root { 4 | --brand-red: red; 5 | } 6 | -------------------------------------------------------------------------------- /test/import-custom-properties.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | customProperties: { 3 | '--brand-white': 'white', 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /test/import-custom-properties.css: -------------------------------------------------------------------------------- 1 | @import './import-custom-properties-2.css'; 2 | 3 | :root { 4 | --brand-red: red; 5 | } 6 | -------------------------------------------------------------------------------- /test/import-custom-properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "custom-properties": { 3 | "--brand-blue": "blue" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /test/import-custom-properties.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | customProperties: { 3 | '--brand-white': 'white', 4 | }, 5 | }; 6 | --------------------------------------------------------------------------------