Spaces:
Paused
Paused
Upload folder using huggingface_hub (part 2)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- node_modules/@typescript-eslint/scope-manager/package.json +82 -0
- node_modules/@typescript-eslint/tsconfig-utils/LICENSE +21 -0
- node_modules/@typescript-eslint/tsconfig-utils/README.md +12 -0
- node_modules/@typescript-eslint/tsconfig-utils/package.json +74 -0
- node_modules/@typescript-eslint/type-utils/LICENSE +21 -0
- node_modules/@typescript-eslint/type-utils/README.md +12 -0
- node_modules/@typescript-eslint/type-utils/package.json +85 -0
- node_modules/@typescript-eslint/types/LICENSE +21 -0
- node_modules/@typescript-eslint/types/README.md +12 -0
- node_modules/@typescript-eslint/types/package.json +103 -0
- node_modules/@typescript-eslint/typescript-estree/LICENSE +21 -0
- node_modules/@typescript-eslint/typescript-estree/README.md +14 -0
- node_modules/@typescript-eslint/typescript-estree/package.json +95 -0
- node_modules/@typescript-eslint/utils/LICENSE +21 -0
- node_modules/@typescript-eslint/utils/README.md +12 -0
- node_modules/@typescript-eslint/utils/package.json +115 -0
- node_modules/@typescript-eslint/visitor-keys/LICENSE +21 -0
- node_modules/@typescript-eslint/visitor-keys/README.md +10 -0
- node_modules/@typescript-eslint/visitor-keys/package.json +76 -0
- node_modules/@vitest/coverage-istanbul/LICENSE +21 -0
- node_modules/@vitest/coverage-istanbul/README.md +30 -0
- node_modules/@vitest/coverage-istanbul/package.json +69 -0
- node_modules/@vitest/coverage-v8/LICENSE +21 -0
- node_modules/@vitest/coverage-v8/README.md +30 -0
- node_modules/@vitest/coverage-v8/package.json +77 -0
- node_modules/@vitest/expect/LICENSE +21 -0
- node_modules/@vitest/expect/README.md +25 -0
- node_modules/@vitest/expect/package.json +52 -0
- node_modules/@vitest/mocker/LICENSE +21 -0
- node_modules/@vitest/mocker/README.md +7 -0
- node_modules/@vitest/mocker/package.json +97 -0
- node_modules/@vitest/pretty-format/LICENSE +21 -0
- node_modules/@vitest/pretty-format/README.md +7 -0
- node_modules/@vitest/pretty-format/package.json +50 -0
- node_modules/@vitest/runner/LICENSE +21 -0
- node_modules/@vitest/runner/README.md +7 -0
- node_modules/@vitest/runner/package.json +53 -0
- node_modules/@vitest/runner/types.d.ts +1 -0
- node_modules/@vitest/runner/utils.d.ts +1 -0
- node_modules/@vitest/snapshot/LICENSE +21 -0
- node_modules/@vitest/snapshot/README.md +88 -0
- node_modules/@vitest/snapshot/environment.d.ts +1 -0
- node_modules/@vitest/snapshot/manager.d.ts +1 -0
- node_modules/@vitest/snapshot/package.json +59 -0
- node_modules/@vitest/spy/LICENSE +21 -0
- node_modules/@vitest/spy/README.md +7 -0
- node_modules/@vitest/spy/optional-types.d.ts +6 -0
- node_modules/@vitest/spy/package.json +46 -0
- node_modules/@vitest/utils/LICENSE +21 -0
- node_modules/@vitest/utils/README.md +7 -0
node_modules/@typescript-eslint/scope-manager/package.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@typescript-eslint/scope-manager",
|
| 3 |
+
"version": "8.61.1",
|
| 4 |
+
"description": "TypeScript scope analyser for ESLint",
|
| 5 |
+
"files": [
|
| 6 |
+
"dist",
|
| 7 |
+
"!**/*.tsbuildinfo",
|
| 8 |
+
"package.json",
|
| 9 |
+
"README.md",
|
| 10 |
+
"LICENSE"
|
| 11 |
+
],
|
| 12 |
+
"type": "commonjs",
|
| 13 |
+
"exports": {
|
| 14 |
+
".": {
|
| 15 |
+
"types": "./dist/index.d.ts",
|
| 16 |
+
"default": "./dist/index.js"
|
| 17 |
+
},
|
| 18 |
+
"./package.json": "./package.json"
|
| 19 |
+
},
|
| 20 |
+
"types": "./dist/index.d.ts",
|
| 21 |
+
"engines": {
|
| 22 |
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
| 23 |
+
},
|
| 24 |
+
"repository": {
|
| 25 |
+
"type": "git",
|
| 26 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint.git",
|
| 27 |
+
"directory": "packages/scope-manager"
|
| 28 |
+
},
|
| 29 |
+
"bugs": {
|
| 30 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
| 31 |
+
},
|
| 32 |
+
"homepage": "https://typescript-eslint.io/packages/scope-manager",
|
| 33 |
+
"license": "MIT",
|
| 34 |
+
"keywords": [
|
| 35 |
+
"eslint",
|
| 36 |
+
"typescript",
|
| 37 |
+
"estree"
|
| 38 |
+
],
|
| 39 |
+
"dependencies": {
|
| 40 |
+
"@typescript-eslint/types": "8.61.1",
|
| 41 |
+
"@typescript-eslint/visitor-keys": "8.61.1"
|
| 42 |
+
},
|
| 43 |
+
"devDependencies": {
|
| 44 |
+
"@typescript/native-preview": "7.0.0-dev.20260518.1",
|
| 45 |
+
"@vitest/coverage-v8": "^4.0.18",
|
| 46 |
+
"@vitest/pretty-format": "^4.0.18",
|
| 47 |
+
"eslint": "^10.0.0",
|
| 48 |
+
"glob": "^11.1.0",
|
| 49 |
+
"rimraf": "^5.0.10",
|
| 50 |
+
"typescript": ">=4.8.4 <6.1.0",
|
| 51 |
+
"vitest": "^4.0.18",
|
| 52 |
+
"@typescript-eslint/typescript-estree": "8.61.1"
|
| 53 |
+
},
|
| 54 |
+
"funding": {
|
| 55 |
+
"type": "opencollective",
|
| 56 |
+
"url": "https://opencollective.com/typescript-eslint"
|
| 57 |
+
},
|
| 58 |
+
"nx": {
|
| 59 |
+
"name": "scope-manager",
|
| 60 |
+
"includedScripts": [
|
| 61 |
+
"clean",
|
| 62 |
+
"clean-fixtures"
|
| 63 |
+
],
|
| 64 |
+
"targets": {
|
| 65 |
+
"lint": {
|
| 66 |
+
"command": "eslint"
|
| 67 |
+
},
|
| 68 |
+
"typecheck:tsgo": {}
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
"scripts": {
|
| 72 |
+
"build": "pnpm exec nx build",
|
| 73 |
+
"clean": "rimraf dist/ coverage/",
|
| 74 |
+
"clean-fixtures": "rimraf -g \"./src/**/fixtures/**/snapshots\"",
|
| 75 |
+
"format": "pnpm -w run format",
|
| 76 |
+
"generate-lib": "pnpm -w exec nx generate-lib repo",
|
| 77 |
+
"lint": "pnpm -w exec nx lint",
|
| 78 |
+
"test": "pnpm -w exec nx test",
|
| 79 |
+
"typecheck": "pnpm -w exec nx typecheck",
|
| 80 |
+
"typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo"
|
| 81 |
+
}
|
| 82 |
+
}
|
node_modules/@typescript-eslint/tsconfig-utils/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2025 typescript-eslint and other contributors
|
| 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.
|
node_modules/@typescript-eslint/tsconfig-utils/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `@typescript-eslint/tsconfig-utils`
|
| 2 |
+
|
| 3 |
+
> Utilities for collecting TSConfigs for linting scenarios.
|
| 4 |
+
|
| 5 |
+
[](https://www.npmjs.com/package/@typescript-eslint/tsconfig-utils)
|
| 6 |
+
[](https://www.npmjs.com/package/@typescript-eslint/tsconfig-utils)
|
| 7 |
+
|
| 8 |
+
The utilities in this package are separated from `@typescript-eslint/utils` so that they do not have a dependency on `eslint` or `@typescript-eslint/typescript-estree`.
|
| 9 |
+
|
| 10 |
+
> See https://typescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code.
|
| 11 |
+
|
| 12 |
+
<!-- Local path for docs: docs/packages/TSConfig_Utils.mdx -->
|
node_modules/@typescript-eslint/tsconfig-utils/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@typescript-eslint/tsconfig-utils",
|
| 3 |
+
"version": "8.61.1",
|
| 4 |
+
"description": "Utilities for collecting TSConfigs for linting scenarios.",
|
| 5 |
+
"files": [
|
| 6 |
+
"dist",
|
| 7 |
+
"!**/*.tsbuildinfo",
|
| 8 |
+
"package.json",
|
| 9 |
+
"README.md",
|
| 10 |
+
"LICENSE"
|
| 11 |
+
],
|
| 12 |
+
"type": "commonjs",
|
| 13 |
+
"exports": {
|
| 14 |
+
".": {
|
| 15 |
+
"types": "./dist/index.d.ts",
|
| 16 |
+
"default": "./dist/index.js"
|
| 17 |
+
},
|
| 18 |
+
"./package.json": "./package.json"
|
| 19 |
+
},
|
| 20 |
+
"engines": {
|
| 21 |
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
| 22 |
+
},
|
| 23 |
+
"repository": {
|
| 24 |
+
"type": "git",
|
| 25 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint.git",
|
| 26 |
+
"directory": "packages/tsconfig-utils"
|
| 27 |
+
},
|
| 28 |
+
"bugs": {
|
| 29 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
| 30 |
+
},
|
| 31 |
+
"homepage": "https://typescript-eslint.io",
|
| 32 |
+
"license": "MIT",
|
| 33 |
+
"keywords": [
|
| 34 |
+
"eslint",
|
| 35 |
+
"typescript",
|
| 36 |
+
"estree"
|
| 37 |
+
],
|
| 38 |
+
"peerDependencies": {
|
| 39 |
+
"typescript": ">=4.8.4 <6.1.0"
|
| 40 |
+
},
|
| 41 |
+
"devDependencies": {
|
| 42 |
+
"@typescript/native-preview": "7.0.0-dev.20260518.1",
|
| 43 |
+
"@vitest/coverage-v8": "^4.0.18",
|
| 44 |
+
"rimraf": "^5.0.10",
|
| 45 |
+
"typescript": ">=4.8.4 <6.1.0",
|
| 46 |
+
"vitest": "^4.0.18"
|
| 47 |
+
},
|
| 48 |
+
"funding": {
|
| 49 |
+
"type": "opencollective",
|
| 50 |
+
"url": "https://opencollective.com/typescript-eslint"
|
| 51 |
+
},
|
| 52 |
+
"publishConfig": {
|
| 53 |
+
"access": "public"
|
| 54 |
+
},
|
| 55 |
+
"nx": {
|
| 56 |
+
"name": "tsconfig-utils",
|
| 57 |
+
"includedScripts": [
|
| 58 |
+
"clean"
|
| 59 |
+
],
|
| 60 |
+
"targets": {
|
| 61 |
+
"typecheck:tsgo": {}
|
| 62 |
+
}
|
| 63 |
+
},
|
| 64 |
+
"scripts": {
|
| 65 |
+
"//": "These package scripts are mostly here for convenience. Task running is handled by Nx at the root level.",
|
| 66 |
+
"build": "pnpm exec nx build",
|
| 67 |
+
"clean": "rimraf dist/ coverage/",
|
| 68 |
+
"format": "pnpm -w exec format",
|
| 69 |
+
"lint": "pnpm -w exec nx lint",
|
| 70 |
+
"test": "pnpm -w exec nx test",
|
| 71 |
+
"typecheck": "pnpm -w exec nx typecheck",
|
| 72 |
+
"typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo"
|
| 73 |
+
}
|
| 74 |
+
}
|
node_modules/@typescript-eslint/type-utils/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2021 typescript-eslint and other contributors
|
| 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.
|
node_modules/@typescript-eslint/type-utils/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `@typescript-eslint/type-utils`
|
| 2 |
+
|
| 3 |
+
> Type utilities for working with TypeScript within ESLint rules.
|
| 4 |
+
|
| 5 |
+
[](https://www.npmjs.com/package/@typescript-eslint/utils)
|
| 6 |
+
[](https://www.npmjs.com/package/@typescript-eslint/utils)
|
| 7 |
+
|
| 8 |
+
The utilities in this package are separated from `@typescript-eslint/utils` so that that package does not require a dependency on `typescript`.
|
| 9 |
+
|
| 10 |
+
> See https://typescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code.
|
| 11 |
+
|
| 12 |
+
<!-- Local path for docs: docs/packages/Type_Utils.mdx -->
|
node_modules/@typescript-eslint/type-utils/package.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@typescript-eslint/type-utils",
|
| 3 |
+
"version": "8.61.1",
|
| 4 |
+
"description": "Type utilities for working with TypeScript + ESLint together",
|
| 5 |
+
"files": [
|
| 6 |
+
"dist",
|
| 7 |
+
"!**/*.tsbuildinfo",
|
| 8 |
+
"package.json",
|
| 9 |
+
"README.md",
|
| 10 |
+
"LICENSE"
|
| 11 |
+
],
|
| 12 |
+
"type": "commonjs",
|
| 13 |
+
"exports": {
|
| 14 |
+
".": {
|
| 15 |
+
"types": "./dist/index.d.ts",
|
| 16 |
+
"default": "./dist/index.js"
|
| 17 |
+
},
|
| 18 |
+
"./package.json": "./package.json"
|
| 19 |
+
},
|
| 20 |
+
"engines": {
|
| 21 |
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
| 22 |
+
},
|
| 23 |
+
"repository": {
|
| 24 |
+
"type": "git",
|
| 25 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint.git",
|
| 26 |
+
"directory": "packages/type-utils"
|
| 27 |
+
},
|
| 28 |
+
"bugs": {
|
| 29 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
| 30 |
+
},
|
| 31 |
+
"homepage": "https://typescript-eslint.io",
|
| 32 |
+
"license": "MIT",
|
| 33 |
+
"keywords": [
|
| 34 |
+
"eslint",
|
| 35 |
+
"typescript",
|
| 36 |
+
"estree"
|
| 37 |
+
],
|
| 38 |
+
"dependencies": {
|
| 39 |
+
"debug": "^4.4.3",
|
| 40 |
+
"ts-api-utils": "^2.5.0",
|
| 41 |
+
"@typescript-eslint/types": "8.61.1",
|
| 42 |
+
"@typescript-eslint/typescript-estree": "8.61.1",
|
| 43 |
+
"@typescript-eslint/utils": "8.61.1"
|
| 44 |
+
},
|
| 45 |
+
"peerDependencies": {
|
| 46 |
+
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
| 47 |
+
"typescript": ">=4.8.4 <6.1.0"
|
| 48 |
+
},
|
| 49 |
+
"devDependencies": {
|
| 50 |
+
"@types/babel__code-frame": "^7.0.6",
|
| 51 |
+
"@typescript/native-preview": "7.0.0-dev.20260518.1",
|
| 52 |
+
"@vitest/coverage-v8": "^4.0.18",
|
| 53 |
+
"ajv": "^6.12.6",
|
| 54 |
+
"eslint": "^10.0.0",
|
| 55 |
+
"rimraf": "^5.0.10",
|
| 56 |
+
"typescript": ">=4.8.4 <6.1.0",
|
| 57 |
+
"vitest": "^4.0.18",
|
| 58 |
+
"@typescript-eslint/parser": "8.61.1"
|
| 59 |
+
},
|
| 60 |
+
"funding": {
|
| 61 |
+
"type": "opencollective",
|
| 62 |
+
"url": "https://opencollective.com/typescript-eslint"
|
| 63 |
+
},
|
| 64 |
+
"nx": {
|
| 65 |
+
"name": "type-utils",
|
| 66 |
+
"includedScripts": [
|
| 67 |
+
"clean"
|
| 68 |
+
],
|
| 69 |
+
"targets": {
|
| 70 |
+
"lint": {
|
| 71 |
+
"command": "eslint"
|
| 72 |
+
},
|
| 73 |
+
"typecheck:tsgo": {}
|
| 74 |
+
}
|
| 75 |
+
},
|
| 76 |
+
"scripts": {
|
| 77 |
+
"build": "pnpm exec nx build",
|
| 78 |
+
"clean": "rimraf dist/ coverage/",
|
| 79 |
+
"format": "pnpm -w run format",
|
| 80 |
+
"lint": "pnpm -w exec nx lint",
|
| 81 |
+
"test": "pnpm -w exec nx test",
|
| 82 |
+
"typecheck": "pnpm -w exec nx typecheck",
|
| 83 |
+
"typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo"
|
| 84 |
+
}
|
| 85 |
+
}
|
node_modules/@typescript-eslint/types/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2019 typescript-eslint and other contributors
|
| 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.
|
node_modules/@typescript-eslint/types/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `@typescript-eslint/types`
|
| 2 |
+
|
| 3 |
+
> Types for the TypeScript-ESTree AST spec
|
| 4 |
+
|
| 5 |
+
This package exists to help us reduce cycles and provide lighter-weight packages at runtime.
|
| 6 |
+
|
| 7 |
+
## ✋ Internal Package
|
| 8 |
+
|
| 9 |
+
This is an _internal package_ to the [typescript-eslint monorepo](https://github.com/typescript-eslint/typescript-eslint).
|
| 10 |
+
You likely don't want to use it directly.
|
| 11 |
+
|
| 12 |
+
👉 See **https://typescript-eslint.io** for docs on typescript-eslint.
|
node_modules/@typescript-eslint/types/package.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@typescript-eslint/types",
|
| 3 |
+
"version": "8.61.1",
|
| 4 |
+
"description": "Types for the TypeScript-ESTree AST spec",
|
| 5 |
+
"files": [
|
| 6 |
+
"dist",
|
| 7 |
+
"!**/*.tsbuildinfo",
|
| 8 |
+
"package.json",
|
| 9 |
+
"README.md",
|
| 10 |
+
"LICENSE"
|
| 11 |
+
],
|
| 12 |
+
"type": "commonjs",
|
| 13 |
+
"exports": {
|
| 14 |
+
".": {
|
| 15 |
+
"types": "./dist/index.d.ts",
|
| 16 |
+
"default": "./dist/index.js"
|
| 17 |
+
},
|
| 18 |
+
"./package.json": "./package.json"
|
| 19 |
+
},
|
| 20 |
+
"types": "./dist/index.d.ts",
|
| 21 |
+
"engines": {
|
| 22 |
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
| 23 |
+
},
|
| 24 |
+
"repository": {
|
| 25 |
+
"type": "git",
|
| 26 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint.git",
|
| 27 |
+
"directory": "packages/types"
|
| 28 |
+
},
|
| 29 |
+
"bugs": {
|
| 30 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
| 31 |
+
},
|
| 32 |
+
"homepage": "https://typescript-eslint.io",
|
| 33 |
+
"license": "MIT",
|
| 34 |
+
"keywords": [
|
| 35 |
+
"eslint",
|
| 36 |
+
"typescript",
|
| 37 |
+
"estree"
|
| 38 |
+
],
|
| 39 |
+
"devDependencies": {
|
| 40 |
+
"@typescript/native-preview": "7.0.0-dev.20260518.1",
|
| 41 |
+
"@vitest/coverage-v8": "^4.0.18",
|
| 42 |
+
"eslint": "^10.0.0",
|
| 43 |
+
"rimraf": "^5.0.10",
|
| 44 |
+
"tsx": "^4.7.2",
|
| 45 |
+
"typescript": ">=4.8.4 <6.1.0",
|
| 46 |
+
"vitest": "^4.0.18"
|
| 47 |
+
},
|
| 48 |
+
"funding": {
|
| 49 |
+
"type": "opencollective",
|
| 50 |
+
"url": "https://opencollective.com/typescript-eslint"
|
| 51 |
+
},
|
| 52 |
+
"nx": {
|
| 53 |
+
"name": "types",
|
| 54 |
+
"implicitDependencies": [
|
| 55 |
+
"ast-spec"
|
| 56 |
+
],
|
| 57 |
+
"includedScripts": [
|
| 58 |
+
"clean"
|
| 59 |
+
],
|
| 60 |
+
"targets": {
|
| 61 |
+
"build": {
|
| 62 |
+
"dependsOn": [
|
| 63 |
+
"copy-ast-spec"
|
| 64 |
+
],
|
| 65 |
+
"inputs": [
|
| 66 |
+
"{projectRoot}/src/generated/**/*"
|
| 67 |
+
]
|
| 68 |
+
},
|
| 69 |
+
"copy-ast-spec": {
|
| 70 |
+
"cache": false,
|
| 71 |
+
"command": "tsx tools/copy-ast-spec.mts",
|
| 72 |
+
"dependsOn": [
|
| 73 |
+
"ast-spec:build"
|
| 74 |
+
],
|
| 75 |
+
"options": {
|
| 76 |
+
"cwd": "{projectRoot}"
|
| 77 |
+
},
|
| 78 |
+
"outputs": [
|
| 79 |
+
"{projectRoot}/src/generated"
|
| 80 |
+
]
|
| 81 |
+
},
|
| 82 |
+
"lint": {
|
| 83 |
+
"command": "eslint",
|
| 84 |
+
"dependsOn": [
|
| 85 |
+
"typescript-eslint:build",
|
| 86 |
+
"eslint-plugin-internal:build"
|
| 87 |
+
]
|
| 88 |
+
},
|
| 89 |
+
"typecheck:tsgo": {}
|
| 90 |
+
}
|
| 91 |
+
},
|
| 92 |
+
"scripts": {
|
| 93 |
+
"build": "pnpm exec nx build",
|
| 94 |
+
"clean": "rimraf dist/ src/generated/ coverage/",
|
| 95 |
+
"copy-ast-spec": "tsx ./tools/copy-ast-spec.mts",
|
| 96 |
+
"format": "pnpm -w run format",
|
| 97 |
+
"generate-lib": "pnpm -w exec nx run scope-manager:generate-lib",
|
| 98 |
+
"lint": "pnpm -w exec nx lint",
|
| 99 |
+
"test": "pnpm -w exec nx test",
|
| 100 |
+
"typecheck": "pnpm -w exec nx typecheck",
|
| 101 |
+
"typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo"
|
| 102 |
+
}
|
| 103 |
+
}
|
node_modules/@typescript-eslint/typescript-estree/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2019 typescript-eslint and other contributors
|
| 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.
|
node_modules/@typescript-eslint/typescript-estree/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `@typescript-eslint/typescript-estree`
|
| 2 |
+
|
| 3 |
+
> A parser that produces an ESTree-compatible AST for TypeScript code.
|
| 4 |
+
|
| 5 |
+
[](https://www.npmjs.com/package/@typescript-eslint/utils)
|
| 6 |
+
[](https://www.npmjs.com/package/@typescript-eslint/utils)
|
| 7 |
+
|
| 8 |
+
## Contributing
|
| 9 |
+
|
| 10 |
+
👉 See **https://typescript-eslint.io/packages/typescript-estree** for documentation on this package.
|
| 11 |
+
|
| 12 |
+
> See https://typescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code.
|
| 13 |
+
|
| 14 |
+
<!-- Local path for docs: docs/packages/TypeScript_ESTree.mdx -->
|
node_modules/@typescript-eslint/typescript-estree/package.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@typescript-eslint/typescript-estree",
|
| 3 |
+
"version": "8.61.1",
|
| 4 |
+
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
| 5 |
+
"files": [
|
| 6 |
+
"dist",
|
| 7 |
+
"!**/*.tsbuildinfo",
|
| 8 |
+
"README.md",
|
| 9 |
+
"LICENSE"
|
| 10 |
+
],
|
| 11 |
+
"type": "commonjs",
|
| 12 |
+
"exports": {
|
| 13 |
+
".": {
|
| 14 |
+
"types": "./dist/index.d.ts",
|
| 15 |
+
"default": "./dist/index.js"
|
| 16 |
+
},
|
| 17 |
+
"./package.json": "./package.json",
|
| 18 |
+
"./use-at-your-own-risk": {
|
| 19 |
+
"types": "./dist/use-at-your-own-risk.d.ts",
|
| 20 |
+
"default": "./dist/use-at-your-own-risk.js"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"types": "./dist/index.d.ts",
|
| 24 |
+
"engines": {
|
| 25 |
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
| 26 |
+
},
|
| 27 |
+
"repository": {
|
| 28 |
+
"type": "git",
|
| 29 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint.git",
|
| 30 |
+
"directory": "packages/typescript-estree"
|
| 31 |
+
},
|
| 32 |
+
"bugs": {
|
| 33 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
| 34 |
+
},
|
| 35 |
+
"homepage": "https://typescript-eslint.io/packages/typescript-estree",
|
| 36 |
+
"license": "MIT",
|
| 37 |
+
"keywords": [
|
| 38 |
+
"ast",
|
| 39 |
+
"estree",
|
| 40 |
+
"ecmascript",
|
| 41 |
+
"javascript",
|
| 42 |
+
"typescript",
|
| 43 |
+
"parser",
|
| 44 |
+
"syntax"
|
| 45 |
+
],
|
| 46 |
+
"dependencies": {
|
| 47 |
+
"debug": "^4.4.3",
|
| 48 |
+
"minimatch": "^10.2.2",
|
| 49 |
+
"semver": "^7.7.3",
|
| 50 |
+
"tinyglobby": "^0.2.15",
|
| 51 |
+
"ts-api-utils": "^2.5.0",
|
| 52 |
+
"@typescript-eslint/tsconfig-utils": "8.61.1",
|
| 53 |
+
"@typescript-eslint/project-service": "8.61.1",
|
| 54 |
+
"@typescript-eslint/visitor-keys": "8.61.1",
|
| 55 |
+
"@typescript-eslint/types": "8.61.1"
|
| 56 |
+
},
|
| 57 |
+
"devDependencies": {
|
| 58 |
+
"@typescript/native-preview": "7.0.0-dev.20260518.1",
|
| 59 |
+
"@vitest/coverage-v8": "^4.0.18",
|
| 60 |
+
"eslint": "^10.0.0",
|
| 61 |
+
"glob": "^11.1.0",
|
| 62 |
+
"rimraf": "^5.0.10",
|
| 63 |
+
"typescript": ">=4.8.4 <6.1.0",
|
| 64 |
+
"vitest": "^4.0.18",
|
| 65 |
+
"yaml": "^2.8.2"
|
| 66 |
+
},
|
| 67 |
+
"peerDependencies": {
|
| 68 |
+
"typescript": ">=4.8.4 <6.1.0"
|
| 69 |
+
},
|
| 70 |
+
"funding": {
|
| 71 |
+
"type": "opencollective",
|
| 72 |
+
"url": "https://opencollective.com/typescript-eslint"
|
| 73 |
+
},
|
| 74 |
+
"nx": {
|
| 75 |
+
"name": "typescript-estree",
|
| 76 |
+
"includedScripts": [
|
| 77 |
+
"clean"
|
| 78 |
+
],
|
| 79 |
+
"targets": {
|
| 80 |
+
"lint": {
|
| 81 |
+
"command": "eslint"
|
| 82 |
+
},
|
| 83 |
+
"typecheck:tsgo": {}
|
| 84 |
+
}
|
| 85 |
+
},
|
| 86 |
+
"scripts": {
|
| 87 |
+
"build": "pnpm exec nx build",
|
| 88 |
+
"clean": "rimraf dist/ coverage/",
|
| 89 |
+
"format": "pnpm -w run format",
|
| 90 |
+
"lint": "pnpm -w exec nx lint",
|
| 91 |
+
"test": "pnpm -w exec nx test",
|
| 92 |
+
"typecheck": "pnpm -w exec nx typecheck",
|
| 93 |
+
"typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo"
|
| 94 |
+
}
|
| 95 |
+
}
|
node_modules/@typescript-eslint/utils/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2019 typescript-eslint and other contributors
|
| 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.
|
node_modules/@typescript-eslint/utils/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `@typescript-eslint/utils`
|
| 2 |
+
|
| 3 |
+
> Utilities for working with TypeScript + ESLint together.
|
| 4 |
+
|
| 5 |
+
[](https://www.npmjs.com/package/@typescript-eslint/utils)
|
| 6 |
+
[](https://www.npmjs.com/package/@typescript-eslint/utils)
|
| 7 |
+
|
| 8 |
+
👉 See **https://typescript-eslint.io/packages/utils** for documentation on this package.
|
| 9 |
+
|
| 10 |
+
> See https://typescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code.
|
| 11 |
+
|
| 12 |
+
<!-- Local path for docs: docs/packages/Utils.mdx -->
|
node_modules/@typescript-eslint/utils/package.json
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@typescript-eslint/utils",
|
| 3 |
+
"version": "8.61.1",
|
| 4 |
+
"description": "Utilities for working with TypeScript + ESLint together",
|
| 5 |
+
"files": [
|
| 6 |
+
"dist",
|
| 7 |
+
"!**/*.tsbuildinfo",
|
| 8 |
+
"package.json",
|
| 9 |
+
"README.md",
|
| 10 |
+
"LICENSE"
|
| 11 |
+
],
|
| 12 |
+
"type": "commonjs",
|
| 13 |
+
"exports": {
|
| 14 |
+
".": {
|
| 15 |
+
"types": "./dist/index.d.ts",
|
| 16 |
+
"default": "./dist/index.js"
|
| 17 |
+
},
|
| 18 |
+
"./ast-utils": {
|
| 19 |
+
"types": "./dist/ast-utils/index.d.ts",
|
| 20 |
+
"default": "./dist/ast-utils/index.js"
|
| 21 |
+
},
|
| 22 |
+
"./eslint-utils": {
|
| 23 |
+
"types": "./dist/eslint-utils/index.d.ts",
|
| 24 |
+
"default": "./dist/eslint-utils/index.js"
|
| 25 |
+
},
|
| 26 |
+
"./json-schema": {
|
| 27 |
+
"types": "./dist/json-schema.d.ts",
|
| 28 |
+
"default": "./dist/json-schema.js"
|
| 29 |
+
},
|
| 30 |
+
"./ts-eslint": {
|
| 31 |
+
"types": "./dist/ts-eslint/index.d.ts",
|
| 32 |
+
"default": "./dist/ts-eslint/index.js"
|
| 33 |
+
},
|
| 34 |
+
"./package.json": "./package.json"
|
| 35 |
+
},
|
| 36 |
+
"types": "./dist/index.d.ts",
|
| 37 |
+
"engines": {
|
| 38 |
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
| 39 |
+
},
|
| 40 |
+
"repository": {
|
| 41 |
+
"type": "git",
|
| 42 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint.git",
|
| 43 |
+
"directory": "packages/utils"
|
| 44 |
+
},
|
| 45 |
+
"bugs": {
|
| 46 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
| 47 |
+
},
|
| 48 |
+
"homepage": "https://typescript-eslint.io/packages/utils",
|
| 49 |
+
"license": "MIT",
|
| 50 |
+
"keywords": [
|
| 51 |
+
"eslint",
|
| 52 |
+
"typescript",
|
| 53 |
+
"estree"
|
| 54 |
+
],
|
| 55 |
+
"dependencies": {
|
| 56 |
+
"@eslint-community/eslint-utils": "^4.9.1",
|
| 57 |
+
"@typescript-eslint/types": "8.61.1",
|
| 58 |
+
"@typescript-eslint/typescript-estree": "8.61.1",
|
| 59 |
+
"@typescript-eslint/scope-manager": "8.61.1"
|
| 60 |
+
},
|
| 61 |
+
"peerDependencies": {
|
| 62 |
+
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
| 63 |
+
"typescript": ">=4.8.4 <6.1.0"
|
| 64 |
+
},
|
| 65 |
+
"devDependencies": {
|
| 66 |
+
"@typescript/native-preview": "7.0.0-dev.20260518.1",
|
| 67 |
+
"@vitest/coverage-v8": "^4.0.18",
|
| 68 |
+
"eslint": "^10.0.0",
|
| 69 |
+
"rimraf": "^5.0.10",
|
| 70 |
+
"typescript": ">=4.8.4 <6.1.0",
|
| 71 |
+
"vitest": "^4.0.18"
|
| 72 |
+
},
|
| 73 |
+
"funding": {
|
| 74 |
+
"type": "opencollective",
|
| 75 |
+
"url": "https://opencollective.com/typescript-eslint"
|
| 76 |
+
},
|
| 77 |
+
"nx": {
|
| 78 |
+
"name": "utils",
|
| 79 |
+
"includedScripts": [
|
| 80 |
+
"clean"
|
| 81 |
+
],
|
| 82 |
+
"targets": {
|
| 83 |
+
"lint": {
|
| 84 |
+
"command": "eslint"
|
| 85 |
+
},
|
| 86 |
+
"typecheck": {
|
| 87 |
+
"outputs": [
|
| 88 |
+
"{workspaceRoot}/dist",
|
| 89 |
+
"{projectRoot}/dist"
|
| 90 |
+
]
|
| 91 |
+
},
|
| 92 |
+
"typecheck:tsgo": {
|
| 93 |
+
"outputs": [
|
| 94 |
+
"{workspaceRoot}/dist",
|
| 95 |
+
"{projectRoot}/dist"
|
| 96 |
+
]
|
| 97 |
+
},
|
| 98 |
+
"test": {
|
| 99 |
+
"dependsOn": [
|
| 100 |
+
"^build",
|
| 101 |
+
"typecheck"
|
| 102 |
+
]
|
| 103 |
+
}
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"scripts": {
|
| 107 |
+
"build": "pnpm exec nx build",
|
| 108 |
+
"clean": "rimraf dist/ coverage/",
|
| 109 |
+
"format": "pnpm -w run format",
|
| 110 |
+
"lint": "pnpm -w exec nx lint",
|
| 111 |
+
"test": "pnpm -w exec nx test",
|
| 112 |
+
"typecheck": "pnpm -w exec nx typecheck",
|
| 113 |
+
"typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo"
|
| 114 |
+
}
|
| 115 |
+
}
|
node_modules/@typescript-eslint/visitor-keys/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2019 typescript-eslint and other contributors
|
| 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.
|
node_modules/@typescript-eslint/visitor-keys/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `@typescript-eslint/visitor-keys`
|
| 2 |
+
|
| 3 |
+
> Visitor keys used to help traverse the TypeScript-ESTree AST.
|
| 4 |
+
|
| 5 |
+
## ✋ Internal Package
|
| 6 |
+
|
| 7 |
+
This is an _internal package_ to the [typescript-eslint monorepo](https://github.com/typescript-eslint/typescript-eslint).
|
| 8 |
+
You likely don't want to use it directly.
|
| 9 |
+
|
| 10 |
+
👉 See **https://typescript-eslint.io** for docs on typescript-eslint.
|
node_modules/@typescript-eslint/visitor-keys/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@typescript-eslint/visitor-keys",
|
| 3 |
+
"version": "8.61.1",
|
| 4 |
+
"description": "Visitor keys used to help traverse the TypeScript-ESTree AST",
|
| 5 |
+
"files": [
|
| 6 |
+
"dist",
|
| 7 |
+
"!**/*.tsbuildinfo",
|
| 8 |
+
"package.json",
|
| 9 |
+
"README.md",
|
| 10 |
+
"LICENSE"
|
| 11 |
+
],
|
| 12 |
+
"type": "commonjs",
|
| 13 |
+
"exports": {
|
| 14 |
+
".": {
|
| 15 |
+
"types": "./dist/index.d.ts",
|
| 16 |
+
"default": "./dist/index.js"
|
| 17 |
+
},
|
| 18 |
+
"./package.json": "./package.json"
|
| 19 |
+
},
|
| 20 |
+
"types": "./dist/index.d.ts",
|
| 21 |
+
"engines": {
|
| 22 |
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
| 23 |
+
},
|
| 24 |
+
"repository": {
|
| 25 |
+
"type": "git",
|
| 26 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint.git",
|
| 27 |
+
"directory": "packages/visitor-keys"
|
| 28 |
+
},
|
| 29 |
+
"bugs": {
|
| 30 |
+
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
| 31 |
+
},
|
| 32 |
+
"homepage": "https://typescript-eslint.io",
|
| 33 |
+
"license": "MIT",
|
| 34 |
+
"keywords": [
|
| 35 |
+
"eslint",
|
| 36 |
+
"typescript",
|
| 37 |
+
"estree"
|
| 38 |
+
],
|
| 39 |
+
"dependencies": {
|
| 40 |
+
"eslint-visitor-keys": "^5.0.0",
|
| 41 |
+
"@typescript-eslint/types": "8.61.1"
|
| 42 |
+
},
|
| 43 |
+
"devDependencies": {
|
| 44 |
+
"@typescript/native-preview": "7.0.0-dev.20260518.1",
|
| 45 |
+
"@vitest/coverage-v8": "^4.0.18",
|
| 46 |
+
"eslint": "^10.0.0",
|
| 47 |
+
"rimraf": "^5.0.10",
|
| 48 |
+
"typescript": ">=4.8.4 <6.1.0",
|
| 49 |
+
"vitest": "^4.0.18"
|
| 50 |
+
},
|
| 51 |
+
"funding": {
|
| 52 |
+
"type": "opencollective",
|
| 53 |
+
"url": "https://opencollective.com/typescript-eslint"
|
| 54 |
+
},
|
| 55 |
+
"nx": {
|
| 56 |
+
"name": "visitor-keys",
|
| 57 |
+
"includedScripts": [
|
| 58 |
+
"clean"
|
| 59 |
+
],
|
| 60 |
+
"targets": {
|
| 61 |
+
"lint": {
|
| 62 |
+
"command": "eslint"
|
| 63 |
+
},
|
| 64 |
+
"typecheck:tsgo": {}
|
| 65 |
+
}
|
| 66 |
+
},
|
| 67 |
+
"scripts": {
|
| 68 |
+
"build": "pnpm exec nx build",
|
| 69 |
+
"clean": "rimraf dist/ coverage/",
|
| 70 |
+
"format": "pnpm -w run format",
|
| 71 |
+
"lint": "pnpm -w exec nx lint",
|
| 72 |
+
"test": "pnpm -w exec nx test",
|
| 73 |
+
"typecheck": "pnpm -w exec nx typecheck",
|
| 74 |
+
"typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo"
|
| 75 |
+
}
|
| 76 |
+
}
|
node_modules/@vitest/coverage-istanbul/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2021-Present VoidZero Inc. and Vitest contributors
|
| 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.
|
node_modules/@vitest/coverage-istanbul/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# @vitest/coverage-istanbul
|
| 2 |
+
|
| 3 |
+
[](https://npmx.dev/package/@vitest/coverage-istanbul)
|
| 4 |
+
|
| 5 |
+
Vitest coverage provider that instruments code coverage via [istanbul](https://istanbul.js.org/).
|
| 6 |
+
|
| 7 |
+
## Installation
|
| 8 |
+
|
| 9 |
+
After installing the package, specify `istanbul` in the `coverage.provider` field of your Vitest configuration:
|
| 10 |
+
|
| 11 |
+
```ts
|
| 12 |
+
// vitest.config.ts
|
| 13 |
+
import { defineConfig } from 'vitest/config'
|
| 14 |
+
|
| 15 |
+
export default defineConfig({
|
| 16 |
+
test: {
|
| 17 |
+
coverage: {
|
| 18 |
+
provider: 'istanbul',
|
| 19 |
+
},
|
| 20 |
+
},
|
| 21 |
+
})
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
Then run Vitest with coverage:
|
| 25 |
+
|
| 26 |
+
```sh
|
| 27 |
+
npx vitest --coverage
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
[GitHub](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul) | [Documentation](https://vitest.dev/guide/coverage)
|
node_modules/@vitest/coverage-istanbul/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@vitest/coverage-istanbul",
|
| 3 |
+
"type": "module",
|
| 4 |
+
"version": "4.1.9",
|
| 5 |
+
"description": "Istanbul coverage provider for Vitest",
|
| 6 |
+
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
| 7 |
+
"license": "MIT",
|
| 8 |
+
"funding": "https://opencollective.com/vitest",
|
| 9 |
+
"homepage": "https://vitest.dev/guide/coverage",
|
| 10 |
+
"repository": {
|
| 11 |
+
"type": "git",
|
| 12 |
+
"url": "git+https://github.com/vitest-dev/vitest.git",
|
| 13 |
+
"directory": "packages/coverage-istanbul"
|
| 14 |
+
},
|
| 15 |
+
"bugs": {
|
| 16 |
+
"url": "https://github.com/vitest-dev/vitest/issues"
|
| 17 |
+
},
|
| 18 |
+
"keywords": [
|
| 19 |
+
"vite",
|
| 20 |
+
"vitest",
|
| 21 |
+
"test",
|
| 22 |
+
"coverage",
|
| 23 |
+
"istanbul"
|
| 24 |
+
],
|
| 25 |
+
"sideEffects": false,
|
| 26 |
+
"exports": {
|
| 27 |
+
".": {
|
| 28 |
+
"types": "./dist/index.d.ts",
|
| 29 |
+
"default": "./dist/index.js"
|
| 30 |
+
},
|
| 31 |
+
"./*": "./*"
|
| 32 |
+
},
|
| 33 |
+
"main": "./dist/index.js",
|
| 34 |
+
"module": "./dist/index.js",
|
| 35 |
+
"types": "./dist/index.d.ts",
|
| 36 |
+
"files": [
|
| 37 |
+
"dist"
|
| 38 |
+
],
|
| 39 |
+
"peerDependencies": {
|
| 40 |
+
"vitest": "4.1.9"
|
| 41 |
+
},
|
| 42 |
+
"dependencies": {
|
| 43 |
+
"@babel/core": "^7.29.0",
|
| 44 |
+
"@istanbuljs/schema": "^0.1.3",
|
| 45 |
+
"@jridgewell/gen-mapping": "^0.3.13",
|
| 46 |
+
"@jridgewell/trace-mapping": "0.3.31",
|
| 47 |
+
"istanbul-lib-coverage": "^3.2.2",
|
| 48 |
+
"istanbul-lib-report": "^3.0.1",
|
| 49 |
+
"istanbul-reports": "^3.2.0",
|
| 50 |
+
"magicast": "^0.5.2",
|
| 51 |
+
"obug": "^2.1.1",
|
| 52 |
+
"tinyrainbow": "^3.1.0"
|
| 53 |
+
},
|
| 54 |
+
"devDependencies": {
|
| 55 |
+
"@types/istanbul-lib-coverage": "^2.0.6",
|
| 56 |
+
"@types/istanbul-lib-instrument": "^1.7.8",
|
| 57 |
+
"@types/istanbul-lib-report": "^3.0.3",
|
| 58 |
+
"@types/istanbul-lib-source-maps": "^4.0.4",
|
| 59 |
+
"@types/istanbul-reports": "^3.0.4",
|
| 60 |
+
"istanbul-lib-instrument": "^6.0.3",
|
| 61 |
+
"istanbul-lib-source-maps": "^5.0.6",
|
| 62 |
+
"pathe": "^2.0.3",
|
| 63 |
+
"vitest": "4.1.9"
|
| 64 |
+
},
|
| 65 |
+
"scripts": {
|
| 66 |
+
"build": "premove dist && rollup -c",
|
| 67 |
+
"dev": "rollup -c --watch --watch.include 'src/**'"
|
| 68 |
+
}
|
| 69 |
+
}
|
node_modules/@vitest/coverage-v8/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2021-Present VoidZero Inc. and Vitest contributors
|
| 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.
|
node_modules/@vitest/coverage-v8/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# @vitest/coverage-v8
|
| 2 |
+
|
| 3 |
+
[](https://npmx.dev/package/@vitest/coverage-v8)
|
| 4 |
+
|
| 5 |
+
Vitest coverage provider that supports native code coverage via [v8](https://v8.dev/blog/javascript-code-coverage).
|
| 6 |
+
|
| 7 |
+
## Installation
|
| 8 |
+
|
| 9 |
+
After installing the package, specify `v8` in the `coverage.provider` field of your Vitest configuration (or leave it empty as it is the default provider):
|
| 10 |
+
|
| 11 |
+
```ts
|
| 12 |
+
// vitest.config.ts
|
| 13 |
+
import { defineConfig } from 'vitest/config'
|
| 14 |
+
|
| 15 |
+
export default defineConfig({
|
| 16 |
+
test: {
|
| 17 |
+
coverage: {
|
| 18 |
+
provider: 'v8',
|
| 19 |
+
},
|
| 20 |
+
},
|
| 21 |
+
})
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
Then run Vitest with coverage:
|
| 25 |
+
|
| 26 |
+
```sh
|
| 27 |
+
npx vitest --coverage
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
[GitHub](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8) | [Documentation](https://vitest.dev/guide/coverage)
|
node_modules/@vitest/coverage-v8/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@vitest/coverage-v8",
|
| 3 |
+
"type": "module",
|
| 4 |
+
"version": "4.1.9",
|
| 5 |
+
"description": "V8 coverage provider for Vitest",
|
| 6 |
+
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
| 7 |
+
"license": "MIT",
|
| 8 |
+
"funding": "https://opencollective.com/vitest",
|
| 9 |
+
"homepage": "https://vitest.dev/guide/coverage",
|
| 10 |
+
"repository": {
|
| 11 |
+
"type": "git",
|
| 12 |
+
"url": "git+https://github.com/vitest-dev/vitest.git",
|
| 13 |
+
"directory": "packages/coverage-v8"
|
| 14 |
+
},
|
| 15 |
+
"bugs": {
|
| 16 |
+
"url": "https://github.com/vitest-dev/vitest/issues"
|
| 17 |
+
},
|
| 18 |
+
"keywords": [
|
| 19 |
+
"vite",
|
| 20 |
+
"vitest",
|
| 21 |
+
"test",
|
| 22 |
+
"coverage",
|
| 23 |
+
"v8"
|
| 24 |
+
],
|
| 25 |
+
"sideEffects": false,
|
| 26 |
+
"exports": {
|
| 27 |
+
".": {
|
| 28 |
+
"types": "./dist/index.d.ts",
|
| 29 |
+
"default": "./dist/index.js"
|
| 30 |
+
},
|
| 31 |
+
"./browser": {
|
| 32 |
+
"types": "./dist/browser.d.ts",
|
| 33 |
+
"default": "./dist/browser.js"
|
| 34 |
+
},
|
| 35 |
+
"./*": "./*"
|
| 36 |
+
},
|
| 37 |
+
"main": "./dist/index.js",
|
| 38 |
+
"module": "./dist/index.js",
|
| 39 |
+
"types": "./dist/index.d.ts",
|
| 40 |
+
"files": [
|
| 41 |
+
"dist"
|
| 42 |
+
],
|
| 43 |
+
"peerDependencies": {
|
| 44 |
+
"@vitest/browser": "4.1.9",
|
| 45 |
+
"vitest": "4.1.9"
|
| 46 |
+
},
|
| 47 |
+
"peerDependenciesMeta": {
|
| 48 |
+
"@vitest/browser": {
|
| 49 |
+
"optional": true
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
"dependencies": {
|
| 53 |
+
"@bcoe/v8-coverage": "^1.0.2",
|
| 54 |
+
"ast-v8-to-istanbul": "^1.0.0",
|
| 55 |
+
"istanbul-lib-coverage": "^3.2.2",
|
| 56 |
+
"istanbul-lib-report": "^3.0.1",
|
| 57 |
+
"istanbul-reports": "^3.2.0",
|
| 58 |
+
"magicast": "^0.5.2",
|
| 59 |
+
"obug": "^2.1.1",
|
| 60 |
+
"std-env": "^4.0.0-rc.1",
|
| 61 |
+
"tinyrainbow": "^3.1.0",
|
| 62 |
+
"@vitest/utils": "4.1.9"
|
| 63 |
+
},
|
| 64 |
+
"devDependencies": {
|
| 65 |
+
"@types/istanbul-lib-coverage": "^2.0.6",
|
| 66 |
+
"@types/istanbul-lib-report": "^3.0.3",
|
| 67 |
+
"@types/istanbul-reports": "^3.0.4",
|
| 68 |
+
"pathe": "^2.0.3",
|
| 69 |
+
"@vitest/browser-playwright": "4.1.9",
|
| 70 |
+
"@vitest/browser": "4.1.9",
|
| 71 |
+
"vitest": "4.1.9"
|
| 72 |
+
},
|
| 73 |
+
"scripts": {
|
| 74 |
+
"build": "premove dist && rollup -c",
|
| 75 |
+
"dev": "rollup -c --watch --watch.include 'src/**'"
|
| 76 |
+
}
|
| 77 |
+
}
|
node_modules/@vitest/expect/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2021-Present VoidZero Inc. and Vitest contributors
|
| 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.
|
node_modules/@vitest/expect/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# @vitest/expect
|
| 2 |
+
|
| 3 |
+
[](https://npmx.dev/package/@vitest/runner)
|
| 4 |
+
|
| 5 |
+
Jest's expect matchers as a Chai plugin.
|
| 6 |
+
|
| 7 |
+
## Usage
|
| 8 |
+
|
| 9 |
+
```js
|
| 10 |
+
import {
|
| 11 |
+
JestAsymmetricMatchers,
|
| 12 |
+
JestChaiExpect,
|
| 13 |
+
JestExtend,
|
| 14 |
+
} from '@vitest/expect'
|
| 15 |
+
import * as chai from 'chai'
|
| 16 |
+
|
| 17 |
+
// allows using expect.extend instead of chai.use to extend plugins
|
| 18 |
+
chai.use(JestExtend)
|
| 19 |
+
// adds all jest matchers to expect
|
| 20 |
+
chai.use(JestChaiExpect)
|
| 21 |
+
// adds asymmetric matchers like stringContaining, objectContaining
|
| 22 |
+
chai.use(JestAsymmetricMatchers)
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
[GitHub](https://github.com/vitest-dev/vitest/tree/main/packages/expect) | [Documentation](https://vitest.dev/api/expect)
|
node_modules/@vitest/expect/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@vitest/expect",
|
| 3 |
+
"type": "module",
|
| 4 |
+
"version": "4.1.9",
|
| 5 |
+
"description": "Jest's expect matchers as a Chai plugin",
|
| 6 |
+
"license": "MIT",
|
| 7 |
+
"funding": "https://opencollective.com/vitest",
|
| 8 |
+
"homepage": "https://vitest.dev/api/expect",
|
| 9 |
+
"repository": {
|
| 10 |
+
"type": "git",
|
| 11 |
+
"url": "git+https://github.com/vitest-dev/vitest.git",
|
| 12 |
+
"directory": "packages/expect"
|
| 13 |
+
},
|
| 14 |
+
"bugs": {
|
| 15 |
+
"url": "https://github.com/vitest-dev/vitest/issues"
|
| 16 |
+
},
|
| 17 |
+
"keywords": [
|
| 18 |
+
"vitest",
|
| 19 |
+
"test",
|
| 20 |
+
"chai",
|
| 21 |
+
"assertion"
|
| 22 |
+
],
|
| 23 |
+
"sideEffects": false,
|
| 24 |
+
"exports": {
|
| 25 |
+
".": {
|
| 26 |
+
"types": "./dist/index.d.ts",
|
| 27 |
+
"default": "./dist/index.js"
|
| 28 |
+
},
|
| 29 |
+
"./*": "./*"
|
| 30 |
+
},
|
| 31 |
+
"main": "./dist/index.js",
|
| 32 |
+
"module": "./dist/index.js",
|
| 33 |
+
"types": "./dist/index.d.ts",
|
| 34 |
+
"files": [
|
| 35 |
+
"dist"
|
| 36 |
+
],
|
| 37 |
+
"dependencies": {
|
| 38 |
+
"@standard-schema/spec": "^1.1.0",
|
| 39 |
+
"@types/chai": "^5.2.2",
|
| 40 |
+
"chai": "^6.2.2",
|
| 41 |
+
"tinyrainbow": "^3.1.0",
|
| 42 |
+
"@vitest/spy": "4.1.9",
|
| 43 |
+
"@vitest/utils": "4.1.9"
|
| 44 |
+
},
|
| 45 |
+
"devDependencies": {
|
| 46 |
+
"@vitest/runner": "4.1.9"
|
| 47 |
+
},
|
| 48 |
+
"scripts": {
|
| 49 |
+
"build": "premove dist && rollup -c",
|
| 50 |
+
"dev": "rollup -c --watch"
|
| 51 |
+
}
|
| 52 |
+
}
|
node_modules/@vitest/mocker/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2021-Present VoidZero Inc. and Vitest contributors
|
| 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.
|
node_modules/@vitest/mocker/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# @vitest/mocker
|
| 2 |
+
|
| 3 |
+
[](https://npmx.dev/package/@vitest/mocker)
|
| 4 |
+
|
| 5 |
+
Vitest's module mocker implementation.
|
| 6 |
+
|
| 7 |
+
[GitHub](https://github.com/vitest-dev/vitest/blob/main/packages/mocker/) | [Documentation](https://github.com/vitest-dev/vitest/blob/main/packages/mocker/EXPORTS.md)
|
node_modules/@vitest/mocker/package.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@vitest/mocker",
|
| 3 |
+
"type": "module",
|
| 4 |
+
"version": "4.1.9",
|
| 5 |
+
"description": "Vitest module mocker implementation",
|
| 6 |
+
"license": "MIT",
|
| 7 |
+
"funding": "https://opencollective.com/vitest",
|
| 8 |
+
"homepage": "https://github.com/vitest-dev/vitest/tree/main/packages/mocker",
|
| 9 |
+
"repository": {
|
| 10 |
+
"type": "git",
|
| 11 |
+
"url": "git+https://github.com/vitest-dev/vitest.git",
|
| 12 |
+
"directory": "packages/mocker"
|
| 13 |
+
},
|
| 14 |
+
"bugs": {
|
| 15 |
+
"url": "https://github.com/vitest-dev/vitest/issues"
|
| 16 |
+
},
|
| 17 |
+
"keywords": [
|
| 18 |
+
"vitest",
|
| 19 |
+
"test",
|
| 20 |
+
"mock"
|
| 21 |
+
],
|
| 22 |
+
"sideEffects": false,
|
| 23 |
+
"exports": {
|
| 24 |
+
".": {
|
| 25 |
+
"types": "./dist/index.d.ts",
|
| 26 |
+
"default": "./dist/index.js"
|
| 27 |
+
},
|
| 28 |
+
"./node": {
|
| 29 |
+
"types": "./dist/node.d.ts",
|
| 30 |
+
"default": "./dist/node.js"
|
| 31 |
+
},
|
| 32 |
+
"./browser": {
|
| 33 |
+
"types": "./dist/browser.d.ts",
|
| 34 |
+
"default": "./dist/browser.js"
|
| 35 |
+
},
|
| 36 |
+
"./redirect": {
|
| 37 |
+
"types": "./dist/redirect.d.ts",
|
| 38 |
+
"default": "./dist/redirect.js"
|
| 39 |
+
},
|
| 40 |
+
"./automock": {
|
| 41 |
+
"types": "./dist/automock.d.ts",
|
| 42 |
+
"default": "./dist/automock.js"
|
| 43 |
+
},
|
| 44 |
+
"./register": {
|
| 45 |
+
"types": "./dist/register.d.ts",
|
| 46 |
+
"default": "./dist/register.js"
|
| 47 |
+
},
|
| 48 |
+
"./auto-register": {
|
| 49 |
+
"types": "./dist/register.d.ts",
|
| 50 |
+
"default": "./dist/register.js"
|
| 51 |
+
},
|
| 52 |
+
"./transforms": {
|
| 53 |
+
"types": "./dist/transforms.d.ts",
|
| 54 |
+
"default": "./dist/transforms.js"
|
| 55 |
+
},
|
| 56 |
+
"./package.json": "./package.json"
|
| 57 |
+
},
|
| 58 |
+
"main": "./dist/index.js",
|
| 59 |
+
"module": "./dist/index.js",
|
| 60 |
+
"types": "./dist/index.d.ts",
|
| 61 |
+
"files": [
|
| 62 |
+
"*.d.ts",
|
| 63 |
+
"dist"
|
| 64 |
+
],
|
| 65 |
+
"peerDependencies": {
|
| 66 |
+
"msw": "^2.4.9",
|
| 67 |
+
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
| 68 |
+
},
|
| 69 |
+
"peerDependenciesMeta": {
|
| 70 |
+
"msw": {
|
| 71 |
+
"optional": true
|
| 72 |
+
},
|
| 73 |
+
"vite": {
|
| 74 |
+
"optional": true
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
"dependencies": {
|
| 78 |
+
"estree-walker": "^3.0.3",
|
| 79 |
+
"magic-string": "^0.30.21",
|
| 80 |
+
"@vitest/spy": "4.1.9"
|
| 81 |
+
},
|
| 82 |
+
"devDependencies": {
|
| 83 |
+
"@types/estree": "^1.0.8",
|
| 84 |
+
"acorn-walk": "^8.3.5",
|
| 85 |
+
"cjs-module-lexer": "^2.2.0",
|
| 86 |
+
"es-module-lexer": "^2.0.0",
|
| 87 |
+
"msw": "^2.12.10",
|
| 88 |
+
"pathe": "^2.0.3",
|
| 89 |
+
"vite": "^6.3.5",
|
| 90 |
+
"@vitest/spy": "4.1.9",
|
| 91 |
+
"@vitest/utils": "4.1.9"
|
| 92 |
+
},
|
| 93 |
+
"scripts": {
|
| 94 |
+
"build": "premove dist && rollup -c",
|
| 95 |
+
"dev": "rollup -c --watch"
|
| 96 |
+
}
|
| 97 |
+
}
|
node_modules/@vitest/pretty-format/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2021-Present VoidZero Inc. and Vitest contributors
|
| 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.
|
node_modules/@vitest/pretty-format/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# @vitest/pretty-format
|
| 2 |
+
|
| 3 |
+
[](https://npmx.dev/package/@vitest/pretty-format)
|
| 4 |
+
|
| 5 |
+
Vitest's fork of Jest's [`pretty-format`](https://npmx.dev/package/pretty-format).
|
| 6 |
+
|
| 7 |
+
[GitHub](https://github.com/vitest-dev/vitest/tree/main/packages/pretty-format) | [Documentation](https://github.com/vitest-dev/vitest/blob/main/packages/pretty-format/USAGE.md)
|
node_modules/@vitest/pretty-format/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@vitest/pretty-format",
|
| 3 |
+
"type": "module",
|
| 4 |
+
"version": "4.1.9",
|
| 5 |
+
"description": "Fork of pretty-format with support for ESM",
|
| 6 |
+
"license": "MIT",
|
| 7 |
+
"funding": "https://opencollective.com/vitest",
|
| 8 |
+
"homepage": "https://github.com/vitest-dev/vitest/tree/main/packages/pretty-format",
|
| 9 |
+
"repository": {
|
| 10 |
+
"type": "git",
|
| 11 |
+
"url": "git+https://github.com/vitest-dev/vitest.git",
|
| 12 |
+
"directory": "packages/pretty-format"
|
| 13 |
+
},
|
| 14 |
+
"bugs": {
|
| 15 |
+
"url": "https://github.com/vitest-dev/vitest/issues"
|
| 16 |
+
},
|
| 17 |
+
"keywords": [
|
| 18 |
+
"vitest",
|
| 19 |
+
"test",
|
| 20 |
+
"pretty",
|
| 21 |
+
"pretty-format"
|
| 22 |
+
],
|
| 23 |
+
"sideEffects": false,
|
| 24 |
+
"exports": {
|
| 25 |
+
".": {
|
| 26 |
+
"types": "./dist/index.d.ts",
|
| 27 |
+
"default": "./dist/index.js"
|
| 28 |
+
},
|
| 29 |
+
"./*": "./*"
|
| 30 |
+
},
|
| 31 |
+
"main": "./dist/index.js",
|
| 32 |
+
"module": "./dist/index.js",
|
| 33 |
+
"types": "./dist/index.d.ts",
|
| 34 |
+
"files": [
|
| 35 |
+
"*.d.ts",
|
| 36 |
+
"dist"
|
| 37 |
+
],
|
| 38 |
+
"dependencies": {
|
| 39 |
+
"tinyrainbow": "^3.1.0"
|
| 40 |
+
},
|
| 41 |
+
"devDependencies": {
|
| 42 |
+
"@types/react-is": "^19.2.0",
|
| 43 |
+
"react-is": "^19.2.4",
|
| 44 |
+
"react-is-18": "npm:react-is@18.3.1"
|
| 45 |
+
},
|
| 46 |
+
"scripts": {
|
| 47 |
+
"build": "premove dist && rollup -c",
|
| 48 |
+
"dev": "rollup -c --watch"
|
| 49 |
+
}
|
| 50 |
+
}
|
node_modules/@vitest/runner/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2021-Present VoidZero Inc. and Vitest contributors
|
| 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.
|
node_modules/@vitest/runner/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# @vitest/runner
|
| 2 |
+
|
| 3 |
+
[](https://npmx.dev/package/@vitest/runner)
|
| 4 |
+
|
| 5 |
+
Vitest mechanism to collect and run tests.
|
| 6 |
+
|
| 7 |
+
[GitHub](https://github.com/vitest-dev/vitest/tree/main/packages/runner) | [Documentation](https://vitest.dev/api/advanced/runner)
|
node_modules/@vitest/runner/package.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@vitest/runner",
|
| 3 |
+
"type": "module",
|
| 4 |
+
"version": "4.1.9",
|
| 5 |
+
"description": "Vitest test runner",
|
| 6 |
+
"license": "MIT",
|
| 7 |
+
"funding": "https://opencollective.com/vitest",
|
| 8 |
+
"homepage": "https://vitest.dev/api/advanced/runner",
|
| 9 |
+
"repository": {
|
| 10 |
+
"type": "git",
|
| 11 |
+
"url": "git+https://github.com/vitest-dev/vitest.git",
|
| 12 |
+
"directory": "packages/runner"
|
| 13 |
+
},
|
| 14 |
+
"bugs": {
|
| 15 |
+
"url": "https://github.com/vitest-dev/vitest/issues"
|
| 16 |
+
},
|
| 17 |
+
"keywords": [
|
| 18 |
+
"vitest",
|
| 19 |
+
"test",
|
| 20 |
+
"test-runner"
|
| 21 |
+
],
|
| 22 |
+
"sideEffects": true,
|
| 23 |
+
"exports": {
|
| 24 |
+
".": {
|
| 25 |
+
"types": "./dist/index.d.ts",
|
| 26 |
+
"default": "./dist/index.js"
|
| 27 |
+
},
|
| 28 |
+
"./utils": {
|
| 29 |
+
"types": "./dist/utils.d.ts",
|
| 30 |
+
"default": "./dist/utils.js"
|
| 31 |
+
},
|
| 32 |
+
"./types": {
|
| 33 |
+
"types": "./dist/types.d.ts",
|
| 34 |
+
"default": "./dist/types.js"
|
| 35 |
+
},
|
| 36 |
+
"./*": "./*"
|
| 37 |
+
},
|
| 38 |
+
"main": "./dist/index.js",
|
| 39 |
+
"module": "./dist/index.js",
|
| 40 |
+
"types": "./dist/index.d.ts",
|
| 41 |
+
"files": [
|
| 42 |
+
"*.d.ts",
|
| 43 |
+
"dist"
|
| 44 |
+
],
|
| 45 |
+
"dependencies": {
|
| 46 |
+
"pathe": "^2.0.3",
|
| 47 |
+
"@vitest/utils": "4.1.9"
|
| 48 |
+
},
|
| 49 |
+
"scripts": {
|
| 50 |
+
"build": "premove dist && rollup -c",
|
| 51 |
+
"dev": "rollup -c --watch"
|
| 52 |
+
}
|
| 53 |
+
}
|
node_modules/@vitest/runner/types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './dist/types.js'
|
node_modules/@vitest/runner/utils.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './dist/utils.js'
|
node_modules/@vitest/snapshot/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2021-Present VoidZero Inc. and Vitest contributors
|
| 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.
|
node_modules/@vitest/snapshot/README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# @vitest/snapshot
|
| 2 |
+
|
| 3 |
+
[](https://npmx.dev/package/@vitest/snapshot)
|
| 4 |
+
|
| 5 |
+
Lightweight implementation of Jest's snapshots.
|
| 6 |
+
|
| 7 |
+
## Usage
|
| 8 |
+
|
| 9 |
+
```js
|
| 10 |
+
import { SnapshotClient } from '@vitest/snapshot'
|
| 11 |
+
import { NodeSnapshotEnvironment } from '@vitest/snapshot/environment'
|
| 12 |
+
import { SnapshotManager } from '@vitest/snapshot/manager'
|
| 13 |
+
|
| 14 |
+
const client = new SnapshotClient({
|
| 15 |
+
// you need to provide your own equality check implementation if you use it
|
| 16 |
+
// this function is called when `.toMatchSnapshot({ property: 1 })` is called
|
| 17 |
+
isEqual: (received, expected) =>
|
| 18 |
+
equals(received, expected, [iterableEquality, subsetEquality]),
|
| 19 |
+
})
|
| 20 |
+
|
| 21 |
+
// class that implements snapshot saving and reading
|
| 22 |
+
// by default uses fs module, but you can provide your own implementation depending on the environment
|
| 23 |
+
const environment = new NodeSnapshotEnvironment()
|
| 24 |
+
|
| 25 |
+
// you need to implement this yourselves,
|
| 26 |
+
// this depends on your runner
|
| 27 |
+
function getCurrentFilepath() {
|
| 28 |
+
return '/file.spec.js'
|
| 29 |
+
}
|
| 30 |
+
function getCurrentTestName() {
|
| 31 |
+
return 'test1'
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
// example for inline snapshots, nothing is required to support regular snapshots,
|
| 35 |
+
// just call `assert` with `isInline: false`
|
| 36 |
+
function wrapper(received) {
|
| 37 |
+
function __INLINE_SNAPSHOT__(inlineSnapshot, message) {
|
| 38 |
+
client.assert({
|
| 39 |
+
received,
|
| 40 |
+
message,
|
| 41 |
+
isInline: true,
|
| 42 |
+
inlineSnapshot,
|
| 43 |
+
filepath: getCurrentFilepath(),
|
| 44 |
+
name: getCurrentTestName(),
|
| 45 |
+
})
|
| 46 |
+
}
|
| 47 |
+
return {
|
| 48 |
+
// the name is hard-coded, it should be inside another function, so Vitest can find the actual test file where it was called (parses call stack trace + 2)
|
| 49 |
+
// you can override this behaviour in SnapshotState's `_inferInlineSnapshotStack` method by providing your own SnapshotState to SnapshotClient constructor
|
| 50 |
+
toMatchInlineSnapshot: (...args) => __INLINE_SNAPSHOT__(...args),
|
| 51 |
+
}
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
const options = {
|
| 55 |
+
updateSnapshot: 'new',
|
| 56 |
+
snapshotEnvironment: environment,
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
await client.startCurrentRun(
|
| 60 |
+
getCurrentFilepath(),
|
| 61 |
+
getCurrentTestName(),
|
| 62 |
+
options
|
| 63 |
+
)
|
| 64 |
+
|
| 65 |
+
// this will save snapshot to a file which is returned by "snapshotEnvironment.resolvePath"
|
| 66 |
+
client.assert({
|
| 67 |
+
received: 'some text',
|
| 68 |
+
isInline: false,
|
| 69 |
+
})
|
| 70 |
+
|
| 71 |
+
// uses "pretty-format", so it requires quotes
|
| 72 |
+
// also naming is hard-coded when parsing test files
|
| 73 |
+
wrapper('text 1').toMatchInlineSnapshot()
|
| 74 |
+
wrapper('text 2').toMatchInlineSnapshot('"text 2"')
|
| 75 |
+
|
| 76 |
+
const result = await client.finishCurrentRun() // this saves files and returns SnapshotResult
|
| 77 |
+
|
| 78 |
+
// you can use manager to manage several clients
|
| 79 |
+
const manager = new SnapshotManager(options)
|
| 80 |
+
manager.add(result)
|
| 81 |
+
|
| 82 |
+
// do something
|
| 83 |
+
// and then read the summary
|
| 84 |
+
|
| 85 |
+
console.log(manager.summary)
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
[GitHub](https://github.com/vitest-dev/vitest/tree/main/packages/snapshot) | [Documentation](https://vitest.dev/guide/snapshot)
|
node_modules/@vitest/snapshot/environment.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './dist/environment.js'
|
node_modules/@vitest/snapshot/manager.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './dist/manager.js'
|
node_modules/@vitest/snapshot/package.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@vitest/snapshot",
|
| 3 |
+
"type": "module",
|
| 4 |
+
"version": "4.1.9",
|
| 5 |
+
"description": "Vitest snapshot manager",
|
| 6 |
+
"license": "MIT",
|
| 7 |
+
"funding": "https://opencollective.com/vitest",
|
| 8 |
+
"homepage": "https://vitest.dev/guide/snapshot",
|
| 9 |
+
"repository": {
|
| 10 |
+
"type": "git",
|
| 11 |
+
"url": "git+https://github.com/vitest-dev/vitest.git",
|
| 12 |
+
"directory": "packages/snapshot"
|
| 13 |
+
},
|
| 14 |
+
"bugs": {
|
| 15 |
+
"url": "https://github.com/vitest-dev/vitest/issues"
|
| 16 |
+
},
|
| 17 |
+
"keywords": [
|
| 18 |
+
"vitest",
|
| 19 |
+
"test",
|
| 20 |
+
"snapshot"
|
| 21 |
+
],
|
| 22 |
+
"sideEffects": false,
|
| 23 |
+
"exports": {
|
| 24 |
+
".": {
|
| 25 |
+
"types": "./dist/index.d.ts",
|
| 26 |
+
"default": "./dist/index.js"
|
| 27 |
+
},
|
| 28 |
+
"./environment": {
|
| 29 |
+
"types": "./dist/environment.d.ts",
|
| 30 |
+
"default": "./dist/environment.js"
|
| 31 |
+
},
|
| 32 |
+
"./manager": {
|
| 33 |
+
"types": "./dist/manager.d.ts",
|
| 34 |
+
"default": "./dist/manager.js"
|
| 35 |
+
},
|
| 36 |
+
"./*": "./*"
|
| 37 |
+
},
|
| 38 |
+
"main": "./dist/index.js",
|
| 39 |
+
"module": "./dist/index.js",
|
| 40 |
+
"types": "./dist/index.d.ts",
|
| 41 |
+
"files": [
|
| 42 |
+
"*.d.ts",
|
| 43 |
+
"dist"
|
| 44 |
+
],
|
| 45 |
+
"dependencies": {
|
| 46 |
+
"magic-string": "^0.30.21",
|
| 47 |
+
"pathe": "^2.0.3",
|
| 48 |
+
"@vitest/pretty-format": "4.1.9",
|
| 49 |
+
"@vitest/utils": "4.1.9"
|
| 50 |
+
},
|
| 51 |
+
"devDependencies": {
|
| 52 |
+
"@types/natural-compare": "^1.4.3",
|
| 53 |
+
"natural-compare": "^1.4.0"
|
| 54 |
+
},
|
| 55 |
+
"scripts": {
|
| 56 |
+
"build": "premove dist && rollup -c",
|
| 57 |
+
"dev": "rollup -c --watch"
|
| 58 |
+
}
|
| 59 |
+
}
|
node_modules/@vitest/spy/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2021-Present VoidZero Inc. and Vitest contributors
|
| 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.
|
node_modules/@vitest/spy/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# @vitest/spy
|
| 2 |
+
|
| 3 |
+
[](https://npmx.dev/package/@vitest/spy)
|
| 4 |
+
|
| 5 |
+
Lightweight Jest-compatible mocking implementation.
|
| 6 |
+
|
| 7 |
+
[GitHub](https://github.com/vitest-dev/vitest/tree/main/packages/spy) | [Documentation](https://vitest.dev/api/mock)
|
node_modules/@vitest/spy/optional-types.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* eslint-disable ts/ban-ts-comment */
|
| 2 |
+
|
| 3 |
+
export interface Disposable {
|
| 4 |
+
// @ts-ignore -- Symbol.dispose might not be in user types
|
| 5 |
+
[Symbol.dispose]: () => void
|
| 6 |
+
}
|
node_modules/@vitest/spy/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@vitest/spy",
|
| 3 |
+
"type": "module",
|
| 4 |
+
"version": "4.1.9",
|
| 5 |
+
"description": "Lightweight Jest compatible spy implementation",
|
| 6 |
+
"license": "MIT",
|
| 7 |
+
"funding": "https://opencollective.com/vitest",
|
| 8 |
+
"homepage": "https://vitest.dev/api/mock",
|
| 9 |
+
"repository": {
|
| 10 |
+
"type": "git",
|
| 11 |
+
"url": "git+https://github.com/vitest-dev/vitest.git",
|
| 12 |
+
"directory": "packages/spy"
|
| 13 |
+
},
|
| 14 |
+
"bugs": {
|
| 15 |
+
"url": "https://github.com/vitest-dev/vitest/issues"
|
| 16 |
+
},
|
| 17 |
+
"keywords": [
|
| 18 |
+
"vitest",
|
| 19 |
+
"test",
|
| 20 |
+
"mock",
|
| 21 |
+
"spy",
|
| 22 |
+
"intercept"
|
| 23 |
+
],
|
| 24 |
+
"sideEffects": false,
|
| 25 |
+
"exports": {
|
| 26 |
+
".": {
|
| 27 |
+
"types": "./dist/index.d.ts",
|
| 28 |
+
"default": "./dist/index.js"
|
| 29 |
+
},
|
| 30 |
+
"./optional-types.js": {
|
| 31 |
+
"types": "./optional-types.d.ts"
|
| 32 |
+
},
|
| 33 |
+
"./*": "./*"
|
| 34 |
+
},
|
| 35 |
+
"main": "./dist/index.js",
|
| 36 |
+
"module": "./dist/index.js",
|
| 37 |
+
"types": "./dist/index.d.ts",
|
| 38 |
+
"files": [
|
| 39 |
+
"dist",
|
| 40 |
+
"optional-types.d.ts"
|
| 41 |
+
],
|
| 42 |
+
"scripts": {
|
| 43 |
+
"build": "premove dist && rollup -c",
|
| 44 |
+
"dev": "rollup -c --watch"
|
| 45 |
+
}
|
| 46 |
+
}
|
node_modules/@vitest/utils/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2021-Present VoidZero Inc. and Vitest contributors
|
| 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.
|
node_modules/@vitest/utils/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# @vitest/utils
|
| 2 |
+
|
| 3 |
+
[](https://npmx.dev/package/@vitest/utils)
|
| 4 |
+
|
| 5 |
+
Internal shared utilities used by other Vitest packages.
|
| 6 |
+
|
| 7 |
+
[GitHub](https://github.com/vitest-dev/vitest/tree/main/packages/utils) | [Documentation](https://vitest.dev/)
|