├── .eslintrc.js ├── .github └── dependabot.yml ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── _config.yml ├── esbuild.js ├── package.json ├── poetry.lock ├── pyproject.toml ├── src ├── client.ts ├── commands │ ├── builtinInstallServer.ts │ ├── debugInformation.ts │ ├── executeAutofix.ts │ ├── executeFormat.ts │ ├── executeOrganizeImports.ts │ ├── restart.ts │ └── showLogs.ts ├── constant.ts ├── features │ ├── autoFixOnSave.ts │ └── showDocumentation.ts ├── index.ts ├── installer.ts ├── requestTypes.ts └── tool.ts ├── tsconfig.json └── yarn.lock /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | env: { 3 | node: true, 4 | }, 5 | parser: '@typescript-eslint/parser', 6 | extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'], 7 | rules: { 8 | '@typescript-eslint/no-unused-vars': 'warn', 9 | '@typescript-eslint/ban-ts-comment': 'off', 10 | '@typescript-eslint/no-explicit-any': 'off', 11 | '@typescript-eslint/no-non-null-assertion': 'off', 12 | '@typescript-eslint/no-namespace': 'off', 13 | '@typescript-eslint/no-empty-function': 'off', 14 | '@typescript-eslint/explicit-function-return-type': 'off', 15 | '@typescript-eslint/explicit-module-boundary-types': 'off', 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: pip 4 | directory: / 5 | schedule: 6 | interval: daily 7 | allow: 8 | - dependency-name: "ruff-lsp" 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | lib 2 | _ref 3 | 4 | ### Generated by gibo (https://github.com/simonwhitaker/gibo) 5 | ### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Node.gitignore 6 | 7 | # Logs 8 | logs 9 | *.log 10 | npm-debug.log* 11 | yarn-debug.log* 12 | yarn-error.log* 13 | lerna-debug.log* 14 | .pnpm-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 | # Snowpack dependency directory (https://snowpack.dev/) 52 | web_modules/ 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 variable files 82 | .env 83 | .env.development.local 84 | .env.test.local 85 | .env.production.local 86 | .env.local 87 | 88 | # parcel-bundler cache (https://parceljs.org/) 89 | .cache 90 | .parcel-cache 91 | 92 | # Next.js build output 93 | .next 94 | out 95 | 96 | # Nuxt.js build / generate output 97 | .nuxt 98 | dist 99 | 100 | # Gatsby files 101 | .cache/ 102 | # Comment in the public line in if your project uses Gatsby and not Next.js 103 | # https://nextjs.org/blog/next-9-1#public-directory-support 104 | # public 105 | 106 | # vuepress build output 107 | .vuepress/dist 108 | 109 | # vuepress v2.x temp and cache directory 110 | .temp 111 | .cache 112 | 113 | # Docusaurus cache and generated files 114 | .docusaurus 115 | 116 | # Serverless directories 117 | .serverless/ 118 | 119 | # FuseBox cache 120 | .fusebox/ 121 | 122 | # DynamoDB Local files 123 | .dynamodb/ 124 | 125 | # TernJS port file 126 | .tern-port 127 | 128 | # Stores VSCode versions used for testing VSCode extensions 129 | .vscode-test 130 | 131 | # yarn v2 132 | .yarn/cache 133 | .yarn/unplugged 134 | .yarn/build-state.yml 135 | .yarn/install-state.gz 136 | .pnp.* 137 | 138 | 139 | ### Generated by gibo (https://github.com/simonwhitaker/gibo) 140 | ### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Python.gitignore 141 | 142 | # Byte-compiled / optimized / DLL files 143 | __pycache__/ 144 | *.py[cod] 145 | *$py.class 146 | 147 | # C extensions 148 | *.so 149 | 150 | # Distribution / packaging 151 | .Python 152 | build/ 153 | develop-eggs/ 154 | dist/ 155 | downloads/ 156 | eggs/ 157 | .eggs/ 158 | lib/ 159 | lib64/ 160 | parts/ 161 | sdist/ 162 | var/ 163 | wheels/ 164 | share/python-wheels/ 165 | *.egg-info/ 166 | .installed.cfg 167 | *.egg 168 | MANIFEST 169 | 170 | # PyInstaller 171 | # Usually these files are written by a python script from a template 172 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 173 | *.manifest 174 | *.spec 175 | 176 | # Installer logs 177 | pip-log.txt 178 | pip-delete-this-directory.txt 179 | 180 | # Unit test / coverage reports 181 | htmlcov/ 182 | .tox/ 183 | .nox/ 184 | .coverage 185 | .coverage.* 186 | .cache 187 | nosetests.xml 188 | coverage.xml 189 | *.cover 190 | *.py,cover 191 | .hypothesis/ 192 | .pytest_cache/ 193 | cover/ 194 | 195 | # Translations 196 | *.mo 197 | *.pot 198 | 199 | # Django stuff: 200 | *.log 201 | local_settings.py 202 | db.sqlite3 203 | db.sqlite3-journal 204 | 205 | # Flask stuff: 206 | instance/ 207 | .webassets-cache 208 | 209 | # Scrapy stuff: 210 | .scrapy 211 | 212 | # Sphinx documentation 213 | docs/_build/ 214 | 215 | # PyBuilder 216 | .pybuilder/ 217 | target/ 218 | 219 | # Jupyter Notebook 220 | .ipynb_checkpoints 221 | 222 | # IPython 223 | profile_default/ 224 | ipython_config.py 225 | 226 | # pyenv 227 | # For a library or package, you might want to ignore these files since the code is 228 | # intended to run in multiple environments; otherwise, check them in: 229 | # .python-version 230 | 231 | # pipenv 232 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 233 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 234 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 235 | # install all needed dependencies. 236 | #Pipfile.lock 237 | 238 | # poetry 239 | # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. 240 | # This is especially recommended for binary packages to ensure reproducibility, and is more 241 | # commonly ignored for libraries. 242 | # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control 243 | #poetry.lock 244 | 245 | # pdm 246 | # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. 247 | #pdm.lock 248 | # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it 249 | # in version control. 250 | # https://pdm.fming.dev/#use-with-ide 251 | .pdm.toml 252 | 253 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm 254 | __pypackages__/ 255 | 256 | # Celery stuff 257 | celerybeat-schedule 258 | celerybeat.pid 259 | 260 | # SageMath parsed files 261 | *.sage.py 262 | 263 | # Environments 264 | .env 265 | .venv 266 | env/ 267 | venv/ 268 | ENV/ 269 | env.bak/ 270 | venv.bak/ 271 | 272 | # Spyder project settings 273 | .spyderproject 274 | .spyproject 275 | 276 | # Rope project settings 277 | .ropeproject 278 | 279 | # mkdocs documentation 280 | /site 281 | 282 | # mypy 283 | .mypy_cache/ 284 | .dmypy.json 285 | dmypy.json 286 | 287 | # Pyre type checker 288 | .pyre/ 289 | 290 | # pytype static type analyzer 291 | .pytype/ 292 | 293 | # Cython debug symbols 294 | cython_debug/ 295 | 296 | # PyCharm 297 | # JetBrains specific template is maintained in a separate JetBrains.gitignore that can 298 | # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore 299 | # and can be added to the global gitignore or merged into this file. For a more nuclear 300 | # option (not recommended) you can uncomment the following to ignore the entire idea folder. 301 | #.idea/ 302 | 303 | 304 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | node_modules 3 | tsconfig.json 4 | *.map 5 | .tags 6 | .DS_Store 7 | webpack.config.js 8 | esbuild.js 9 | yarn.lock 10 | yarn-error.log 11 | .github 12 | .eslintrc.js 13 | .prettierrc 14 | _ref 15 | venv 16 | .venv 17 | _config.yml 18 | googlea8f9d2208899c16c.html 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 yaegassy 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # coc-ruff 2 | 3 | [Ruff](https://github.com/astral-sh/ruff) Language Server extension for [coc.nvim](https://github.com/neoclide/coc.nvim). 4 | 5 | coc-ruff-demo 6 | 7 | ## Install 8 | 9 | **CocInstall**: 10 | 11 | ```vim 12 | :CocInstall @yaegassy/coc-ruff 13 | ``` 14 | 15 | > scoped packages 16 | 17 | **e.g. vim-plug**: 18 | 19 | ```vim 20 | Plug 'yaegassy/coc-ruff', {'do': 'yarn install --frozen-lockfile'} 21 | ``` 22 | 23 | ## Configuration options 24 | 25 | - `ruff.enable`: Enable coc-ruff extension, default: `true` 26 | - `ruff.nativeServer`: Use the integrated Rust-based language server, available now in Beta, default: `true` 27 | - `ruff.nativeBinaryPath`: Custom path for the `ruff` binary when using the native server. If no value is set, the `ruff` command will be detected from the runtime environment, default: `""` 28 | - `ruff.disableDocumentFormatting`: Disable document formatting only, default: `false` 29 | - `ruff.disableHover`: Disable hover only, default: `false` 30 | - `ruff.useDetectRuffCommand`: Automatically detects the ruff command in the execution environment and sets `ruff.path`, default: `true` 31 | - `ruff.client.codeAction.showDocumantaion.enable`: Whether to display the code action for open the Ruff rule documentation web page included in the diagnostic information, default: `false` 32 | - `ruff.trace.server`: Traces the communication between coc.nvim and the ruff-lsp, default: `"off"` 33 | 34 | Other settings have the same configuration as [ruff-vscode](https://github.com/astral-sh/ruff-vscode). 35 | 36 | ## Commands 37 | 38 | - `ruff.executeAutofix`: Fix all auto-fixable problems 39 | - `ruff.executeFormat`: Format document 40 | - `ruff.executeOrganizeImports`: Format imports 41 | - `ruff.debugInformation`: Print debug information (native server only) 42 | - `ruff.showLogs`: Show logs 43 | - `ruff.restart`: Restart Server 44 | 45 | ## Thanks 46 | 47 | - [astral-sh/ruff](https://github.com/astral-sh/ruff) 48 | - [astral-sh/ruff-vscode](https://github.com/astral-sh/ruff-vscode) 49 | 50 | ## License 51 | 52 | MIT 53 | 54 | --- 55 | 56 | > This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension) 57 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | plugins: 2 | - jekyll-sitemap 3 | -------------------------------------------------------------------------------- /esbuild.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable @typescript-eslint/no-var-requires */ 2 | async function start(watch) { 3 | await require('esbuild').build({ 4 | entryPoints: ['src/index.ts'], 5 | bundle: true, 6 | watch, 7 | minify: process.env.NODE_ENV === 'production', 8 | sourcemap: process.env.NODE_ENV === 'development', 9 | mainFields: ['module', 'main'], 10 | external: ['coc.nvim'], 11 | platform: 'node', 12 | target: 'node14.14', 13 | outfile: 'lib/index.js', 14 | }); 15 | } 16 | 17 | let watch = false; 18 | if (process.argv.length > 2 && process.argv[2] === '--watch') { 19 | console.log('watching...'); 20 | watch = { 21 | onRebuild(error) { 22 | if (error) { 23 | console.error('watch build failed:', error); 24 | } else { 25 | console.log('watch build succeeded'); 26 | } 27 | }, 28 | }; 29 | } 30 | 31 | start(watch).catch((e) => { 32 | console.error(e); 33 | }); 34 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@yaegassy/coc-ruff", 3 | "version": "0.8.1", 4 | "description": "ruff server extension for coc.nvim", 5 | "author": "yaegassy ", 6 | "license": "MIT", 7 | "main": "lib/index.js", 8 | "keywords": [ 9 | "coc.nvim", 10 | "python", 11 | "python3", 12 | "linting", 13 | "ruff", 14 | "ruff-lsp", 15 | "coc-ruff", 16 | "vim", 17 | "neovim" 18 | ], 19 | "engines": { 20 | "coc": "^0.0.80" 21 | }, 22 | "repository": { 23 | "type": "git", 24 | "url": "https://github.com/yaegassy/coc-ruff" 25 | }, 26 | "publishConfig": { 27 | "access": "public" 28 | }, 29 | "scripts": { 30 | "lint": "eslint src --ext ts", 31 | "clean": "rimraf lib", 32 | "watch": "node esbuild.js --watch", 33 | "build": "node esbuild.js", 34 | "prepare": "node esbuild.js" 35 | }, 36 | "prettier": { 37 | "singleQuote": true, 38 | "printWidth": 120, 39 | "semi": true 40 | }, 41 | "devDependencies": { 42 | "@types/node": "^20.11.17", 43 | "@types/semver": "^7.5.8", 44 | "@types/which": "^2.0.1", 45 | "@typescript-eslint/eslint-plugin": "^6.21.0", 46 | "@typescript-eslint/parser": "^6.21.0", 47 | "coc.nvim": "^0.0.82", 48 | "esbuild": "^0.16.17", 49 | "eslint": "^8.56.0", 50 | "eslint-config-prettier": "^9.1.0", 51 | "eslint-plugin-prettier": "^5.1.3", 52 | "prettier": "^3.2.5", 53 | "rimraf": "^5.0.1", 54 | "typescript": "^5.3.3", 55 | "which": "^3.0.0" 56 | }, 57 | "activationEvents": [ 58 | "onLanguage:python" 59 | ], 60 | "contributes": { 61 | "rootPatterns": [ 62 | { 63 | "filetype": "python", 64 | "patterns": [ 65 | "pyproject.toml", 66 | "ruff.toml", 67 | ".ruff.toml", 68 | "setup.py", 69 | "setup.cfg", 70 | "tox.ini", 71 | "Pipfile", 72 | "requirements.txt" 73 | ] 74 | } 75 | ], 76 | "configuration": { 77 | "type": "object", 78 | "title": "coc-ruff configuration", 79 | "properties": { 80 | "ruff.enable": { 81 | "type": "boolean", 82 | "default": true, 83 | "description": "Enable coc-ruff extension" 84 | }, 85 | "ruff.disableDocumentFormatting": { 86 | "type": "boolean", 87 | "default": false, 88 | "description": "Disable document formatting only." 89 | }, 90 | "ruff.disableHover": { 91 | "type": "boolean", 92 | "default": false, 93 | "description": "Disable hover only." 94 | }, 95 | "ruff.client.codeAction.showDocumantaion.enable": { 96 | "type": "boolean", 97 | "default": false, 98 | "description": "Whether to display the code action for open the Ruff rule documentation web page included in the diagnostic information." 99 | }, 100 | "ruff.useDetectRuffCommand": { 101 | "type": "boolean", 102 | "default": true, 103 | "description": "Automatically detects the ruff command in the execution environment and sets `ruff.path`." 104 | }, 105 | "ruff.autoFixOnSave": { 106 | "type": "boolean", 107 | "default": false, 108 | "description": "Turns auto fix on save on or off." 109 | }, 110 | "ruff.nativeServer": { 111 | "default": true, 112 | "description": "Use the integrated Rust-based language server, available now in Beta.", 113 | "type": "boolean" 114 | }, 115 | "ruff.nativeBinaryPath": { 116 | "type": "string", 117 | "default": "", 118 | "description": "Custom path for the `ruff` binary when using the native server. If no value is set, the `ruff` command will be detected from the runtime environment." 119 | }, 120 | "ruff.serverPath": { 121 | "type": "string", 122 | "default": "", 123 | "description": "Custom path to the ruff-lsp command. If not set, the `ruff-lsp` command found in the current Python environment or venv environment will be used." 124 | }, 125 | "ruff.builtin.pythonPath": { 126 | "type": "string", 127 | "default": "", 128 | "description": "Python 3.x path (Absolute path) to be used for built-in install." 129 | }, 130 | "ruff.args": { 131 | "default": [], 132 | "description": "Additional command-line arguments to pass to `ruff check`, e.g., `\"args\": [\"--config=/path/to/pyproject.toml\"]`. Supports a subset of Ruff's command-line arguments, ignoring those that are required to operate the LSP, like `--force-exclude` and `--verbose`.", 133 | "items": { 134 | "type": "string" 135 | }, 136 | "scope": "resource", 137 | "type": "array" 138 | }, 139 | "ruff.lint.args": { 140 | "default": [], 141 | "description": "Additional command-line arguments to pass to `ruff check`, e.g., `\"args\": [\"--config=/path/to/pyproject.toml\"]`. Supports a subset of Ruff's command-line arguments, ignoring those that are required to operate the LSP, like `--force-exclude` and `--verbose`.", 142 | "items": { 143 | "type": "string" 144 | }, 145 | "scope": "resource", 146 | "type": "array" 147 | }, 148 | "ruff.lint.preview": { 149 | "default": null, 150 | "description": "Enable [preview mode](https://docs.astral.sh/ruff/settings/#lint_preview) for the linter; enables unstable rules and fixes. This setting is used only by the native server.", 151 | "scope": "resource", 152 | "type": "boolean" 153 | }, 154 | "ruff.lint.select": { 155 | "default": null, 156 | "description": "Set rule codes to enable. Use `ALL` to enable all rules. See [the documentation](https://docs.astral.sh/ruff/settings/#lint_select) for more details. This setting is used only by the native server.", 157 | "items": { 158 | "type": "string" 159 | }, 160 | "scope": "resource", 161 | "type": "array" 162 | }, 163 | "ruff.lint.extendSelect": { 164 | "default": null, 165 | "description": "Enable additional rule codes on top of existing configuration, instead of overriding it. Use `ALL` to enable all rules. This setting is used only by the native server.", 166 | "items": { 167 | "type": "string" 168 | }, 169 | "scope": "resource", 170 | "type": "array" 171 | }, 172 | "ruff.lint.ignore": { 173 | "default": null, 174 | "description": "Set rule codes to disable. See [the documentation](https://docs.astral.sh/ruff/settings/#lint_ignore) for more details. This setting is used only by the native server.", 175 | "items": { 176 | "type": "string" 177 | }, 178 | "scope": "resource", 179 | "type": "array" 180 | }, 181 | "ruff.run": { 182 | "default": null, 183 | "description": "Run Ruff on every keystroke (`onType`) or on save (`onSave`).", 184 | "enum": [ 185 | "onType", 186 | "onSave" 187 | ], 188 | "enumDescriptions": [ 189 | "Run Ruff on every keystroke.", 190 | "Run Ruff on save." 191 | ], 192 | "scope": "window", 193 | "type": [ 194 | "string", 195 | null 196 | ] 197 | }, 198 | "ruff.lint.run": { 199 | "default": "onType", 200 | "description": "Run Ruff on every keystroke (`onType`) or on save (`onSave`).", 201 | "enum": [ 202 | "onType", 203 | "onSave" 204 | ], 205 | "enumDescriptions": [ 206 | "Run Ruff on every keystroke.", 207 | "Run Ruff on save." 208 | ], 209 | "scope": "window", 210 | "type": "string" 211 | }, 212 | "ruff.lint.enable": { 213 | "default": true, 214 | "markdownDescription": "Whether to enable linting. Set to `false` to use Ruff exclusively as a formatter.", 215 | "scope": "window", 216 | "type": "boolean" 217 | }, 218 | "ruff.format.args": { 219 | "default": [], 220 | "description": "Additional command-line arguments to pass to `ruff format`, e.g., `\"args\": [\"--config=/path/to/pyproject.toml\"]`. Supports a subset of Ruff's command-line arguments, ignoring those that are required to operate the LSP, like `--force-exclude` and `--verbose`.", 221 | "items": { 222 | "type": "string" 223 | }, 224 | "scope": "resource", 225 | "type": "array" 226 | }, 227 | "ruff.format.preview": { 228 | "default": null, 229 | "description": "Enable [preview mode](https://docs.astral.sh/ruff/settings/#format_preview) for the formatter; enables unstable formatting. This setting is used only by the native server.", 230 | "scope": "resource", 231 | "type": "boolean" 232 | }, 233 | "ruff.path": { 234 | "default": [], 235 | "description": "Path to a custom `ruff` executable, e.g., `[\"/path/to/ruff\"]`.", 236 | "scope": "resource", 237 | "items": { 238 | "type": "string" 239 | }, 240 | "type": "array" 241 | }, 242 | "ruff.importStrategy": { 243 | "default": "fromEnvironment", 244 | "description": "Strategy for loading the `ruff` executable. `fromEnvironment` picks up Ruff from the environment, falling back to the bundled version if needed. `useBundled` uses the version bundled with the extension.", 245 | "enum": [ 246 | "fromEnvironment", 247 | "useBundled" 248 | ], 249 | "enumDescriptions": [ 250 | "Use `ruff` from environment, fallback to bundled version only if `ruff` not available in the environment.", 251 | "Always use the bundled version of `ruff`." 252 | ], 253 | "scope": "window", 254 | "type": "string" 255 | }, 256 | "ruff.interpreter": { 257 | "default": [], 258 | "description": "When set to a path to python executable, extension will use that to launch the server and any subprocess.", 259 | "scope": "window", 260 | "items": { 261 | "type": "string" 262 | }, 263 | "type": "array" 264 | }, 265 | "ruff.organizeImports": { 266 | "default": true, 267 | "description": "Whether to register Ruff as capable of handling `source.organizeImports` actions.", 268 | "scope": "window", 269 | "type": "boolean" 270 | }, 271 | "ruff.fixAll": { 272 | "default": true, 273 | "description": "Whether to register Ruff as capable of handling `source.fixAll` actions.", 274 | "scope": "window", 275 | "type": "boolean" 276 | }, 277 | "ruff.codeAction.fixViolation.enable": { 278 | "default": true, 279 | "description": "Whether to display Quick Fix actions to autofix violations.", 280 | "scope": "window", 281 | "type": "boolean" 282 | }, 283 | "ruff.codeAction.disableRuleComment.enable": { 284 | "default": true, 285 | "description": "Whether to display Quick Fix actions to disable rules via `noqa` suppression comments.", 286 | "scope": "window", 287 | "type": "boolean" 288 | }, 289 | "ruff.showSyntaxErrors": { 290 | "default": true, 291 | "description": "Whether to show syntax error diagnostics.", 292 | "scope": "window", 293 | "type": "boolean" 294 | }, 295 | "ruff.ignoreStandardLibrary": { 296 | "default": true, 297 | "markdownDescription": "Whether to ignore files that are inferred to be part of the Python standard library.", 298 | "scope": "window", 299 | "type": "boolean" 300 | }, 301 | "ruff.showNotifications": { 302 | "default": "off", 303 | "markdownDescription": "Controls when notifications are shown by this extension.", 304 | "enum": [ 305 | "off", 306 | "onError", 307 | "onWarning", 308 | "always" 309 | ], 310 | "enumDescriptions": [ 311 | "All notifications are turned off, any errors or warning are still available in the logs.", 312 | "Notifications are shown only in the case of an error.", 313 | "Notifications are shown for errors and warnings.", 314 | "Notifications are show for anything that the server chooses to show." 315 | ], 316 | "scope": "machine", 317 | "type": "string" 318 | }, 319 | "ruff.exclude": { 320 | "default": null, 321 | "items": { 322 | "type": "string" 323 | }, 324 | "description": "Set paths for the linter and formatter to ignore. See [the documentation](https://docs.astral.sh/ruff/settings/#lint_exclude) for more details. This setting is used only by the native server.", 325 | "type": "array", 326 | "scope": "resource" 327 | }, 328 | "ruff.lineLength": { 329 | "default": null, 330 | "description": "Set the [line length](https://docs.astral.sh/ruff/settings/#line-length) used by the formatter and linter. Must be greater than 0 and less than or equal to 320. This setting is used only by the native server.", 331 | "scope": "resource", 332 | "type": [ 333 | "integer", 334 | "null" 335 | ] 336 | }, 337 | "ruff.configurationPreference": { 338 | "enum": [ 339 | "editorFirst", 340 | "filesystemFirst", 341 | "editorOnly" 342 | ], 343 | "enumDescriptions": [ 344 | "The default strategy - configuration set in the editor takes priority over configuration set in `.toml` files.", 345 | "An alternative strategy - configuration set in `.toml` files takes priority over configuration set in the editor.", 346 | "An alternative strategy - configuration set in `.toml` files is ignored entirely." 347 | ], 348 | "description": "The preferred method of resolving configuration in the editor with local configuration froml `.toml` files. This setting is used only by the native server.", 349 | "scope": "resource", 350 | "type": "string", 351 | "default": "editorFirst" 352 | }, 353 | "ruff.enableExperimentalFormatter": { 354 | "default": false, 355 | "markdownDescription": "Controls whether Ruff registers as capable of code formatting. The Ruff formatter is in an alpha state during which formatting may change at any time.", 356 | "scope": "machine", 357 | "type": "boolean" 358 | }, 359 | "ruff.logLevel": { 360 | "default": null, 361 | "markdownDescription": "Controls the log level of the language server.\n\n**This setting is used only by the native server.**", 362 | "enum": [ 363 | "error", 364 | "warning", 365 | "info", 366 | "debug", 367 | "trace" 368 | ], 369 | "scope": "window", 370 | "type": "string" 371 | }, 372 | "ruff.logFile": { 373 | "default": null, 374 | "markdownDescription": "Path to the log file for the language server.\n\n**This setting is used only by the native server.**", 375 | "scope": "window", 376 | "type": "string" 377 | }, 378 | "ruff.trace.server": { 379 | "type": "string", 380 | "enum": [ 381 | "off", 382 | "messages", 383 | "verbose" 384 | ], 385 | "default": "off", 386 | "description": "Traces the communication between coc.nvim and the ruff-lsp." 387 | } 388 | } 389 | }, 390 | "commands": [ 391 | { 392 | "command": "ruff.executeAutofix", 393 | "title": "Fix all auto-fixable problems" 394 | }, 395 | { 396 | "command": "ruff.executeFormat", 397 | "title": "Format document" 398 | }, 399 | { 400 | "command": "ruff.executeOrganizeImports", 401 | "title": "Format imports" 402 | }, 403 | { 404 | "title": "Print debug information (native server only)", 405 | "category": "Ruff", 406 | "command": "ruff.debugInformation" 407 | }, 408 | { 409 | "command": "ruff.showLogs", 410 | "title": "Show logs" 411 | }, 412 | { 413 | "command": "ruff.restart", 414 | "title": "Restart Server" 415 | }, 416 | { 417 | "command": "ruff.builtin.installServer", 418 | "title": "Install ruff-lsp" 419 | } 420 | ] 421 | }, 422 | "dependencies": { 423 | "semver": "^7.6.2", 424 | "toml": "^3.0.0" 425 | }, 426 | "packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447" 427 | } 428 | -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Poetry 2.0.1 and should not be changed by hand. 2 | 3 | [[package]] 4 | name = "attrs" 5 | version = "22.2.0" 6 | description = "Classes Without Boilerplate" 7 | optional = false 8 | python-versions = ">=3.6" 9 | groups = ["main"] 10 | files = [ 11 | {file = "attrs-22.2.0-py3-none-any.whl", hash = "sha256:29e95c7f6778868dbd49170f98f8818f78f3dc5e0e37c0b1f474e3561b240836"}, 12 | {file = "attrs-22.2.0.tar.gz", hash = "sha256:c9227bfc2f01993c03f68db37d1d15c9690188323c067c641f1a35ca58185f99"}, 13 | ] 14 | 15 | [package.extras] 16 | cov = ["attrs[tests]", "coverage-enable-subprocess", "coverage[toml] (>=5.3)"] 17 | dev = ["attrs[docs,tests]"] 18 | docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier", "zope.interface"] 19 | tests = ["attrs[tests-no-zope]", "zope.interface"] 20 | tests-no-zope = ["cloudpickle", "cloudpickle", "hypothesis", "hypothesis", "mypy (>=0.971,<0.990)", "mypy (>=0.971,<0.990)", "pympler", "pympler", "pytest (>=4.3.0)", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-mypy-plugins", "pytest-xdist[psutil]", "pytest-xdist[psutil]"] 21 | 22 | [[package]] 23 | name = "cattrs" 24 | version = "22.2.0" 25 | description = "Composable complex class support for attrs and dataclasses." 26 | optional = false 27 | python-versions = ">=3.7" 28 | groups = ["main"] 29 | files = [ 30 | {file = "cattrs-22.2.0-py3-none-any.whl", hash = "sha256:bc12b1f0d000b9f9bee83335887d532a1d3e99a833d1bf0882151c97d3e68c21"}, 31 | {file = "cattrs-22.2.0.tar.gz", hash = "sha256:f0eed5642399423cf656e7b66ce92cdc5b963ecafd041d1b24d136fdde7acf6d"}, 32 | ] 33 | 34 | [package.dependencies] 35 | attrs = ">=20" 36 | exceptiongroup = {version = "*", markers = "python_version < \"3.11\""} 37 | 38 | [[package]] 39 | name = "exceptiongroup" 40 | version = "1.1.0" 41 | description = "Backport of PEP 654 (exception groups)" 42 | optional = false 43 | python-versions = ">=3.7" 44 | groups = ["main"] 45 | markers = "python_version < \"3.11\"" 46 | files = [ 47 | {file = "exceptiongroup-1.1.0-py3-none-any.whl", hash = "sha256:327cbda3da756e2de031a3107b81ab7b3770a602c4d16ca618298c526f4bec1e"}, 48 | {file = "exceptiongroup-1.1.0.tar.gz", hash = "sha256:bcb67d800a4497e1b404c2dd44fca47d3b7a5e5433dbab67f96c1a685cdfdf23"}, 49 | ] 50 | 51 | [package.extras] 52 | test = ["pytest (>=6)"] 53 | 54 | [[package]] 55 | name = "lsprotocol" 56 | version = "2023.0.0" 57 | description = "Python implementation of the Language Server Protocol." 58 | optional = false 59 | python-versions = ">=3.7" 60 | groups = ["main"] 61 | files = [ 62 | {file = "lsprotocol-2023.0.0-py3-none-any.whl", hash = "sha256:e85fc87ee26c816adca9eb497bb3db1a7c79c477a11563626e712eaccf926a05"}, 63 | {file = "lsprotocol-2023.0.0.tar.gz", hash = "sha256:c9d92e12a3f4ed9317d3068226592860aab5357d93cf5b2451dc244eee8f35f2"}, 64 | ] 65 | 66 | [package.dependencies] 67 | attrs = ">=21.3.0" 68 | cattrs = "*" 69 | 70 | [[package]] 71 | name = "packaging" 72 | version = "23.2" 73 | description = "Core utilities for Python packages" 74 | optional = false 75 | python-versions = ">=3.7" 76 | groups = ["main"] 77 | files = [ 78 | {file = "packaging-23.2-py3-none-any.whl", hash = "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7"}, 79 | {file = "packaging-23.2.tar.gz", hash = "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"}, 80 | ] 81 | 82 | [[package]] 83 | name = "pygls" 84 | version = "1.2.1" 85 | description = "A pythonic generic language server (pronounced like 'pie glass')" 86 | optional = false 87 | python-versions = ">=3.7.9,<4" 88 | groups = ["main"] 89 | files = [ 90 | {file = "pygls-1.2.1-py3-none-any.whl", hash = "sha256:7dcfcf12b6f15beb606afa46de2ed348b65a279c340ef2242a9a35c22eeafe94"}, 91 | {file = "pygls-1.2.1.tar.gz", hash = "sha256:04f9b9c115b622dcc346fb390289066565343d60245a424eca77cb429b911ed8"}, 92 | ] 93 | 94 | [package.dependencies] 95 | lsprotocol = "2023.0.0" 96 | 97 | [package.extras] 98 | ws = ["websockets (>=11.0.3,<12.0.0)"] 99 | 100 | [[package]] 101 | name = "ruff" 102 | version = "0.0.274" 103 | description = "An extremely fast Python linter, written in Rust." 104 | optional = false 105 | python-versions = ">=3.7" 106 | groups = ["main"] 107 | files = [ 108 | {file = "ruff-0.0.274-py3-none-macosx_10_7_x86_64.whl", hash = "sha256:6d7069157a5674be8090c7d89fa69dbb2478f333a80b1312d20ade2a870cca3e"}, 109 | {file = "ruff-0.0.274-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:fa9ad8776cb92f2739b8eee316cde841d6012d0eafbf06bae09166203ddf9bb8"}, 110 | {file = "ruff-0.0.274-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6133fa856b230a0281197aeba3e89ce9595f9d8a7265113520ad259d416c9f4b"}, 111 | {file = "ruff-0.0.274-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:023cdc5e64b3f34244e12bd236ab412c6056061a2415d50fb862cab333b4ab7c"}, 112 | {file = "ruff-0.0.274-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:34e71a06a4e27554ca2f1c2b1749a802e3e76cac41481cfc2cb86936c1e37d3c"}, 113 | {file = "ruff-0.0.274-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:5137f853fffa7352901038a1b5e36a97058380a554763e534aae9f6c0734fdab"}, 114 | {file = "ruff-0.0.274-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:044084f039a679e557240fefcf521e057941b163014cf969ac6d04620861e04a"}, 115 | {file = "ruff-0.0.274-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dca36d651f88b4b24f17df5db54487057ce0ccd3599cbf38d237cf4d9f0d63c2"}, 116 | {file = "ruff-0.0.274-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:587130943110e9536018ce139158e2962d46623f379a4486aabfd525e9714b0e"}, 117 | {file = "ruff-0.0.274-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:39b80156ef57b33ab7bfc454b7c2678eaae07f43a7dcf2e7c058f72d87b49538"}, 118 | {file = "ruff-0.0.274-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:86d943107f20fec924f56dc4933cefb0efbc1ec8b729e0a1afabac598c5586ca"}, 119 | {file = "ruff-0.0.274-py3-none-musllinux_1_2_i686.whl", hash = "sha256:b13e765b64487143f05e6ad6f624388b9ac5a6ff8657ff801091c9282de3ca52"}, 120 | {file = "ruff-0.0.274-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:461bda8c3a4c1591fd7a09960b86e2ffc9a59a1c42cf14d725077314c12b60b0"}, 121 | {file = "ruff-0.0.274-py3-none-win32.whl", hash = "sha256:09c87fa2c4f53bd63c1d8a35150683794b022f4f2fbd6ef2fe383ce21ab53fec"}, 122 | {file = "ruff-0.0.274-py3-none-win_amd64.whl", hash = "sha256:e80aa0c7e1347a96db846287695971925eb56760c019a7d66312fbca389a6800"}, 123 | {file = "ruff-0.0.274-py3-none-win_arm64.whl", hash = "sha256:8b99ce776fc60fb938791f558b297e53ed634adeef1a7b84a33455924948c9af"}, 124 | {file = "ruff-0.0.274.tar.gz", hash = "sha256:c7e5f9deffbd02d8054f90b565a1106faee64e16cedf50f3aa05c14b59ff8727"}, 125 | ] 126 | 127 | [[package]] 128 | name = "ruff-lsp" 129 | version = "0.0.62" 130 | description = "A Language Server Protocol implementation for Ruff." 131 | optional = false 132 | python-versions = ">=3.7" 133 | groups = ["main"] 134 | files = [ 135 | {file = "ruff_lsp-0.0.62-py3-none-any.whl", hash = "sha256:fb6c04a0cb09bb3ae316121b084ff09497edd01df58b36fa431f14515c63029e"}, 136 | {file = "ruff_lsp-0.0.62.tar.gz", hash = "sha256:6db2a39375973ecb16c64d3c8dc37e23e1e191dcb7aebcf525b1f85ebd338c0d"}, 137 | ] 138 | 139 | [package.dependencies] 140 | lsprotocol = ">=2023.0.0" 141 | packaging = ">=23.1" 142 | pygls = ">=1.1.0" 143 | ruff = ">=0.0.274" 144 | typing-extensions = "*" 145 | 146 | [package.extras] 147 | dev = ["mypy (==1.4.1)", "pip-tools (>=6.13.0,<7.0.0)", "pytest (>=7.3.1,<8.0.0)", "pytest-asyncio (==0.21.2)", "python-lsp-jsonrpc (==1.0.0)"] 148 | 149 | [[package]] 150 | name = "typing-extensions" 151 | version = "4.4.0" 152 | description = "Backported and Experimental Type Hints for Python 3.7+" 153 | optional = false 154 | python-versions = ">=3.7" 155 | groups = ["main"] 156 | files = [ 157 | {file = "typing_extensions-4.4.0-py3-none-any.whl", hash = "sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e"}, 158 | {file = "typing_extensions-4.4.0.tar.gz", hash = "sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa"}, 159 | ] 160 | 161 | [metadata] 162 | lock-version = "2.1" 163 | python-versions = "^3.8" 164 | content-hash = "f59c1c7fe6a16004c1c57ddccc2e57f6489c5161e136ef2c6f923dd5348ae0f0" 165 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "coc-ruff" 3 | version = "0.1.0" 4 | description = "" 5 | authors = ["yaegassy "] 6 | 7 | [tool.poetry.dependencies] 8 | python = "^3.8" 9 | ruff-lsp = "0.0.62" 10 | 11 | [build-system] 12 | requires = ["poetry-core"] 13 | build-backend = "poetry.core.masonry.api" 14 | -------------------------------------------------------------------------------- /src/client.ts: -------------------------------------------------------------------------------- 1 | import { LanguageClient, LanguageClientOptions, ServerOptions, workspace } from 'coc.nvim'; 2 | import { RUFF_SERVER_SUBCOMMAND } from './constant'; 3 | 4 | import which from 'which'; 5 | 6 | export function createNativeServerClient(command: string) { 7 | const settings = workspace.getConfiguration('ruff'); 8 | const newEnv = { ...process.env }; 9 | const args = [RUFF_SERVER_SUBCOMMAND]; 10 | 11 | const serverOptions: ServerOptions = { 12 | command, 13 | args, 14 | options: { env: newEnv }, 15 | }; 16 | 17 | if (settings.enableExperimentalFormatter) { 18 | newEnv.RUFF_EXPERIMENTAL_FORMATTER = '1'; 19 | } 20 | 21 | const clientOptions: LanguageClientOptions = { 22 | documentSelector: ['python'], 23 | initializationOptions: getInitializationOptions(), 24 | disabledFeatures: getLanguageClientDisabledFeatures(), 25 | }; 26 | 27 | const client = new LanguageClient('ruff', 'ruff native server', serverOptions, clientOptions); 28 | return client; 29 | } 30 | 31 | export function createLanguageClient(command: string) { 32 | const settings = workspace.getConfiguration('ruff'); 33 | const newEnv = { ...process.env }; 34 | 35 | const serverOptions: ServerOptions = { 36 | command, 37 | options: { env: newEnv }, 38 | }; 39 | 40 | // MEMO: Used in ruff-lsp v0.0.41 and earlier. This item will be removed in the future 41 | if (settings.enableExperimentalFormatter) { 42 | newEnv.RUFF_EXPERIMENTAL_FORMATTER = '1'; 43 | } 44 | 45 | const clientOptions: LanguageClientOptions = { 46 | documentSelector: ['python'], 47 | initializationOptions: getInitializationOptions(), 48 | disabledFeatures: getLanguageClientDisabledFeatures(), 49 | }; 50 | 51 | const client = new LanguageClient('ruff', 'ruff-lsp', serverOptions, clientOptions); 52 | return client; 53 | } 54 | 55 | type ImportStrategy = 'fromEnvironment' | 'useBundled'; 56 | 57 | type Run = 'onType' | 'onSave'; 58 | 59 | type ConfigPreference = 'editorFirst' | 'filesystemFirst' | 'editorOnly'; 60 | 61 | type LogLevel = 'error' | 'warn' | 'info' | 'debug' | 'trace'; 62 | 63 | type CodeAction = { 64 | disableRuleComment?: { 65 | enable?: boolean; 66 | }; 67 | fixViolation?: { 68 | enable?: boolean; 69 | }; 70 | }; 71 | 72 | type Lint = { 73 | enable?: boolean; 74 | args?: string[]; 75 | run?: Run; 76 | preview?: boolean; 77 | select?: string[]; 78 | extendSelect?: string[]; 79 | ignore?: string[]; 80 | }; 81 | 82 | type Format = { 83 | args?: string[]; 84 | preview?: boolean; 85 | }; 86 | 87 | type RuffLspInitializationOptions = { 88 | settings: { 89 | args: string[]; 90 | path: string[]; 91 | run: Run; 92 | ignoreStandardLibrary: boolean; 93 | interpreter: string[]; 94 | importStrategy: ImportStrategy; 95 | codeAction: CodeAction; 96 | enableExperimentalFormatter: boolean; 97 | showNotifications: string; 98 | organizeImports: boolean; 99 | fixAll: boolean; 100 | lint: Lint; 101 | format: Format; 102 | exclude?: string[]; 103 | lineLength?: number; 104 | configurationPreference?: ConfigPreference; 105 | showSyntaxErrors: boolean; 106 | logLevel?: LogLevel; 107 | logFile?: string; 108 | }; 109 | }; 110 | 111 | function convertFromWorkspaceConfigToInitializationOptions() { 112 | const settings = workspace.getConfiguration('ruff'); 113 | 114 | const initializationOptions = { 115 | settings: { 116 | args: settings.get('args'), 117 | path: settings.get('path'), 118 | ignoreStandardLibrary: settings.get('ignoreStandardLibrary') ?? true, 119 | interpreter: settings.get('interpreter'), 120 | importStrategy: settings.get(`importStrategy`) ?? 'fromEnvironment', 121 | run: settings.get(`run`) ?? 'onType', 122 | organizeImports: settings.get('organizeImports') ?? true, 123 | fixAll: settings.get('fixAll') ?? true, 124 | codeAction: { 125 | fixViolation: { 126 | enable: settings.get('codeAction.fixViolation.enable'), 127 | }, 128 | disableRuleComment: { 129 | enable: settings.get('codeAction.disableRuleComment.enable'), 130 | }, 131 | }, 132 | lint: { 133 | enable: settings.get('lint.enable') ?? true, 134 | run: getLintRunSetting(), 135 | args: getLintArgsSetting(), 136 | preview: settings.get('lint.preview'), 137 | select: settings.get('lint.select'), 138 | extendSelect: settings.get('lint.extendSelect'), 139 | ignore: settings.get('lint.ignore'), 140 | }, 141 | format: { 142 | args: settings.get('format.args'), 143 | preview: settings.get('format.preview'), 144 | }, 145 | showNotifications: settings.get('showNotifications') ?? 'off', 146 | // MEMO: Used in ruff-lsp v0.0.41 and earlier. This item will be removed in the future 147 | enableExperimentalFormatter: settings.get('enableExperimentalFormatter') ?? false, 148 | exclude: settings.get('exclude'), 149 | lineLength: settings.get('lineLength'), 150 | configurationPreference: settings.get('configurationPreference') ?? 'editorFirst', 151 | showSyntaxErrors: settings.get('showSyntaxErrors') ?? true, 152 | logLevel: settings.get('logLevel'), 153 | logFile: settings.get('logFile'), 154 | }, 155 | }; 156 | 157 | return initializationOptions; 158 | } 159 | 160 | // MEMO: Temporary compatibility support for old and new settings 161 | function getLintArgsSetting() { 162 | const settings = workspace.getConfiguration('ruff'); 163 | 164 | if (settings.get('lint.args', []).length > 0) { 165 | return settings.get('lint.args', []); 166 | } else if (settings.get('args', []).length > 0) { 167 | return settings.get('args', []); 168 | } 169 | 170 | return []; 171 | } 172 | 173 | // MEMO: Temporary compatibility support for old and new settings 174 | function getLintRunSetting(): Run { 175 | const settings = workspace.getConfiguration('ruff'); 176 | const defaultValue = 'onType'; 177 | 178 | if (settings.get('run') != null) { 179 | return settings.get('run', defaultValue); 180 | } 181 | 182 | return settings.get('lint.run', defaultValue); 183 | } 184 | 185 | function getInitializationOptions() { 186 | const initializationOptions = convertFromWorkspaceConfigToInitializationOptions(); 187 | 188 | // MEMO: Custom Feature 189 | if (workspace.getConfiguration('ruff').get('useDetectRuffCommand')) { 190 | const envRuffCommandPath = which.sync('ruff', { nothrow: true }); 191 | if (envRuffCommandPath) { 192 | initializationOptions.settings.path = [envRuffCommandPath]; 193 | } 194 | } 195 | 196 | return initializationOptions; 197 | } 198 | 199 | function getLanguageClientDisabledFeatures() { 200 | const r: string[] = []; 201 | if (getConfigDisableDocumentFormatting()) r.push('documentFormatting'); 202 | if (getConfigDisableHover()) r.push('hover'); 203 | 204 | return r; 205 | } 206 | 207 | function getConfigDisableDocumentFormatting() { 208 | return workspace.getConfiguration('ruff').get('disableDocumentFormatting', false); 209 | } 210 | 211 | function getConfigDisableHover() { 212 | return workspace.getConfiguration('ruff').get('disableHover', false); 213 | } 214 | -------------------------------------------------------------------------------- /src/commands/builtinInstallServer.ts: -------------------------------------------------------------------------------- 1 | import { commands, ExtensionContext, LanguageClient, services, ServiceStat } from 'coc.nvim'; 2 | 3 | import { createLanguageClient } from '../client'; 4 | import { installWrapper } from '../installer'; 5 | import { getPythonPath, getRuffLspPath } from '../tool'; 6 | 7 | export function register(context: ExtensionContext, client?: LanguageClient) { 8 | context.subscriptions.push( 9 | commands.registerCommand('ruff.builtin.installServer', async () => { 10 | const pythonCommand = getPythonPath(); 11 | if (client) { 12 | if (client.serviceState !== ServiceStat.Stopped) { 13 | await client.stop(); 14 | } 15 | } 16 | await installWrapper(pythonCommand, context); 17 | 18 | const ruffLspPath = getRuffLspPath(context); 19 | 20 | if (!client) { 21 | client = createLanguageClient(ruffLspPath); 22 | context.subscriptions.push(services.registLanguageClient(client)); 23 | } else { 24 | client.start(); 25 | } 26 | }), 27 | ); 28 | } 29 | -------------------------------------------------------------------------------- /src/commands/debugInformation.ts: -------------------------------------------------------------------------------- 1 | import { commands, ExtensionContext, LanguageClient, window, workspace } from 'coc.nvim'; 2 | import { ExecuteCommandRequestType } from '../requestTypes'; 3 | 4 | export async function register(context: ExtensionContext, client: LanguageClient) { 5 | await client.onReady(); 6 | 7 | context.subscriptions.push( 8 | commands.registerCommand('ruff.debugInformation', async () => { 9 | if (!client || !workspace.getConfiguration('ruff').get('nativeServer')) { 10 | return; 11 | } 12 | 13 | const params = { 14 | command: `ruff.printDebugInformation`, 15 | }; 16 | 17 | await client.sendRequest(ExecuteCommandRequestType, params).then(undefined, async () => { 18 | await window.showErrorMessage('Failed to print debug information.'); 19 | }); 20 | 21 | client.outputChannel.show(); 22 | }), 23 | ); 24 | } 25 | -------------------------------------------------------------------------------- /src/commands/executeAutofix.ts: -------------------------------------------------------------------------------- 1 | import { commands, ExtensionContext, LanguageClient, window } from 'coc.nvim'; 2 | import { ExecuteCommandRequestType } from '../requestTypes'; 3 | 4 | export async function register(context: ExtensionContext, client: LanguageClient) { 5 | await client.onReady(); 6 | 7 | context.subscriptions.push( 8 | commands.registerCommand('ruff.executeAutofix', async () => { 9 | if (!client) { 10 | return; 11 | } 12 | 13 | const textEditor = window.activeTextEditor; 14 | if (!textEditor) { 15 | return; 16 | } 17 | 18 | const textDocument = { 19 | uri: textEditor.document.uri.toString(), 20 | version: textEditor.document.version, 21 | }; 22 | const params = { 23 | command: `ruff.applyAutofix`, 24 | arguments: [textDocument], 25 | }; 26 | 27 | await client.sendRequest(ExecuteCommandRequestType, params).then(undefined, async () => { 28 | await window.showErrorMessage( 29 | 'Failed to apply Ruff fixes to the document. Please consider opening an issue with steps to reproduce.', 30 | ); 31 | }); 32 | }), 33 | ); 34 | } 35 | -------------------------------------------------------------------------------- /src/commands/executeFormat.ts: -------------------------------------------------------------------------------- 1 | import { commands, ExtensionContext, LanguageClient, window } from 'coc.nvim'; 2 | import { ExecuteCommandRequestType } from '../requestTypes'; 3 | 4 | export async function register(context: ExtensionContext, client: LanguageClient) { 5 | await client.onReady(); 6 | 7 | context.subscriptions.push( 8 | commands.registerCommand('ruff.executeFormat', async () => { 9 | if (!client) { 10 | return; 11 | } 12 | 13 | const textEditor = window.activeTextEditor; 14 | if (!textEditor) { 15 | return; 16 | } 17 | 18 | const textDocument = { 19 | uri: textEditor.document.uri.toString(), 20 | version: textEditor.document.version, 21 | }; 22 | const params = { 23 | command: `ruff.applyFormat`, 24 | arguments: [textDocument], 25 | }; 26 | 27 | await client.sendRequest(ExecuteCommandRequestType, params).then(undefined, async () => { 28 | await window.showErrorMessage( 29 | 'Failed to apply Ruff formatting to the document. Please consider opening an issue with steps to reproduce.', 30 | ); 31 | }); 32 | }), 33 | ); 34 | } 35 | -------------------------------------------------------------------------------- /src/commands/executeOrganizeImports.ts: -------------------------------------------------------------------------------- 1 | import { commands, ExtensionContext, LanguageClient, window } from 'coc.nvim'; 2 | import { ExecuteCommandRequestType } from '../requestTypes'; 3 | 4 | export async function register(context: ExtensionContext, client: LanguageClient) { 5 | await client.onReady(); 6 | 7 | context.subscriptions.push( 8 | commands.registerCommand('ruff.executeOrganizeImports', async () => { 9 | if (!client) { 10 | return; 11 | } 12 | 13 | const textEditor = window.activeTextEditor; 14 | if (!textEditor) { 15 | return; 16 | } 17 | 18 | const textDocument = { 19 | uri: textEditor.document.uri.toString(), 20 | version: textEditor.document.version, 21 | }; 22 | const params = { 23 | command: `ruff.applyOrganizeImports`, 24 | arguments: [textDocument], 25 | }; 26 | 27 | await client.sendRequest(ExecuteCommandRequestType, params).then(undefined, async () => { 28 | await window.showErrorMessage( 29 | 'Failed to apply Ruff fixes to the document. Please consider opening an issue with steps to reproduce.', 30 | ); 31 | }); 32 | }), 33 | ); 34 | } 35 | -------------------------------------------------------------------------------- /src/commands/restart.ts: -------------------------------------------------------------------------------- 1 | import { commands, ExtensionContext, LanguageClient, ServiceStat } from 'coc.nvim'; 2 | 3 | export function register(context: ExtensionContext, client: LanguageClient) { 4 | context.subscriptions.push( 5 | commands.registerCommand('ruff.restart', async () => { 6 | if (client) { 7 | if (client.serviceState !== ServiceStat.Stopped) { 8 | await client.stop(); 9 | } 10 | } 11 | client.start(); 12 | }), 13 | ); 14 | } 15 | -------------------------------------------------------------------------------- /src/commands/showLogs.ts: -------------------------------------------------------------------------------- 1 | import { commands, ExtensionContext, LanguageClient } from 'coc.nvim'; 2 | 3 | export async function register(context: ExtensionContext, client: LanguageClient) { 4 | await client.onReady(); 5 | 6 | context.subscriptions.push( 7 | commands.registerCommand('ruff.showLogs', () => { 8 | if (client.outputChannel) { 9 | client.outputChannel.show(); 10 | } 11 | }), 12 | ); 13 | } 14 | -------------------------------------------------------------------------------- /src/constant.ts: -------------------------------------------------------------------------------- 1 | import fs from 'fs'; 2 | import path from 'path'; 3 | import toml from 'toml'; 4 | 5 | type PyprojectToml = { 6 | tool: { 7 | poetry: { 8 | dependencies: { 9 | [name: string]: string; 10 | }; 11 | }; 12 | }; 13 | }; 14 | 15 | function getPackageVersion(name: string) { 16 | const rootDir = path.resolve(path.dirname(__filename), '..'); 17 | const filePath = path.join(rootDir, 'pyproject.toml'); 18 | const fileStr = fs.readFileSync(filePath); 19 | const data: PyprojectToml = toml.parse(fileStr.toString()); 20 | const version = data.tool.poetry.dependencies[name]; 21 | 22 | return version; 23 | } 24 | 25 | export const RUFF_LSP_VERSION = getPackageVersion('ruff-lsp'); 26 | 27 | export const RUFF_SERVER_SUBCOMMAND = 'server'; 28 | -------------------------------------------------------------------------------- /src/features/autoFixOnSave.ts: -------------------------------------------------------------------------------- 1 | import { LanguageClient, TextEdit, workspace } from 'coc.nvim'; 2 | 3 | type RuffDiagnosticsDataType = { 4 | fix: { 5 | message: string; 6 | edit: TextEdit; 7 | } | null; 8 | noqa_row: any | null; 9 | }; 10 | 11 | export async function register(client: LanguageClient) { 12 | await client.onReady(); 13 | 14 | if (!workspace.getConfiguration('ruff').get('autoFixOnSave', false)) return; 15 | 16 | workspace.registerAutocmd({ 17 | request: true, 18 | event: 'BufWritePre', 19 | pattern: '*.py', 20 | callback: async () => { 21 | const { document } = await workspace.getCurrentState(); 22 | 23 | if (!client.diagnostics) return; 24 | 25 | const currentDiags = client.diagnostics.get(document.uri); 26 | if (!currentDiags) return; 27 | 28 | let existsFix = false; 29 | 30 | for (const d of currentDiags) { 31 | if (d.source !== 'Ruff') continue; 32 | if (!('data' in d)) continue; 33 | 34 | const data = d.data as RuffDiagnosticsDataType; 35 | if (typeof data.fix === 'object') { 36 | existsFix = true; 37 | break; 38 | } 39 | } 40 | 41 | if (existsFix) { 42 | // When executing `commands.executeCommand('ruff.executeAutofix')` 43 | // within the "BufWritePre" event, it does not behave as expected. 44 | // 45 | // We have changed it to be executed from the CocAction function using 46 | // "workspace.nvim.call". 47 | await workspace.nvim.call('CocAction', ['runCommand', 'ruff.executeAutofix']); 48 | } 49 | }, 50 | }); 51 | } 52 | -------------------------------------------------------------------------------- /src/features/showDocumentation.ts: -------------------------------------------------------------------------------- 1 | import { 2 | CodeAction, 3 | CodeActionContext, 4 | CodeActionProvider, 5 | Diagnostic, 6 | DocumentSelector, 7 | ExtensionContext, 8 | LanguageClient, 9 | languages, 10 | Range, 11 | TextDocument, 12 | workspace, 13 | } from 'coc.nvim'; 14 | 15 | type AdditionalDiagnostic = { 16 | codeDescription?: { 17 | href?: string; 18 | }; 19 | }; 20 | 21 | type RuffDiagnostic = Diagnostic & AdditionalDiagnostic; 22 | 23 | type RuffRuleContents = { 24 | id: string | number; 25 | href: string; 26 | }; 27 | 28 | export async function register(context: ExtensionContext, client: LanguageClient) { 29 | await client.onReady(); 30 | 31 | if (!workspace.getConfiguration('ruff').get('client.codeAction.showDocumantaion.enable', false)) return; 32 | 33 | const documentSelector: DocumentSelector = [{ scheme: 'file', language: 'python' }]; 34 | 35 | context.subscriptions.push( 36 | languages.registerCodeActionProvider(documentSelector, new ShowDocumentationCodeActionProvider(client), 'ruff'), 37 | ); 38 | } 39 | 40 | class ShowDocumentationCodeActionProvider implements CodeActionProvider { 41 | private readonly source = 'Ruff'; 42 | private client: LanguageClient; 43 | 44 | constructor(client: LanguageClient) { 45 | this.client = client; 46 | } 47 | 48 | public async provideCodeActions(document: TextDocument, range: Range, context: CodeActionContext) { 49 | const doc = workspace.getDocument(document.uri); 50 | const wholeRange = Range.create(0, 0, doc.lineCount, 0); 51 | let whole = false; 52 | if ( 53 | range.start.line === wholeRange.start.line && 54 | range.start.character === wholeRange.start.character && 55 | range.end.line === wholeRange.end.line && 56 | range.end.character === wholeRange.end.character 57 | ) { 58 | // eslint-disable-next-line @typescript-eslint/no-unused-vars 59 | whole = true; 60 | } 61 | const codeActions: CodeAction[] = []; 62 | 63 | /** Show web documentation for [ruleId] */ 64 | if (this.lineRange(range) && context.diagnostics.length > 0) { 65 | const line = doc.getline(range.start.line); 66 | if (line && line.length) { 67 | const ruffRuleContents: RuffRuleContents[] = []; 68 | context.diagnostics.forEach((d) => { 69 | if (d.source === this.source) { 70 | if ('codeDescription' in d) { 71 | const ruffDiagnostic = d as RuffDiagnostic; 72 | if (ruffDiagnostic.codeDescription?.href) { 73 | if (ruffDiagnostic.code) { 74 | ruffRuleContents.push({ 75 | id: ruffDiagnostic.code, 76 | href: ruffDiagnostic.codeDescription.href, 77 | }); 78 | } 79 | } 80 | } 81 | } 82 | }); 83 | 84 | if (ruffRuleContents) { 85 | ruffRuleContents.forEach((r) => { 86 | const title = `Ruff (${r.id}): Show documentation [coc-ruff]`; 87 | 88 | const command = { 89 | title: '', 90 | command: 'vscode.open', 91 | arguments: [r.href], 92 | }; 93 | 94 | const action: CodeAction = { 95 | title, 96 | command, 97 | }; 98 | 99 | codeActions.push(action); 100 | }); 101 | } 102 | } 103 | } 104 | 105 | return codeActions; 106 | } 107 | 108 | private lineRange(r: Range): boolean { 109 | return ( 110 | (r.start.line + 1 === r.end.line && r.start.character === 0 && r.end.character === 0) || 111 | (r.start.line === r.end.line && r.start.character === 0) 112 | ); 113 | } 114 | } 115 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | import { ExtensionContext, LanguageClient, services, window, workspace } from 'coc.nvim'; 2 | 3 | import fs from 'fs'; 4 | 5 | import { createLanguageClient, createNativeServerClient } from './client'; 6 | import * as builtinInstallServerCommandFeature from './commands/builtinInstallServer'; 7 | import * as executeAutofixCommandFeature from './commands/executeAutofix'; 8 | import * as executeFormatCommandFeature from './commands/executeFormat'; 9 | import * as executeOrganizeImportsCommandFeature from './commands/executeOrganizeImports'; 10 | import * as restartCommandFeature from './commands/restart'; 11 | import * as debugInformationCommandFeature from './commands/debugInformation'; 12 | import * as showLogsCommandFeature from './commands/showLogs'; 13 | import * as autoFixOnSaveFeature from './features/autoFixOnSave'; 14 | import * as showDocumentationCodeActionFeature from './features/showDocumentation'; 15 | import { getRuffLspPath, getRuffBinaryPath } from './tool'; 16 | 17 | let client: LanguageClient | undefined; 18 | 19 | export async function activate(context: ExtensionContext): Promise { 20 | if (!workspace.getConfiguration('ruff').get('enable')) return; 21 | 22 | const extensionStoragePath = context.storagePath; 23 | if (!fs.existsSync(extensionStoragePath)) { 24 | fs.mkdirSync(extensionStoragePath, { recursive: true }); 25 | } 26 | 27 | if (workspace.getConfiguration('ruff').get('nativeServer')) { 28 | const command = await getRuffBinaryPath(); 29 | 30 | if (command) { 31 | client = createNativeServerClient(command); 32 | } else { 33 | window.showWarningMessage('coc-ruff | "ruff" binary does not exist.`'); 34 | return; 35 | } 36 | } else { 37 | const ruffLspPath = getRuffLspPath(context); 38 | if (!ruffLspPath || !fs.existsSync(ruffLspPath)) { 39 | builtinInstallServerCommandFeature.register(context, client); 40 | window.showWarningMessage( 41 | 'coc-ruff | "ruff-lsp" does not exist. please execute `:CocCommand ruff.builtin.installServer`', 42 | ); 43 | return; 44 | } 45 | client = createLanguageClient(ruffLspPath); 46 | } 47 | 48 | context.subscriptions.push(services.registLanguageClient(client)); 49 | 50 | builtinInstallServerCommandFeature.register(context, client); 51 | showLogsCommandFeature.register(context, client); 52 | executeAutofixCommandFeature.register(context, client); 53 | executeOrganizeImportsCommandFeature.register(context, client); 54 | executeFormatCommandFeature.register(context, client); 55 | debugInformationCommandFeature.register(context, client); 56 | restartCommandFeature.register(context, client); 57 | autoFixOnSaveFeature.register(client); 58 | showDocumentationCodeActionFeature.register(context, client); 59 | } 60 | -------------------------------------------------------------------------------- /src/installer.ts: -------------------------------------------------------------------------------- 1 | import { ExtensionContext, window } from 'coc.nvim'; 2 | 3 | import child_process from 'child_process'; 4 | import path from 'path'; 5 | import { rimrafSync } from 'rimraf'; 6 | import util from 'util'; 7 | 8 | import { RUFF_LSP_VERSION } from './constant'; 9 | 10 | const exec = util.promisify(child_process.exec); 11 | 12 | export async function ruffLspInstall(pythonCommand: string, context: ExtensionContext): Promise { 13 | const pathVenv = path.join(context.storagePath, 'ruff-lsp', 'venv'); 14 | 15 | let pathVenvPython = path.join(context.storagePath, 'ruff-lsp', 'venv', 'bin', 'python'); 16 | if (process.platform === 'win32') { 17 | pathVenvPython = path.join(context.storagePath, 'ruff-lsp', 'venv', 'Scripts', 'python'); 18 | } 19 | 20 | const statusItem = window.createStatusBarItem(0, { progress: true }); 21 | statusItem.text = `Installing ruff-lsp in progress...`; 22 | statusItem.show(); 23 | 24 | const installCmd = 25 | `"${pythonCommand}" -m venv ${pathVenv} && ` + 26 | `${pathVenvPython} -m pip install -U pip ruff-lsp==${RUFF_LSP_VERSION}`; 27 | 28 | rimrafSync(pathVenv); 29 | try { 30 | window.showInformationMessage(`Installing ruff-lsp in progress...`); 31 | await exec(installCmd); 32 | statusItem.hide(); 33 | window.showInformationMessage(`Installation of ruff-lsp is now complete!`); 34 | } catch (error) { 35 | statusItem.hide(); 36 | window.showErrorMessage(`Installation of ruff-lsp failed. | ${error}`); 37 | throw new Error(); 38 | } 39 | } 40 | 41 | export async function installWrapper(pythonCommand: string, context: ExtensionContext) { 42 | const msg = 'Install/Upgrade ruff-lsp?'; 43 | const ret = await window.showPrompt(msg); 44 | if (ret) { 45 | try { 46 | await ruffLspInstall(pythonCommand, context); 47 | } catch (e) { 48 | return; 49 | } 50 | } else { 51 | return; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/requestTypes.ts: -------------------------------------------------------------------------------- 1 | import * as lc from 'coc.nvim'; 2 | 3 | interface ExecuteCommandRequestParams { 4 | command: string; 5 | arguments: any[]; 6 | } 7 | 8 | export const ExecuteCommandRequestType = new lc.RequestType( 9 | 'workspace/executeCommand', 10 | ); 11 | -------------------------------------------------------------------------------- /src/tool.ts: -------------------------------------------------------------------------------- 1 | import { ExtensionContext, workspace } from 'coc.nvim'; 2 | 3 | import fs from 'fs'; 4 | import path from 'path'; 5 | import which from 'which'; 6 | 7 | import child_process from 'child_process'; 8 | import util from 'util'; 9 | import semver from 'semver'; 10 | 11 | const exec = util.promisify(child_process.exec); 12 | 13 | export function getPythonPath(): string { 14 | let pythonPath = workspace.getConfiguration('ruff').get('builtin.pythonPath', ''); 15 | if (pythonPath) { 16 | return pythonPath; 17 | } 18 | 19 | pythonPath = which.sync('python3', { nothrow: true }) || ''; 20 | if (pythonPath) { 21 | pythonPath = fs.realpathSync(pythonPath); 22 | return pythonPath; 23 | } 24 | 25 | pythonPath = which.sync('python', { nothrow: true }) || ''; 26 | if (pythonPath) { 27 | pythonPath = fs.realpathSync(pythonPath); 28 | return pythonPath; 29 | } 30 | 31 | return pythonPath; 32 | } 33 | 34 | export function getRuffLspPath(context: ExtensionContext) { 35 | // MEMO: Priority to detect ruff-lsp 36 | // 37 | // 1. ruff.serverPath setting 38 | // 2. current python environment (e.g. global or virtual environment) 39 | // 3. built-in ruff-lsp 40 | 41 | // 1 42 | let ruffLspPath = workspace.getConfiguration('ruff').get('serverPath', ''); 43 | if (!ruffLspPath) { 44 | // 2 45 | ruffLspPath = which.sync('ruff-lsp', { nothrow: true }) || ''; 46 | if (!ruffLspPath) { 47 | if ( 48 | fs.existsSync(path.join(context.storagePath, 'ruff-lsp', 'venv', 'Scripts', 'ruff-lsp.exe')) || 49 | fs.existsSync(path.join(context.storagePath, 'ruff-lsp', 'venv', 'bin', 'ruff-lsp')) 50 | ) { 51 | // 3 52 | if (process.platform === 'win32') { 53 | ruffLspPath = path.join(context.storagePath, 'ruff-lsp', 'venv', 'Scripts', 'ruff-lsp.exe'); 54 | } else { 55 | ruffLspPath = path.join(context.storagePath, 'ruff-lsp', 'venv', 'bin', 'ruff-lsp'); 56 | } 57 | } 58 | } 59 | } 60 | 61 | return ruffLspPath; 62 | } 63 | 64 | export async function getRuffBinaryPath() { 65 | // MEMO: Priority to detect ruff binary 66 | // 67 | // 1. ruff.nativeBinaryPath setting 68 | // 2. current environment 69 | 70 | // 1 71 | let rufrBinaryPath = workspace.getConfiguration('ruff').get('nativeBinaryPath', ''); 72 | if (!rufrBinaryPath) { 73 | // 2 74 | rufrBinaryPath = which.sync('ruff', { nothrow: true }) || ''; 75 | } 76 | 77 | // check supported version 78 | //if (rufrBinaryPath) { 79 | // const versionStr = await getToolVersion(rufrBinaryPath); 80 | 81 | // if (!versionStr) return ''; 82 | // if (!isRuffNativeServerSupported(versionStr)) return ''; 83 | //} 84 | 85 | return rufrBinaryPath; 86 | } 87 | 88 | // eslint-disable-next-line @typescript-eslint/no-unused-vars 89 | async function getToolVersion(command: string): Promise { 90 | const versionCmd = `${command} --version`; 91 | 92 | try { 93 | const { stdout } = await exec(versionCmd); 94 | return stdout; 95 | } catch (error) { 96 | return undefined; 97 | } 98 | } 99 | 100 | // eslint-disable-next-line @typescript-eslint/no-unused-vars 101 | function isRuffNativeServerSupported(versionStr: string): boolean { 102 | const parsedSemver = semver.parse(versionStr); 103 | if (parsedSemver) { 104 | return semver.gte(parsedSemver.version, '0.4.8'); 105 | } 106 | return true; 107 | } 108 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es2017", 4 | "lib": ["es2017", "es2018"], 5 | "module": "commonjs", 6 | "declaration": false, 7 | "sourceMap": true, 8 | "outDir": "lib", 9 | "strict": true, 10 | "moduleResolution": "node", 11 | "noImplicitAny": false, 12 | "esModuleInterop": true 13 | }, 14 | "include": ["src"] 15 | } 16 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@aashutoshrathi/word-wrap@^1.2.3": 6 | version "1.2.6" 7 | resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" 8 | integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== 9 | 10 | "@esbuild/android-arm64@0.16.17": 11 | version "0.16.17" 12 | resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz#cf91e86df127aa3d141744edafcba0abdc577d23" 13 | integrity sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg== 14 | 15 | "@esbuild/android-arm@0.16.17": 16 | version "0.16.17" 17 | resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.16.17.tgz#025b6246d3f68b7bbaa97069144fb5fb70f2fff2" 18 | integrity sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw== 19 | 20 | "@esbuild/android-x64@0.16.17": 21 | version "0.16.17" 22 | resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.16.17.tgz#c820e0fef982f99a85c4b8bfdd582835f04cd96e" 23 | integrity sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ== 24 | 25 | "@esbuild/darwin-arm64@0.16.17": 26 | version "0.16.17" 27 | resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz#edef4487af6b21afabba7be5132c26d22379b220" 28 | integrity sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w== 29 | 30 | "@esbuild/darwin-x64@0.16.17": 31 | version "0.16.17" 32 | resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz#42829168730071c41ef0d028d8319eea0e2904b4" 33 | integrity sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg== 34 | 35 | "@esbuild/freebsd-arm64@0.16.17": 36 | version "0.16.17" 37 | resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz#1f4af488bfc7e9ced04207034d398e793b570a27" 38 | integrity sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw== 39 | 40 | "@esbuild/freebsd-x64@0.16.17": 41 | version "0.16.17" 42 | resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz#636306f19e9bc981e06aa1d777302dad8fddaf72" 43 | integrity sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug== 44 | 45 | "@esbuild/linux-arm64@0.16.17": 46 | version "0.16.17" 47 | resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz#a003f7ff237c501e095d4f3a09e58fc7b25a4aca" 48 | integrity sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g== 49 | 50 | "@esbuild/linux-arm@0.16.17": 51 | version "0.16.17" 52 | resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz#b591e6a59d9c4fe0eeadd4874b157ab78cf5f196" 53 | integrity sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ== 54 | 55 | "@esbuild/linux-ia32@0.16.17": 56 | version "0.16.17" 57 | resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz#24333a11027ef46a18f57019450a5188918e2a54" 58 | integrity sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg== 59 | 60 | "@esbuild/linux-loong64@0.16.17": 61 | version "0.16.17" 62 | resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz#d5ad459d41ed42bbd4d005256b31882ec52227d8" 63 | integrity sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ== 64 | 65 | "@esbuild/linux-mips64el@0.16.17": 66 | version "0.16.17" 67 | resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz#4e5967a665c38360b0a8205594377d4dcf9c3726" 68 | integrity sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw== 69 | 70 | "@esbuild/linux-ppc64@0.16.17": 71 | version "0.16.17" 72 | resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz#206443a02eb568f9fdf0b438fbd47d26e735afc8" 73 | integrity sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g== 74 | 75 | "@esbuild/linux-riscv64@0.16.17": 76 | version "0.16.17" 77 | resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz#c351e433d009bf256e798ad048152c8d76da2fc9" 78 | integrity sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw== 79 | 80 | "@esbuild/linux-s390x@0.16.17": 81 | version "0.16.17" 82 | resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz#661f271e5d59615b84b6801d1c2123ad13d9bd87" 83 | integrity sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w== 84 | 85 | "@esbuild/linux-x64@0.16.17": 86 | version "0.16.17" 87 | resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz#e4ba18e8b149a89c982351443a377c723762b85f" 88 | integrity sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw== 89 | 90 | "@esbuild/netbsd-x64@0.16.17": 91 | version "0.16.17" 92 | resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz#7d4f4041e30c5c07dd24ffa295c73f06038ec775" 93 | integrity sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA== 94 | 95 | "@esbuild/openbsd-x64@0.16.17": 96 | version "0.16.17" 97 | resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz#970fa7f8470681f3e6b1db0cc421a4af8060ec35" 98 | integrity sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg== 99 | 100 | "@esbuild/sunos-x64@0.16.17": 101 | version "0.16.17" 102 | resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz#abc60e7c4abf8b89fb7a4fe69a1484132238022c" 103 | integrity sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw== 104 | 105 | "@esbuild/win32-arm64@0.16.17": 106 | version "0.16.17" 107 | resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz#7b0ff9e8c3265537a7a7b1fd9a24e7bd39fcd87a" 108 | integrity sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw== 109 | 110 | "@esbuild/win32-ia32@0.16.17": 111 | version "0.16.17" 112 | resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz#e90fe5267d71a7b7567afdc403dfd198c292eb09" 113 | integrity sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig== 114 | 115 | "@esbuild/win32-x64@0.16.17": 116 | version "0.16.17" 117 | resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz#c5a1a4bfe1b57f0c3e61b29883525c6da3e5c091" 118 | integrity sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q== 119 | 120 | "@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": 121 | version "4.4.0" 122 | resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" 123 | integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== 124 | dependencies: 125 | eslint-visitor-keys "^3.3.0" 126 | 127 | "@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.1": 128 | version "4.8.0" 129 | resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.8.0.tgz#11195513186f68d42fbf449f9a7136b2c0c92005" 130 | integrity sha512-JylOEEzDiOryeUnFbQz+oViCXS0KsvR1mvHkoMiu5+UiBvy+RYX7tzlIIIEstF/gVa2tj9AQXk3dgnxv6KxhFg== 131 | 132 | "@eslint/eslintrc@^2.1.4": 133 | version "2.1.4" 134 | resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad" 135 | integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ== 136 | dependencies: 137 | ajv "^6.12.4" 138 | debug "^4.3.2" 139 | espree "^9.6.0" 140 | globals "^13.19.0" 141 | ignore "^5.2.0" 142 | import-fresh "^3.2.1" 143 | js-yaml "^4.1.0" 144 | minimatch "^3.1.2" 145 | strip-json-comments "^3.1.1" 146 | 147 | "@eslint/js@8.56.0": 148 | version "8.56.0" 149 | resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b" 150 | integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A== 151 | 152 | "@humanwhocodes/config-array@^0.11.13": 153 | version "0.11.14" 154 | resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b" 155 | integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg== 156 | dependencies: 157 | "@humanwhocodes/object-schema" "^2.0.2" 158 | debug "^4.3.1" 159 | minimatch "^3.0.5" 160 | 161 | "@humanwhocodes/module-importer@^1.0.1": 162 | version "1.0.1" 163 | resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" 164 | integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== 165 | 166 | "@humanwhocodes/object-schema@^2.0.2": 167 | version "2.0.2" 168 | resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz#d9fae00a2d5cb40f92cfe64b47ad749fbc38f917" 169 | integrity sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw== 170 | 171 | "@isaacs/cliui@^8.0.2": 172 | version "8.0.2" 173 | resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" 174 | integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== 175 | dependencies: 176 | string-width "^5.1.2" 177 | string-width-cjs "npm:string-width@^4.2.0" 178 | strip-ansi "^7.0.1" 179 | strip-ansi-cjs "npm:strip-ansi@^6.0.1" 180 | wrap-ansi "^8.1.0" 181 | wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" 182 | 183 | "@nodelib/fs.scandir@2.1.5": 184 | version "2.1.5" 185 | resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" 186 | integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== 187 | dependencies: 188 | "@nodelib/fs.stat" "2.0.5" 189 | run-parallel "^1.1.9" 190 | 191 | "@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": 192 | version "2.0.5" 193 | resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" 194 | integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== 195 | 196 | "@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": 197 | version "1.2.8" 198 | resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" 199 | integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== 200 | dependencies: 201 | "@nodelib/fs.scandir" "2.1.5" 202 | fastq "^1.6.0" 203 | 204 | "@pkgjs/parseargs@^0.11.0": 205 | version "0.11.0" 206 | resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" 207 | integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== 208 | 209 | "@pkgr/core@^0.1.0": 210 | version "0.1.1" 211 | resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31" 212 | integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA== 213 | 214 | "@types/json-schema@^7.0.12": 215 | version "7.0.12" 216 | resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.12.tgz#d70faba7039d5fca54c83c7dbab41051d2b6f6cb" 217 | integrity sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA== 218 | 219 | "@types/node@^20.11.17": 220 | version "20.11.17" 221 | resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.17.tgz#cdd642d0e62ef3a861f88ddbc2b61e32578a9292" 222 | integrity sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw== 223 | dependencies: 224 | undici-types "~5.26.4" 225 | 226 | "@types/semver@^7.5.0": 227 | version "7.5.1" 228 | resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.1.tgz#0480eeb7221eb9bc398ad7432c9d7e14b1a5a367" 229 | integrity sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg== 230 | 231 | "@types/semver@^7.5.8": 232 | version "7.5.8" 233 | resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.8.tgz#8268a8c57a3e4abd25c165ecd36237db7948a55e" 234 | integrity sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ== 235 | 236 | "@types/which@^2.0.1": 237 | version "2.0.1" 238 | resolved "https://registry.yarnpkg.com/@types/which/-/which-2.0.1.tgz#27ecd67f915b7c3d6ba552135bb1eecd66e63501" 239 | integrity sha512-Jjakcv8Roqtio6w1gr0D7y6twbhx6gGgFGF5BLwajPpnOIOxFkakFhCq+LmyyeAz7BX6ULrjBOxdKaCDy+4+dQ== 240 | 241 | "@typescript-eslint/eslint-plugin@^6.21.0": 242 | version "6.21.0" 243 | resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.21.0.tgz#30830c1ca81fd5f3c2714e524c4303e0194f9cd3" 244 | integrity sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA== 245 | dependencies: 246 | "@eslint-community/regexpp" "^4.5.1" 247 | "@typescript-eslint/scope-manager" "6.21.0" 248 | "@typescript-eslint/type-utils" "6.21.0" 249 | "@typescript-eslint/utils" "6.21.0" 250 | "@typescript-eslint/visitor-keys" "6.21.0" 251 | debug "^4.3.4" 252 | graphemer "^1.4.0" 253 | ignore "^5.2.4" 254 | natural-compare "^1.4.0" 255 | semver "^7.5.4" 256 | ts-api-utils "^1.0.1" 257 | 258 | "@typescript-eslint/parser@^6.21.0": 259 | version "6.21.0" 260 | resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.21.0.tgz#af8fcf66feee2edc86bc5d1cf45e33b0630bf35b" 261 | integrity sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ== 262 | dependencies: 263 | "@typescript-eslint/scope-manager" "6.21.0" 264 | "@typescript-eslint/types" "6.21.0" 265 | "@typescript-eslint/typescript-estree" "6.21.0" 266 | "@typescript-eslint/visitor-keys" "6.21.0" 267 | debug "^4.3.4" 268 | 269 | "@typescript-eslint/scope-manager@6.21.0": 270 | version "6.21.0" 271 | resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz#ea8a9bfc8f1504a6ac5d59a6df308d3a0630a2b1" 272 | integrity sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg== 273 | dependencies: 274 | "@typescript-eslint/types" "6.21.0" 275 | "@typescript-eslint/visitor-keys" "6.21.0" 276 | 277 | "@typescript-eslint/type-utils@6.21.0": 278 | version "6.21.0" 279 | resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.21.0.tgz#6473281cfed4dacabe8004e8521cee0bd9d4c01e" 280 | integrity sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag== 281 | dependencies: 282 | "@typescript-eslint/typescript-estree" "6.21.0" 283 | "@typescript-eslint/utils" "6.21.0" 284 | debug "^4.3.4" 285 | ts-api-utils "^1.0.1" 286 | 287 | "@typescript-eslint/types@6.21.0": 288 | version "6.21.0" 289 | resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.21.0.tgz#205724c5123a8fef7ecd195075fa6e85bac3436d" 290 | integrity sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg== 291 | 292 | "@typescript-eslint/typescript-estree@6.21.0": 293 | version "6.21.0" 294 | resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz#c47ae7901db3b8bddc3ecd73daff2d0895688c46" 295 | integrity sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ== 296 | dependencies: 297 | "@typescript-eslint/types" "6.21.0" 298 | "@typescript-eslint/visitor-keys" "6.21.0" 299 | debug "^4.3.4" 300 | globby "^11.1.0" 301 | is-glob "^4.0.3" 302 | minimatch "9.0.3" 303 | semver "^7.5.4" 304 | ts-api-utils "^1.0.1" 305 | 306 | "@typescript-eslint/utils@6.21.0": 307 | version "6.21.0" 308 | resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.21.0.tgz#4714e7a6b39e773c1c8e97ec587f520840cd8134" 309 | integrity sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ== 310 | dependencies: 311 | "@eslint-community/eslint-utils" "^4.4.0" 312 | "@types/json-schema" "^7.0.12" 313 | "@types/semver" "^7.5.0" 314 | "@typescript-eslint/scope-manager" "6.21.0" 315 | "@typescript-eslint/types" "6.21.0" 316 | "@typescript-eslint/typescript-estree" "6.21.0" 317 | semver "^7.5.4" 318 | 319 | "@typescript-eslint/visitor-keys@6.21.0": 320 | version "6.21.0" 321 | resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz#87a99d077aa507e20e238b11d56cc26ade45fe47" 322 | integrity sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A== 323 | dependencies: 324 | "@typescript-eslint/types" "6.21.0" 325 | eslint-visitor-keys "^3.4.1" 326 | 327 | "@ungap/structured-clone@^1.2.0": 328 | version "1.2.0" 329 | resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" 330 | integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== 331 | 332 | acorn-jsx@^5.3.2: 333 | version "5.3.2" 334 | resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" 335 | integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== 336 | 337 | acorn@^8.9.0: 338 | version "8.10.0" 339 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" 340 | integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== 341 | 342 | ajv@^6.12.4: 343 | version "6.12.6" 344 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" 345 | integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== 346 | dependencies: 347 | fast-deep-equal "^3.1.1" 348 | fast-json-stable-stringify "^2.0.0" 349 | json-schema-traverse "^0.4.1" 350 | uri-js "^4.2.2" 351 | 352 | ansi-regex@^5.0.1: 353 | version "5.0.1" 354 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" 355 | integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== 356 | 357 | ansi-regex@^6.0.1: 358 | version "6.0.1" 359 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" 360 | integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== 361 | 362 | ansi-styles@^4.0.0, ansi-styles@^4.1.0: 363 | version "4.3.0" 364 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" 365 | integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== 366 | dependencies: 367 | color-convert "^2.0.1" 368 | 369 | ansi-styles@^6.1.0: 370 | version "6.2.1" 371 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" 372 | integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== 373 | 374 | argparse@^2.0.1: 375 | version "2.0.1" 376 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" 377 | integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== 378 | 379 | array-union@^2.1.0: 380 | version "2.1.0" 381 | resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" 382 | integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== 383 | 384 | balanced-match@^1.0.0: 385 | version "1.0.2" 386 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" 387 | integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== 388 | 389 | brace-expansion@^1.1.7: 390 | version "1.1.11" 391 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 392 | integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== 393 | dependencies: 394 | balanced-match "^1.0.0" 395 | concat-map "0.0.1" 396 | 397 | brace-expansion@^2.0.1: 398 | version "2.0.1" 399 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" 400 | integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== 401 | dependencies: 402 | balanced-match "^1.0.0" 403 | 404 | braces@^3.0.2: 405 | version "3.0.2" 406 | resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" 407 | integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== 408 | dependencies: 409 | fill-range "^7.0.1" 410 | 411 | callsites@^3.0.0: 412 | version "3.1.0" 413 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" 414 | integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== 415 | 416 | chalk@^4.0.0: 417 | version "4.1.2" 418 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" 419 | integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== 420 | dependencies: 421 | ansi-styles "^4.1.0" 422 | supports-color "^7.1.0" 423 | 424 | coc.nvim@^0.0.82: 425 | version "0.0.82" 426 | resolved "https://registry.yarnpkg.com/coc.nvim/-/coc.nvim-0.0.82.tgz#5230e2eb17e8499a60a97b46d844f2d08c593b29" 427 | integrity sha512-+70ap6FH8FSdaQ0CPijaasQzg6ue84j4/LkX6ZSpALX7YKBcGGDkCcd6adgaC/86b/ZqT3iTTEbMh3mdaI5qPA== 428 | 429 | color-convert@^2.0.1: 430 | version "2.0.1" 431 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" 432 | integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== 433 | dependencies: 434 | color-name "~1.1.4" 435 | 436 | color-name@~1.1.4: 437 | version "1.1.4" 438 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" 439 | integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== 440 | 441 | concat-map@0.0.1: 442 | version "0.0.1" 443 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 444 | integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== 445 | 446 | cross-spawn@^7.0.0, cross-spawn@^7.0.2: 447 | version "7.0.3" 448 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" 449 | integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== 450 | dependencies: 451 | path-key "^3.1.0" 452 | shebang-command "^2.0.0" 453 | which "^2.0.1" 454 | 455 | debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: 456 | version "4.3.4" 457 | resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" 458 | integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== 459 | dependencies: 460 | ms "2.1.2" 461 | 462 | deep-is@^0.1.3: 463 | version "0.1.4" 464 | resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" 465 | integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== 466 | 467 | dir-glob@^3.0.1: 468 | version "3.0.1" 469 | resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" 470 | integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== 471 | dependencies: 472 | path-type "^4.0.0" 473 | 474 | doctrine@^3.0.0: 475 | version "3.0.0" 476 | resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" 477 | integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== 478 | dependencies: 479 | esutils "^2.0.2" 480 | 481 | eastasianwidth@^0.2.0: 482 | version "0.2.0" 483 | resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" 484 | integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== 485 | 486 | emoji-regex@^8.0.0: 487 | version "8.0.0" 488 | resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" 489 | integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== 490 | 491 | emoji-regex@^9.2.2: 492 | version "9.2.2" 493 | resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" 494 | integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== 495 | 496 | esbuild@^0.16.17: 497 | version "0.16.17" 498 | resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.16.17.tgz#fc2c3914c57ee750635fee71b89f615f25065259" 499 | integrity sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg== 500 | optionalDependencies: 501 | "@esbuild/android-arm" "0.16.17" 502 | "@esbuild/android-arm64" "0.16.17" 503 | "@esbuild/android-x64" "0.16.17" 504 | "@esbuild/darwin-arm64" "0.16.17" 505 | "@esbuild/darwin-x64" "0.16.17" 506 | "@esbuild/freebsd-arm64" "0.16.17" 507 | "@esbuild/freebsd-x64" "0.16.17" 508 | "@esbuild/linux-arm" "0.16.17" 509 | "@esbuild/linux-arm64" "0.16.17" 510 | "@esbuild/linux-ia32" "0.16.17" 511 | "@esbuild/linux-loong64" "0.16.17" 512 | "@esbuild/linux-mips64el" "0.16.17" 513 | "@esbuild/linux-ppc64" "0.16.17" 514 | "@esbuild/linux-riscv64" "0.16.17" 515 | "@esbuild/linux-s390x" "0.16.17" 516 | "@esbuild/linux-x64" "0.16.17" 517 | "@esbuild/netbsd-x64" "0.16.17" 518 | "@esbuild/openbsd-x64" "0.16.17" 519 | "@esbuild/sunos-x64" "0.16.17" 520 | "@esbuild/win32-arm64" "0.16.17" 521 | "@esbuild/win32-ia32" "0.16.17" 522 | "@esbuild/win32-x64" "0.16.17" 523 | 524 | escape-string-regexp@^4.0.0: 525 | version "4.0.0" 526 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" 527 | integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== 528 | 529 | eslint-config-prettier@^9.1.0: 530 | version "9.1.0" 531 | resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f" 532 | integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw== 533 | 534 | eslint-plugin-prettier@^5.1.3: 535 | version "5.1.3" 536 | resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz#17cfade9e732cef32b5f5be53bd4e07afd8e67e1" 537 | integrity sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw== 538 | dependencies: 539 | prettier-linter-helpers "^1.0.0" 540 | synckit "^0.8.6" 541 | 542 | eslint-scope@^7.2.2: 543 | version "7.2.2" 544 | resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" 545 | integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== 546 | dependencies: 547 | esrecurse "^4.3.0" 548 | estraverse "^5.2.0" 549 | 550 | eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1: 551 | version "3.4.1" 552 | resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994" 553 | integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== 554 | 555 | eslint-visitor-keys@^3.4.3: 556 | version "3.4.3" 557 | resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" 558 | integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== 559 | 560 | eslint@^8.56.0: 561 | version "8.56.0" 562 | resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.56.0.tgz#4957ce8da409dc0809f99ab07a1b94832ab74b15" 563 | integrity sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ== 564 | dependencies: 565 | "@eslint-community/eslint-utils" "^4.2.0" 566 | "@eslint-community/regexpp" "^4.6.1" 567 | "@eslint/eslintrc" "^2.1.4" 568 | "@eslint/js" "8.56.0" 569 | "@humanwhocodes/config-array" "^0.11.13" 570 | "@humanwhocodes/module-importer" "^1.0.1" 571 | "@nodelib/fs.walk" "^1.2.8" 572 | "@ungap/structured-clone" "^1.2.0" 573 | ajv "^6.12.4" 574 | chalk "^4.0.0" 575 | cross-spawn "^7.0.2" 576 | debug "^4.3.2" 577 | doctrine "^3.0.0" 578 | escape-string-regexp "^4.0.0" 579 | eslint-scope "^7.2.2" 580 | eslint-visitor-keys "^3.4.3" 581 | espree "^9.6.1" 582 | esquery "^1.4.2" 583 | esutils "^2.0.2" 584 | fast-deep-equal "^3.1.3" 585 | file-entry-cache "^6.0.1" 586 | find-up "^5.0.0" 587 | glob-parent "^6.0.2" 588 | globals "^13.19.0" 589 | graphemer "^1.4.0" 590 | ignore "^5.2.0" 591 | imurmurhash "^0.1.4" 592 | is-glob "^4.0.0" 593 | is-path-inside "^3.0.3" 594 | js-yaml "^4.1.0" 595 | json-stable-stringify-without-jsonify "^1.0.1" 596 | levn "^0.4.1" 597 | lodash.merge "^4.6.2" 598 | minimatch "^3.1.2" 599 | natural-compare "^1.4.0" 600 | optionator "^0.9.3" 601 | strip-ansi "^6.0.1" 602 | text-table "^0.2.0" 603 | 604 | espree@^9.6.0, espree@^9.6.1: 605 | version "9.6.1" 606 | resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" 607 | integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== 608 | dependencies: 609 | acorn "^8.9.0" 610 | acorn-jsx "^5.3.2" 611 | eslint-visitor-keys "^3.4.1" 612 | 613 | esquery@^1.4.2: 614 | version "1.5.0" 615 | resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" 616 | integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== 617 | dependencies: 618 | estraverse "^5.1.0" 619 | 620 | esrecurse@^4.3.0: 621 | version "4.3.0" 622 | resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" 623 | integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== 624 | dependencies: 625 | estraverse "^5.2.0" 626 | 627 | estraverse@^5.1.0, estraverse@^5.2.0: 628 | version "5.3.0" 629 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" 630 | integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== 631 | 632 | esutils@^2.0.2: 633 | version "2.0.3" 634 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" 635 | integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== 636 | 637 | fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: 638 | version "3.1.3" 639 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" 640 | integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== 641 | 642 | fast-diff@^1.1.2: 643 | version "1.2.0" 644 | resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" 645 | integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== 646 | 647 | fast-glob@^3.2.9: 648 | version "3.2.12" 649 | resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" 650 | integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== 651 | dependencies: 652 | "@nodelib/fs.stat" "^2.0.2" 653 | "@nodelib/fs.walk" "^1.2.3" 654 | glob-parent "^5.1.2" 655 | merge2 "^1.3.0" 656 | micromatch "^4.0.4" 657 | 658 | fast-json-stable-stringify@^2.0.0: 659 | version "2.1.0" 660 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" 661 | integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== 662 | 663 | fast-levenshtein@^2.0.6: 664 | version "2.0.6" 665 | resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" 666 | integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== 667 | 668 | fastq@^1.6.0: 669 | version "1.15.0" 670 | resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a" 671 | integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw== 672 | dependencies: 673 | reusify "^1.0.4" 674 | 675 | file-entry-cache@^6.0.1: 676 | version "6.0.1" 677 | resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" 678 | integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== 679 | dependencies: 680 | flat-cache "^3.0.4" 681 | 682 | fill-range@^7.0.1: 683 | version "7.0.1" 684 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" 685 | integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== 686 | dependencies: 687 | to-regex-range "^5.0.1" 688 | 689 | find-up@^5.0.0: 690 | version "5.0.0" 691 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" 692 | integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== 693 | dependencies: 694 | locate-path "^6.0.0" 695 | path-exists "^4.0.0" 696 | 697 | flat-cache@^3.0.4: 698 | version "3.0.4" 699 | resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" 700 | integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== 701 | dependencies: 702 | flatted "^3.1.0" 703 | rimraf "^3.0.2" 704 | 705 | flatted@^3.1.0: 706 | version "3.2.7" 707 | resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" 708 | integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== 709 | 710 | foreground-child@^3.1.0: 711 | version "3.1.1" 712 | resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" 713 | integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg== 714 | dependencies: 715 | cross-spawn "^7.0.0" 716 | signal-exit "^4.0.1" 717 | 718 | fs.realpath@^1.0.0: 719 | version "1.0.0" 720 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 721 | integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== 722 | 723 | glob-parent@^5.1.2: 724 | version "5.1.2" 725 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" 726 | integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== 727 | dependencies: 728 | is-glob "^4.0.1" 729 | 730 | glob-parent@^6.0.2: 731 | version "6.0.2" 732 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" 733 | integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== 734 | dependencies: 735 | is-glob "^4.0.3" 736 | 737 | glob@^10.3.7: 738 | version "10.3.10" 739 | resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b" 740 | integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== 741 | dependencies: 742 | foreground-child "^3.1.0" 743 | jackspeak "^2.3.5" 744 | minimatch "^9.0.1" 745 | minipass "^5.0.0 || ^6.0.2 || ^7.0.0" 746 | path-scurry "^1.10.1" 747 | 748 | glob@^7.1.3: 749 | version "7.2.3" 750 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" 751 | integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== 752 | dependencies: 753 | fs.realpath "^1.0.0" 754 | inflight "^1.0.4" 755 | inherits "2" 756 | minimatch "^3.1.1" 757 | once "^1.3.0" 758 | path-is-absolute "^1.0.0" 759 | 760 | globals@^13.19.0: 761 | version "13.20.0" 762 | resolved "https://registry.yarnpkg.com/globals/-/globals-13.20.0.tgz#ea276a1e508ffd4f1612888f9d1bad1e2717bf82" 763 | integrity sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ== 764 | dependencies: 765 | type-fest "^0.20.2" 766 | 767 | globby@^11.1.0: 768 | version "11.1.0" 769 | resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" 770 | integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== 771 | dependencies: 772 | array-union "^2.1.0" 773 | dir-glob "^3.0.1" 774 | fast-glob "^3.2.9" 775 | ignore "^5.2.0" 776 | merge2 "^1.4.1" 777 | slash "^3.0.0" 778 | 779 | graphemer@^1.4.0: 780 | version "1.4.0" 781 | resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" 782 | integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== 783 | 784 | has-flag@^4.0.0: 785 | version "4.0.0" 786 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" 787 | integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== 788 | 789 | ignore@^5.2.0, ignore@^5.2.4: 790 | version "5.2.4" 791 | resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" 792 | integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== 793 | 794 | import-fresh@^3.2.1: 795 | version "3.3.0" 796 | resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" 797 | integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== 798 | dependencies: 799 | parent-module "^1.0.0" 800 | resolve-from "^4.0.0" 801 | 802 | imurmurhash@^0.1.4: 803 | version "0.1.4" 804 | resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" 805 | integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== 806 | 807 | inflight@^1.0.4: 808 | version "1.0.6" 809 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 810 | integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== 811 | dependencies: 812 | once "^1.3.0" 813 | wrappy "1" 814 | 815 | inherits@2: 816 | version "2.0.4" 817 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" 818 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== 819 | 820 | is-extglob@^2.1.1: 821 | version "2.1.1" 822 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" 823 | integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== 824 | 825 | is-fullwidth-code-point@^3.0.0: 826 | version "3.0.0" 827 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" 828 | integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== 829 | 830 | is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3: 831 | version "4.0.3" 832 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" 833 | integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== 834 | dependencies: 835 | is-extglob "^2.1.1" 836 | 837 | is-number@^7.0.0: 838 | version "7.0.0" 839 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" 840 | integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== 841 | 842 | is-path-inside@^3.0.3: 843 | version "3.0.3" 844 | resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" 845 | integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== 846 | 847 | isexe@^2.0.0: 848 | version "2.0.0" 849 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 850 | integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== 851 | 852 | jackspeak@^2.3.5: 853 | version "2.3.6" 854 | resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" 855 | integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== 856 | dependencies: 857 | "@isaacs/cliui" "^8.0.2" 858 | optionalDependencies: 859 | "@pkgjs/parseargs" "^0.11.0" 860 | 861 | js-yaml@^4.1.0: 862 | version "4.1.0" 863 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" 864 | integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== 865 | dependencies: 866 | argparse "^2.0.1" 867 | 868 | json-schema-traverse@^0.4.1: 869 | version "0.4.1" 870 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" 871 | integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== 872 | 873 | json-stable-stringify-without-jsonify@^1.0.1: 874 | version "1.0.1" 875 | resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" 876 | integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== 877 | 878 | levn@^0.4.1: 879 | version "0.4.1" 880 | resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" 881 | integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== 882 | dependencies: 883 | prelude-ls "^1.2.1" 884 | type-check "~0.4.0" 885 | 886 | locate-path@^6.0.0: 887 | version "6.0.0" 888 | resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" 889 | integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== 890 | dependencies: 891 | p-locate "^5.0.0" 892 | 893 | lodash.merge@^4.6.2: 894 | version "4.6.2" 895 | resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" 896 | integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== 897 | 898 | lru-cache@^6.0.0: 899 | version "6.0.0" 900 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" 901 | integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== 902 | dependencies: 903 | yallist "^4.0.0" 904 | 905 | "lru-cache@^9.1.1 || ^10.0.0": 906 | version "10.2.0" 907 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" 908 | integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== 909 | 910 | merge2@^1.3.0, merge2@^1.4.1: 911 | version "1.4.1" 912 | resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" 913 | integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== 914 | 915 | micromatch@^4.0.4: 916 | version "4.0.5" 917 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" 918 | integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== 919 | dependencies: 920 | braces "^3.0.2" 921 | picomatch "^2.3.1" 922 | 923 | minimatch@9.0.3, minimatch@^9.0.1: 924 | version "9.0.3" 925 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" 926 | integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== 927 | dependencies: 928 | brace-expansion "^2.0.1" 929 | 930 | minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: 931 | version "3.1.2" 932 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" 933 | integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== 934 | dependencies: 935 | brace-expansion "^1.1.7" 936 | 937 | "minipass@^5.0.0 || ^6.0.2 || ^7.0.0": 938 | version "7.0.4" 939 | resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" 940 | integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== 941 | 942 | ms@2.1.2: 943 | version "2.1.2" 944 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" 945 | integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== 946 | 947 | natural-compare@^1.4.0: 948 | version "1.4.0" 949 | resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" 950 | integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== 951 | 952 | once@^1.3.0: 953 | version "1.4.0" 954 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 955 | integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== 956 | dependencies: 957 | wrappy "1" 958 | 959 | optionator@^0.9.3: 960 | version "0.9.3" 961 | resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" 962 | integrity sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg== 963 | dependencies: 964 | "@aashutoshrathi/word-wrap" "^1.2.3" 965 | deep-is "^0.1.3" 966 | fast-levenshtein "^2.0.6" 967 | levn "^0.4.1" 968 | prelude-ls "^1.2.1" 969 | type-check "^0.4.0" 970 | 971 | p-limit@^3.0.2: 972 | version "3.1.0" 973 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" 974 | integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== 975 | dependencies: 976 | yocto-queue "^0.1.0" 977 | 978 | p-locate@^5.0.0: 979 | version "5.0.0" 980 | resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" 981 | integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== 982 | dependencies: 983 | p-limit "^3.0.2" 984 | 985 | parent-module@^1.0.0: 986 | version "1.0.1" 987 | resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" 988 | integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== 989 | dependencies: 990 | callsites "^3.0.0" 991 | 992 | path-exists@^4.0.0: 993 | version "4.0.0" 994 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" 995 | integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== 996 | 997 | path-is-absolute@^1.0.0: 998 | version "1.0.1" 999 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1000 | integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== 1001 | 1002 | path-key@^3.1.0: 1003 | version "3.1.1" 1004 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" 1005 | integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== 1006 | 1007 | path-scurry@^1.10.1: 1008 | version "1.10.1" 1009 | resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" 1010 | integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== 1011 | dependencies: 1012 | lru-cache "^9.1.1 || ^10.0.0" 1013 | minipass "^5.0.0 || ^6.0.2 || ^7.0.0" 1014 | 1015 | path-type@^4.0.0: 1016 | version "4.0.0" 1017 | resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" 1018 | integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== 1019 | 1020 | picomatch@^2.3.1: 1021 | version "2.3.1" 1022 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" 1023 | integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== 1024 | 1025 | prelude-ls@^1.2.1: 1026 | version "1.2.1" 1027 | resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" 1028 | integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== 1029 | 1030 | prettier-linter-helpers@^1.0.0: 1031 | version "1.0.0" 1032 | resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" 1033 | integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== 1034 | dependencies: 1035 | fast-diff "^1.1.2" 1036 | 1037 | prettier@^3.2.5: 1038 | version "3.2.5" 1039 | resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368" 1040 | integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A== 1041 | 1042 | punycode@^2.1.0: 1043 | version "2.3.0" 1044 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" 1045 | integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== 1046 | 1047 | queue-microtask@^1.2.2: 1048 | version "1.2.3" 1049 | resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" 1050 | integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== 1051 | 1052 | resolve-from@^4.0.0: 1053 | version "4.0.0" 1054 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" 1055 | integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== 1056 | 1057 | reusify@^1.0.4: 1058 | version "1.0.4" 1059 | resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" 1060 | integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== 1061 | 1062 | rimraf@^3.0.2: 1063 | version "3.0.2" 1064 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" 1065 | integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== 1066 | dependencies: 1067 | glob "^7.1.3" 1068 | 1069 | rimraf@^5.0.1: 1070 | version "5.0.5" 1071 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.5.tgz#9be65d2d6e683447d2e9013da2bf451139a61ccf" 1072 | integrity sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A== 1073 | dependencies: 1074 | glob "^10.3.7" 1075 | 1076 | run-parallel@^1.1.9: 1077 | version "1.2.0" 1078 | resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" 1079 | integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== 1080 | dependencies: 1081 | queue-microtask "^1.2.2" 1082 | 1083 | semver@^7.5.4: 1084 | version "7.5.4" 1085 | resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" 1086 | integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== 1087 | dependencies: 1088 | lru-cache "^6.0.0" 1089 | 1090 | semver@^7.6.2: 1091 | version "7.6.2" 1092 | resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13" 1093 | integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w== 1094 | 1095 | shebang-command@^2.0.0: 1096 | version "2.0.0" 1097 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" 1098 | integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== 1099 | dependencies: 1100 | shebang-regex "^3.0.0" 1101 | 1102 | shebang-regex@^3.0.0: 1103 | version "3.0.0" 1104 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" 1105 | integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== 1106 | 1107 | signal-exit@^4.0.1: 1108 | version "4.1.0" 1109 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" 1110 | integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== 1111 | 1112 | slash@^3.0.0: 1113 | version "3.0.0" 1114 | resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" 1115 | integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== 1116 | 1117 | "string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0: 1118 | name string-width-cjs 1119 | version "4.2.3" 1120 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" 1121 | integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== 1122 | dependencies: 1123 | emoji-regex "^8.0.0" 1124 | is-fullwidth-code-point "^3.0.0" 1125 | strip-ansi "^6.0.1" 1126 | 1127 | string-width@^5.0.1, string-width@^5.1.2: 1128 | version "5.1.2" 1129 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" 1130 | integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== 1131 | dependencies: 1132 | eastasianwidth "^0.2.0" 1133 | emoji-regex "^9.2.2" 1134 | strip-ansi "^7.0.1" 1135 | 1136 | "strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: 1137 | version "6.0.1" 1138 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" 1139 | integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== 1140 | dependencies: 1141 | ansi-regex "^5.0.1" 1142 | 1143 | strip-ansi@^7.0.1: 1144 | version "7.1.0" 1145 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" 1146 | integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== 1147 | dependencies: 1148 | ansi-regex "^6.0.1" 1149 | 1150 | strip-json-comments@^3.1.1: 1151 | version "3.1.1" 1152 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" 1153 | integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== 1154 | 1155 | supports-color@^7.1.0: 1156 | version "7.2.0" 1157 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" 1158 | integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== 1159 | dependencies: 1160 | has-flag "^4.0.0" 1161 | 1162 | synckit@^0.8.6: 1163 | version "0.8.8" 1164 | resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.8.8.tgz#fe7fe446518e3d3d49f5e429f443cf08b6edfcd7" 1165 | integrity sha512-HwOKAP7Wc5aRGYdKH+dw0PRRpbO841v2DENBtjnR5HFWoiNByAl7vrx3p0G/rCyYXQsrxqtX48TImFtPcIHSpQ== 1166 | dependencies: 1167 | "@pkgr/core" "^0.1.0" 1168 | tslib "^2.6.2" 1169 | 1170 | text-table@^0.2.0: 1171 | version "0.2.0" 1172 | resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" 1173 | integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== 1174 | 1175 | to-regex-range@^5.0.1: 1176 | version "5.0.1" 1177 | resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" 1178 | integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== 1179 | dependencies: 1180 | is-number "^7.0.0" 1181 | 1182 | toml@^3.0.0: 1183 | version "3.0.0" 1184 | resolved "https://registry.yarnpkg.com/toml/-/toml-3.0.0.tgz#342160f1af1904ec9d204d03a5d61222d762c5ee" 1185 | integrity sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w== 1186 | 1187 | ts-api-utils@^1.0.1: 1188 | version "1.0.2" 1189 | resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.2.tgz#7c094f753b6705ee4faee25c3c684ade52d66d99" 1190 | integrity sha512-Cbu4nIqnEdd+THNEsBdkolnOXhg0I8XteoHaEKgvsxpsbWda4IsUut2c187HxywQCvveojow0Dgw/amxtSKVkQ== 1191 | 1192 | tslib@^2.6.2: 1193 | version "2.6.2" 1194 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" 1195 | integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== 1196 | 1197 | type-check@^0.4.0, type-check@~0.4.0: 1198 | version "0.4.0" 1199 | resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" 1200 | integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== 1201 | dependencies: 1202 | prelude-ls "^1.2.1" 1203 | 1204 | type-fest@^0.20.2: 1205 | version "0.20.2" 1206 | resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" 1207 | integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== 1208 | 1209 | typescript@^5.3.3: 1210 | version "5.3.3" 1211 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" 1212 | integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== 1213 | 1214 | undici-types@~5.26.4: 1215 | version "5.26.5" 1216 | resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" 1217 | integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== 1218 | 1219 | uri-js@^4.2.2: 1220 | version "4.4.1" 1221 | resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" 1222 | integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== 1223 | dependencies: 1224 | punycode "^2.1.0" 1225 | 1226 | which@^2.0.1: 1227 | version "2.0.2" 1228 | resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" 1229 | integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== 1230 | dependencies: 1231 | isexe "^2.0.0" 1232 | 1233 | which@^3.0.0: 1234 | version "3.0.0" 1235 | resolved "https://registry.yarnpkg.com/which/-/which-3.0.0.tgz#a9efd016db59728758a390d23f1687b6e8f59f8e" 1236 | integrity sha512-nla//68K9NU6yRiwDY/Q8aU6siKlSs64aEC7+IV56QoAuyQT2ovsJcgGYGyqMOmI/CGN1BOR6mM5EN0FBO+zyQ== 1237 | dependencies: 1238 | isexe "^2.0.0" 1239 | 1240 | "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": 1241 | version "7.0.0" 1242 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" 1243 | integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== 1244 | dependencies: 1245 | ansi-styles "^4.0.0" 1246 | string-width "^4.1.0" 1247 | strip-ansi "^6.0.0" 1248 | 1249 | wrap-ansi@^8.1.0: 1250 | version "8.1.0" 1251 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" 1252 | integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== 1253 | dependencies: 1254 | ansi-styles "^6.1.0" 1255 | string-width "^5.0.1" 1256 | strip-ansi "^7.0.1" 1257 | 1258 | wrappy@1: 1259 | version "1.0.2" 1260 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 1261 | integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== 1262 | 1263 | yallist@^4.0.0: 1264 | version "4.0.0" 1265 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" 1266 | integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== 1267 | 1268 | yocto-queue@^0.1.0: 1269 | version "0.1.0" 1270 | resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" 1271 | integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== 1272 | --------------------------------------------------------------------------------