├── .eslintrc.json ├── .github └── workflows │ └── build.yaml ├── .gitignore ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── action.yaml ├── dist └── index.js ├── package-lock.json ├── package.json ├── setup-crate ├── package.json ├── src │ └── index.ts └── tsconfig.json ├── src └── index.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "es6": true 5 | }, 6 | "extends": [ 7 | "eslint:recommended", 8 | "plugin:@typescript-eslint/eslint-recommended" 9 | ], 10 | "globals": { 11 | "Atomics": "readonly", 12 | "SharedArrayBuffer": "readonly" 13 | }, 14 | "parser": "@typescript-eslint/parser", 15 | "parserOptions": { 16 | "ecmaVersion": 2018, 17 | "sourceType": "module" 18 | }, 19 | "plugins": [ 20 | "@typescript-eslint" 21 | ], 22 | "rules": { 23 | } 24 | } -------------------------------------------------------------------------------- /.github/workflows/build.yaml: -------------------------------------------------------------------------------- 1 | name: build 2 | 3 | on: 4 | push: 5 | schedule: 6 | - cron: 0 12 1 * * 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v4 13 | - uses: actions/setup-node@v4 14 | with: 15 | node-version: '20' 16 | - run: npm ci 17 | - run: npm run lint 18 | - run: npm run build 19 | 20 | test: 21 | strategy: 22 | matrix: 23 | os: [ubuntu-latest, macos-12, windows-latest] 24 | repo: 25 | - casey/just 26 | - Michael-F-Bryan/mdbook-linkcheck 27 | - rossmacarthur/sheldon 28 | - rust-embedded/cross 29 | - rust-lang/mdBook 30 | - rustwasm/wasm-bindgen 31 | - sharkdp/hyperfine 32 | include: 33 | # rossmacarthur/powerpack only ships a macos binary 34 | - os: macos-latest 35 | repo: rossmacarthur/powerpack 36 | exclude: 37 | # rossmacarthur/sheldon does not ship a windows binary 38 | - os: windows-latest 39 | repo: rossmacarthur/sheldon 40 | 41 | runs-on: ${{ matrix.os }} 42 | name: test (${{matrix.os}}, ${{ matrix.repo }}) 43 | steps: 44 | - uses: actions/checkout@v4 45 | - name: Setup ${{ matrix.repo }} 46 | uses: ./ 47 | with: 48 | repo: ${{ matrix.repo }} 49 | env: 50 | ACTIONS_STEP_DEBUG: true 51 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 52 | - name: Test 53 | run: which $(printf ${{ matrix.repo }} | awk -F '/' '{print $2}' | tr '[:upper:]' '[:lower:]') 54 | shell: bash 55 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | lib 2 | /runner 3 | 4 | # Created by https://www.toptal.com/developers/gitignore/api/node 5 | # Edit at https://www.toptal.com/developers/gitignore?templates=node 6 | 7 | ### Node ### 8 | # Logs 9 | logs 10 | *.log 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | lerna-debug.log* 15 | 16 | # Diagnostic reports (https://nodejs.org/api/report.html) 17 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 18 | 19 | # Runtime data 20 | pids 21 | *.pid 22 | *.seed 23 | *.pid.lock 24 | 25 | # Directory for instrumented libs generated by jscoverage/JSCover 26 | lib-cov 27 | 28 | # Coverage directory used by tools like istanbul 29 | coverage 30 | *.lcov 31 | 32 | # nyc test coverage 33 | .nyc_output 34 | 35 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 36 | .grunt 37 | 38 | # Bower dependency directory (https://bower.io/) 39 | bower_components 40 | 41 | # node-waf configuration 42 | .lock-wscript 43 | 44 | # Compiled binary addons (https://nodejs.org/api/addons.html) 45 | build/Release 46 | 47 | # Dependency directories 48 | node_modules/ 49 | jspm_packages/ 50 | 51 | # TypeScript v1 declaration files 52 | typings/ 53 | 54 | # TypeScript cache 55 | *.tsbuildinfo 56 | 57 | # Optional npm cache directory 58 | .npm 59 | 60 | # Optional eslint cache 61 | .eslintcache 62 | 63 | # Optional stylelint cache 64 | .stylelintcache 65 | 66 | # Microbundle cache 67 | .rpt2_cache/ 68 | .rts2_cache_cjs/ 69 | .rts2_cache_es/ 70 | .rts2_cache_umd/ 71 | 72 | # Optional REPL history 73 | .node_repl_history 74 | 75 | # Output of 'npm pack' 76 | *.tgz 77 | 78 | # Yarn Integrity file 79 | .yarn-integrity 80 | 81 | # dotenv environment variables file 82 | .env 83 | .env.test 84 | .env*.local 85 | 86 | # parcel-bundler cache (https://parceljs.org/) 87 | .cache 88 | .parcel-cache 89 | 90 | # Next.js build output 91 | .next 92 | 93 | # Nuxt.js build / generate output 94 | .nuxt 95 | dist 96 | 97 | # Gatsby files 98 | .cache/ 99 | # Comment in the public line in if your project uses Gatsby and not Next.js 100 | # https://nextjs.org/blog/next-9-1#public-directory-support 101 | # public 102 | 103 | # vuepress build output 104 | .vuepress/dist 105 | 106 | # Serverless directories 107 | .serverless/ 108 | 109 | # FuseBox cache 110 | .fusebox/ 111 | 112 | # DynamoDB Local files 113 | .dynamodb/ 114 | 115 | # TernJS port file 116 | .tern-port 117 | 118 | # Stores VSCode versions used for testing VSCode extensions 119 | .vscode-test 120 | 121 | # End of https://www.toptal.com/developers/gitignore/api/node 122 | -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- 1 | Permission is hereby granted, free of charge, to any person obtaining a copy 2 | of this software and associated documentation files (the "Software"), to deal 3 | in the Software without restriction, including without limitation the rights 4 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 5 | copies of the Software, and to permit persons to whom the Software is 6 | furnished to do so, subject to the following conditions: 7 | 8 | The above copyright notice and this permission notice shall be included in all 9 | copies or substantial portions of the Software. 10 | 11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 12 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 14 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 15 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 16 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 17 | SOFTWARE. 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # setup-crate 2 | 3 | [![Build Status](https://img.shields.io/github/actions/workflow/status/extractions/setup-crate/build.yaml?branch=trunk)](https://github.com/extractions/setup-crate/actions/workflows/build.yaml) 4 | 5 | This GitHub Action will install a release of a Rust crate for you. 6 | 7 | ## Introduction 8 | 9 | This action will work for any project that satisfies the following conditions: 10 | - The project is a public GitHub project. 11 | - The project uses GitHub releases with semver tag names. 12 | - The project attaches assets to the GitHub release that contain a Rust target. 13 | The following targets are looked for: 14 | 15 | | Arch | Node Platform | Targets | 16 | | ------- | ------------- | ----------------------------------------------------------- | 17 | | `x64` | `linux` | `x86_64-unknown-linux-musl` or `x86_64-unknown-linux-gnu` | 18 | | `x64` | `darwin` | `x86_64-apple-darwin` | 19 | | `x64` | `win32` | `x86_64-pc-windows-msvc` | 20 | | `arm64` | `linux` | `aarch64-unknown-linux-musl` or `aarch64-unknown-linux-gnu` | 21 | | `arm64` | `darwin` | `aarch64-apple-darwin` | 22 | 23 | - The asset is a `.tar.gz` or `.zip` archive that contains a binary with the 24 | project name. 25 | 26 | ## Usage 27 | 28 | ### Examples 29 | 30 | In most cases all you will need is to specify `repo` and the `owner/name` of the 31 | project in your workflow. For example the following installs the latest version 32 | of [mdBook](https://github.com/rust-lang/mdBook). 33 | 34 | ```yaml 35 | - uses: extractions/setup-crate@v1 36 | with: 37 | repo: rust-lang/mdBook 38 | ``` 39 | 40 | If you want a specific version you can specify this by suffixing version to the 41 | input. For example the following installs the latest `0.10.x` version of 42 | [just](https://github.com/casey/just). 43 | 44 | ```yaml 45 | - uses: extractions/setup-crate@v1 46 | with: 47 | repo: casey/just@0.10 48 | ``` 49 | 50 | ### Inputs 51 | 52 | | Name | Required | Description | Type | Default | 53 | | -------------- | -------- | ------------------------------------------------------------------- | ------ | --------------------------- | 54 | | `repo` | no | The GitHub repository name and valid NPM-style semver specification | string | | 55 | | `github-token` | no | The GitHub token for making API requests | string | ${{ secrets.GITHUB_TOKEN }} | 56 | 57 | The semver specification is passed directly to NPM's [semver 58 | package](https://www.npmjs.com/package/semver). This GitHub Action will install 59 | the latest matching release. Examples include 60 | 61 | - `version: '*'` latest version (default). 62 | - `version: '0.1'` equivalent to `>=0.1.0 <0.2.0`. 63 | - `version: '0.1.x'` equivalent to `>=0.1.0 <0.2.0`. 64 | - `version: '0.1.0'` equivalent to `=0.1.0`. 65 | - `version: '^0.1.0'` equivalent to `>=0.1.0 <0.2.0`. 66 | 67 | ### Deprecated inputs 68 | 69 | The following inputs are still supported for now but will be removed in a future 70 | release. 71 | 72 | | Name | Required | Description | Type | Default | 73 | | --------- | -------- | -------------------------------------- | ------ | ------- | 74 | | `owner` | no | The GitHub user or organization name | string | | 75 | | `name` | no | The GitHub repository name | string | | 76 | | `version` | no | A valid NPM-style semver specification | string | * | 77 | 78 | ## License 79 | 80 | Licensed under either of 81 | 82 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or 83 | http://www.apache.org/licenses/LICENSE-2.0) 84 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) 85 | 86 | at your option. 87 | -------------------------------------------------------------------------------- /action.yaml: -------------------------------------------------------------------------------- 1 | name: 'Setup crate' 2 | author: 'Ross MacArthur' 3 | description: 'Install any Rust crate' 4 | branding: 5 | icon: 'settings' 6 | color: 'red' 7 | inputs: 8 | repo: 9 | required: false 10 | description: 'The GitHub repository and version specifier containing the crate' 11 | owner: 12 | required: false 13 | description: 'The GitHub user or organization' 14 | name: 15 | required: false 16 | description: 'The GitHub repository name' 17 | version: 18 | required: false 19 | description: 'A valid semver specifier of the crate version to install' 20 | github-token: 21 | required: false 22 | description: 'The GitHub token used for making API requests' 23 | default: ${{ github.token }} 24 | runs: 25 | using: 'node20' 26 | main: 'dist/index.js' 27 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "setup-crate-action", 3 | "version": "1.3.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "setup-crate-action", 9 | "version": "1.3.0", 10 | "license": "MIT OR Apache-2.0", 11 | "workspaces": [ 12 | "./setup-crate" 13 | ], 14 | "dependencies": { 15 | "@actions/core": "^1.10.1", 16 | "@extractions/setup-crate": "^0.5.0" 17 | }, 18 | "devDependencies": { 19 | "@types/node": "^20.14.10", 20 | "@types/semver": "^7.5.8", 21 | "@typescript-eslint/eslint-plugin": "^7.16.0", 22 | "@typescript-eslint/parser": "^7.16.0", 23 | "@vercel/ncc": "^0.38.1", 24 | "eslint": "^8.56.0", 25 | "prettier": "^3.3.2", 26 | "typescript": "^5.5.3" 27 | } 28 | }, 29 | "node_modules/@actions/core": { 30 | "version": "1.10.1", 31 | "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.1.tgz", 32 | "integrity": "sha512-3lBR9EDAY+iYIpTnTIXmWcNbX3T2kCkAEQGIQx4NVQ0575nk2k3GRZDTPQG+vVtS2izSLmINlxXf0uLtnrTP+g==", 33 | "license": "MIT", 34 | "dependencies": { 35 | "@actions/http-client": "^2.0.1", 36 | "uuid": "^8.3.2" 37 | } 38 | }, 39 | "node_modules/@actions/exec": { 40 | "version": "1.1.1", 41 | "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", 42 | "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", 43 | "license": "MIT", 44 | "dependencies": { 45 | "@actions/io": "^1.0.1" 46 | } 47 | }, 48 | "node_modules/@actions/http-client": { 49 | "version": "2.2.1", 50 | "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.1.tgz", 51 | "integrity": "sha512-KhC/cZsq7f8I4LfZSJKgCvEwfkE8o1538VoBeoGzokVLLnbFDEAdFD3UhoMklxo2un9NJVBdANOresx7vTHlHw==", 52 | "license": "MIT", 53 | "dependencies": { 54 | "tunnel": "^0.0.6", 55 | "undici": "^5.25.4" 56 | } 57 | }, 58 | "node_modules/@actions/io": { 59 | "version": "1.1.3", 60 | "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.3.tgz", 61 | "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==", 62 | "license": "MIT" 63 | }, 64 | "node_modules/@actions/tool-cache": { 65 | "version": "2.0.1", 66 | "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-2.0.1.tgz", 67 | "integrity": "sha512-iPU+mNwrbA8jodY8eyo/0S/QqCKDajiR8OxWTnSk/SnYg0sj8Hp4QcUEVC1YFpHWXtrfbQrE13Jz4k4HXJQKcA==", 68 | "license": "MIT", 69 | "dependencies": { 70 | "@actions/core": "^1.2.6", 71 | "@actions/exec": "^1.0.0", 72 | "@actions/http-client": "^2.0.1", 73 | "@actions/io": "^1.1.1", 74 | "semver": "^6.1.0", 75 | "uuid": "^3.3.2" 76 | } 77 | }, 78 | "node_modules/@actions/tool-cache/node_modules/semver": { 79 | "version": "6.3.1", 80 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", 81 | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", 82 | "license": "ISC", 83 | "bin": { 84 | "semver": "bin/semver.js" 85 | } 86 | }, 87 | "node_modules/@actions/tool-cache/node_modules/uuid": { 88 | "version": "3.4.0", 89 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", 90 | "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", 91 | "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", 92 | "license": "MIT", 93 | "bin": { 94 | "uuid": "bin/uuid" 95 | } 96 | }, 97 | "node_modules/@eslint-community/eslint-utils": { 98 | "version": "4.4.0", 99 | "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", 100 | "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", 101 | "dev": true, 102 | "license": "MIT", 103 | "dependencies": { 104 | "eslint-visitor-keys": "^3.3.0" 105 | }, 106 | "engines": { 107 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 108 | }, 109 | "peerDependencies": { 110 | "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" 111 | } 112 | }, 113 | "node_modules/@eslint-community/regexpp": { 114 | "version": "4.11.0", 115 | "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", 116 | "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", 117 | "dev": true, 118 | "license": "MIT", 119 | "engines": { 120 | "node": "^12.0.0 || ^14.0.0 || >=16.0.0" 121 | } 122 | }, 123 | "node_modules/@eslint/eslintrc": { 124 | "version": "2.1.4", 125 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", 126 | "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", 127 | "dev": true, 128 | "license": "MIT", 129 | "dependencies": { 130 | "ajv": "^6.12.4", 131 | "debug": "^4.3.2", 132 | "espree": "^9.6.0", 133 | "globals": "^13.19.0", 134 | "ignore": "^5.2.0", 135 | "import-fresh": "^3.2.1", 136 | "js-yaml": "^4.1.0", 137 | "minimatch": "^3.1.2", 138 | "strip-json-comments": "^3.1.1" 139 | }, 140 | "engines": { 141 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 142 | }, 143 | "funding": { 144 | "url": "https://opencollective.com/eslint" 145 | } 146 | }, 147 | "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { 148 | "version": "1.1.11", 149 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 150 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 151 | "dev": true, 152 | "license": "MIT", 153 | "dependencies": { 154 | "balanced-match": "^1.0.0", 155 | "concat-map": "0.0.1" 156 | } 157 | }, 158 | "node_modules/@eslint/eslintrc/node_modules/minimatch": { 159 | "version": "3.1.2", 160 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 161 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 162 | "dev": true, 163 | "license": "ISC", 164 | "dependencies": { 165 | "brace-expansion": "^1.1.7" 166 | }, 167 | "engines": { 168 | "node": "*" 169 | } 170 | }, 171 | "node_modules/@eslint/js": { 172 | "version": "8.57.0", 173 | "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", 174 | "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", 175 | "dev": true, 176 | "license": "MIT", 177 | "engines": { 178 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 179 | } 180 | }, 181 | "node_modules/@extractions/setup-crate": { 182 | "resolved": "setup-crate", 183 | "link": true 184 | }, 185 | "node_modules/@fastify/busboy": { 186 | "version": "2.1.1", 187 | "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", 188 | "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==", 189 | "license": "MIT", 190 | "engines": { 191 | "node": ">=14" 192 | } 193 | }, 194 | "node_modules/@humanwhocodes/config-array": { 195 | "version": "0.11.14", 196 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", 197 | "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", 198 | "deprecated": "Use @eslint/config-array instead", 199 | "dev": true, 200 | "license": "Apache-2.0", 201 | "dependencies": { 202 | "@humanwhocodes/object-schema": "^2.0.2", 203 | "debug": "^4.3.1", 204 | "minimatch": "^3.0.5" 205 | }, 206 | "engines": { 207 | "node": ">=10.10.0" 208 | } 209 | }, 210 | "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": { 211 | "version": "1.1.11", 212 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 213 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 214 | "dev": true, 215 | "license": "MIT", 216 | "dependencies": { 217 | "balanced-match": "^1.0.0", 218 | "concat-map": "0.0.1" 219 | } 220 | }, 221 | "node_modules/@humanwhocodes/config-array/node_modules/minimatch": { 222 | "version": "3.1.2", 223 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 224 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 225 | "dev": true, 226 | "license": "ISC", 227 | "dependencies": { 228 | "brace-expansion": "^1.1.7" 229 | }, 230 | "engines": { 231 | "node": "*" 232 | } 233 | }, 234 | "node_modules/@humanwhocodes/module-importer": { 235 | "version": "1.0.1", 236 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", 237 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", 238 | "dev": true, 239 | "license": "Apache-2.0", 240 | "engines": { 241 | "node": ">=12.22" 242 | }, 243 | "funding": { 244 | "type": "github", 245 | "url": "https://github.com/sponsors/nzakas" 246 | } 247 | }, 248 | "node_modules/@humanwhocodes/object-schema": { 249 | "version": "2.0.3", 250 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", 251 | "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", 252 | "deprecated": "Use @eslint/object-schema instead", 253 | "dev": true, 254 | "license": "BSD-3-Clause" 255 | }, 256 | "node_modules/@nodelib/fs.scandir": { 257 | "version": "2.1.5", 258 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 259 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 260 | "dev": true, 261 | "license": "MIT", 262 | "dependencies": { 263 | "@nodelib/fs.stat": "2.0.5", 264 | "run-parallel": "^1.1.9" 265 | }, 266 | "engines": { 267 | "node": ">= 8" 268 | } 269 | }, 270 | "node_modules/@nodelib/fs.stat": { 271 | "version": "2.0.5", 272 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 273 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 274 | "dev": true, 275 | "license": "MIT", 276 | "engines": { 277 | "node": ">= 8" 278 | } 279 | }, 280 | "node_modules/@nodelib/fs.walk": { 281 | "version": "1.2.8", 282 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 283 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 284 | "dev": true, 285 | "license": "MIT", 286 | "dependencies": { 287 | "@nodelib/fs.scandir": "2.1.5", 288 | "fastq": "^1.6.0" 289 | }, 290 | "engines": { 291 | "node": ">= 8" 292 | } 293 | }, 294 | "node_modules/@octokit/auth-token": { 295 | "version": "5.1.1", 296 | "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.1.tgz", 297 | "integrity": "sha512-rh3G3wDO8J9wSjfI436JUKzHIxq8NaiL0tVeB2aXmG6p/9859aUOAjA9pmSPNGGZxfwmaJ9ozOJImuNVJdpvbA==", 298 | "engines": { 299 | "node": ">= 18" 300 | } 301 | }, 302 | "node_modules/@octokit/core": { 303 | "version": "6.1.2", 304 | "resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.2.tgz", 305 | "integrity": "sha512-hEb7Ma4cGJGEUNOAVmyfdB/3WirWMg5hDuNFVejGEDFqupeOysLc2sG6HJxY2etBp5YQu5Wtxwi020jS9xlUwg==", 306 | "dependencies": { 307 | "@octokit/auth-token": "^5.0.0", 308 | "@octokit/graphql": "^8.0.0", 309 | "@octokit/request": "^9.0.0", 310 | "@octokit/request-error": "^6.0.1", 311 | "@octokit/types": "^13.0.0", 312 | "before-after-hook": "^3.0.2", 313 | "universal-user-agent": "^7.0.0" 314 | }, 315 | "engines": { 316 | "node": ">= 18" 317 | } 318 | }, 319 | "node_modules/@octokit/endpoint": { 320 | "version": "10.1.1", 321 | "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.1.tgz", 322 | "integrity": "sha512-JYjh5rMOwXMJyUpj028cu0Gbp7qe/ihxfJMLc8VZBMMqSwLgOxDI1911gV4Enl1QSavAQNJcwmwBF9M0VvLh6Q==", 323 | "dependencies": { 324 | "@octokit/types": "^13.0.0", 325 | "universal-user-agent": "^7.0.2" 326 | }, 327 | "engines": { 328 | "node": ">= 18" 329 | } 330 | }, 331 | "node_modules/@octokit/graphql": { 332 | "version": "8.1.1", 333 | "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.1.1.tgz", 334 | "integrity": "sha512-ukiRmuHTi6ebQx/HFRCXKbDlOh/7xEV6QUXaE7MJEKGNAncGI/STSbOkl12qVXZrfZdpXctx5O9X1AIaebiDBg==", 335 | "dependencies": { 336 | "@octokit/request": "^9.0.0", 337 | "@octokit/types": "^13.0.0", 338 | "universal-user-agent": "^7.0.0" 339 | }, 340 | "engines": { 341 | "node": ">= 18" 342 | } 343 | }, 344 | "node_modules/@octokit/openapi-types": { 345 | "version": "22.2.0", 346 | "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", 347 | "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==" 348 | }, 349 | "node_modules/@octokit/plugin-paginate-rest": { 350 | "version": "11.3.3", 351 | "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.3.3.tgz", 352 | "integrity": "sha512-o4WRoOJZlKqEEgj+i9CpcmnByvtzoUYC6I8PD2SA95M+BJ2x8h7oLcVOg9qcowWXBOdcTRsMZiwvM3EyLm9AfA==", 353 | "dependencies": { 354 | "@octokit/types": "^13.5.0" 355 | }, 356 | "engines": { 357 | "node": ">= 18" 358 | }, 359 | "peerDependencies": { 360 | "@octokit/core": ">=6" 361 | } 362 | }, 363 | "node_modules/@octokit/plugin-request-log": { 364 | "version": "5.3.0", 365 | "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-5.3.0.tgz", 366 | "integrity": "sha512-FiGcyjdtYPlr03ExBk/0ysIlEFIFGJQAVoPPMxL19B24bVSEiZQnVGBunNtaAF1YnvE/EFoDpXmITtRnyCiypQ==", 367 | "engines": { 368 | "node": ">= 18" 369 | }, 370 | "peerDependencies": { 371 | "@octokit/core": ">=6" 372 | } 373 | }, 374 | "node_modules/@octokit/plugin-rest-endpoint-methods": { 375 | "version": "13.2.4", 376 | "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-13.2.4.tgz", 377 | "integrity": "sha512-gusyAVgTrPiuXOdfqOySMDztQHv6928PQ3E4dqVGEtOvRXAKRbJR4b1zQyniIT9waqaWk/UDaoJ2dyPr7Bk7Iw==", 378 | "dependencies": { 379 | "@octokit/types": "^13.5.0" 380 | }, 381 | "engines": { 382 | "node": ">= 18" 383 | }, 384 | "peerDependencies": { 385 | "@octokit/core": ">=6" 386 | } 387 | }, 388 | "node_modules/@octokit/request": { 389 | "version": "9.1.1", 390 | "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.1.tgz", 391 | "integrity": "sha512-pyAguc0p+f+GbQho0uNetNQMmLG1e80WjkIaqqgUkihqUp0boRU6nKItXO4VWnr+nbZiLGEyy4TeKRwqaLvYgw==", 392 | "dependencies": { 393 | "@octokit/endpoint": "^10.0.0", 394 | "@octokit/request-error": "^6.0.1", 395 | "@octokit/types": "^13.1.0", 396 | "universal-user-agent": "^7.0.2" 397 | }, 398 | "engines": { 399 | "node": ">= 18" 400 | } 401 | }, 402 | "node_modules/@octokit/request-error": { 403 | "version": "6.1.1", 404 | "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.1.tgz", 405 | "integrity": "sha512-1mw1gqT3fR/WFvnoVpY/zUM2o/XkMs/2AszUUG9I69xn0JFLv6PGkPhNk5lbfvROs79wiS0bqiJNxfCZcRJJdg==", 406 | "dependencies": { 407 | "@octokit/types": "^13.0.0" 408 | }, 409 | "engines": { 410 | "node": ">= 18" 411 | } 412 | }, 413 | "node_modules/@octokit/rest": { 414 | "version": "21.0.0", 415 | "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-21.0.0.tgz", 416 | "integrity": "sha512-XudXXOmiIjivdjNZ+fN71NLrnDM00sxSZlhqmPR3v0dVoJwyP628tSlc12xqn8nX3N0965583RBw5GPo6r8u4Q==", 417 | "dependencies": { 418 | "@octokit/core": "^6.1.2", 419 | "@octokit/plugin-paginate-rest": "^11.0.0", 420 | "@octokit/plugin-request-log": "^5.1.0", 421 | "@octokit/plugin-rest-endpoint-methods": "^13.0.0" 422 | }, 423 | "engines": { 424 | "node": ">= 18" 425 | } 426 | }, 427 | "node_modules/@octokit/types": { 428 | "version": "13.5.0", 429 | "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.5.0.tgz", 430 | "integrity": "sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==", 431 | "dependencies": { 432 | "@octokit/openapi-types": "^22.2.0" 433 | } 434 | }, 435 | "node_modules/@types/node": { 436 | "version": "20.14.10", 437 | "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.10.tgz", 438 | "integrity": "sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==", 439 | "dev": true, 440 | "license": "MIT", 441 | "dependencies": { 442 | "undici-types": "~5.26.4" 443 | } 444 | }, 445 | "node_modules/@types/semver": { 446 | "version": "7.5.8", 447 | "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", 448 | "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", 449 | "dev": true, 450 | "license": "MIT" 451 | }, 452 | "node_modules/@typescript-eslint/eslint-plugin": { 453 | "version": "7.16.0", 454 | "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.16.0.tgz", 455 | "integrity": "sha512-py1miT6iQpJcs1BiJjm54AMzeuMPBSPuKPlnT8HlfudbcS5rYeX5jajpLf3mrdRh9dA/Ec2FVUY0ifeVNDIhZw==", 456 | "dev": true, 457 | "license": "MIT", 458 | "dependencies": { 459 | "@eslint-community/regexpp": "^4.10.0", 460 | "@typescript-eslint/scope-manager": "7.16.0", 461 | "@typescript-eslint/type-utils": "7.16.0", 462 | "@typescript-eslint/utils": "7.16.0", 463 | "@typescript-eslint/visitor-keys": "7.16.0", 464 | "graphemer": "^1.4.0", 465 | "ignore": "^5.3.1", 466 | "natural-compare": "^1.4.0", 467 | "ts-api-utils": "^1.3.0" 468 | }, 469 | "engines": { 470 | "node": "^18.18.0 || >=20.0.0" 471 | }, 472 | "funding": { 473 | "type": "opencollective", 474 | "url": "https://opencollective.com/typescript-eslint" 475 | }, 476 | "peerDependencies": { 477 | "@typescript-eslint/parser": "^7.0.0", 478 | "eslint": "^8.56.0" 479 | }, 480 | "peerDependenciesMeta": { 481 | "typescript": { 482 | "optional": true 483 | } 484 | } 485 | }, 486 | "node_modules/@typescript-eslint/parser": { 487 | "version": "7.16.0", 488 | "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.16.0.tgz", 489 | "integrity": "sha512-ar9E+k7CU8rWi2e5ErzQiC93KKEFAXA2Kky0scAlPcxYblLt8+XZuHUZwlyfXILyQa95P6lQg+eZgh/dDs3+Vw==", 490 | "dev": true, 491 | "license": "BSD-2-Clause", 492 | "dependencies": { 493 | "@typescript-eslint/scope-manager": "7.16.0", 494 | "@typescript-eslint/types": "7.16.0", 495 | "@typescript-eslint/typescript-estree": "7.16.0", 496 | "@typescript-eslint/visitor-keys": "7.16.0", 497 | "debug": "^4.3.4" 498 | }, 499 | "engines": { 500 | "node": "^18.18.0 || >=20.0.0" 501 | }, 502 | "funding": { 503 | "type": "opencollective", 504 | "url": "https://opencollective.com/typescript-eslint" 505 | }, 506 | "peerDependencies": { 507 | "eslint": "^8.56.0" 508 | }, 509 | "peerDependenciesMeta": { 510 | "typescript": { 511 | "optional": true 512 | } 513 | } 514 | }, 515 | "node_modules/@typescript-eslint/scope-manager": { 516 | "version": "7.16.0", 517 | "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.16.0.tgz", 518 | "integrity": "sha512-8gVv3kW6n01Q6TrI1cmTZ9YMFi3ucDT7i7aI5lEikk2ebk1AEjrwX8MDTdaX5D7fPXMBLvnsaa0IFTAu+jcfOw==", 519 | "dev": true, 520 | "license": "MIT", 521 | "dependencies": { 522 | "@typescript-eslint/types": "7.16.0", 523 | "@typescript-eslint/visitor-keys": "7.16.0" 524 | }, 525 | "engines": { 526 | "node": "^18.18.0 || >=20.0.0" 527 | }, 528 | "funding": { 529 | "type": "opencollective", 530 | "url": "https://opencollective.com/typescript-eslint" 531 | } 532 | }, 533 | "node_modules/@typescript-eslint/type-utils": { 534 | "version": "7.16.0", 535 | "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.16.0.tgz", 536 | "integrity": "sha512-j0fuUswUjDHfqV/UdW6mLtOQQseORqfdmoBNDFOqs9rvNVR2e+cmu6zJu/Ku4SDuqiJko6YnhwcL8x45r8Oqxg==", 537 | "dev": true, 538 | "license": "MIT", 539 | "dependencies": { 540 | "@typescript-eslint/typescript-estree": "7.16.0", 541 | "@typescript-eslint/utils": "7.16.0", 542 | "debug": "^4.3.4", 543 | "ts-api-utils": "^1.3.0" 544 | }, 545 | "engines": { 546 | "node": "^18.18.0 || >=20.0.0" 547 | }, 548 | "funding": { 549 | "type": "opencollective", 550 | "url": "https://opencollective.com/typescript-eslint" 551 | }, 552 | "peerDependencies": { 553 | "eslint": "^8.56.0" 554 | }, 555 | "peerDependenciesMeta": { 556 | "typescript": { 557 | "optional": true 558 | } 559 | } 560 | }, 561 | "node_modules/@typescript-eslint/types": { 562 | "version": "7.16.0", 563 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.16.0.tgz", 564 | "integrity": "sha512-fecuH15Y+TzlUutvUl9Cc2XJxqdLr7+93SQIbcZfd4XRGGKoxyljK27b+kxKamjRkU7FYC6RrbSCg0ALcZn/xw==", 565 | "dev": true, 566 | "license": "MIT", 567 | "engines": { 568 | "node": "^18.18.0 || >=20.0.0" 569 | }, 570 | "funding": { 571 | "type": "opencollective", 572 | "url": "https://opencollective.com/typescript-eslint" 573 | } 574 | }, 575 | "node_modules/@typescript-eslint/typescript-estree": { 576 | "version": "7.16.0", 577 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.16.0.tgz", 578 | "integrity": "sha512-a5NTvk51ZndFuOLCh5OaJBELYc2O3Zqxfl3Js78VFE1zE46J2AaVuW+rEbVkQznjkmlzWsUI15BG5tQMixzZLw==", 579 | "dev": true, 580 | "license": "BSD-2-Clause", 581 | "dependencies": { 582 | "@typescript-eslint/types": "7.16.0", 583 | "@typescript-eslint/visitor-keys": "7.16.0", 584 | "debug": "^4.3.4", 585 | "globby": "^11.1.0", 586 | "is-glob": "^4.0.3", 587 | "minimatch": "^9.0.4", 588 | "semver": "^7.6.0", 589 | "ts-api-utils": "^1.3.0" 590 | }, 591 | "engines": { 592 | "node": "^18.18.0 || >=20.0.0" 593 | }, 594 | "funding": { 595 | "type": "opencollective", 596 | "url": "https://opencollective.com/typescript-eslint" 597 | }, 598 | "peerDependenciesMeta": { 599 | "typescript": { 600 | "optional": true 601 | } 602 | } 603 | }, 604 | "node_modules/@typescript-eslint/utils": { 605 | "version": "7.16.0", 606 | "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.16.0.tgz", 607 | "integrity": "sha512-PqP4kP3hb4r7Jav+NiRCntlVzhxBNWq6ZQ+zQwII1y/G/1gdIPeYDCKr2+dH6049yJQsWZiHU6RlwvIFBXXGNA==", 608 | "dev": true, 609 | "license": "MIT", 610 | "dependencies": { 611 | "@eslint-community/eslint-utils": "^4.4.0", 612 | "@typescript-eslint/scope-manager": "7.16.0", 613 | "@typescript-eslint/types": "7.16.0", 614 | "@typescript-eslint/typescript-estree": "7.16.0" 615 | }, 616 | "engines": { 617 | "node": "^18.18.0 || >=20.0.0" 618 | }, 619 | "funding": { 620 | "type": "opencollective", 621 | "url": "https://opencollective.com/typescript-eslint" 622 | }, 623 | "peerDependencies": { 624 | "eslint": "^8.56.0" 625 | } 626 | }, 627 | "node_modules/@typescript-eslint/visitor-keys": { 628 | "version": "7.16.0", 629 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.16.0.tgz", 630 | "integrity": "sha512-rMo01uPy9C7XxG7AFsxa8zLnWXTF8N3PYclekWSrurvhwiw1eW88mrKiAYe6s53AUY57nTRz8dJsuuXdkAhzCg==", 631 | "dev": true, 632 | "license": "MIT", 633 | "dependencies": { 634 | "@typescript-eslint/types": "7.16.0", 635 | "eslint-visitor-keys": "^3.4.3" 636 | }, 637 | "engines": { 638 | "node": "^18.18.0 || >=20.0.0" 639 | }, 640 | "funding": { 641 | "type": "opencollective", 642 | "url": "https://opencollective.com/typescript-eslint" 643 | } 644 | }, 645 | "node_modules/@ungap/structured-clone": { 646 | "version": "1.2.0", 647 | "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", 648 | "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", 649 | "dev": true, 650 | "license": "ISC" 651 | }, 652 | "node_modules/@vercel/ncc": { 653 | "version": "0.38.1", 654 | "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.1.tgz", 655 | "integrity": "sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==", 656 | "dev": true, 657 | "license": "MIT", 658 | "bin": { 659 | "ncc": "dist/ncc/cli.js" 660 | } 661 | }, 662 | "node_modules/acorn": { 663 | "version": "8.12.1", 664 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", 665 | "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", 666 | "dev": true, 667 | "license": "MIT", 668 | "bin": { 669 | "acorn": "bin/acorn" 670 | }, 671 | "engines": { 672 | "node": ">=0.4.0" 673 | } 674 | }, 675 | "node_modules/acorn-jsx": { 676 | "version": "5.3.2", 677 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 678 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 679 | "dev": true, 680 | "license": "MIT", 681 | "peerDependencies": { 682 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" 683 | } 684 | }, 685 | "node_modules/ajv": { 686 | "version": "6.12.6", 687 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 688 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 689 | "dev": true, 690 | "license": "MIT", 691 | "dependencies": { 692 | "fast-deep-equal": "^3.1.1", 693 | "fast-json-stable-stringify": "^2.0.0", 694 | "json-schema-traverse": "^0.4.1", 695 | "uri-js": "^4.2.2" 696 | }, 697 | "funding": { 698 | "type": "github", 699 | "url": "https://github.com/sponsors/epoberezkin" 700 | } 701 | }, 702 | "node_modules/ansi-regex": { 703 | "version": "5.0.1", 704 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 705 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 706 | "dev": true, 707 | "license": "MIT", 708 | "engines": { 709 | "node": ">=8" 710 | } 711 | }, 712 | "node_modules/ansi-styles": { 713 | "version": "4.3.0", 714 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 715 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 716 | "dev": true, 717 | "license": "MIT", 718 | "dependencies": { 719 | "color-convert": "^2.0.1" 720 | }, 721 | "engines": { 722 | "node": ">=8" 723 | }, 724 | "funding": { 725 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 726 | } 727 | }, 728 | "node_modules/argparse": { 729 | "version": "2.0.1", 730 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 731 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 732 | "dev": true, 733 | "license": "Python-2.0" 734 | }, 735 | "node_modules/array-union": { 736 | "version": "2.1.0", 737 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", 738 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", 739 | "dev": true, 740 | "license": "MIT", 741 | "engines": { 742 | "node": ">=8" 743 | } 744 | }, 745 | "node_modules/balanced-match": { 746 | "version": "1.0.2", 747 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 748 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 749 | "dev": true, 750 | "license": "MIT" 751 | }, 752 | "node_modules/before-after-hook": { 753 | "version": "3.0.2", 754 | "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz", 755 | "integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==" 756 | }, 757 | "node_modules/brace-expansion": { 758 | "version": "2.0.1", 759 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 760 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 761 | "dev": true, 762 | "license": "MIT", 763 | "dependencies": { 764 | "balanced-match": "^1.0.0" 765 | } 766 | }, 767 | "node_modules/braces": { 768 | "version": "3.0.3", 769 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", 770 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", 771 | "dev": true, 772 | "license": "MIT", 773 | "dependencies": { 774 | "fill-range": "^7.1.1" 775 | }, 776 | "engines": { 777 | "node": ">=8" 778 | } 779 | }, 780 | "node_modules/callsites": { 781 | "version": "3.1.0", 782 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 783 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 784 | "dev": true, 785 | "license": "MIT", 786 | "engines": { 787 | "node": ">=6" 788 | } 789 | }, 790 | "node_modules/chalk": { 791 | "version": "4.1.2", 792 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 793 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 794 | "dev": true, 795 | "license": "MIT", 796 | "dependencies": { 797 | "ansi-styles": "^4.1.0", 798 | "supports-color": "^7.1.0" 799 | }, 800 | "engines": { 801 | "node": ">=10" 802 | }, 803 | "funding": { 804 | "url": "https://github.com/chalk/chalk?sponsor=1" 805 | } 806 | }, 807 | "node_modules/color-convert": { 808 | "version": "2.0.1", 809 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 810 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 811 | "dev": true, 812 | "license": "MIT", 813 | "dependencies": { 814 | "color-name": "~1.1.4" 815 | }, 816 | "engines": { 817 | "node": ">=7.0.0" 818 | } 819 | }, 820 | "node_modules/color-name": { 821 | "version": "1.1.4", 822 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 823 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 824 | "dev": true, 825 | "license": "MIT" 826 | }, 827 | "node_modules/concat-map": { 828 | "version": "0.0.1", 829 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 830 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 831 | "dev": true, 832 | "license": "MIT" 833 | }, 834 | "node_modules/cross-spawn": { 835 | "version": "7.0.3", 836 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 837 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 838 | "dev": true, 839 | "license": "MIT", 840 | "dependencies": { 841 | "path-key": "^3.1.0", 842 | "shebang-command": "^2.0.0", 843 | "which": "^2.0.1" 844 | }, 845 | "engines": { 846 | "node": ">= 8" 847 | } 848 | }, 849 | "node_modules/debug": { 850 | "version": "4.3.5", 851 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", 852 | "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", 853 | "dev": true, 854 | "license": "MIT", 855 | "dependencies": { 856 | "ms": "2.1.2" 857 | }, 858 | "engines": { 859 | "node": ">=6.0" 860 | }, 861 | "peerDependenciesMeta": { 862 | "supports-color": { 863 | "optional": true 864 | } 865 | } 866 | }, 867 | "node_modules/deep-is": { 868 | "version": "0.1.4", 869 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", 870 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", 871 | "dev": true, 872 | "license": "MIT" 873 | }, 874 | "node_modules/dir-glob": { 875 | "version": "3.0.1", 876 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", 877 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", 878 | "dev": true, 879 | "license": "MIT", 880 | "dependencies": { 881 | "path-type": "^4.0.0" 882 | }, 883 | "engines": { 884 | "node": ">=8" 885 | } 886 | }, 887 | "node_modules/doctrine": { 888 | "version": "3.0.0", 889 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 890 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 891 | "dev": true, 892 | "license": "Apache-2.0", 893 | "dependencies": { 894 | "esutils": "^2.0.2" 895 | }, 896 | "engines": { 897 | "node": ">=6.0.0" 898 | } 899 | }, 900 | "node_modules/escape-string-regexp": { 901 | "version": "4.0.0", 902 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 903 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 904 | "dev": true, 905 | "license": "MIT", 906 | "engines": { 907 | "node": ">=10" 908 | }, 909 | "funding": { 910 | "url": "https://github.com/sponsors/sindresorhus" 911 | } 912 | }, 913 | "node_modules/eslint": { 914 | "version": "8.57.0", 915 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", 916 | "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", 917 | "dev": true, 918 | "license": "MIT", 919 | "dependencies": { 920 | "@eslint-community/eslint-utils": "^4.2.0", 921 | "@eslint-community/regexpp": "^4.6.1", 922 | "@eslint/eslintrc": "^2.1.4", 923 | "@eslint/js": "8.57.0", 924 | "@humanwhocodes/config-array": "^0.11.14", 925 | "@humanwhocodes/module-importer": "^1.0.1", 926 | "@nodelib/fs.walk": "^1.2.8", 927 | "@ungap/structured-clone": "^1.2.0", 928 | "ajv": "^6.12.4", 929 | "chalk": "^4.0.0", 930 | "cross-spawn": "^7.0.2", 931 | "debug": "^4.3.2", 932 | "doctrine": "^3.0.0", 933 | "escape-string-regexp": "^4.0.0", 934 | "eslint-scope": "^7.2.2", 935 | "eslint-visitor-keys": "^3.4.3", 936 | "espree": "^9.6.1", 937 | "esquery": "^1.4.2", 938 | "esutils": "^2.0.2", 939 | "fast-deep-equal": "^3.1.3", 940 | "file-entry-cache": "^6.0.1", 941 | "find-up": "^5.0.0", 942 | "glob-parent": "^6.0.2", 943 | "globals": "^13.19.0", 944 | "graphemer": "^1.4.0", 945 | "ignore": "^5.2.0", 946 | "imurmurhash": "^0.1.4", 947 | "is-glob": "^4.0.0", 948 | "is-path-inside": "^3.0.3", 949 | "js-yaml": "^4.1.0", 950 | "json-stable-stringify-without-jsonify": "^1.0.1", 951 | "levn": "^0.4.1", 952 | "lodash.merge": "^4.6.2", 953 | "minimatch": "^3.1.2", 954 | "natural-compare": "^1.4.0", 955 | "optionator": "^0.9.3", 956 | "strip-ansi": "^6.0.1", 957 | "text-table": "^0.2.0" 958 | }, 959 | "bin": { 960 | "eslint": "bin/eslint.js" 961 | }, 962 | "engines": { 963 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 964 | }, 965 | "funding": { 966 | "url": "https://opencollective.com/eslint" 967 | } 968 | }, 969 | "node_modules/eslint-scope": { 970 | "version": "7.2.2", 971 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", 972 | "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", 973 | "dev": true, 974 | "license": "BSD-2-Clause", 975 | "dependencies": { 976 | "esrecurse": "^4.3.0", 977 | "estraverse": "^5.2.0" 978 | }, 979 | "engines": { 980 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 981 | }, 982 | "funding": { 983 | "url": "https://opencollective.com/eslint" 984 | } 985 | }, 986 | "node_modules/eslint-visitor-keys": { 987 | "version": "3.4.3", 988 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", 989 | "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", 990 | "dev": true, 991 | "license": "Apache-2.0", 992 | "engines": { 993 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 994 | }, 995 | "funding": { 996 | "url": "https://opencollective.com/eslint" 997 | } 998 | }, 999 | "node_modules/eslint/node_modules/brace-expansion": { 1000 | "version": "1.1.11", 1001 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1002 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1003 | "dev": true, 1004 | "license": "MIT", 1005 | "dependencies": { 1006 | "balanced-match": "^1.0.0", 1007 | "concat-map": "0.0.1" 1008 | } 1009 | }, 1010 | "node_modules/eslint/node_modules/minimatch": { 1011 | "version": "3.1.2", 1012 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1013 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1014 | "dev": true, 1015 | "license": "ISC", 1016 | "dependencies": { 1017 | "brace-expansion": "^1.1.7" 1018 | }, 1019 | "engines": { 1020 | "node": "*" 1021 | } 1022 | }, 1023 | "node_modules/espree": { 1024 | "version": "9.6.1", 1025 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", 1026 | "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", 1027 | "dev": true, 1028 | "license": "BSD-2-Clause", 1029 | "dependencies": { 1030 | "acorn": "^8.9.0", 1031 | "acorn-jsx": "^5.3.2", 1032 | "eslint-visitor-keys": "^3.4.1" 1033 | }, 1034 | "engines": { 1035 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1036 | }, 1037 | "funding": { 1038 | "url": "https://opencollective.com/eslint" 1039 | } 1040 | }, 1041 | "node_modules/esquery": { 1042 | "version": "1.6.0", 1043 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", 1044 | "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", 1045 | "dev": true, 1046 | "license": "BSD-3-Clause", 1047 | "dependencies": { 1048 | "estraverse": "^5.1.0" 1049 | }, 1050 | "engines": { 1051 | "node": ">=0.10" 1052 | } 1053 | }, 1054 | "node_modules/esrecurse": { 1055 | "version": "4.3.0", 1056 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 1057 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 1058 | "dev": true, 1059 | "license": "BSD-2-Clause", 1060 | "dependencies": { 1061 | "estraverse": "^5.2.0" 1062 | }, 1063 | "engines": { 1064 | "node": ">=4.0" 1065 | } 1066 | }, 1067 | "node_modules/estraverse": { 1068 | "version": "5.3.0", 1069 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 1070 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 1071 | "dev": true, 1072 | "license": "BSD-2-Clause", 1073 | "engines": { 1074 | "node": ">=4.0" 1075 | } 1076 | }, 1077 | "node_modules/esutils": { 1078 | "version": "2.0.3", 1079 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 1080 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 1081 | "dev": true, 1082 | "license": "BSD-2-Clause", 1083 | "engines": { 1084 | "node": ">=0.10.0" 1085 | } 1086 | }, 1087 | "node_modules/fast-deep-equal": { 1088 | "version": "3.1.3", 1089 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 1090 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 1091 | "dev": true, 1092 | "license": "MIT" 1093 | }, 1094 | "node_modules/fast-glob": { 1095 | "version": "3.3.2", 1096 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", 1097 | "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", 1098 | "dev": true, 1099 | "license": "MIT", 1100 | "dependencies": { 1101 | "@nodelib/fs.stat": "^2.0.2", 1102 | "@nodelib/fs.walk": "^1.2.3", 1103 | "glob-parent": "^5.1.2", 1104 | "merge2": "^1.3.0", 1105 | "micromatch": "^4.0.4" 1106 | }, 1107 | "engines": { 1108 | "node": ">=8.6.0" 1109 | } 1110 | }, 1111 | "node_modules/fast-glob/node_modules/glob-parent": { 1112 | "version": "5.1.2", 1113 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1114 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1115 | "dev": true, 1116 | "license": "ISC", 1117 | "dependencies": { 1118 | "is-glob": "^4.0.1" 1119 | }, 1120 | "engines": { 1121 | "node": ">= 6" 1122 | } 1123 | }, 1124 | "node_modules/fast-json-stable-stringify": { 1125 | "version": "2.1.0", 1126 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1127 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 1128 | "dev": true, 1129 | "license": "MIT" 1130 | }, 1131 | "node_modules/fast-levenshtein": { 1132 | "version": "2.0.6", 1133 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 1134 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", 1135 | "dev": true, 1136 | "license": "MIT" 1137 | }, 1138 | "node_modules/fastq": { 1139 | "version": "1.17.1", 1140 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", 1141 | "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", 1142 | "dev": true, 1143 | "license": "ISC", 1144 | "dependencies": { 1145 | "reusify": "^1.0.4" 1146 | } 1147 | }, 1148 | "node_modules/file-entry-cache": { 1149 | "version": "6.0.1", 1150 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 1151 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 1152 | "dev": true, 1153 | "license": "MIT", 1154 | "dependencies": { 1155 | "flat-cache": "^3.0.4" 1156 | }, 1157 | "engines": { 1158 | "node": "^10.12.0 || >=12.0.0" 1159 | } 1160 | }, 1161 | "node_modules/fill-range": { 1162 | "version": "7.1.1", 1163 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", 1164 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", 1165 | "dev": true, 1166 | "license": "MIT", 1167 | "dependencies": { 1168 | "to-regex-range": "^5.0.1" 1169 | }, 1170 | "engines": { 1171 | "node": ">=8" 1172 | } 1173 | }, 1174 | "node_modules/find-up": { 1175 | "version": "5.0.0", 1176 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 1177 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 1178 | "dev": true, 1179 | "license": "MIT", 1180 | "dependencies": { 1181 | "locate-path": "^6.0.0", 1182 | "path-exists": "^4.0.0" 1183 | }, 1184 | "engines": { 1185 | "node": ">=10" 1186 | }, 1187 | "funding": { 1188 | "url": "https://github.com/sponsors/sindresorhus" 1189 | } 1190 | }, 1191 | "node_modules/flat-cache": { 1192 | "version": "3.2.0", 1193 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", 1194 | "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", 1195 | "dev": true, 1196 | "license": "MIT", 1197 | "dependencies": { 1198 | "flatted": "^3.2.9", 1199 | "keyv": "^4.5.3", 1200 | "rimraf": "^3.0.2" 1201 | }, 1202 | "engines": { 1203 | "node": "^10.12.0 || >=12.0.0" 1204 | } 1205 | }, 1206 | "node_modules/flatted": { 1207 | "version": "3.3.1", 1208 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", 1209 | "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", 1210 | "dev": true, 1211 | "license": "ISC" 1212 | }, 1213 | "node_modules/fs.realpath": { 1214 | "version": "1.0.0", 1215 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1216 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 1217 | "dev": true, 1218 | "license": "ISC" 1219 | }, 1220 | "node_modules/glob": { 1221 | "version": "7.2.3", 1222 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 1223 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 1224 | "deprecated": "Glob versions prior to v9 are no longer supported", 1225 | "dev": true, 1226 | "license": "ISC", 1227 | "dependencies": { 1228 | "fs.realpath": "^1.0.0", 1229 | "inflight": "^1.0.4", 1230 | "inherits": "2", 1231 | "minimatch": "^3.1.1", 1232 | "once": "^1.3.0", 1233 | "path-is-absolute": "^1.0.0" 1234 | }, 1235 | "engines": { 1236 | "node": "*" 1237 | }, 1238 | "funding": { 1239 | "url": "https://github.com/sponsors/isaacs" 1240 | } 1241 | }, 1242 | "node_modules/glob-parent": { 1243 | "version": "6.0.2", 1244 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 1245 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 1246 | "dev": true, 1247 | "license": "ISC", 1248 | "dependencies": { 1249 | "is-glob": "^4.0.3" 1250 | }, 1251 | "engines": { 1252 | "node": ">=10.13.0" 1253 | } 1254 | }, 1255 | "node_modules/glob/node_modules/brace-expansion": { 1256 | "version": "1.1.11", 1257 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1258 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1259 | "dev": true, 1260 | "license": "MIT", 1261 | "dependencies": { 1262 | "balanced-match": "^1.0.0", 1263 | "concat-map": "0.0.1" 1264 | } 1265 | }, 1266 | "node_modules/glob/node_modules/minimatch": { 1267 | "version": "3.1.2", 1268 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1269 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1270 | "dev": true, 1271 | "license": "ISC", 1272 | "dependencies": { 1273 | "brace-expansion": "^1.1.7" 1274 | }, 1275 | "engines": { 1276 | "node": "*" 1277 | } 1278 | }, 1279 | "node_modules/globals": { 1280 | "version": "13.24.0", 1281 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", 1282 | "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", 1283 | "dev": true, 1284 | "license": "MIT", 1285 | "dependencies": { 1286 | "type-fest": "^0.20.2" 1287 | }, 1288 | "engines": { 1289 | "node": ">=8" 1290 | }, 1291 | "funding": { 1292 | "url": "https://github.com/sponsors/sindresorhus" 1293 | } 1294 | }, 1295 | "node_modules/globby": { 1296 | "version": "11.1.0", 1297 | "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", 1298 | "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", 1299 | "dev": true, 1300 | "license": "MIT", 1301 | "dependencies": { 1302 | "array-union": "^2.1.0", 1303 | "dir-glob": "^3.0.1", 1304 | "fast-glob": "^3.2.9", 1305 | "ignore": "^5.2.0", 1306 | "merge2": "^1.4.1", 1307 | "slash": "^3.0.0" 1308 | }, 1309 | "engines": { 1310 | "node": ">=10" 1311 | }, 1312 | "funding": { 1313 | "url": "https://github.com/sponsors/sindresorhus" 1314 | } 1315 | }, 1316 | "node_modules/graphemer": { 1317 | "version": "1.4.0", 1318 | "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", 1319 | "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", 1320 | "dev": true, 1321 | "license": "MIT" 1322 | }, 1323 | "node_modules/has-flag": { 1324 | "version": "4.0.0", 1325 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1326 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 1327 | "dev": true, 1328 | "license": "MIT", 1329 | "engines": { 1330 | "node": ">=8" 1331 | } 1332 | }, 1333 | "node_modules/ignore": { 1334 | "version": "5.3.1", 1335 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", 1336 | "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", 1337 | "dev": true, 1338 | "license": "MIT", 1339 | "engines": { 1340 | "node": ">= 4" 1341 | } 1342 | }, 1343 | "node_modules/import-fresh": { 1344 | "version": "3.3.0", 1345 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 1346 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 1347 | "dev": true, 1348 | "license": "MIT", 1349 | "dependencies": { 1350 | "parent-module": "^1.0.0", 1351 | "resolve-from": "^4.0.0" 1352 | }, 1353 | "engines": { 1354 | "node": ">=6" 1355 | }, 1356 | "funding": { 1357 | "url": "https://github.com/sponsors/sindresorhus" 1358 | } 1359 | }, 1360 | "node_modules/imurmurhash": { 1361 | "version": "0.1.4", 1362 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1363 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", 1364 | "dev": true, 1365 | "license": "MIT", 1366 | "engines": { 1367 | "node": ">=0.8.19" 1368 | } 1369 | }, 1370 | "node_modules/inflight": { 1371 | "version": "1.0.6", 1372 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1373 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 1374 | "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.", 1375 | "dev": true, 1376 | "license": "ISC", 1377 | "dependencies": { 1378 | "once": "^1.3.0", 1379 | "wrappy": "1" 1380 | } 1381 | }, 1382 | "node_modules/inherits": { 1383 | "version": "2.0.4", 1384 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1385 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1386 | "dev": true, 1387 | "license": "ISC" 1388 | }, 1389 | "node_modules/is-extglob": { 1390 | "version": "2.1.1", 1391 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1392 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 1393 | "dev": true, 1394 | "license": "MIT", 1395 | "engines": { 1396 | "node": ">=0.10.0" 1397 | } 1398 | }, 1399 | "node_modules/is-glob": { 1400 | "version": "4.0.3", 1401 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1402 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1403 | "dev": true, 1404 | "license": "MIT", 1405 | "dependencies": { 1406 | "is-extglob": "^2.1.1" 1407 | }, 1408 | "engines": { 1409 | "node": ">=0.10.0" 1410 | } 1411 | }, 1412 | "node_modules/is-number": { 1413 | "version": "7.0.0", 1414 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1415 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1416 | "dev": true, 1417 | "license": "MIT", 1418 | "engines": { 1419 | "node": ">=0.12.0" 1420 | } 1421 | }, 1422 | "node_modules/is-path-inside": { 1423 | "version": "3.0.3", 1424 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", 1425 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", 1426 | "dev": true, 1427 | "license": "MIT", 1428 | "engines": { 1429 | "node": ">=8" 1430 | } 1431 | }, 1432 | "node_modules/isexe": { 1433 | "version": "2.0.0", 1434 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1435 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 1436 | "dev": true, 1437 | "license": "ISC" 1438 | }, 1439 | "node_modules/js-yaml": { 1440 | "version": "4.1.0", 1441 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 1442 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 1443 | "dev": true, 1444 | "license": "MIT", 1445 | "dependencies": { 1446 | "argparse": "^2.0.1" 1447 | }, 1448 | "bin": { 1449 | "js-yaml": "bin/js-yaml.js" 1450 | } 1451 | }, 1452 | "node_modules/json-buffer": { 1453 | "version": "3.0.1", 1454 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", 1455 | "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", 1456 | "dev": true, 1457 | "license": "MIT" 1458 | }, 1459 | "node_modules/json-schema-traverse": { 1460 | "version": "0.4.1", 1461 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1462 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 1463 | "dev": true, 1464 | "license": "MIT" 1465 | }, 1466 | "node_modules/json-stable-stringify-without-jsonify": { 1467 | "version": "1.0.1", 1468 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 1469 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", 1470 | "dev": true, 1471 | "license": "MIT" 1472 | }, 1473 | "node_modules/keyv": { 1474 | "version": "4.5.4", 1475 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", 1476 | "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", 1477 | "dev": true, 1478 | "license": "MIT", 1479 | "dependencies": { 1480 | "json-buffer": "3.0.1" 1481 | } 1482 | }, 1483 | "node_modules/levn": { 1484 | "version": "0.4.1", 1485 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 1486 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 1487 | "dev": true, 1488 | "license": "MIT", 1489 | "dependencies": { 1490 | "prelude-ls": "^1.2.1", 1491 | "type-check": "~0.4.0" 1492 | }, 1493 | "engines": { 1494 | "node": ">= 0.8.0" 1495 | } 1496 | }, 1497 | "node_modules/locate-path": { 1498 | "version": "6.0.0", 1499 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 1500 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 1501 | "dev": true, 1502 | "license": "MIT", 1503 | "dependencies": { 1504 | "p-locate": "^5.0.0" 1505 | }, 1506 | "engines": { 1507 | "node": ">=10" 1508 | }, 1509 | "funding": { 1510 | "url": "https://github.com/sponsors/sindresorhus" 1511 | } 1512 | }, 1513 | "node_modules/lodash.merge": { 1514 | "version": "4.6.2", 1515 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 1516 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 1517 | "dev": true, 1518 | "license": "MIT" 1519 | }, 1520 | "node_modules/merge2": { 1521 | "version": "1.4.1", 1522 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 1523 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 1524 | "dev": true, 1525 | "license": "MIT", 1526 | "engines": { 1527 | "node": ">= 8" 1528 | } 1529 | }, 1530 | "node_modules/micromatch": { 1531 | "version": "4.0.7", 1532 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", 1533 | "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", 1534 | "dev": true, 1535 | "license": "MIT", 1536 | "dependencies": { 1537 | "braces": "^3.0.3", 1538 | "picomatch": "^2.3.1" 1539 | }, 1540 | "engines": { 1541 | "node": ">=8.6" 1542 | } 1543 | }, 1544 | "node_modules/minimatch": { 1545 | "version": "9.0.5", 1546 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", 1547 | "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", 1548 | "dev": true, 1549 | "license": "ISC", 1550 | "dependencies": { 1551 | "brace-expansion": "^2.0.1" 1552 | }, 1553 | "engines": { 1554 | "node": ">=16 || 14 >=14.17" 1555 | }, 1556 | "funding": { 1557 | "url": "https://github.com/sponsors/isaacs" 1558 | } 1559 | }, 1560 | "node_modules/ms": { 1561 | "version": "2.1.2", 1562 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1563 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1564 | "dev": true, 1565 | "license": "MIT" 1566 | }, 1567 | "node_modules/natural-compare": { 1568 | "version": "1.4.0", 1569 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 1570 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", 1571 | "dev": true, 1572 | "license": "MIT" 1573 | }, 1574 | "node_modules/once": { 1575 | "version": "1.4.0", 1576 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1577 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 1578 | "dev": true, 1579 | "license": "ISC", 1580 | "dependencies": { 1581 | "wrappy": "1" 1582 | } 1583 | }, 1584 | "node_modules/optionator": { 1585 | "version": "0.9.4", 1586 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", 1587 | "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", 1588 | "dev": true, 1589 | "license": "MIT", 1590 | "dependencies": { 1591 | "deep-is": "^0.1.3", 1592 | "fast-levenshtein": "^2.0.6", 1593 | "levn": "^0.4.1", 1594 | "prelude-ls": "^1.2.1", 1595 | "type-check": "^0.4.0", 1596 | "word-wrap": "^1.2.5" 1597 | }, 1598 | "engines": { 1599 | "node": ">= 0.8.0" 1600 | } 1601 | }, 1602 | "node_modules/p-limit": { 1603 | "version": "3.1.0", 1604 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 1605 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 1606 | "dev": true, 1607 | "license": "MIT", 1608 | "dependencies": { 1609 | "yocto-queue": "^0.1.0" 1610 | }, 1611 | "engines": { 1612 | "node": ">=10" 1613 | }, 1614 | "funding": { 1615 | "url": "https://github.com/sponsors/sindresorhus" 1616 | } 1617 | }, 1618 | "node_modules/p-locate": { 1619 | "version": "5.0.0", 1620 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 1621 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 1622 | "dev": true, 1623 | "license": "MIT", 1624 | "dependencies": { 1625 | "p-limit": "^3.0.2" 1626 | }, 1627 | "engines": { 1628 | "node": ">=10" 1629 | }, 1630 | "funding": { 1631 | "url": "https://github.com/sponsors/sindresorhus" 1632 | } 1633 | }, 1634 | "node_modules/parent-module": { 1635 | "version": "1.0.1", 1636 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 1637 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 1638 | "dev": true, 1639 | "license": "MIT", 1640 | "dependencies": { 1641 | "callsites": "^3.0.0" 1642 | }, 1643 | "engines": { 1644 | "node": ">=6" 1645 | } 1646 | }, 1647 | "node_modules/path-exists": { 1648 | "version": "4.0.0", 1649 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 1650 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 1651 | "dev": true, 1652 | "license": "MIT", 1653 | "engines": { 1654 | "node": ">=8" 1655 | } 1656 | }, 1657 | "node_modules/path-is-absolute": { 1658 | "version": "1.0.1", 1659 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1660 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 1661 | "dev": true, 1662 | "license": "MIT", 1663 | "engines": { 1664 | "node": ">=0.10.0" 1665 | } 1666 | }, 1667 | "node_modules/path-key": { 1668 | "version": "3.1.1", 1669 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 1670 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 1671 | "dev": true, 1672 | "license": "MIT", 1673 | "engines": { 1674 | "node": ">=8" 1675 | } 1676 | }, 1677 | "node_modules/path-type": { 1678 | "version": "4.0.0", 1679 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 1680 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 1681 | "dev": true, 1682 | "license": "MIT", 1683 | "engines": { 1684 | "node": ">=8" 1685 | } 1686 | }, 1687 | "node_modules/picomatch": { 1688 | "version": "2.3.1", 1689 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 1690 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 1691 | "dev": true, 1692 | "license": "MIT", 1693 | "engines": { 1694 | "node": ">=8.6" 1695 | }, 1696 | "funding": { 1697 | "url": "https://github.com/sponsors/jonschlinkert" 1698 | } 1699 | }, 1700 | "node_modules/prelude-ls": { 1701 | "version": "1.2.1", 1702 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 1703 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 1704 | "dev": true, 1705 | "license": "MIT", 1706 | "engines": { 1707 | "node": ">= 0.8.0" 1708 | } 1709 | }, 1710 | "node_modules/prettier": { 1711 | "version": "3.3.2", 1712 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz", 1713 | "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==", 1714 | "dev": true, 1715 | "license": "MIT", 1716 | "bin": { 1717 | "prettier": "bin/prettier.cjs" 1718 | }, 1719 | "engines": { 1720 | "node": ">=14" 1721 | }, 1722 | "funding": { 1723 | "url": "https://github.com/prettier/prettier?sponsor=1" 1724 | } 1725 | }, 1726 | "node_modules/punycode": { 1727 | "version": "2.3.1", 1728 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", 1729 | "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", 1730 | "dev": true, 1731 | "license": "MIT", 1732 | "engines": { 1733 | "node": ">=6" 1734 | } 1735 | }, 1736 | "node_modules/queue-microtask": { 1737 | "version": "1.2.3", 1738 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 1739 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 1740 | "dev": true, 1741 | "funding": [ 1742 | { 1743 | "type": "github", 1744 | "url": "https://github.com/sponsors/feross" 1745 | }, 1746 | { 1747 | "type": "patreon", 1748 | "url": "https://www.patreon.com/feross" 1749 | }, 1750 | { 1751 | "type": "consulting", 1752 | "url": "https://feross.org/support" 1753 | } 1754 | ], 1755 | "license": "MIT" 1756 | }, 1757 | "node_modules/resolve-from": { 1758 | "version": "4.0.0", 1759 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 1760 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 1761 | "dev": true, 1762 | "license": "MIT", 1763 | "engines": { 1764 | "node": ">=4" 1765 | } 1766 | }, 1767 | "node_modules/reusify": { 1768 | "version": "1.0.4", 1769 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 1770 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 1771 | "dev": true, 1772 | "license": "MIT", 1773 | "engines": { 1774 | "iojs": ">=1.0.0", 1775 | "node": ">=0.10.0" 1776 | } 1777 | }, 1778 | "node_modules/rimraf": { 1779 | "version": "3.0.2", 1780 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 1781 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 1782 | "deprecated": "Rimraf versions prior to v4 are no longer supported", 1783 | "dev": true, 1784 | "license": "ISC", 1785 | "dependencies": { 1786 | "glob": "^7.1.3" 1787 | }, 1788 | "bin": { 1789 | "rimraf": "bin.js" 1790 | }, 1791 | "funding": { 1792 | "url": "https://github.com/sponsors/isaacs" 1793 | } 1794 | }, 1795 | "node_modules/run-parallel": { 1796 | "version": "1.2.0", 1797 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 1798 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 1799 | "dev": true, 1800 | "funding": [ 1801 | { 1802 | "type": "github", 1803 | "url": "https://github.com/sponsors/feross" 1804 | }, 1805 | { 1806 | "type": "patreon", 1807 | "url": "https://www.patreon.com/feross" 1808 | }, 1809 | { 1810 | "type": "consulting", 1811 | "url": "https://feross.org/support" 1812 | } 1813 | ], 1814 | "license": "MIT", 1815 | "dependencies": { 1816 | "queue-microtask": "^1.2.2" 1817 | } 1818 | }, 1819 | "node_modules/semver": { 1820 | "version": "7.6.2", 1821 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", 1822 | "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", 1823 | "license": "ISC", 1824 | "bin": { 1825 | "semver": "bin/semver.js" 1826 | }, 1827 | "engines": { 1828 | "node": ">=10" 1829 | } 1830 | }, 1831 | "node_modules/shebang-command": { 1832 | "version": "2.0.0", 1833 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 1834 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 1835 | "dev": true, 1836 | "license": "MIT", 1837 | "dependencies": { 1838 | "shebang-regex": "^3.0.0" 1839 | }, 1840 | "engines": { 1841 | "node": ">=8" 1842 | } 1843 | }, 1844 | "node_modules/shebang-regex": { 1845 | "version": "3.0.0", 1846 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 1847 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 1848 | "dev": true, 1849 | "license": "MIT", 1850 | "engines": { 1851 | "node": ">=8" 1852 | } 1853 | }, 1854 | "node_modules/slash": { 1855 | "version": "3.0.0", 1856 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 1857 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 1858 | "dev": true, 1859 | "license": "MIT", 1860 | "engines": { 1861 | "node": ">=8" 1862 | } 1863 | }, 1864 | "node_modules/strip-ansi": { 1865 | "version": "6.0.1", 1866 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1867 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1868 | "dev": true, 1869 | "license": "MIT", 1870 | "dependencies": { 1871 | "ansi-regex": "^5.0.1" 1872 | }, 1873 | "engines": { 1874 | "node": ">=8" 1875 | } 1876 | }, 1877 | "node_modules/strip-json-comments": { 1878 | "version": "3.1.1", 1879 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 1880 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 1881 | "dev": true, 1882 | "license": "MIT", 1883 | "engines": { 1884 | "node": ">=8" 1885 | }, 1886 | "funding": { 1887 | "url": "https://github.com/sponsors/sindresorhus" 1888 | } 1889 | }, 1890 | "node_modules/supports-color": { 1891 | "version": "7.2.0", 1892 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1893 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1894 | "dev": true, 1895 | "license": "MIT", 1896 | "dependencies": { 1897 | "has-flag": "^4.0.0" 1898 | }, 1899 | "engines": { 1900 | "node": ">=8" 1901 | } 1902 | }, 1903 | "node_modules/text-table": { 1904 | "version": "0.2.0", 1905 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 1906 | "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", 1907 | "dev": true, 1908 | "license": "MIT" 1909 | }, 1910 | "node_modules/to-regex-range": { 1911 | "version": "5.0.1", 1912 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1913 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1914 | "dev": true, 1915 | "license": "MIT", 1916 | "dependencies": { 1917 | "is-number": "^7.0.0" 1918 | }, 1919 | "engines": { 1920 | "node": ">=8.0" 1921 | } 1922 | }, 1923 | "node_modules/ts-api-utils": { 1924 | "version": "1.3.0", 1925 | "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", 1926 | "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", 1927 | "dev": true, 1928 | "license": "MIT", 1929 | "engines": { 1930 | "node": ">=16" 1931 | }, 1932 | "peerDependencies": { 1933 | "typescript": ">=4.2.0" 1934 | } 1935 | }, 1936 | "node_modules/tunnel": { 1937 | "version": "0.0.6", 1938 | "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", 1939 | "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", 1940 | "license": "MIT", 1941 | "engines": { 1942 | "node": ">=0.6.11 <=0.7.0 || >=0.7.3" 1943 | } 1944 | }, 1945 | "node_modules/type-check": { 1946 | "version": "0.4.0", 1947 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 1948 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 1949 | "dev": true, 1950 | "license": "MIT", 1951 | "dependencies": { 1952 | "prelude-ls": "^1.2.1" 1953 | }, 1954 | "engines": { 1955 | "node": ">= 0.8.0" 1956 | } 1957 | }, 1958 | "node_modules/type-fest": { 1959 | "version": "0.20.2", 1960 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 1961 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 1962 | "dev": true, 1963 | "license": "(MIT OR CC0-1.0)", 1964 | "engines": { 1965 | "node": ">=10" 1966 | }, 1967 | "funding": { 1968 | "url": "https://github.com/sponsors/sindresorhus" 1969 | } 1970 | }, 1971 | "node_modules/typescript": { 1972 | "version": "5.5.3", 1973 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", 1974 | "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", 1975 | "dev": true, 1976 | "license": "Apache-2.0", 1977 | "bin": { 1978 | "tsc": "bin/tsc", 1979 | "tsserver": "bin/tsserver" 1980 | }, 1981 | "engines": { 1982 | "node": ">=14.17" 1983 | } 1984 | }, 1985 | "node_modules/undici": { 1986 | "version": "5.28.4", 1987 | "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz", 1988 | "integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==", 1989 | "license": "MIT", 1990 | "dependencies": { 1991 | "@fastify/busboy": "^2.0.0" 1992 | }, 1993 | "engines": { 1994 | "node": ">=14.0" 1995 | } 1996 | }, 1997 | "node_modules/undici-types": { 1998 | "version": "5.26.5", 1999 | "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", 2000 | "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", 2001 | "dev": true, 2002 | "license": "MIT" 2003 | }, 2004 | "node_modules/universal-user-agent": { 2005 | "version": "7.0.2", 2006 | "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", 2007 | "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" 2008 | }, 2009 | "node_modules/uri-js": { 2010 | "version": "4.4.1", 2011 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 2012 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 2013 | "dev": true, 2014 | "license": "BSD-2-Clause", 2015 | "dependencies": { 2016 | "punycode": "^2.1.0" 2017 | } 2018 | }, 2019 | "node_modules/uuid": { 2020 | "version": "8.3.2", 2021 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", 2022 | "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", 2023 | "license": "MIT", 2024 | "bin": { 2025 | "uuid": "dist/bin/uuid" 2026 | } 2027 | }, 2028 | "node_modules/which": { 2029 | "version": "2.0.2", 2030 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 2031 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 2032 | "dev": true, 2033 | "license": "ISC", 2034 | "dependencies": { 2035 | "isexe": "^2.0.0" 2036 | }, 2037 | "bin": { 2038 | "node-which": "bin/node-which" 2039 | }, 2040 | "engines": { 2041 | "node": ">= 8" 2042 | } 2043 | }, 2044 | "node_modules/word-wrap": { 2045 | "version": "1.2.5", 2046 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", 2047 | "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", 2048 | "dev": true, 2049 | "license": "MIT", 2050 | "engines": { 2051 | "node": ">=0.10.0" 2052 | } 2053 | }, 2054 | "node_modules/wrappy": { 2055 | "version": "1.0.2", 2056 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 2057 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 2058 | "dev": true, 2059 | "license": "ISC" 2060 | }, 2061 | "node_modules/yocto-queue": { 2062 | "version": "0.1.0", 2063 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 2064 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 2065 | "dev": true, 2066 | "license": "MIT", 2067 | "engines": { 2068 | "node": ">=10" 2069 | }, 2070 | "funding": { 2071 | "url": "https://github.com/sponsors/sindresorhus" 2072 | } 2073 | }, 2074 | "setup-crate": { 2075 | "name": "@extractions/setup-crate", 2076 | "version": "0.5.0", 2077 | "license": "MIT OR Apache-2.0", 2078 | "dependencies": { 2079 | "@actions/core": "^1.9.1", 2080 | "@actions/tool-cache": "^2.0.1", 2081 | "@octokit/rest": "^21.0.0", 2082 | "semver": "^7.3.7" 2083 | }, 2084 | "devDependencies": { 2085 | "@types/node": "^20.14.10", 2086 | "@types/semver": "^7.5.8", 2087 | "@typescript-eslint/eslint-plugin": "^7.16.0", 2088 | "@typescript-eslint/parser": "^7.16.0", 2089 | "eslint": "^8.56.0", 2090 | "prettier": "^3.3.2", 2091 | "typescript": "^5.5.3" 2092 | } 2093 | } 2094 | } 2095 | } 2096 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "setup-crate-action", 3 | "version": "1.4.0", 4 | "description": "Install any Rust crate", 5 | "main": "dist/index.js", 6 | "private": true, 7 | "scripts": { 8 | "fmt": "prettier --write **/*.ts", 9 | "lint": "eslint **/*.ts", 10 | "build": "npm run -w setup-crate build && rm -rf dist/ && ncc build src/index.ts --minify", 11 | "run": "npm run build && RUNNER_TOOL_CACHE=./runner/cache RUNNER_TEMP=./runner/temp node dist/index.js" 12 | }, 13 | "repository": { 14 | "type": "git", 15 | "url": "git+https://github.com/extractions/setup-crate.git" 16 | }, 17 | "author": "Ross MacArthur ", 18 | "license": "MIT OR Apache-2.0", 19 | "bugs": { 20 | "url": "https://github.com/extractions/setup-crate/issues" 21 | }, 22 | "homepage": "https://github.com/extractions/setup-crate#readme", 23 | "dependencies": { 24 | "@actions/core": "^1.10.1", 25 | "@extractions/setup-crate": "^0.5.0" 26 | }, 27 | "devDependencies": { 28 | "@types/node": "^20.14.10", 29 | "@types/semver": "^7.5.8", 30 | "@typescript-eslint/eslint-plugin": "^7.16.0", 31 | "@typescript-eslint/parser": "^7.16.0", 32 | "@vercel/ncc": "^0.38.1", 33 | "eslint": "^8.56.0", 34 | "prettier": "^3.3.2", 35 | "typescript": "^5.5.3" 36 | }, 37 | "workspaces": [ 38 | "./setup-crate" 39 | ] 40 | } 41 | -------------------------------------------------------------------------------- /setup-crate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@extractions/setup-crate", 3 | "version": "0.5.0", 4 | "description": "Install a Rust crate.", 5 | "author": "Ross MacArthur ", 6 | "license": "MIT OR Apache-2.0", 7 | "homepage": "https://github.com/extractions/setup-crate#readme", 8 | "repository": { 9 | "type": "git", 10 | "url": "git+https://github.com/extractions/setup-crate.git" 11 | }, 12 | "bugs": { 13 | "url": "https://github.com/extractions/setup-crate/issues" 14 | }, 15 | "scripts": { 16 | "build": "tsc", 17 | "fmt": "prettier --write src/**/*.ts", 18 | "lint": "eslint src/**/*.ts" 19 | }, 20 | "files": [ 21 | "lib/**/*" 22 | ], 23 | "publishConfig": { 24 | "access": "public" 25 | }, 26 | "main": "lib/index.js", 27 | "types": "lib/index.d.ts", 28 | "dependencies": { 29 | "@actions/core": "^1.9.1", 30 | "@actions/tool-cache": "^2.0.1", 31 | "@octokit/rest": "^21.0.0", 32 | "semver": "^7.3.7" 33 | }, 34 | "devDependencies": { 35 | "@types/node": "^20.14.10", 36 | "@types/semver": "^7.5.8", 37 | "@typescript-eslint/eslint-plugin": "^7.16.0", 38 | "@typescript-eslint/parser": "^7.16.0", 39 | "eslint": "^8.56.0", 40 | "prettier": "^3.3.2", 41 | "typescript": "^5.5.3" 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /setup-crate/src/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | constants as fs_constants, 3 | promises as fs, 4 | } from 'fs'; 5 | import * as path from 'path'; 6 | import * as semver from 'semver'; 7 | 8 | import * as core from '@actions/core'; 9 | import * as tc from '@actions/tool-cache'; 10 | import { Octokit } from '@octokit/rest'; 11 | 12 | /** 13 | * @returns {string[]} possible Rust target specifiers for the current platform. 14 | */ 15 | function getTargets(): string[] { 16 | const { arch, platform } = process; 17 | if (arch == "x64") { 18 | if (platform == "linux") { 19 | return ["x86_64-unknown-linux-musl", "x86_64-unknown-linux-gnu"]; 20 | } else if (platform == "darwin") { 21 | return ["x86_64-apple-darwin"]; 22 | } else if (platform == "win32") { 23 | return ["x86_64-pc-windows-msvc"]; 24 | } 25 | } 26 | if (arch == "arm64") { 27 | if (platform == "linux") { 28 | return ["aarch64-unknown-linux-musl", "aarch64-unknown-linux-gnu"]; 29 | } else if (platform == "darwin") { 30 | return ["aarch64-apple-darwin"]; 31 | } 32 | } 33 | throw new Error( 34 | `failed to determine any valid targets; arch = ${arch}, platform = ${platform}`, 35 | ); 36 | } 37 | 38 | /** 39 | * Options that this package supports. 40 | */ 41 | export interface Options { 42 | /** Passed to Octokit auth, typically the GITHUB_TOKEN */ 43 | auth: any; 44 | } 45 | 46 | /** 47 | * Represents a tool to install from GitHub. 48 | */ 49 | export interface Tool { 50 | /** The GitHub owner (username or organization). */ 51 | owner: string; 52 | /** The GitHub repo name. */ 53 | name: string; 54 | /** A valid semantic version specifier for the tool. */ 55 | versionSpec?: string; 56 | /** The name of the tool binary (defaults to the repo name) */ 57 | bin?: string; 58 | } 59 | 60 | /** 61 | * Represents an installed tool. 62 | */ 63 | export interface InstalledTool { 64 | /** The GitHub owner (username or organization). */ 65 | owner: string; 66 | /** The GitHub repo name. */ 67 | name: string; 68 | /** The version of the tool. */ 69 | version: string; 70 | /** The directory containing the tool binary. */ 71 | dir: string; 72 | /** The name of the tool binary (defaults to the repo name) */ 73 | bin?: string; 74 | } 75 | 76 | /** 77 | * Represents a single release for a {@link Tool}. 78 | */ 79 | interface Release { 80 | /** The exact release tag. */ 81 | version: string; 82 | /** The asset download URL. */ 83 | downloadUrl: string; 84 | } 85 | 86 | /** 87 | * Fetch the latest matching release for the given tool. 88 | * 89 | * @param tool the tool to fetch a release for. 90 | * 91 | * @returns {Promise} a single GitHub release. 92 | */ 93 | async function getRelease(tool: Tool, options?: Options): Promise { 94 | const targets = getTargets(); 95 | const { owner, name, versionSpec } = tool; 96 | const octokit = new Octokit(options); 97 | return octokit 98 | .paginate( 99 | "GET /repos/{owner}/{repo}/releases", 100 | { owner, repo: name }, 101 | (response, done) => { 102 | const releases = response.data 103 | .map((rel): Release | undefined => { 104 | const asset = rel.assets.find((ass) => 105 | targets.some((target) => ass.name.includes(target)), 106 | ); 107 | if (asset) { 108 | return { 109 | version: rel.tag_name.replace(/^v/, ""), 110 | downloadUrl: asset.browser_download_url, 111 | }; 112 | } 113 | }) 114 | .filter((rel) => Boolean(rel)) 115 | .filter((rel) => 116 | rel && versionSpec 117 | ? semver.satisfies(rel.version, versionSpec) 118 | : true, 119 | ); 120 | if (releases.length > 0) { 121 | done(); 122 | } 123 | return releases; 124 | }, 125 | ) 126 | .then((releases) => { 127 | const release = releases.find((release) => release != null); 128 | if (release === undefined) { 129 | throw new Error( 130 | `no release for ${name} matching version specifier ${versionSpec}`, 131 | ); 132 | } 133 | return release; 134 | }); 135 | } 136 | 137 | async function handleBadBinaryPermissions( 138 | tool: Tool, 139 | dir: string, 140 | ): Promise { 141 | const { name, bin } = tool; 142 | if (process.platform !== "win32") { 143 | const findBin = async () => { 144 | const files = await fs.readdir(dir); 145 | for await (const file of files) { 146 | if (file.toLowerCase() == name.toLowerCase()) { 147 | return file; 148 | } 149 | } 150 | return name; 151 | }; 152 | const binary = path.join(dir, bin ? bin : await findBin()); 153 | try { 154 | await fs.access(binary, fs_constants.X_OK); 155 | } catch { 156 | await fs.chmod(binary, "755"); 157 | core.debug(`Fixed file permissions (-> 0o755) for ${binary}`); 158 | } 159 | } 160 | } 161 | 162 | /** 163 | * Checks the tool cache for the tool, and if it is missing fetches it from 164 | * GitHub releases. 165 | * 166 | * @param tool the tool to check or install. 167 | * 168 | * @returns the directory containing the tool binary. 169 | */ 170 | export async function checkOrInstallTool( 171 | tool: Tool, 172 | options?: Options, 173 | ): Promise { 174 | const { name, versionSpec } = tool; 175 | 176 | // first check if we have previously downloaded the tool 177 | let dir = tc.find(name, versionSpec || "*"); 178 | 179 | if (!dir) { 180 | // find the latest release by querying GitHub API 181 | const { version, downloadUrl } = await getRelease(tool, options); 182 | 183 | // download, extract, and cache the tool 184 | const artifact = await tc.downloadTool(downloadUrl); 185 | core.debug(`Successfully downloaded ${name} v${version}`); 186 | 187 | let extractDir; 188 | if (downloadUrl.endsWith(".zip")) { 189 | extractDir = await tc.extractZip(artifact); 190 | } else { 191 | extractDir = await tc.extractTar(artifact); 192 | } 193 | core.debug(`Successfully extracted archive for ${name} v${version}`); 194 | 195 | // handle the case where there is a single directory extracted 196 | const files = await fs.readdir(extractDir); 197 | if (files.length == 1) { 198 | const maybeDir = path.join(extractDir, files[0]); 199 | if ((await fs.lstat(maybeDir)).isDirectory()) { 200 | extractDir = maybeDir; 201 | } 202 | } 203 | 204 | dir = await tc.cacheDir(extractDir, name, version); 205 | 206 | // handle bad binary permissions, the binary needs to be executable! 207 | await handleBadBinaryPermissions(tool, dir); 208 | } 209 | 210 | // FIXME: is there a better way to get the version? 211 | const version = path.basename(path.dirname(dir)); 212 | 213 | return { version, dir, ...tool }; 214 | } 215 | -------------------------------------------------------------------------------- /setup-crate/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Visit https://aka.ms/tsconfig.json to read more about this file */ 4 | 5 | /* Basic Options */ 6 | // "incremental": true, /* Enable incremental compilation */ 7 | "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ 8 | "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ 9 | // "lib": [], /* Specify library files to be included in the compilation. */ 10 | // "allowJs": true, /* Allow javascript files to be compiled. */ 11 | // "checkJs": true, /* Report errors in .js files. */ 12 | // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ 13 | "declaration": true, /* Generates corresponding '.d.ts' file. */ 14 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ 15 | // "sourceMap": true, /* Generates corresponding '.map' file. */ 16 | // "outFile": "./", /* Concatenate and emit output to single file. */ 17 | "outDir": "./lib", /* Redirect output structure to the directory. */ 18 | "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ 19 | // "composite": true, /* Enable project compilation */ 20 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ 21 | // "removeComments": true, /* Do not emit comments to output. */ 22 | // "noEmit": true, /* Do not emit outputs. */ 23 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */ 24 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ 25 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ 26 | 27 | /* Strict Type-Checking Options */ 28 | "strict": true, /* Enable all strict type-checking options. */ 29 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ 30 | // "strictNullChecks": true, /* Enable strict null checks. */ 31 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */ 32 | // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ 33 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ 34 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ 35 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ 36 | 37 | /* Additional Checks */ 38 | // "noUnusedLocals": true, /* Report errors on unused locals. */ 39 | // "noUnusedParameters": true, /* Report errors on unused parameters. */ 40 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ 41 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ 42 | // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */ 43 | 44 | /* Module Resolution Options */ 45 | // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ 46 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ 47 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ 48 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ 49 | // "typeRoots": [], /* List of folders to include type definitions from. */ 50 | // "types": [], /* Type declaration files to be included in compilation. */ 51 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ 52 | "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ 53 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ 54 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ 55 | 56 | /* Source Map Options */ 57 | // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ 58 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ 59 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ 60 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ 61 | 62 | /* Experimental Options */ 63 | // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ 64 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ 65 | 66 | /* Advanced Options */ 67 | "skipLibCheck": true, /* Skip type checking of declaration files. */ 68 | "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ 69 | }, 70 | "include": ["src"], 71 | "exclude": ["node_modules", "**/__tests__/*"] 72 | } 73 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | import * as core from '@actions/core'; 2 | import * as setup from '@extractions/setup-crate'; 3 | 4 | async function main() { 5 | try { 6 | 7 | const repoSpec = core.getInput("repo"); 8 | let owner = core.getInput("owner"); 9 | let name = core.getInput("name"); 10 | const githubToken = core.getInput("github-token"); 11 | let versionSpec = core.getInput("version"); 12 | 13 | // Repo and owner+name are mutually exclusive 14 | if (repoSpec) { 15 | if (owner || name) { 16 | core.setFailed("When 'repo' is supplied, 'owner' and 'name' must not be provided"); 17 | return; 18 | } 19 | } else { 20 | if (!owner || !name) { 21 | core.setFailed("Both 'owner' and 'name' must be supplied when 'repo' is not provided"); 22 | return; 23 | } 24 | } 25 | 26 | // Parse the repo spec if it was provided 27 | if (repoSpec) { 28 | const [repo, version] = repoSpec.split("@", 2); 29 | if (version && versionSpec) { 30 | core.setFailed("Both 'version' and 'repo' have a version specified, only one is allowed"); 31 | return 32 | } 33 | versionSpec = version || versionSpec; 34 | [owner, name] = repo.split("/", 2); 35 | } 36 | 37 | const tool = await setup.checkOrInstallTool( 38 | { owner, name, versionSpec }, 39 | { auth: githubToken }, 40 | ); 41 | core.addPath(tool.dir); 42 | core.info(`Successfully setup ${tool.name} v${tool.version}`); 43 | } catch (err) { 44 | if (err instanceof Error) { 45 | core.setFailed(err.message); 46 | } 47 | } 48 | } 49 | 50 | main(); 51 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Basic Options */ 4 | // "incremental": true, /* Enable incremental compilation */ 5 | "target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ 6 | "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ 7 | // "lib": [], /* Specify library files to be included in the compilation. */ 8 | // "allowJs": true, /* Allow javascript files to be compiled. */ 9 | // "checkJs": true, /* Report errors in .js files. */ 10 | // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ 11 | // "declaration": true, /* Generates corresponding '.d.ts' file. */ 12 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ 13 | "sourceMap": true, /* Generates corresponding '.map' file. */ 14 | // "outFile": "./", /* Concatenate and emit output to single file. */ 15 | "outDir": "./lib", /* Redirect output structure to the directory. */ 16 | "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ 17 | // "composite": true, /* Enable project compilation */ 18 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ 19 | // "removeComments": true, /* Do not emit comments to output. */ 20 | // "noEmit": true, /* Do not emit outputs. */ 21 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */ 22 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ 23 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ 24 | 25 | /* Strict Type-Checking Options */ 26 | "strict": true, /* Enable all strict type-checking options. */ 27 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ 28 | // "strictNullChecks": true, /* Enable strict null checks. */ 29 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */ 30 | // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ 31 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ 32 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ 33 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ 34 | 35 | /* Additional Checks */ 36 | // "noUnusedLocals": true, /* Report errors on unused locals. */ 37 | // "noUnusedParameters": true, /* Report errors on unused parameters. */ 38 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ 39 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ 40 | 41 | /* Module Resolution Options */ 42 | "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ 43 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ 44 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ 45 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ 46 | // "typeRoots": [], /* List of folders to include type definitions from. */ 47 | // "types": [], /* Type declaration files to be included in compilation. */ 48 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ 49 | "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ 50 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ 51 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ 52 | 53 | /* Source Map Options */ 54 | // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ 55 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ 56 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ 57 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ 58 | 59 | /* Experimental Options */ 60 | // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ 61 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ 62 | 63 | /* Advanced Options */ 64 | "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ 65 | }, 66 | "include": ["src"], 67 | "exclude": ["node_modules", "**/__tests__/*"] 68 | } 69 | --------------------------------------------------------------------------------