Update checked-in dependencies
This commit is contained in:
parent
47d5364431
commit
9dfa165835
185 changed files with 8301 additions and 3605 deletions
243
node_modules/.package-lock.json
generated
vendored
243
node_modules/.package-lock.json
generated
vendored
|
|
@ -87,9 +87,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@actions/cache": {
|
"node_modules/@actions/cache": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/@actions/cache/-/cache-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@actions/cache/-/cache-4.0.1.tgz",
|
||||||
"integrity": "sha512-WIuxjnZ44lNYtIS4fqSaYvF00hORdy3cSin+jx8xNgBVGWnNIAiCBHjlwusVQlcgExoQC9pHXGrDsZyZr7rCDQ==",
|
"integrity": "sha512-u2NrTo95PDmk145wrr+fMhrvpF0hfPmD6cLkR7NozvNHqanR0BmRHBzEe1yiGZFFEHbu6/e6EOEX7qoM7fWVTA==",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.11.1",
|
"@actions/core": "^1.11.1",
|
||||||
"@actions/exec": "^1.0.1",
|
"@actions/exec": "^1.0.1",
|
||||||
|
|
@ -100,8 +101,7 @@
|
||||||
"@azure/ms-rest-js": "^2.6.0",
|
"@azure/ms-rest-js": "^2.6.0",
|
||||||
"@azure/storage-blob": "^12.13.0",
|
"@azure/storage-blob": "^12.13.0",
|
||||||
"@protobuf-ts/plugin": "^2.9.4",
|
"@protobuf-ts/plugin": "^2.9.4",
|
||||||
"semver": "^6.3.1",
|
"semver": "^6.3.1"
|
||||||
"twirp-ts": "^2.5.0"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@actions/cache/node_modules/@actions/glob": {
|
"node_modules/@actions/cache/node_modules/@actions/glob": {
|
||||||
|
|
@ -1331,17 +1331,17 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin": {
|
"node_modules/@typescript-eslint/eslint-plugin": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.24.1.tgz",
|
||||||
"integrity": "sha512-vBz65tJgRrA1Q5gWlRfvoH+w943dq9K1p1yDBY2pc+a1nbBLZp7fB9+Hk8DaALUbzjqlMfgaqlVPT1REJdkt/w==",
|
"integrity": "sha512-ll1StnKtBigWIGqvYDVuDmXJHVH4zLVot1yQ4fJtLpL7qacwkxJc1T0bptqw+miBQ/QfUbhl1TcQ4accW5KUyA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/regexpp": "^4.10.0",
|
"@eslint-community/regexpp": "^4.10.0",
|
||||||
"@typescript-eslint/scope-manager": "8.23.0",
|
"@typescript-eslint/scope-manager": "8.24.1",
|
||||||
"@typescript-eslint/type-utils": "8.23.0",
|
"@typescript-eslint/type-utils": "8.24.1",
|
||||||
"@typescript-eslint/utils": "8.23.0",
|
"@typescript-eslint/utils": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0",
|
"@typescript-eslint/visitor-keys": "8.24.1",
|
||||||
"graphemer": "^1.4.0",
|
"graphemer": "^1.4.0",
|
||||||
"ignore": "^5.3.1",
|
"ignore": "^5.3.1",
|
||||||
"natural-compare": "^1.4.0",
|
"natural-compare": "^1.4.0",
|
||||||
|
|
@ -1361,14 +1361,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": {
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.24.1.tgz",
|
||||||
"integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==",
|
"integrity": "sha512-OdQr6BNBzwRjNEXMQyaGyZzgg7wzjYKfX2ZBV3E04hUCBDv3GQCHiz9RpqdUIiVrMgJGkXm3tcEh4vFSHreS2Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0"
|
"@typescript-eslint/visitor-keys": "8.24.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
|
|
@ -1379,9 +1379,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": {
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.24.1.tgz",
|
||||||
"integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==",
|
"integrity": "sha512-9kqJ+2DkUXiuhoiYIUvIYjGcwle8pcPpdlfkemGvTObzgmYfJ5d0Qm6jwb4NBXP9W1I5tss0VIAnWFumz3mC5A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
@ -1393,14 +1393,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": {
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.24.1.tgz",
|
||||||
"integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==",
|
"integrity": "sha512-UPyy4MJ/0RE648DSKQe9g0VDSehPINiejjA6ElqnFaFIhI6ZEiZAkUI0D5MCk0bQcTf/LVqZStvQ6K4lPn/BRg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0",
|
"@typescript-eslint/visitor-keys": "8.24.1",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-glob": "^3.3.2",
|
"fast-glob": "^3.3.2",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
|
|
@ -1420,16 +1420,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": {
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.24.1.tgz",
|
||||||
"integrity": "sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==",
|
"integrity": "sha512-OOcg3PMMQx9EXspId5iktsI3eMaXVwlhC8BvNnX6B5w9a4dVgpkQZuU8Hy67TolKcl+iFWq0XX+jbDGN4xWxjQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.4.0",
|
"@eslint-community/eslint-utils": "^4.4.0",
|
||||||
"@typescript-eslint/scope-manager": "8.23.0",
|
"@typescript-eslint/scope-manager": "8.24.1",
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/typescript-estree": "8.23.0"
|
"@typescript-eslint/typescript-estree": "8.24.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
|
|
@ -1444,13 +1444,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": {
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.24.1.tgz",
|
||||||
"integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==",
|
"integrity": "sha512-EwVHlp5l+2vp8CoqJm9KikPZgi3gbdZAtabKT9KPShGeOcJhsv4Zdo3oc8T8I0uKEmYoU4ItyxbptjF08enaxg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"eslint-visitor-keys": "^4.2.0"
|
"eslint-visitor-keys": "^4.2.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
@ -1514,16 +1514,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser": {
|
"node_modules/@typescript-eslint/parser": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.24.1.tgz",
|
||||||
"integrity": "sha512-h2lUByouOXFAlMec2mILeELUbME5SZRN/7R9Cw2RD2lRQQY08MWMM+PmVVKKJNK1aIwqTo9t/0CvOxwPbRIE2Q==",
|
"integrity": "sha512-Tqoa05bu+t5s8CTZFaGpCH2ub3QeT9YDkXbPd3uQ4SfsLoh1/vv2GEYAioPoxCWJJNsenXlC88tRjwoHNts1oQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/scope-manager": "8.23.0",
|
"@typescript-eslint/scope-manager": "8.24.1",
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/typescript-estree": "8.23.0",
|
"@typescript-eslint/typescript-estree": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0",
|
"@typescript-eslint/visitor-keys": "8.24.1",
|
||||||
"debug": "^4.3.4"
|
"debug": "^4.3.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
@ -1539,14 +1539,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": {
|
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.24.1.tgz",
|
||||||
"integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==",
|
"integrity": "sha512-OdQr6BNBzwRjNEXMQyaGyZzgg7wzjYKfX2ZBV3E04hUCBDv3GQCHiz9RpqdUIiVrMgJGkXm3tcEh4vFSHreS2Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0"
|
"@typescript-eslint/visitor-keys": "8.24.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
|
|
@ -1557,9 +1557,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": {
|
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.24.1.tgz",
|
||||||
"integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==",
|
"integrity": "sha512-9kqJ+2DkUXiuhoiYIUvIYjGcwle8pcPpdlfkemGvTObzgmYfJ5d0Qm6jwb4NBXP9W1I5tss0VIAnWFumz3mC5A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
@ -1571,14 +1571,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": {
|
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.24.1.tgz",
|
||||||
"integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==",
|
"integrity": "sha512-UPyy4MJ/0RE648DSKQe9g0VDSehPINiejjA6ElqnFaFIhI6ZEiZAkUI0D5MCk0bQcTf/LVqZStvQ6K4lPn/BRg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0",
|
"@typescript-eslint/visitor-keys": "8.24.1",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-glob": "^3.3.2",
|
"fast-glob": "^3.3.2",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
|
|
@ -1598,13 +1598,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": {
|
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.24.1.tgz",
|
||||||
"integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==",
|
"integrity": "sha512-EwVHlp5l+2vp8CoqJm9KikPZgi3gbdZAtabKT9KPShGeOcJhsv4Zdo3oc8T8I0uKEmYoU4ItyxbptjF08enaxg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"eslint-visitor-keys": "^4.2.0"
|
"eslint-visitor-keys": "^4.2.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
@ -1686,14 +1686,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils": {
|
"node_modules/@typescript-eslint/type-utils": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.24.1.tgz",
|
||||||
"integrity": "sha512-iIuLdYpQWZKbiH+RkCGc6iu+VwscP5rCtQ1lyQ7TYuKLrcZoeJVpcLiG8DliXVkUxirW/PWlmS+d6yD51L9jvA==",
|
"integrity": "sha512-/Do9fmNgCsQ+K4rCz0STI7lYB4phTtEXqqCAs3gZW0pnK7lWNkvWd5iW545GSmApm4AzmQXmSqXPO565B4WVrw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/typescript-estree": "8.23.0",
|
"@typescript-eslint/typescript-estree": "8.24.1",
|
||||||
"@typescript-eslint/utils": "8.23.0",
|
"@typescript-eslint/utils": "8.24.1",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"ts-api-utils": "^2.0.1"
|
"ts-api-utils": "^2.0.1"
|
||||||
},
|
},
|
||||||
|
|
@ -1710,14 +1710,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": {
|
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.24.1.tgz",
|
||||||
"integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==",
|
"integrity": "sha512-OdQr6BNBzwRjNEXMQyaGyZzgg7wzjYKfX2ZBV3E04hUCBDv3GQCHiz9RpqdUIiVrMgJGkXm3tcEh4vFSHreS2Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0"
|
"@typescript-eslint/visitor-keys": "8.24.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
|
|
@ -1728,9 +1728,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": {
|
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.24.1.tgz",
|
||||||
"integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==",
|
"integrity": "sha512-9kqJ+2DkUXiuhoiYIUvIYjGcwle8pcPpdlfkemGvTObzgmYfJ5d0Qm6jwb4NBXP9W1I5tss0VIAnWFumz3mC5A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
@ -1742,14 +1742,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": {
|
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.24.1.tgz",
|
||||||
"integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==",
|
"integrity": "sha512-UPyy4MJ/0RE648DSKQe9g0VDSehPINiejjA6ElqnFaFIhI6ZEiZAkUI0D5MCk0bQcTf/LVqZStvQ6K4lPn/BRg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0",
|
"@typescript-eslint/visitor-keys": "8.24.1",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-glob": "^3.3.2",
|
"fast-glob": "^3.3.2",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
|
|
@ -1769,16 +1769,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": {
|
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.24.1.tgz",
|
||||||
"integrity": "sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==",
|
"integrity": "sha512-OOcg3PMMQx9EXspId5iktsI3eMaXVwlhC8BvNnX6B5w9a4dVgpkQZuU8Hy67TolKcl+iFWq0XX+jbDGN4xWxjQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.4.0",
|
"@eslint-community/eslint-utils": "^4.4.0",
|
||||||
"@typescript-eslint/scope-manager": "8.23.0",
|
"@typescript-eslint/scope-manager": "8.24.1",
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/typescript-estree": "8.23.0"
|
"@typescript-eslint/typescript-estree": "8.24.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
|
|
@ -1793,13 +1793,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": {
|
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": {
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.24.1.tgz",
|
||||||
"integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==",
|
"integrity": "sha512-EwVHlp5l+2vp8CoqJm9KikPZgi3gbdZAtabKT9KPShGeOcJhsv4Zdo3oc8T8I0uKEmYoU4ItyxbptjF08enaxg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"eslint-visitor-keys": "^4.2.0"
|
"eslint-visitor-keys": "^4.2.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
@ -3631,20 +3631,19 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-import-resolver-typescript": {
|
"node_modules/eslint-import-resolver-typescript": {
|
||||||
"version": "3.7.0",
|
"version": "3.8.1",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.8.1.tgz",
|
||||||
"integrity": "sha512-Vrwyi8HHxY97K5ebydMtffsWAn1SCR9eol49eCd5fJS4O1WV7PaAjbcjmbfJJSMz/t4Mal212Uz/fQZrOB8mow==",
|
"integrity": "sha512-qw5TPA12HTmb9CkcuiNrFtwhM1ae2FWysLeRrTbQ+/JKS///gbL3fQ5LRhAZnzkcqkScOvkB5Y5o+xgyQz1VVg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nolyfill/is-core-module": "1.0.39",
|
"@nolyfill/is-core-module": "1.0.39",
|
||||||
"debug": "^4.3.7",
|
"debug": "^4.3.7",
|
||||||
"enhanced-resolve": "^5.15.0",
|
"enhanced-resolve": "^5.15.0",
|
||||||
"fast-glob": "^3.3.2",
|
"get-tsconfig": "^4.10.0",
|
||||||
"get-tsconfig": "^4.7.5",
|
|
||||||
"is-bun-module": "^1.0.2",
|
"is-bun-module": "^1.0.2",
|
||||||
"is-glob": "^4.0.3",
|
"stable-hash": "^0.0.4",
|
||||||
"stable-hash": "^0.0.4"
|
"tinyglobby": "^0.2.10"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.18.0 || >=16.0.0"
|
"node": "^14.18.0 || >=16.0.0"
|
||||||
|
|
@ -4657,10 +4656,11 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/get-tsconfig": {
|
"node_modules/get-tsconfig": {
|
||||||
"version": "4.7.6",
|
"version": "4.10.0",
|
||||||
"resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.6.tgz",
|
"resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.0.tgz",
|
||||||
"integrity": "sha512-ZAqrLlu18NbDdRaHq+AKXzAmqIUPswPWKUchfytdAjiRFnCe5ojG2bstg6mRiZabkKfCoL/e98pbBELIV/YCeA==",
|
"integrity": "sha512-kGzZ3LWWQcGIAmg6iWvXn0ei6WDtV26wzHRMwDSzmAbcXrTEXxHy6IehI6/4eT6VRKyMP1eF1VqwrVUmE/LR7A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"resolve-pkg-maps": "^1.0.0"
|
"resolve-pkg-maps": "^1.0.0"
|
||||||
},
|
},
|
||||||
|
|
@ -5575,9 +5575,9 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/long": {
|
"node_modules/long": {
|
||||||
"version": "5.3.0",
|
"version": "5.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/long/-/long-5.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/long/-/long-5.3.1.tgz",
|
||||||
"integrity": "sha512-5vvY5yF1zF/kXk+L94FRiTDa1Znom46UjPCH6/XbSvS8zBKMFBHTJk8KDMqJ+2J6QezQFi7k1k8v21ClJYHPaw==",
|
"integrity": "sha512-ka87Jz3gcx/I7Hal94xaN2tZEOPoUOEVftkQqZx2EeQRN7LGdfLlI3FvZ+7WDplm+vK2Urx9ULrvSowtdCieng==",
|
||||||
"license": "Apache-2.0"
|
"license": "Apache-2.0"
|
||||||
},
|
},
|
||||||
"node_modules/lower-case": {
|
"node_modules/lower-case": {
|
||||||
|
|
@ -6499,6 +6499,7 @@
|
||||||
"resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
|
||||||
"integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",
|
"integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
|
"url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
|
||||||
}
|
}
|
||||||
|
|
@ -7164,6 +7165,48 @@
|
||||||
"version": "2.0.3",
|
"version": "2.0.3",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
|
"node_modules/tinyglobby": {
|
||||||
|
"version": "0.2.10",
|
||||||
|
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.10.tgz",
|
||||||
|
"integrity": "sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"fdir": "^6.4.2",
|
||||||
|
"picomatch": "^4.0.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/tinyglobby/node_modules/fdir": {
|
||||||
|
"version": "6.4.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.3.tgz",
|
||||||
|
"integrity": "sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"peerDependencies": {
|
||||||
|
"picomatch": "^3 || ^4"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"picomatch": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/tinyglobby/node_modules/picomatch": {
|
||||||
|
"version": "4.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
|
||||||
|
"integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/jonschlinkert"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/tmp": {
|
"node_modules/tmp": {
|
||||||
"version": "0.2.3",
|
"version": "0.2.3",
|
||||||
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz",
|
||||||
|
|
|
||||||
2
node_modules/@actions/cache/lib/cache.js
generated
vendored
2
node_modules/@actions/cache/lib/cache.js
generated
vendored
|
|
@ -213,7 +213,7 @@ function restoreCacheV2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
||||||
};
|
};
|
||||||
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
core.warning(`Cache not found for keys: ${keys.join(', ')}`);
|
core.debug(`Cache not found for keys: ${keys.join(', ')}`);
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
core.info(`Cache hit for: ${request.key}`);
|
core.info(`Cache hit for: ${request.key}`);
|
||||||
|
|
|
||||||
2
node_modules/@actions/cache/lib/cache.js.map
generated
vendored
2
node_modules/@actions/cache/lib/cache.js.map
generated
vendored
File diff suppressed because one or more lines are too long
173
node_modules/@actions/cache/lib/generated/results/api/v1/cache.d.ts
generated
vendored
173
node_modules/@actions/cache/lib/generated/results/api/v1/cache.d.ts
generated
vendored
|
|
@ -5,7 +5,6 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
||||||
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
||||||
import type { PartialMessage } from "@protobuf-ts/runtime";
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
||||||
import { MessageType } from "@protobuf-ts/runtime";
|
import { MessageType } from "@protobuf-ts/runtime";
|
||||||
import { CacheEntry } from "../../entities/v1/cacheentry";
|
|
||||||
import { CacheMetadata } from "../../entities/v1/cachemetadata";
|
import { CacheMetadata } from "../../entities/v1/cachemetadata";
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message github.actions.results.api.v1.CreateCacheEntryRequest
|
* @generated from protobuf message github.actions.results.api.v1.CreateCacheEntryRequest
|
||||||
|
|
@ -139,118 +138,6 @@ export interface GetCacheEntryDownloadURLResponse {
|
||||||
*/
|
*/
|
||||||
matchedKey: string;
|
matchedKey: string;
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* @generated from protobuf message github.actions.results.api.v1.DeleteCacheEntryRequest
|
|
||||||
*/
|
|
||||||
export interface DeleteCacheEntryRequest {
|
|
||||||
/**
|
|
||||||
* Scope and other metadata for the cache entry
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: github.actions.results.entities.v1.CacheMetadata metadata = 1;
|
|
||||||
*/
|
|
||||||
metadata?: CacheMetadata;
|
|
||||||
/**
|
|
||||||
* An explicit key for a cache entry
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: string key = 2;
|
|
||||||
*/
|
|
||||||
key: string;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated from protobuf message github.actions.results.api.v1.DeleteCacheEntryResponse
|
|
||||||
*/
|
|
||||||
export interface DeleteCacheEntryResponse {
|
|
||||||
/**
|
|
||||||
* @generated from protobuf field: bool ok = 1;
|
|
||||||
*/
|
|
||||||
ok: boolean;
|
|
||||||
/**
|
|
||||||
* Cache entry database ID
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: int64 entry_id = 2;
|
|
||||||
*/
|
|
||||||
entryId: string;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated from protobuf message github.actions.results.api.v1.ListCacheEntriesRequest
|
|
||||||
*/
|
|
||||||
export interface ListCacheEntriesRequest {
|
|
||||||
/**
|
|
||||||
* Scope and other metadata for the cache entry
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: github.actions.results.entities.v1.CacheMetadata metadata = 1;
|
|
||||||
*/
|
|
||||||
metadata?: CacheMetadata;
|
|
||||||
/**
|
|
||||||
* An explicit key for a cache entry
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: string key = 2;
|
|
||||||
*/
|
|
||||||
key: string;
|
|
||||||
/**
|
|
||||||
* Restore keys used for prefix searching
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: repeated string restore_keys = 3;
|
|
||||||
*/
|
|
||||||
restoreKeys: string[];
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated from protobuf message github.actions.results.api.v1.ListCacheEntriesResponse
|
|
||||||
*/
|
|
||||||
export interface ListCacheEntriesResponse {
|
|
||||||
/**
|
|
||||||
* Cache entries in the defined scope
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: repeated github.actions.results.entities.v1.CacheEntry entries = 1;
|
|
||||||
*/
|
|
||||||
entries: CacheEntry[];
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated from protobuf message github.actions.results.api.v1.LookupCacheEntryRequest
|
|
||||||
*/
|
|
||||||
export interface LookupCacheEntryRequest {
|
|
||||||
/**
|
|
||||||
* Scope and other metadata for the cache entry
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: github.actions.results.entities.v1.CacheMetadata metadata = 1;
|
|
||||||
*/
|
|
||||||
metadata?: CacheMetadata;
|
|
||||||
/**
|
|
||||||
* An explicit key for a cache entry
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: string key = 2;
|
|
||||||
*/
|
|
||||||
key: string;
|
|
||||||
/**
|
|
||||||
* Restore keys used for prefix searching
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: repeated string restore_keys = 3;
|
|
||||||
*/
|
|
||||||
restoreKeys: string[];
|
|
||||||
/**
|
|
||||||
* Hash of the compression tool, runner OS and paths cached
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: string version = 4;
|
|
||||||
*/
|
|
||||||
version: string;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated from protobuf message github.actions.results.api.v1.LookupCacheEntryResponse
|
|
||||||
*/
|
|
||||||
export interface LookupCacheEntryResponse {
|
|
||||||
/**
|
|
||||||
* Indicates whether the cache entry exists or not
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: bool exists = 1;
|
|
||||||
*/
|
|
||||||
exists: boolean;
|
|
||||||
/**
|
|
||||||
* Matched cache entry metadata
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: github.actions.results.entities.v1.CacheEntry entry = 2;
|
|
||||||
*/
|
|
||||||
entry?: CacheEntry;
|
|
||||||
}
|
|
||||||
declare class CreateCacheEntryRequest$Type extends MessageType<CreateCacheEntryRequest> {
|
declare class CreateCacheEntryRequest$Type extends MessageType<CreateCacheEntryRequest> {
|
||||||
constructor();
|
constructor();
|
||||||
create(value?: PartialMessage<CreateCacheEntryRequest>): CreateCacheEntryRequest;
|
create(value?: PartialMessage<CreateCacheEntryRequest>): CreateCacheEntryRequest;
|
||||||
|
|
@ -311,66 +198,6 @@ declare class GetCacheEntryDownloadURLResponse$Type extends MessageType<GetCache
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.GetCacheEntryDownloadURLResponse
|
* @generated MessageType for protobuf message github.actions.results.api.v1.GetCacheEntryDownloadURLResponse
|
||||||
*/
|
*/
|
||||||
export declare const GetCacheEntryDownloadURLResponse: GetCacheEntryDownloadURLResponse$Type;
|
export declare const GetCacheEntryDownloadURLResponse: GetCacheEntryDownloadURLResponse$Type;
|
||||||
declare class DeleteCacheEntryRequest$Type extends MessageType<DeleteCacheEntryRequest> {
|
|
||||||
constructor();
|
|
||||||
create(value?: PartialMessage<DeleteCacheEntryRequest>): DeleteCacheEntryRequest;
|
|
||||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteCacheEntryRequest): DeleteCacheEntryRequest;
|
|
||||||
internalBinaryWrite(message: DeleteCacheEntryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.DeleteCacheEntryRequest
|
|
||||||
*/
|
|
||||||
export declare const DeleteCacheEntryRequest: DeleteCacheEntryRequest$Type;
|
|
||||||
declare class DeleteCacheEntryResponse$Type extends MessageType<DeleteCacheEntryResponse> {
|
|
||||||
constructor();
|
|
||||||
create(value?: PartialMessage<DeleteCacheEntryResponse>): DeleteCacheEntryResponse;
|
|
||||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteCacheEntryResponse): DeleteCacheEntryResponse;
|
|
||||||
internalBinaryWrite(message: DeleteCacheEntryResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.DeleteCacheEntryResponse
|
|
||||||
*/
|
|
||||||
export declare const DeleteCacheEntryResponse: DeleteCacheEntryResponse$Type;
|
|
||||||
declare class ListCacheEntriesRequest$Type extends MessageType<ListCacheEntriesRequest> {
|
|
||||||
constructor();
|
|
||||||
create(value?: PartialMessage<ListCacheEntriesRequest>): ListCacheEntriesRequest;
|
|
||||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListCacheEntriesRequest): ListCacheEntriesRequest;
|
|
||||||
internalBinaryWrite(message: ListCacheEntriesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.ListCacheEntriesRequest
|
|
||||||
*/
|
|
||||||
export declare const ListCacheEntriesRequest: ListCacheEntriesRequest$Type;
|
|
||||||
declare class ListCacheEntriesResponse$Type extends MessageType<ListCacheEntriesResponse> {
|
|
||||||
constructor();
|
|
||||||
create(value?: PartialMessage<ListCacheEntriesResponse>): ListCacheEntriesResponse;
|
|
||||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListCacheEntriesResponse): ListCacheEntriesResponse;
|
|
||||||
internalBinaryWrite(message: ListCacheEntriesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.ListCacheEntriesResponse
|
|
||||||
*/
|
|
||||||
export declare const ListCacheEntriesResponse: ListCacheEntriesResponse$Type;
|
|
||||||
declare class LookupCacheEntryRequest$Type extends MessageType<LookupCacheEntryRequest> {
|
|
||||||
constructor();
|
|
||||||
create(value?: PartialMessage<LookupCacheEntryRequest>): LookupCacheEntryRequest;
|
|
||||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LookupCacheEntryRequest): LookupCacheEntryRequest;
|
|
||||||
internalBinaryWrite(message: LookupCacheEntryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.LookupCacheEntryRequest
|
|
||||||
*/
|
|
||||||
export declare const LookupCacheEntryRequest: LookupCacheEntryRequest$Type;
|
|
||||||
declare class LookupCacheEntryResponse$Type extends MessageType<LookupCacheEntryResponse> {
|
|
||||||
constructor();
|
|
||||||
create(value?: PartialMessage<LookupCacheEntryResponse>): LookupCacheEntryResponse;
|
|
||||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LookupCacheEntryResponse): LookupCacheEntryResponse;
|
|
||||||
internalBinaryWrite(message: LookupCacheEntryResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.LookupCacheEntryResponse
|
|
||||||
*/
|
|
||||||
export declare const LookupCacheEntryResponse: LookupCacheEntryResponse$Type;
|
|
||||||
/**
|
/**
|
||||||
* @generated ServiceType for protobuf service github.actions.results.api.v1.CacheService
|
* @generated ServiceType for protobuf service github.actions.results.api.v1.CacheService
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
346
node_modules/@actions/cache/lib/generated/results/api/v1/cache.js
generated
vendored
346
node_modules/@actions/cache/lib/generated/results/api/v1/cache.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
exports.CacheService = exports.LookupCacheEntryResponse = exports.LookupCacheEntryRequest = exports.ListCacheEntriesResponse = exports.ListCacheEntriesRequest = exports.DeleteCacheEntryResponse = exports.DeleteCacheEntryRequest = exports.GetCacheEntryDownloadURLResponse = exports.GetCacheEntryDownloadURLRequest = exports.FinalizeCacheEntryUploadResponse = exports.FinalizeCacheEntryUploadRequest = exports.CreateCacheEntryResponse = exports.CreateCacheEntryRequest = void 0;
|
exports.CacheService = exports.GetCacheEntryDownloadURLResponse = exports.GetCacheEntryDownloadURLRequest = exports.FinalizeCacheEntryUploadResponse = exports.FinalizeCacheEntryUploadRequest = exports.CreateCacheEntryResponse = exports.CreateCacheEntryRequest = void 0;
|
||||||
// @generated by protobuf-ts 2.9.1 with parameter long_type_string,client_none,generate_dependencies
|
// @generated by protobuf-ts 2.9.1 with parameter long_type_string,client_none,generate_dependencies
|
||||||
// @generated from protobuf file "results/api/v1/cache.proto" (package "github.actions.results.api.v1", syntax proto3)
|
// @generated from protobuf file "results/api/v1/cache.proto" (package "github.actions.results.api.v1", syntax proto3)
|
||||||
// tslint:disable
|
// tslint:disable
|
||||||
|
|
@ -10,7 +10,6 @@ const runtime_2 = require("@protobuf-ts/runtime");
|
||||||
const runtime_3 = require("@protobuf-ts/runtime");
|
const runtime_3 = require("@protobuf-ts/runtime");
|
||||||
const runtime_4 = require("@protobuf-ts/runtime");
|
const runtime_4 = require("@protobuf-ts/runtime");
|
||||||
const runtime_5 = require("@protobuf-ts/runtime");
|
const runtime_5 = require("@protobuf-ts/runtime");
|
||||||
const cacheentry_1 = require("../../entities/v1/cacheentry");
|
|
||||||
const cachemetadata_1 = require("../../entities/v1/cachemetadata");
|
const cachemetadata_1 = require("../../entities/v1/cachemetadata");
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
// @generated message type with reflection information, may provide speed optimized methods
|
||||||
class CreateCacheEntryRequest$Type extends runtime_5.MessageType {
|
class CreateCacheEntryRequest$Type extends runtime_5.MessageType {
|
||||||
|
|
@ -378,353 +377,12 @@ class GetCacheEntryDownloadURLResponse$Type extends runtime_5.MessageType {
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.GetCacheEntryDownloadURLResponse
|
* @generated MessageType for protobuf message github.actions.results.api.v1.GetCacheEntryDownloadURLResponse
|
||||||
*/
|
*/
|
||||||
exports.GetCacheEntryDownloadURLResponse = new GetCacheEntryDownloadURLResponse$Type();
|
exports.GetCacheEntryDownloadURLResponse = new GetCacheEntryDownloadURLResponse$Type();
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
|
||||||
class DeleteCacheEntryRequest$Type extends runtime_5.MessageType {
|
|
||||||
constructor() {
|
|
||||||
super("github.actions.results.api.v1.DeleteCacheEntryRequest", [
|
|
||||||
{ no: 1, name: "metadata", kind: "message", T: () => cachemetadata_1.CacheMetadata },
|
|
||||||
{ no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
create(value) {
|
|
||||||
const message = { key: "" };
|
|
||||||
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
||||||
if (value !== undefined)
|
|
||||||
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryRead(reader, length, options, target) {
|
|
||||||
let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
|
|
||||||
while (reader.pos < end) {
|
|
||||||
let [fieldNo, wireType] = reader.tag();
|
|
||||||
switch (fieldNo) {
|
|
||||||
case /* github.actions.results.entities.v1.CacheMetadata metadata */ 1:
|
|
||||||
message.metadata = cachemetadata_1.CacheMetadata.internalBinaryRead(reader, reader.uint32(), options, message.metadata);
|
|
||||||
break;
|
|
||||||
case /* string key */ 2:
|
|
||||||
message.key = reader.string();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
let u = options.readUnknownField;
|
|
||||||
if (u === "throw")
|
|
||||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
||||||
let d = reader.skip(wireType);
|
|
||||||
if (u !== false)
|
|
||||||
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryWrite(message, writer, options) {
|
|
||||||
/* github.actions.results.entities.v1.CacheMetadata metadata = 1; */
|
|
||||||
if (message.metadata)
|
|
||||||
cachemetadata_1.CacheMetadata.internalBinaryWrite(message.metadata, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
||||||
/* string key = 2; */
|
|
||||||
if (message.key !== "")
|
|
||||||
writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.key);
|
|
||||||
let u = options.writeUnknownFields;
|
|
||||||
if (u !== false)
|
|
||||||
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
||||||
return writer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.DeleteCacheEntryRequest
|
|
||||||
*/
|
|
||||||
exports.DeleteCacheEntryRequest = new DeleteCacheEntryRequest$Type();
|
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
|
||||||
class DeleteCacheEntryResponse$Type extends runtime_5.MessageType {
|
|
||||||
constructor() {
|
|
||||||
super("github.actions.results.api.v1.DeleteCacheEntryResponse", [
|
|
||||||
{ no: 1, name: "ok", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
||||||
{ no: 2, name: "entry_id", kind: "scalar", T: 3 /*ScalarType.INT64*/ }
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
create(value) {
|
|
||||||
const message = { ok: false, entryId: "0" };
|
|
||||||
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
||||||
if (value !== undefined)
|
|
||||||
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryRead(reader, length, options, target) {
|
|
||||||
let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
|
|
||||||
while (reader.pos < end) {
|
|
||||||
let [fieldNo, wireType] = reader.tag();
|
|
||||||
switch (fieldNo) {
|
|
||||||
case /* bool ok */ 1:
|
|
||||||
message.ok = reader.bool();
|
|
||||||
break;
|
|
||||||
case /* int64 entry_id */ 2:
|
|
||||||
message.entryId = reader.int64().toString();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
let u = options.readUnknownField;
|
|
||||||
if (u === "throw")
|
|
||||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
||||||
let d = reader.skip(wireType);
|
|
||||||
if (u !== false)
|
|
||||||
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryWrite(message, writer, options) {
|
|
||||||
/* bool ok = 1; */
|
|
||||||
if (message.ok !== false)
|
|
||||||
writer.tag(1, runtime_1.WireType.Varint).bool(message.ok);
|
|
||||||
/* int64 entry_id = 2; */
|
|
||||||
if (message.entryId !== "0")
|
|
||||||
writer.tag(2, runtime_1.WireType.Varint).int64(message.entryId);
|
|
||||||
let u = options.writeUnknownFields;
|
|
||||||
if (u !== false)
|
|
||||||
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
||||||
return writer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.DeleteCacheEntryResponse
|
|
||||||
*/
|
|
||||||
exports.DeleteCacheEntryResponse = new DeleteCacheEntryResponse$Type();
|
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
|
||||||
class ListCacheEntriesRequest$Type extends runtime_5.MessageType {
|
|
||||||
constructor() {
|
|
||||||
super("github.actions.results.api.v1.ListCacheEntriesRequest", [
|
|
||||||
{ no: 1, name: "metadata", kind: "message", T: () => cachemetadata_1.CacheMetadata },
|
|
||||||
{ no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
||||||
{ no: 3, name: "restore_keys", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
create(value) {
|
|
||||||
const message = { key: "", restoreKeys: [] };
|
|
||||||
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
||||||
if (value !== undefined)
|
|
||||||
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryRead(reader, length, options, target) {
|
|
||||||
let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
|
|
||||||
while (reader.pos < end) {
|
|
||||||
let [fieldNo, wireType] = reader.tag();
|
|
||||||
switch (fieldNo) {
|
|
||||||
case /* github.actions.results.entities.v1.CacheMetadata metadata */ 1:
|
|
||||||
message.metadata = cachemetadata_1.CacheMetadata.internalBinaryRead(reader, reader.uint32(), options, message.metadata);
|
|
||||||
break;
|
|
||||||
case /* string key */ 2:
|
|
||||||
message.key = reader.string();
|
|
||||||
break;
|
|
||||||
case /* repeated string restore_keys */ 3:
|
|
||||||
message.restoreKeys.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
let u = options.readUnknownField;
|
|
||||||
if (u === "throw")
|
|
||||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
||||||
let d = reader.skip(wireType);
|
|
||||||
if (u !== false)
|
|
||||||
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryWrite(message, writer, options) {
|
|
||||||
/* github.actions.results.entities.v1.CacheMetadata metadata = 1; */
|
|
||||||
if (message.metadata)
|
|
||||||
cachemetadata_1.CacheMetadata.internalBinaryWrite(message.metadata, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
||||||
/* string key = 2; */
|
|
||||||
if (message.key !== "")
|
|
||||||
writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.key);
|
|
||||||
/* repeated string restore_keys = 3; */
|
|
||||||
for (let i = 0; i < message.restoreKeys.length; i++)
|
|
||||||
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.restoreKeys[i]);
|
|
||||||
let u = options.writeUnknownFields;
|
|
||||||
if (u !== false)
|
|
||||||
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
||||||
return writer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.ListCacheEntriesRequest
|
|
||||||
*/
|
|
||||||
exports.ListCacheEntriesRequest = new ListCacheEntriesRequest$Type();
|
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
|
||||||
class ListCacheEntriesResponse$Type extends runtime_5.MessageType {
|
|
||||||
constructor() {
|
|
||||||
super("github.actions.results.api.v1.ListCacheEntriesResponse", [
|
|
||||||
{ no: 1, name: "entries", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => cacheentry_1.CacheEntry }
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
create(value) {
|
|
||||||
const message = { entries: [] };
|
|
||||||
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
||||||
if (value !== undefined)
|
|
||||||
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryRead(reader, length, options, target) {
|
|
||||||
let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
|
|
||||||
while (reader.pos < end) {
|
|
||||||
let [fieldNo, wireType] = reader.tag();
|
|
||||||
switch (fieldNo) {
|
|
||||||
case /* repeated github.actions.results.entities.v1.CacheEntry entries */ 1:
|
|
||||||
message.entries.push(cacheentry_1.CacheEntry.internalBinaryRead(reader, reader.uint32(), options));
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
let u = options.readUnknownField;
|
|
||||||
if (u === "throw")
|
|
||||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
||||||
let d = reader.skip(wireType);
|
|
||||||
if (u !== false)
|
|
||||||
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryWrite(message, writer, options) {
|
|
||||||
/* repeated github.actions.results.entities.v1.CacheEntry entries = 1; */
|
|
||||||
for (let i = 0; i < message.entries.length; i++)
|
|
||||||
cacheentry_1.CacheEntry.internalBinaryWrite(message.entries[i], writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
||||||
let u = options.writeUnknownFields;
|
|
||||||
if (u !== false)
|
|
||||||
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
||||||
return writer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.ListCacheEntriesResponse
|
|
||||||
*/
|
|
||||||
exports.ListCacheEntriesResponse = new ListCacheEntriesResponse$Type();
|
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
|
||||||
class LookupCacheEntryRequest$Type extends runtime_5.MessageType {
|
|
||||||
constructor() {
|
|
||||||
super("github.actions.results.api.v1.LookupCacheEntryRequest", [
|
|
||||||
{ no: 1, name: "metadata", kind: "message", T: () => cachemetadata_1.CacheMetadata },
|
|
||||||
{ no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
||||||
{ no: 3, name: "restore_keys", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
||||||
{ no: 4, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
create(value) {
|
|
||||||
const message = { key: "", restoreKeys: [], version: "" };
|
|
||||||
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
||||||
if (value !== undefined)
|
|
||||||
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryRead(reader, length, options, target) {
|
|
||||||
let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
|
|
||||||
while (reader.pos < end) {
|
|
||||||
let [fieldNo, wireType] = reader.tag();
|
|
||||||
switch (fieldNo) {
|
|
||||||
case /* github.actions.results.entities.v1.CacheMetadata metadata */ 1:
|
|
||||||
message.metadata = cachemetadata_1.CacheMetadata.internalBinaryRead(reader, reader.uint32(), options, message.metadata);
|
|
||||||
break;
|
|
||||||
case /* string key */ 2:
|
|
||||||
message.key = reader.string();
|
|
||||||
break;
|
|
||||||
case /* repeated string restore_keys */ 3:
|
|
||||||
message.restoreKeys.push(reader.string());
|
|
||||||
break;
|
|
||||||
case /* string version */ 4:
|
|
||||||
message.version = reader.string();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
let u = options.readUnknownField;
|
|
||||||
if (u === "throw")
|
|
||||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
||||||
let d = reader.skip(wireType);
|
|
||||||
if (u !== false)
|
|
||||||
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryWrite(message, writer, options) {
|
|
||||||
/* github.actions.results.entities.v1.CacheMetadata metadata = 1; */
|
|
||||||
if (message.metadata)
|
|
||||||
cachemetadata_1.CacheMetadata.internalBinaryWrite(message.metadata, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
||||||
/* string key = 2; */
|
|
||||||
if (message.key !== "")
|
|
||||||
writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.key);
|
|
||||||
/* repeated string restore_keys = 3; */
|
|
||||||
for (let i = 0; i < message.restoreKeys.length; i++)
|
|
||||||
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.restoreKeys[i]);
|
|
||||||
/* string version = 4; */
|
|
||||||
if (message.version !== "")
|
|
||||||
writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.version);
|
|
||||||
let u = options.writeUnknownFields;
|
|
||||||
if (u !== false)
|
|
||||||
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
||||||
return writer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.LookupCacheEntryRequest
|
|
||||||
*/
|
|
||||||
exports.LookupCacheEntryRequest = new LookupCacheEntryRequest$Type();
|
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
|
||||||
class LookupCacheEntryResponse$Type extends runtime_5.MessageType {
|
|
||||||
constructor() {
|
|
||||||
super("github.actions.results.api.v1.LookupCacheEntryResponse", [
|
|
||||||
{ no: 1, name: "exists", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
||||||
{ no: 2, name: "entry", kind: "message", T: () => cacheentry_1.CacheEntry }
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
create(value) {
|
|
||||||
const message = { exists: false };
|
|
||||||
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
||||||
if (value !== undefined)
|
|
||||||
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryRead(reader, length, options, target) {
|
|
||||||
let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
|
|
||||||
while (reader.pos < end) {
|
|
||||||
let [fieldNo, wireType] = reader.tag();
|
|
||||||
switch (fieldNo) {
|
|
||||||
case /* bool exists */ 1:
|
|
||||||
message.exists = reader.bool();
|
|
||||||
break;
|
|
||||||
case /* github.actions.results.entities.v1.CacheEntry entry */ 2:
|
|
||||||
message.entry = cacheentry_1.CacheEntry.internalBinaryRead(reader, reader.uint32(), options, message.entry);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
let u = options.readUnknownField;
|
|
||||||
if (u === "throw")
|
|
||||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
||||||
let d = reader.skip(wireType);
|
|
||||||
if (u !== false)
|
|
||||||
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryWrite(message, writer, options) {
|
|
||||||
/* bool exists = 1; */
|
|
||||||
if (message.exists !== false)
|
|
||||||
writer.tag(1, runtime_1.WireType.Varint).bool(message.exists);
|
|
||||||
/* github.actions.results.entities.v1.CacheEntry entry = 2; */
|
|
||||||
if (message.entry)
|
|
||||||
cacheentry_1.CacheEntry.internalBinaryWrite(message.entry, writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
||||||
let u = options.writeUnknownFields;
|
|
||||||
if (u !== false)
|
|
||||||
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
||||||
return writer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.api.v1.LookupCacheEntryResponse
|
|
||||||
*/
|
|
||||||
exports.LookupCacheEntryResponse = new LookupCacheEntryResponse$Type();
|
|
||||||
/**
|
/**
|
||||||
* @generated ServiceType for protobuf service github.actions.results.api.v1.CacheService
|
* @generated ServiceType for protobuf service github.actions.results.api.v1.CacheService
|
||||||
*/
|
*/
|
||||||
exports.CacheService = new runtime_rpc_1.ServiceType("github.actions.results.api.v1.CacheService", [
|
exports.CacheService = new runtime_rpc_1.ServiceType("github.actions.results.api.v1.CacheService", [
|
||||||
{ name: "CreateCacheEntry", options: {}, I: exports.CreateCacheEntryRequest, O: exports.CreateCacheEntryResponse },
|
{ name: "CreateCacheEntry", options: {}, I: exports.CreateCacheEntryRequest, O: exports.CreateCacheEntryResponse },
|
||||||
{ name: "FinalizeCacheEntryUpload", options: {}, I: exports.FinalizeCacheEntryUploadRequest, O: exports.FinalizeCacheEntryUploadResponse },
|
{ name: "FinalizeCacheEntryUpload", options: {}, I: exports.FinalizeCacheEntryUploadRequest, O: exports.FinalizeCacheEntryUploadResponse },
|
||||||
{ name: "GetCacheEntryDownloadURL", options: {}, I: exports.GetCacheEntryDownloadURLRequest, O: exports.GetCacheEntryDownloadURLResponse },
|
{ name: "GetCacheEntryDownloadURL", options: {}, I: exports.GetCacheEntryDownloadURLRequest, O: exports.GetCacheEntryDownloadURLResponse }
|
||||||
{ name: "DeleteCacheEntry", options: {}, I: exports.DeleteCacheEntryRequest, O: exports.DeleteCacheEntryResponse },
|
|
||||||
{ name: "ListCacheEntries", options: {}, I: exports.ListCacheEntriesRequest, O: exports.ListCacheEntriesResponse },
|
|
||||||
{ name: "LookupCacheEntry", options: {}, I: exports.LookupCacheEntryRequest, O: exports.LookupCacheEntryResponse }
|
|
||||||
]);
|
]);
|
||||||
//# sourceMappingURL=cache.js.map
|
//# sourceMappingURL=cache.js.map
|
||||||
2
node_modules/@actions/cache/lib/generated/results/api/v1/cache.js.map
generated
vendored
2
node_modules/@actions/cache/lib/generated/results/api/v1/cache.js.map
generated
vendored
File diff suppressed because one or more lines are too long
24
node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp-client.d.ts
generated
vendored
Normal file
24
node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp-client.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
import { CreateCacheEntryRequest, CreateCacheEntryResponse, FinalizeCacheEntryUploadRequest, FinalizeCacheEntryUploadResponse, GetCacheEntryDownloadURLRequest, GetCacheEntryDownloadURLResponse } from "./cache";
|
||||||
|
interface Rpc {
|
||||||
|
request(service: string, method: string, contentType: "application/json" | "application/protobuf", data: object | Uint8Array): Promise<object | Uint8Array>;
|
||||||
|
}
|
||||||
|
export interface CacheServiceClient {
|
||||||
|
CreateCacheEntry(request: CreateCacheEntryRequest): Promise<CreateCacheEntryResponse>;
|
||||||
|
FinalizeCacheEntryUpload(request: FinalizeCacheEntryUploadRequest): Promise<FinalizeCacheEntryUploadResponse>;
|
||||||
|
GetCacheEntryDownloadURL(request: GetCacheEntryDownloadURLRequest): Promise<GetCacheEntryDownloadURLResponse>;
|
||||||
|
}
|
||||||
|
export declare class CacheServiceClientJSON implements CacheServiceClient {
|
||||||
|
private readonly rpc;
|
||||||
|
constructor(rpc: Rpc);
|
||||||
|
CreateCacheEntry(request: CreateCacheEntryRequest): Promise<CreateCacheEntryResponse>;
|
||||||
|
FinalizeCacheEntryUpload(request: FinalizeCacheEntryUploadRequest): Promise<FinalizeCacheEntryUploadResponse>;
|
||||||
|
GetCacheEntryDownloadURL(request: GetCacheEntryDownloadURLRequest): Promise<GetCacheEntryDownloadURLResponse>;
|
||||||
|
}
|
||||||
|
export declare class CacheServiceClientProtobuf implements CacheServiceClient {
|
||||||
|
private readonly rpc;
|
||||||
|
constructor(rpc: Rpc);
|
||||||
|
CreateCacheEntry(request: CreateCacheEntryRequest): Promise<CreateCacheEntryResponse>;
|
||||||
|
FinalizeCacheEntryUpload(request: FinalizeCacheEntryUploadRequest): Promise<FinalizeCacheEntryUploadResponse>;
|
||||||
|
GetCacheEntryDownloadURL(request: GetCacheEntryDownloadURLRequest): Promise<GetCacheEntryDownloadURLResponse>;
|
||||||
|
}
|
||||||
|
export {};
|
||||||
68
node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp-client.js
generated
vendored
Normal file
68
node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp-client.js
generated
vendored
Normal file
|
|
@ -0,0 +1,68 @@
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
exports.CacheServiceClientProtobuf = exports.CacheServiceClientJSON = void 0;
|
||||||
|
const cache_1 = require("./cache");
|
||||||
|
class CacheServiceClientJSON {
|
||||||
|
constructor(rpc) {
|
||||||
|
this.rpc = rpc;
|
||||||
|
this.CreateCacheEntry.bind(this);
|
||||||
|
this.FinalizeCacheEntryUpload.bind(this);
|
||||||
|
this.GetCacheEntryDownloadURL.bind(this);
|
||||||
|
}
|
||||||
|
CreateCacheEntry(request) {
|
||||||
|
const data = cache_1.CreateCacheEntryRequest.toJson(request, {
|
||||||
|
useProtoFieldName: true,
|
||||||
|
emitDefaultValues: false,
|
||||||
|
});
|
||||||
|
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "CreateCacheEntry", "application/json", data);
|
||||||
|
return promise.then((data) => cache_1.CreateCacheEntryResponse.fromJson(data, {
|
||||||
|
ignoreUnknownFields: true,
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
FinalizeCacheEntryUpload(request) {
|
||||||
|
const data = cache_1.FinalizeCacheEntryUploadRequest.toJson(request, {
|
||||||
|
useProtoFieldName: true,
|
||||||
|
emitDefaultValues: false,
|
||||||
|
});
|
||||||
|
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "FinalizeCacheEntryUpload", "application/json", data);
|
||||||
|
return promise.then((data) => cache_1.FinalizeCacheEntryUploadResponse.fromJson(data, {
|
||||||
|
ignoreUnknownFields: true,
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
GetCacheEntryDownloadURL(request) {
|
||||||
|
const data = cache_1.GetCacheEntryDownloadURLRequest.toJson(request, {
|
||||||
|
useProtoFieldName: true,
|
||||||
|
emitDefaultValues: false,
|
||||||
|
});
|
||||||
|
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "GetCacheEntryDownloadURL", "application/json", data);
|
||||||
|
return promise.then((data) => cache_1.GetCacheEntryDownloadURLResponse.fromJson(data, {
|
||||||
|
ignoreUnknownFields: true,
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
exports.CacheServiceClientJSON = CacheServiceClientJSON;
|
||||||
|
class CacheServiceClientProtobuf {
|
||||||
|
constructor(rpc) {
|
||||||
|
this.rpc = rpc;
|
||||||
|
this.CreateCacheEntry.bind(this);
|
||||||
|
this.FinalizeCacheEntryUpload.bind(this);
|
||||||
|
this.GetCacheEntryDownloadURL.bind(this);
|
||||||
|
}
|
||||||
|
CreateCacheEntry(request) {
|
||||||
|
const data = cache_1.CreateCacheEntryRequest.toBinary(request);
|
||||||
|
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "CreateCacheEntry", "application/protobuf", data);
|
||||||
|
return promise.then((data) => cache_1.CreateCacheEntryResponse.fromBinary(data));
|
||||||
|
}
|
||||||
|
FinalizeCacheEntryUpload(request) {
|
||||||
|
const data = cache_1.FinalizeCacheEntryUploadRequest.toBinary(request);
|
||||||
|
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "FinalizeCacheEntryUpload", "application/protobuf", data);
|
||||||
|
return promise.then((data) => cache_1.FinalizeCacheEntryUploadResponse.fromBinary(data));
|
||||||
|
}
|
||||||
|
GetCacheEntryDownloadURL(request) {
|
||||||
|
const data = cache_1.GetCacheEntryDownloadURLRequest.toBinary(request);
|
||||||
|
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "GetCacheEntryDownloadURL", "application/protobuf", data);
|
||||||
|
return promise.then((data) => cache_1.GetCacheEntryDownloadURLResponse.fromBinary(data));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
exports.CacheServiceClientProtobuf = CacheServiceClientProtobuf;
|
||||||
|
//# sourceMappingURL=cache.twirp-client.js.map
|
||||||
1
node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp-client.js.map
generated
vendored
Normal file
1
node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp-client.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
{"version":3,"file":"cache.twirp-client.js","sourceRoot":"","sources":["../../../../../src/generated/results/api/v1/cache.twirp-client.ts"],"names":[],"mappings":";;;A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AA4C,EAC5C,0BAA0B,EAC1B,sBAAsB,EACtB,IAAI,CACL,CAAC;QACF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAC3B,wCAAgC,CAAC,UAAU,CAAC,IAAkB,CAAC,CAChE,CAAC;IACJ,CAAC;IAED,wBAAwB,CACtB,OAAwC;QAExC,MAAM,IAAI,GAAG,uCAA+B,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAC/D,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAC9B,4CAA4C,EAC5C,0BAA0B,EAC1B,sBAAsB,EACtB,IAAI,CACL,CAAC;QACF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAC3B,wCAAgC,CAAC,UAAU,CAAC,IAAkB,CAAC,CAChE,CAAC;IACJ,CAAC;CACF;AApDD,gEAoDC"}
|
||||||
53
node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp.d.ts
generated
vendored
53
node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp.d.ts
generated
vendored
|
|
@ -1,53 +0,0 @@
|
||||||
/// <reference types="node" />
|
|
||||||
import { TwirpContext, TwirpServer } from "twirp-ts";
|
|
||||||
import { CreateCacheEntryRequest, CreateCacheEntryResponse, FinalizeCacheEntryUploadRequest, FinalizeCacheEntryUploadResponse, GetCacheEntryDownloadURLRequest, GetCacheEntryDownloadURLResponse, DeleteCacheEntryRequest, DeleteCacheEntryResponse, ListCacheEntriesRequest, ListCacheEntriesResponse, LookupCacheEntryRequest, LookupCacheEntryResponse } from "./cache";
|
|
||||||
interface Rpc {
|
|
||||||
request(service: string, method: string, contentType: "application/json" | "application/protobuf", data: object | Uint8Array): Promise<object | Uint8Array>;
|
|
||||||
}
|
|
||||||
export interface CacheServiceClient {
|
|
||||||
CreateCacheEntry(request: CreateCacheEntryRequest): Promise<CreateCacheEntryResponse>;
|
|
||||||
FinalizeCacheEntryUpload(request: FinalizeCacheEntryUploadRequest): Promise<FinalizeCacheEntryUploadResponse>;
|
|
||||||
GetCacheEntryDownloadURL(request: GetCacheEntryDownloadURLRequest): Promise<GetCacheEntryDownloadURLResponse>;
|
|
||||||
DeleteCacheEntry(request: DeleteCacheEntryRequest): Promise<DeleteCacheEntryResponse>;
|
|
||||||
ListCacheEntries(request: ListCacheEntriesRequest): Promise<ListCacheEntriesResponse>;
|
|
||||||
LookupCacheEntry(request: LookupCacheEntryRequest): Promise<LookupCacheEntryResponse>;
|
|
||||||
}
|
|
||||||
export declare class CacheServiceClientJSON implements CacheServiceClient {
|
|
||||||
private readonly rpc;
|
|
||||||
constructor(rpc: Rpc);
|
|
||||||
CreateCacheEntry(request: CreateCacheEntryRequest): Promise<CreateCacheEntryResponse>;
|
|
||||||
FinalizeCacheEntryUpload(request: FinalizeCacheEntryUploadRequest): Promise<FinalizeCacheEntryUploadResponse>;
|
|
||||||
GetCacheEntryDownloadURL(request: GetCacheEntryDownloadURLRequest): Promise<GetCacheEntryDownloadURLResponse>;
|
|
||||||
DeleteCacheEntry(request: DeleteCacheEntryRequest): Promise<DeleteCacheEntryResponse>;
|
|
||||||
ListCacheEntries(request: ListCacheEntriesRequest): Promise<ListCacheEntriesResponse>;
|
|
||||||
LookupCacheEntry(request: LookupCacheEntryRequest): Promise<LookupCacheEntryResponse>;
|
|
||||||
}
|
|
||||||
export declare class CacheServiceClientProtobuf implements CacheServiceClient {
|
|
||||||
private readonly rpc;
|
|
||||||
constructor(rpc: Rpc);
|
|
||||||
CreateCacheEntry(request: CreateCacheEntryRequest): Promise<CreateCacheEntryResponse>;
|
|
||||||
FinalizeCacheEntryUpload(request: FinalizeCacheEntryUploadRequest): Promise<FinalizeCacheEntryUploadResponse>;
|
|
||||||
GetCacheEntryDownloadURL(request: GetCacheEntryDownloadURLRequest): Promise<GetCacheEntryDownloadURLResponse>;
|
|
||||||
DeleteCacheEntry(request: DeleteCacheEntryRequest): Promise<DeleteCacheEntryResponse>;
|
|
||||||
ListCacheEntries(request: ListCacheEntriesRequest): Promise<ListCacheEntriesResponse>;
|
|
||||||
LookupCacheEntry(request: LookupCacheEntryRequest): Promise<LookupCacheEntryResponse>;
|
|
||||||
}
|
|
||||||
export interface CacheServiceTwirp<T extends TwirpContext = TwirpContext> {
|
|
||||||
CreateCacheEntry(ctx: T, request: CreateCacheEntryRequest): Promise<CreateCacheEntryResponse>;
|
|
||||||
FinalizeCacheEntryUpload(ctx: T, request: FinalizeCacheEntryUploadRequest): Promise<FinalizeCacheEntryUploadResponse>;
|
|
||||||
GetCacheEntryDownloadURL(ctx: T, request: GetCacheEntryDownloadURLRequest): Promise<GetCacheEntryDownloadURLResponse>;
|
|
||||||
DeleteCacheEntry(ctx: T, request: DeleteCacheEntryRequest): Promise<DeleteCacheEntryResponse>;
|
|
||||||
ListCacheEntries(ctx: T, request: ListCacheEntriesRequest): Promise<ListCacheEntriesResponse>;
|
|
||||||
LookupCacheEntry(ctx: T, request: LookupCacheEntryRequest): Promise<LookupCacheEntryResponse>;
|
|
||||||
}
|
|
||||||
export declare enum CacheServiceMethod {
|
|
||||||
CreateCacheEntry = "CreateCacheEntry",
|
|
||||||
FinalizeCacheEntryUpload = "FinalizeCacheEntryUpload",
|
|
||||||
GetCacheEntryDownloadURL = "GetCacheEntryDownloadURL",
|
|
||||||
DeleteCacheEntry = "DeleteCacheEntry",
|
|
||||||
ListCacheEntries = "ListCacheEntries",
|
|
||||||
LookupCacheEntry = "LookupCacheEntry"
|
|
||||||
}
|
|
||||||
export declare const CacheServiceMethodList: CacheServiceMethod[];
|
|
||||||
export declare function createCacheServiceServer<T extends TwirpContext = TwirpContext>(service: CacheServiceTwirp<T>): TwirpServer<CacheServiceTwirp<TwirpContext<import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>>>, T>;
|
|
||||||
export {};
|
|
||||||
602
node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp.js
generated
vendored
602
node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp.js
generated
vendored
|
|
@ -1,602 +0,0 @@
|
||||||
"use strict";
|
|
||||||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
||||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
||||||
return new (P || (P = Promise))(function (resolve, reject) {
|
|
||||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
||||||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
||||||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
||||||
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
||||||
});
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
exports.createCacheServiceServer = exports.CacheServiceMethodList = exports.CacheServiceMethod = exports.CacheServiceClientProtobuf = exports.CacheServiceClientJSON = void 0;
|
|
||||||
const twirp_ts_1 = require("twirp-ts");
|
|
||||||
const cache_1 = require("./cache");
|
|
||||||
class CacheServiceClientJSON {
|
|
||||||
constructor(rpc) {
|
|
||||||
this.rpc = rpc;
|
|
||||||
this.CreateCacheEntry.bind(this);
|
|
||||||
this.FinalizeCacheEntryUpload.bind(this);
|
|
||||||
this.GetCacheEntryDownloadURL.bind(this);
|
|
||||||
this.DeleteCacheEntry.bind(this);
|
|
||||||
this.ListCacheEntries.bind(this);
|
|
||||||
this.LookupCacheEntry.bind(this);
|
|
||||||
}
|
|
||||||
CreateCacheEntry(request) {
|
|
||||||
const data = cache_1.CreateCacheEntryRequest.toJson(request, {
|
|
||||||
useProtoFieldName: true,
|
|
||||||
emitDefaultValues: false,
|
|
||||||
});
|
|
||||||
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "CreateCacheEntry", "application/json", data);
|
|
||||||
return promise.then((data) => cache_1.CreateCacheEntryResponse.fromJson(data, {
|
|
||||||
ignoreUnknownFields: true,
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
FinalizeCacheEntryUpload(request) {
|
|
||||||
const data = cache_1.FinalizeCacheEntryUploadRequest.toJson(request, {
|
|
||||||
useProtoFieldName: true,
|
|
||||||
emitDefaultValues: false,
|
|
||||||
});
|
|
||||||
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "FinalizeCacheEntryUpload", "application/json", data);
|
|
||||||
return promise.then((data) => cache_1.FinalizeCacheEntryUploadResponse.fromJson(data, {
|
|
||||||
ignoreUnknownFields: true,
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
GetCacheEntryDownloadURL(request) {
|
|
||||||
const data = cache_1.GetCacheEntryDownloadURLRequest.toJson(request, {
|
|
||||||
useProtoFieldName: true,
|
|
||||||
emitDefaultValues: false,
|
|
||||||
});
|
|
||||||
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "GetCacheEntryDownloadURL", "application/json", data);
|
|
||||||
return promise.then((data) => cache_1.GetCacheEntryDownloadURLResponse.fromJson(data, {
|
|
||||||
ignoreUnknownFields: true,
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
DeleteCacheEntry(request) {
|
|
||||||
const data = cache_1.DeleteCacheEntryRequest.toJson(request, {
|
|
||||||
useProtoFieldName: true,
|
|
||||||
emitDefaultValues: false,
|
|
||||||
});
|
|
||||||
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "DeleteCacheEntry", "application/json", data);
|
|
||||||
return promise.then((data) => cache_1.DeleteCacheEntryResponse.fromJson(data, {
|
|
||||||
ignoreUnknownFields: true,
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
ListCacheEntries(request) {
|
|
||||||
const data = cache_1.ListCacheEntriesRequest.toJson(request, {
|
|
||||||
useProtoFieldName: true,
|
|
||||||
emitDefaultValues: false,
|
|
||||||
});
|
|
||||||
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "ListCacheEntries", "application/json", data);
|
|
||||||
return promise.then((data) => cache_1.ListCacheEntriesResponse.fromJson(data, {
|
|
||||||
ignoreUnknownFields: true,
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
LookupCacheEntry(request) {
|
|
||||||
const data = cache_1.LookupCacheEntryRequest.toJson(request, {
|
|
||||||
useProtoFieldName: true,
|
|
||||||
emitDefaultValues: false,
|
|
||||||
});
|
|
||||||
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "LookupCacheEntry", "application/json", data);
|
|
||||||
return promise.then((data) => cache_1.LookupCacheEntryResponse.fromJson(data, {
|
|
||||||
ignoreUnknownFields: true,
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
exports.CacheServiceClientJSON = CacheServiceClientJSON;
|
|
||||||
class CacheServiceClientProtobuf {
|
|
||||||
constructor(rpc) {
|
|
||||||
this.rpc = rpc;
|
|
||||||
this.CreateCacheEntry.bind(this);
|
|
||||||
this.FinalizeCacheEntryUpload.bind(this);
|
|
||||||
this.GetCacheEntryDownloadURL.bind(this);
|
|
||||||
this.DeleteCacheEntry.bind(this);
|
|
||||||
this.ListCacheEntries.bind(this);
|
|
||||||
this.LookupCacheEntry.bind(this);
|
|
||||||
}
|
|
||||||
CreateCacheEntry(request) {
|
|
||||||
const data = cache_1.CreateCacheEntryRequest.toBinary(request);
|
|
||||||
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "CreateCacheEntry", "application/protobuf", data);
|
|
||||||
return promise.then((data) => cache_1.CreateCacheEntryResponse.fromBinary(data));
|
|
||||||
}
|
|
||||||
FinalizeCacheEntryUpload(request) {
|
|
||||||
const data = cache_1.FinalizeCacheEntryUploadRequest.toBinary(request);
|
|
||||||
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "FinalizeCacheEntryUpload", "application/protobuf", data);
|
|
||||||
return promise.then((data) => cache_1.FinalizeCacheEntryUploadResponse.fromBinary(data));
|
|
||||||
}
|
|
||||||
GetCacheEntryDownloadURL(request) {
|
|
||||||
const data = cache_1.GetCacheEntryDownloadURLRequest.toBinary(request);
|
|
||||||
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "GetCacheEntryDownloadURL", "application/protobuf", data);
|
|
||||||
return promise.then((data) => cache_1.GetCacheEntryDownloadURLResponse.fromBinary(data));
|
|
||||||
}
|
|
||||||
DeleteCacheEntry(request) {
|
|
||||||
const data = cache_1.DeleteCacheEntryRequest.toBinary(request);
|
|
||||||
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "DeleteCacheEntry", "application/protobuf", data);
|
|
||||||
return promise.then((data) => cache_1.DeleteCacheEntryResponse.fromBinary(data));
|
|
||||||
}
|
|
||||||
ListCacheEntries(request) {
|
|
||||||
const data = cache_1.ListCacheEntriesRequest.toBinary(request);
|
|
||||||
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "ListCacheEntries", "application/protobuf", data);
|
|
||||||
return promise.then((data) => cache_1.ListCacheEntriesResponse.fromBinary(data));
|
|
||||||
}
|
|
||||||
LookupCacheEntry(request) {
|
|
||||||
const data = cache_1.LookupCacheEntryRequest.toBinary(request);
|
|
||||||
const promise = this.rpc.request("github.actions.results.api.v1.CacheService", "LookupCacheEntry", "application/protobuf", data);
|
|
||||||
return promise.then((data) => cache_1.LookupCacheEntryResponse.fromBinary(data));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
exports.CacheServiceClientProtobuf = CacheServiceClientProtobuf;
|
|
||||||
var CacheServiceMethod;
|
|
||||||
(function (CacheServiceMethod) {
|
|
||||||
CacheServiceMethod["CreateCacheEntry"] = "CreateCacheEntry";
|
|
||||||
CacheServiceMethod["FinalizeCacheEntryUpload"] = "FinalizeCacheEntryUpload";
|
|
||||||
CacheServiceMethod["GetCacheEntryDownloadURL"] = "GetCacheEntryDownloadURL";
|
|
||||||
CacheServiceMethod["DeleteCacheEntry"] = "DeleteCacheEntry";
|
|
||||||
CacheServiceMethod["ListCacheEntries"] = "ListCacheEntries";
|
|
||||||
CacheServiceMethod["LookupCacheEntry"] = "LookupCacheEntry";
|
|
||||||
})(CacheServiceMethod || (exports.CacheServiceMethod = CacheServiceMethod = {}));
|
|
||||||
exports.CacheServiceMethodList = [
|
|
||||||
CacheServiceMethod.CreateCacheEntry,
|
|
||||||
CacheServiceMethod.FinalizeCacheEntryUpload,
|
|
||||||
CacheServiceMethod.GetCacheEntryDownloadURL,
|
|
||||||
CacheServiceMethod.DeleteCacheEntry,
|
|
||||||
CacheServiceMethod.ListCacheEntries,
|
|
||||||
CacheServiceMethod.LookupCacheEntry,
|
|
||||||
];
|
|
||||||
function createCacheServiceServer(service) {
|
|
||||||
return new twirp_ts_1.TwirpServer({
|
|
||||||
service,
|
|
||||||
packageName: "github.actions.results.api.v1",
|
|
||||||
serviceName: "CacheService",
|
|
||||||
methodList: exports.CacheServiceMethodList,
|
|
||||||
matchRoute: matchCacheServiceRoute,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
exports.createCacheServiceServer = createCacheServiceServer;
|
|
||||||
function matchCacheServiceRoute(method, events) {
|
|
||||||
switch (method) {
|
|
||||||
case "CreateCacheEntry":
|
|
||||||
return (ctx, service, data, interceptors) => __awaiter(this, void 0, void 0, function* () {
|
|
||||||
ctx = Object.assign(Object.assign({}, ctx), { methodName: "CreateCacheEntry" });
|
|
||||||
yield events.onMatch(ctx);
|
|
||||||
return handleCacheServiceCreateCacheEntryRequest(ctx, service, data, interceptors);
|
|
||||||
});
|
|
||||||
case "FinalizeCacheEntryUpload":
|
|
||||||
return (ctx, service, data, interceptors) => __awaiter(this, void 0, void 0, function* () {
|
|
||||||
ctx = Object.assign(Object.assign({}, ctx), { methodName: "FinalizeCacheEntryUpload" });
|
|
||||||
yield events.onMatch(ctx);
|
|
||||||
return handleCacheServiceFinalizeCacheEntryUploadRequest(ctx, service, data, interceptors);
|
|
||||||
});
|
|
||||||
case "GetCacheEntryDownloadURL":
|
|
||||||
return (ctx, service, data, interceptors) => __awaiter(this, void 0, void 0, function* () {
|
|
||||||
ctx = Object.assign(Object.assign({}, ctx), { methodName: "GetCacheEntryDownloadURL" });
|
|
||||||
yield events.onMatch(ctx);
|
|
||||||
return handleCacheServiceGetCacheEntryDownloadURLRequest(ctx, service, data, interceptors);
|
|
||||||
});
|
|
||||||
case "DeleteCacheEntry":
|
|
||||||
return (ctx, service, data, interceptors) => __awaiter(this, void 0, void 0, function* () {
|
|
||||||
ctx = Object.assign(Object.assign({}, ctx), { methodName: "DeleteCacheEntry" });
|
|
||||||
yield events.onMatch(ctx);
|
|
||||||
return handleCacheServiceDeleteCacheEntryRequest(ctx, service, data, interceptors);
|
|
||||||
});
|
|
||||||
case "ListCacheEntries":
|
|
||||||
return (ctx, service, data, interceptors) => __awaiter(this, void 0, void 0, function* () {
|
|
||||||
ctx = Object.assign(Object.assign({}, ctx), { methodName: "ListCacheEntries" });
|
|
||||||
yield events.onMatch(ctx);
|
|
||||||
return handleCacheServiceListCacheEntriesRequest(ctx, service, data, interceptors);
|
|
||||||
});
|
|
||||||
case "LookupCacheEntry":
|
|
||||||
return (ctx, service, data, interceptors) => __awaiter(this, void 0, void 0, function* () {
|
|
||||||
ctx = Object.assign(Object.assign({}, ctx), { methodName: "LookupCacheEntry" });
|
|
||||||
yield events.onMatch(ctx);
|
|
||||||
return handleCacheServiceLookupCacheEntryRequest(ctx, service, data, interceptors);
|
|
||||||
});
|
|
||||||
default:
|
|
||||||
events.onNotFound();
|
|
||||||
const msg = `no handler found`;
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.BadRoute, msg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function handleCacheServiceCreateCacheEntryRequest(ctx, service, data, interceptors) {
|
|
||||||
switch (ctx.contentType) {
|
|
||||||
case twirp_ts_1.TwirpContentType.JSON:
|
|
||||||
return handleCacheServiceCreateCacheEntryJSON(ctx, service, data, interceptors);
|
|
||||||
case twirp_ts_1.TwirpContentType.Protobuf:
|
|
||||||
return handleCacheServiceCreateCacheEntryProtobuf(ctx, service, data, interceptors);
|
|
||||||
default:
|
|
||||||
const msg = "unexpected Content-Type";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.BadRoute, msg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function handleCacheServiceFinalizeCacheEntryUploadRequest(ctx, service, data, interceptors) {
|
|
||||||
switch (ctx.contentType) {
|
|
||||||
case twirp_ts_1.TwirpContentType.JSON:
|
|
||||||
return handleCacheServiceFinalizeCacheEntryUploadJSON(ctx, service, data, interceptors);
|
|
||||||
case twirp_ts_1.TwirpContentType.Protobuf:
|
|
||||||
return handleCacheServiceFinalizeCacheEntryUploadProtobuf(ctx, service, data, interceptors);
|
|
||||||
default:
|
|
||||||
const msg = "unexpected Content-Type";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.BadRoute, msg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function handleCacheServiceGetCacheEntryDownloadURLRequest(ctx, service, data, interceptors) {
|
|
||||||
switch (ctx.contentType) {
|
|
||||||
case twirp_ts_1.TwirpContentType.JSON:
|
|
||||||
return handleCacheServiceGetCacheEntryDownloadURLJSON(ctx, service, data, interceptors);
|
|
||||||
case twirp_ts_1.TwirpContentType.Protobuf:
|
|
||||||
return handleCacheServiceGetCacheEntryDownloadURLProtobuf(ctx, service, data, interceptors);
|
|
||||||
default:
|
|
||||||
const msg = "unexpected Content-Type";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.BadRoute, msg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function handleCacheServiceDeleteCacheEntryRequest(ctx, service, data, interceptors) {
|
|
||||||
switch (ctx.contentType) {
|
|
||||||
case twirp_ts_1.TwirpContentType.JSON:
|
|
||||||
return handleCacheServiceDeleteCacheEntryJSON(ctx, service, data, interceptors);
|
|
||||||
case twirp_ts_1.TwirpContentType.Protobuf:
|
|
||||||
return handleCacheServiceDeleteCacheEntryProtobuf(ctx, service, data, interceptors);
|
|
||||||
default:
|
|
||||||
const msg = "unexpected Content-Type";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.BadRoute, msg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function handleCacheServiceListCacheEntriesRequest(ctx, service, data, interceptors) {
|
|
||||||
switch (ctx.contentType) {
|
|
||||||
case twirp_ts_1.TwirpContentType.JSON:
|
|
||||||
return handleCacheServiceListCacheEntriesJSON(ctx, service, data, interceptors);
|
|
||||||
case twirp_ts_1.TwirpContentType.Protobuf:
|
|
||||||
return handleCacheServiceListCacheEntriesProtobuf(ctx, service, data, interceptors);
|
|
||||||
default:
|
|
||||||
const msg = "unexpected Content-Type";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.BadRoute, msg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function handleCacheServiceLookupCacheEntryRequest(ctx, service, data, interceptors) {
|
|
||||||
switch (ctx.contentType) {
|
|
||||||
case twirp_ts_1.TwirpContentType.JSON:
|
|
||||||
return handleCacheServiceLookupCacheEntryJSON(ctx, service, data, interceptors);
|
|
||||||
case twirp_ts_1.TwirpContentType.Protobuf:
|
|
||||||
return handleCacheServiceLookupCacheEntryProtobuf(ctx, service, data, interceptors);
|
|
||||||
default:
|
|
||||||
const msg = "unexpected Content-Type";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.BadRoute, msg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function handleCacheServiceCreateCacheEntryJSON(ctx, service, data, interceptors) {
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
|
||||||
let request;
|
|
||||||
let response;
|
|
||||||
try {
|
|
||||||
const body = JSON.parse(data.toString() || "{}");
|
|
||||||
request = cache_1.CreateCacheEntryRequest.fromJson(body, {
|
|
||||||
ignoreUnknownFields: true,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
if (e instanceof Error) {
|
|
||||||
const msg = "the json request could not be decoded";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.Malformed, msg).withCause(e, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (interceptors && interceptors.length > 0) {
|
|
||||||
const interceptor = (0, twirp_ts_1.chainInterceptors)(...interceptors);
|
|
||||||
response = yield interceptor(ctx, request, (ctx, inputReq) => {
|
|
||||||
return service.CreateCacheEntry(ctx, inputReq);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
response = yield service.CreateCacheEntry(ctx, request);
|
|
||||||
}
|
|
||||||
return JSON.stringify(cache_1.CreateCacheEntryResponse.toJson(response, {
|
|
||||||
useProtoFieldName: true,
|
|
||||||
emitDefaultValues: false,
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function handleCacheServiceFinalizeCacheEntryUploadJSON(ctx, service, data, interceptors) {
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
|
||||||
let request;
|
|
||||||
let response;
|
|
||||||
try {
|
|
||||||
const body = JSON.parse(data.toString() || "{}");
|
|
||||||
request = cache_1.FinalizeCacheEntryUploadRequest.fromJson(body, {
|
|
||||||
ignoreUnknownFields: true,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
if (e instanceof Error) {
|
|
||||||
const msg = "the json request could not be decoded";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.Malformed, msg).withCause(e, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (interceptors && interceptors.length > 0) {
|
|
||||||
const interceptor = (0, twirp_ts_1.chainInterceptors)(...interceptors);
|
|
||||||
response = yield interceptor(ctx, request, (ctx, inputReq) => {
|
|
||||||
return service.FinalizeCacheEntryUpload(ctx, inputReq);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
response = yield service.FinalizeCacheEntryUpload(ctx, request);
|
|
||||||
}
|
|
||||||
return JSON.stringify(cache_1.FinalizeCacheEntryUploadResponse.toJson(response, {
|
|
||||||
useProtoFieldName: true,
|
|
||||||
emitDefaultValues: false,
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function handleCacheServiceGetCacheEntryDownloadURLJSON(ctx, service, data, interceptors) {
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
|
||||||
let request;
|
|
||||||
let response;
|
|
||||||
try {
|
|
||||||
const body = JSON.parse(data.toString() || "{}");
|
|
||||||
request = cache_1.GetCacheEntryDownloadURLRequest.fromJson(body, {
|
|
||||||
ignoreUnknownFields: true,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
if (e instanceof Error) {
|
|
||||||
const msg = "the json request could not be decoded";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.Malformed, msg).withCause(e, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (interceptors && interceptors.length > 0) {
|
|
||||||
const interceptor = (0, twirp_ts_1.chainInterceptors)(...interceptors);
|
|
||||||
response = yield interceptor(ctx, request, (ctx, inputReq) => {
|
|
||||||
return service.GetCacheEntryDownloadURL(ctx, inputReq);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
response = yield service.GetCacheEntryDownloadURL(ctx, request);
|
|
||||||
}
|
|
||||||
return JSON.stringify(cache_1.GetCacheEntryDownloadURLResponse.toJson(response, {
|
|
||||||
useProtoFieldName: true,
|
|
||||||
emitDefaultValues: false,
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function handleCacheServiceDeleteCacheEntryJSON(ctx, service, data, interceptors) {
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
|
||||||
let request;
|
|
||||||
let response;
|
|
||||||
try {
|
|
||||||
const body = JSON.parse(data.toString() || "{}");
|
|
||||||
request = cache_1.DeleteCacheEntryRequest.fromJson(body, {
|
|
||||||
ignoreUnknownFields: true,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
if (e instanceof Error) {
|
|
||||||
const msg = "the json request could not be decoded";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.Malformed, msg).withCause(e, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (interceptors && interceptors.length > 0) {
|
|
||||||
const interceptor = (0, twirp_ts_1.chainInterceptors)(...interceptors);
|
|
||||||
response = yield interceptor(ctx, request, (ctx, inputReq) => {
|
|
||||||
return service.DeleteCacheEntry(ctx, inputReq);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
response = yield service.DeleteCacheEntry(ctx, request);
|
|
||||||
}
|
|
||||||
return JSON.stringify(cache_1.DeleteCacheEntryResponse.toJson(response, {
|
|
||||||
useProtoFieldName: true,
|
|
||||||
emitDefaultValues: false,
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function handleCacheServiceListCacheEntriesJSON(ctx, service, data, interceptors) {
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
|
||||||
let request;
|
|
||||||
let response;
|
|
||||||
try {
|
|
||||||
const body = JSON.parse(data.toString() || "{}");
|
|
||||||
request = cache_1.ListCacheEntriesRequest.fromJson(body, {
|
|
||||||
ignoreUnknownFields: true,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
if (e instanceof Error) {
|
|
||||||
const msg = "the json request could not be decoded";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.Malformed, msg).withCause(e, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (interceptors && interceptors.length > 0) {
|
|
||||||
const interceptor = (0, twirp_ts_1.chainInterceptors)(...interceptors);
|
|
||||||
response = yield interceptor(ctx, request, (ctx, inputReq) => {
|
|
||||||
return service.ListCacheEntries(ctx, inputReq);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
response = yield service.ListCacheEntries(ctx, request);
|
|
||||||
}
|
|
||||||
return JSON.stringify(cache_1.ListCacheEntriesResponse.toJson(response, {
|
|
||||||
useProtoFieldName: true,
|
|
||||||
emitDefaultValues: false,
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function handleCacheServiceLookupCacheEntryJSON(ctx, service, data, interceptors) {
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
|
||||||
let request;
|
|
||||||
let response;
|
|
||||||
try {
|
|
||||||
const body = JSON.parse(data.toString() || "{}");
|
|
||||||
request = cache_1.LookupCacheEntryRequest.fromJson(body, {
|
|
||||||
ignoreUnknownFields: true,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
if (e instanceof Error) {
|
|
||||||
const msg = "the json request could not be decoded";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.Malformed, msg).withCause(e, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (interceptors && interceptors.length > 0) {
|
|
||||||
const interceptor = (0, twirp_ts_1.chainInterceptors)(...interceptors);
|
|
||||||
response = yield interceptor(ctx, request, (ctx, inputReq) => {
|
|
||||||
return service.LookupCacheEntry(ctx, inputReq);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
response = yield service.LookupCacheEntry(ctx, request);
|
|
||||||
}
|
|
||||||
return JSON.stringify(cache_1.LookupCacheEntryResponse.toJson(response, {
|
|
||||||
useProtoFieldName: true,
|
|
||||||
emitDefaultValues: false,
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function handleCacheServiceCreateCacheEntryProtobuf(ctx, service, data, interceptors) {
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
|
||||||
let request;
|
|
||||||
let response;
|
|
||||||
try {
|
|
||||||
request = cache_1.CreateCacheEntryRequest.fromBinary(data);
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
if (e instanceof Error) {
|
|
||||||
const msg = "the protobuf request could not be decoded";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.Malformed, msg).withCause(e, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (interceptors && interceptors.length > 0) {
|
|
||||||
const interceptor = (0, twirp_ts_1.chainInterceptors)(...interceptors);
|
|
||||||
response = yield interceptor(ctx, request, (ctx, inputReq) => {
|
|
||||||
return service.CreateCacheEntry(ctx, inputReq);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
response = yield service.CreateCacheEntry(ctx, request);
|
|
||||||
}
|
|
||||||
return Buffer.from(cache_1.CreateCacheEntryResponse.toBinary(response));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function handleCacheServiceFinalizeCacheEntryUploadProtobuf(ctx, service, data, interceptors) {
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
|
||||||
let request;
|
|
||||||
let response;
|
|
||||||
try {
|
|
||||||
request = cache_1.FinalizeCacheEntryUploadRequest.fromBinary(data);
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
if (e instanceof Error) {
|
|
||||||
const msg = "the protobuf request could not be decoded";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.Malformed, msg).withCause(e, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (interceptors && interceptors.length > 0) {
|
|
||||||
const interceptor = (0, twirp_ts_1.chainInterceptors)(...interceptors);
|
|
||||||
response = yield interceptor(ctx, request, (ctx, inputReq) => {
|
|
||||||
return service.FinalizeCacheEntryUpload(ctx, inputReq);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
response = yield service.FinalizeCacheEntryUpload(ctx, request);
|
|
||||||
}
|
|
||||||
return Buffer.from(cache_1.FinalizeCacheEntryUploadResponse.toBinary(response));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function handleCacheServiceGetCacheEntryDownloadURLProtobuf(ctx, service, data, interceptors) {
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
|
||||||
let request;
|
|
||||||
let response;
|
|
||||||
try {
|
|
||||||
request = cache_1.GetCacheEntryDownloadURLRequest.fromBinary(data);
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
if (e instanceof Error) {
|
|
||||||
const msg = "the protobuf request could not be decoded";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.Malformed, msg).withCause(e, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (interceptors && interceptors.length > 0) {
|
|
||||||
const interceptor = (0, twirp_ts_1.chainInterceptors)(...interceptors);
|
|
||||||
response = yield interceptor(ctx, request, (ctx, inputReq) => {
|
|
||||||
return service.GetCacheEntryDownloadURL(ctx, inputReq);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
response = yield service.GetCacheEntryDownloadURL(ctx, request);
|
|
||||||
}
|
|
||||||
return Buffer.from(cache_1.GetCacheEntryDownloadURLResponse.toBinary(response));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function handleCacheServiceDeleteCacheEntryProtobuf(ctx, service, data, interceptors) {
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
|
||||||
let request;
|
|
||||||
let response;
|
|
||||||
try {
|
|
||||||
request = cache_1.DeleteCacheEntryRequest.fromBinary(data);
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
if (e instanceof Error) {
|
|
||||||
const msg = "the protobuf request could not be decoded";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.Malformed, msg).withCause(e, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (interceptors && interceptors.length > 0) {
|
|
||||||
const interceptor = (0, twirp_ts_1.chainInterceptors)(...interceptors);
|
|
||||||
response = yield interceptor(ctx, request, (ctx, inputReq) => {
|
|
||||||
return service.DeleteCacheEntry(ctx, inputReq);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
response = yield service.DeleteCacheEntry(ctx, request);
|
|
||||||
}
|
|
||||||
return Buffer.from(cache_1.DeleteCacheEntryResponse.toBinary(response));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function handleCacheServiceListCacheEntriesProtobuf(ctx, service, data, interceptors) {
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
|
||||||
let request;
|
|
||||||
let response;
|
|
||||||
try {
|
|
||||||
request = cache_1.ListCacheEntriesRequest.fromBinary(data);
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
if (e instanceof Error) {
|
|
||||||
const msg = "the protobuf request could not be decoded";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.Malformed, msg).withCause(e, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (interceptors && interceptors.length > 0) {
|
|
||||||
const interceptor = (0, twirp_ts_1.chainInterceptors)(...interceptors);
|
|
||||||
response = yield interceptor(ctx, request, (ctx, inputReq) => {
|
|
||||||
return service.ListCacheEntries(ctx, inputReq);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
response = yield service.ListCacheEntries(ctx, request);
|
|
||||||
}
|
|
||||||
return Buffer.from(cache_1.ListCacheEntriesResponse.toBinary(response));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function handleCacheServiceLookupCacheEntryProtobuf(ctx, service, data, interceptors) {
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
|
||||||
let request;
|
|
||||||
let response;
|
|
||||||
try {
|
|
||||||
request = cache_1.LookupCacheEntryRequest.fromBinary(data);
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
if (e instanceof Error) {
|
|
||||||
const msg = "the protobuf request could not be decoded";
|
|
||||||
throw new twirp_ts_1.TwirpError(twirp_ts_1.TwirpErrorCode.Malformed, msg).withCause(e, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (interceptors && interceptors.length > 0) {
|
|
||||||
const interceptor = (0, twirp_ts_1.chainInterceptors)(...interceptors);
|
|
||||||
response = yield interceptor(ctx, request, (ctx, inputReq) => {
|
|
||||||
return service.LookupCacheEntry(ctx, inputReq);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
response = yield service.LookupCacheEntry(ctx, request);
|
|
||||||
}
|
|
||||||
return Buffer.from(cache_1.LookupCacheEntryResponse.toBinary(response));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
//# sourceMappingURL=cache.twirp.js.map
|
|
||||||
1
node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp.js.map
generated
vendored
1
node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp.js.map
generated
vendored
File diff suppressed because one or more lines are too long
71
node_modules/@actions/cache/lib/generated/results/entities/v1/cacheentry.d.ts
generated
vendored
71
node_modules/@actions/cache/lib/generated/results/entities/v1/cacheentry.d.ts
generated
vendored
|
|
@ -1,71 +0,0 @@
|
||||||
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
||||||
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
||||||
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
||||||
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
||||||
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
||||||
import { MessageType } from "@protobuf-ts/runtime";
|
|
||||||
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
||||||
/**
|
|
||||||
* @generated from protobuf message github.actions.results.entities.v1.CacheEntry
|
|
||||||
*/
|
|
||||||
export interface CacheEntry {
|
|
||||||
/**
|
|
||||||
* An explicit key for a cache entry
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: string key = 1;
|
|
||||||
*/
|
|
||||||
key: string;
|
|
||||||
/**
|
|
||||||
* SHA256 hex digest of the cache archive
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: string hash = 2;
|
|
||||||
*/
|
|
||||||
hash: string;
|
|
||||||
/**
|
|
||||||
* Cache entry size in bytes
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: int64 size_bytes = 3;
|
|
||||||
*/
|
|
||||||
sizeBytes: string;
|
|
||||||
/**
|
|
||||||
* Access scope
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: string scope = 4;
|
|
||||||
*/
|
|
||||||
scope: string;
|
|
||||||
/**
|
|
||||||
* Version SHA256 hex digest
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: string version = 5;
|
|
||||||
*/
|
|
||||||
version: string;
|
|
||||||
/**
|
|
||||||
* When the cache entry was created
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: google.protobuf.Timestamp created_at = 6;
|
|
||||||
*/
|
|
||||||
createdAt?: Timestamp;
|
|
||||||
/**
|
|
||||||
* When the cache entry was last accessed
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: google.protobuf.Timestamp last_accessed_at = 7;
|
|
||||||
*/
|
|
||||||
lastAccessedAt?: Timestamp;
|
|
||||||
/**
|
|
||||||
* When the cache entry is set to expire
|
|
||||||
*
|
|
||||||
* @generated from protobuf field: google.protobuf.Timestamp expires_at = 8;
|
|
||||||
*/
|
|
||||||
expiresAt?: Timestamp;
|
|
||||||
}
|
|
||||||
declare class CacheEntry$Type extends MessageType<CacheEntry> {
|
|
||||||
constructor();
|
|
||||||
create(value?: PartialMessage<CacheEntry>): CacheEntry;
|
|
||||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheEntry): CacheEntry;
|
|
||||||
internalBinaryWrite(message: CacheEntry, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.entities.v1.CacheEntry
|
|
||||||
*/
|
|
||||||
export declare const CacheEntry: CacheEntry$Type;
|
|
||||||
export {};
|
|
||||||
106
node_modules/@actions/cache/lib/generated/results/entities/v1/cacheentry.js
generated
vendored
106
node_modules/@actions/cache/lib/generated/results/entities/v1/cacheentry.js
generated
vendored
|
|
@ -1,106 +0,0 @@
|
||||||
"use strict";
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
exports.CacheEntry = void 0;
|
|
||||||
const runtime_1 = require("@protobuf-ts/runtime");
|
|
||||||
const runtime_2 = require("@protobuf-ts/runtime");
|
|
||||||
const runtime_3 = require("@protobuf-ts/runtime");
|
|
||||||
const runtime_4 = require("@protobuf-ts/runtime");
|
|
||||||
const runtime_5 = require("@protobuf-ts/runtime");
|
|
||||||
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
|
||||||
class CacheEntry$Type extends runtime_5.MessageType {
|
|
||||||
constructor() {
|
|
||||||
super("github.actions.results.entities.v1.CacheEntry", [
|
|
||||||
{ no: 1, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
||||||
{ no: 2, name: "hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
||||||
{ no: 3, name: "size_bytes", kind: "scalar", T: 3 /*ScalarType.INT64*/ },
|
|
||||||
{ no: 4, name: "scope", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
||||||
{ no: 5, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
||||||
{ no: 6, name: "created_at", kind: "message", T: () => timestamp_1.Timestamp },
|
|
||||||
{ no: 7, name: "last_accessed_at", kind: "message", T: () => timestamp_1.Timestamp },
|
|
||||||
{ no: 8, name: "expires_at", kind: "message", T: () => timestamp_1.Timestamp }
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
create(value) {
|
|
||||||
const message = { key: "", hash: "", sizeBytes: "0", scope: "", version: "" };
|
|
||||||
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
||||||
if (value !== undefined)
|
|
||||||
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryRead(reader, length, options, target) {
|
|
||||||
let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
|
|
||||||
while (reader.pos < end) {
|
|
||||||
let [fieldNo, wireType] = reader.tag();
|
|
||||||
switch (fieldNo) {
|
|
||||||
case /* string key */ 1:
|
|
||||||
message.key = reader.string();
|
|
||||||
break;
|
|
||||||
case /* string hash */ 2:
|
|
||||||
message.hash = reader.string();
|
|
||||||
break;
|
|
||||||
case /* int64 size_bytes */ 3:
|
|
||||||
message.sizeBytes = reader.int64().toString();
|
|
||||||
break;
|
|
||||||
case /* string scope */ 4:
|
|
||||||
message.scope = reader.string();
|
|
||||||
break;
|
|
||||||
case /* string version */ 5:
|
|
||||||
message.version = reader.string();
|
|
||||||
break;
|
|
||||||
case /* google.protobuf.Timestamp created_at */ 6:
|
|
||||||
message.createdAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
||||||
break;
|
|
||||||
case /* google.protobuf.Timestamp last_accessed_at */ 7:
|
|
||||||
message.lastAccessedAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lastAccessedAt);
|
|
||||||
break;
|
|
||||||
case /* google.protobuf.Timestamp expires_at */ 8:
|
|
||||||
message.expiresAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
let u = options.readUnknownField;
|
|
||||||
if (u === "throw")
|
|
||||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
||||||
let d = reader.skip(wireType);
|
|
||||||
if (u !== false)
|
|
||||||
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
internalBinaryWrite(message, writer, options) {
|
|
||||||
/* string key = 1; */
|
|
||||||
if (message.key !== "")
|
|
||||||
writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.key);
|
|
||||||
/* string hash = 2; */
|
|
||||||
if (message.hash !== "")
|
|
||||||
writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.hash);
|
|
||||||
/* int64 size_bytes = 3; */
|
|
||||||
if (message.sizeBytes !== "0")
|
|
||||||
writer.tag(3, runtime_1.WireType.Varint).int64(message.sizeBytes);
|
|
||||||
/* string scope = 4; */
|
|
||||||
if (message.scope !== "")
|
|
||||||
writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.scope);
|
|
||||||
/* string version = 5; */
|
|
||||||
if (message.version !== "")
|
|
||||||
writer.tag(5, runtime_1.WireType.LengthDelimited).string(message.version);
|
|
||||||
/* google.protobuf.Timestamp created_at = 6; */
|
|
||||||
if (message.createdAt)
|
|
||||||
timestamp_1.Timestamp.internalBinaryWrite(message.createdAt, writer.tag(6, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
||||||
/* google.protobuf.Timestamp last_accessed_at = 7; */
|
|
||||||
if (message.lastAccessedAt)
|
|
||||||
timestamp_1.Timestamp.internalBinaryWrite(message.lastAccessedAt, writer.tag(7, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
||||||
/* google.protobuf.Timestamp expires_at = 8; */
|
|
||||||
if (message.expiresAt)
|
|
||||||
timestamp_1.Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(8, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
||||||
let u = options.writeUnknownFields;
|
|
||||||
if (u !== false)
|
|
||||||
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
||||||
return writer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @generated MessageType for protobuf message github.actions.results.entities.v1.CacheEntry
|
|
||||||
*/
|
|
||||||
exports.CacheEntry = new CacheEntry$Type();
|
|
||||||
//# sourceMappingURL=cacheentry.js.map
|
|
||||||
1
node_modules/@actions/cache/lib/generated/results/entities/v1/cacheentry.js.map
generated
vendored
1
node_modules/@actions/cache/lib/generated/results/entities/v1/cacheentry.js.map
generated
vendored
|
|
@ -1 +0,0 @@
|
||||||
{"version":3,"file":"cacheentry.js","sourceRoot":"","sources":["../../../../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BAAS,CAAC,mBAAmB,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,kBAAQ,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;QAC1H,+CAA+C;QAC/C,IAAI,OAAO,CAAC,SAAS;YACjB,qBAAS,CAAC,mBAAmB,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,kBAAQ,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;QACrH,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;QACnC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,6BAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACU,QAAA,UAAU,GAAG,IAAI,eAAe,EAAE,CAAC"}
|
|
||||||
2
node_modules/@actions/cache/lib/internal/shared/cacheTwirpClient.d.ts
generated
vendored
2
node_modules/@actions/cache/lib/internal/shared/cacheTwirpClient.d.ts
generated
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
import { CacheServiceClientJSON } from '../../generated/results/api/v1/cache.twirp';
|
import { CacheServiceClientJSON } from '../../generated/results/api/v1/cache.twirp-client';
|
||||||
export declare function internalCacheTwirpClient(options?: {
|
export declare function internalCacheTwirpClient(options?: {
|
||||||
maxAttempts?: number;
|
maxAttempts?: number;
|
||||||
retryIntervalMs?: number;
|
retryIntervalMs?: number;
|
||||||
|
|
|
||||||
4
node_modules/@actions/cache/lib/internal/shared/cacheTwirpClient.js
generated
vendored
4
node_modules/@actions/cache/lib/internal/shared/cacheTwirpClient.js
generated
vendored
|
|
@ -17,7 +17,7 @@ const config_1 = require("../config");
|
||||||
const cacheUtils_1 = require("../cacheUtils");
|
const cacheUtils_1 = require("../cacheUtils");
|
||||||
const auth_1 = require("@actions/http-client/lib/auth");
|
const auth_1 = require("@actions/http-client/lib/auth");
|
||||||
const http_client_1 = require("@actions/http-client");
|
const http_client_1 = require("@actions/http-client");
|
||||||
const cache_twirp_1 = require("../../generated/results/api/v1/cache.twirp");
|
const cache_twirp_client_1 = require("../../generated/results/api/v1/cache.twirp-client");
|
||||||
/**
|
/**
|
||||||
* This class is a wrapper around the CacheServiceClientJSON class generated by Twirp.
|
* This class is a wrapper around the CacheServiceClientJSON class generated by Twirp.
|
||||||
*
|
*
|
||||||
|
|
@ -154,7 +154,7 @@ class CacheServiceClient {
|
||||||
}
|
}
|
||||||
function internalCacheTwirpClient(options) {
|
function internalCacheTwirpClient(options) {
|
||||||
const client = new CacheServiceClient((0, user_agent_1.getUserAgentString)(), options === null || options === void 0 ? void 0 : options.maxAttempts, options === null || options === void 0 ? void 0 : options.retryIntervalMs, options === null || options === void 0 ? void 0 : options.retryMultiplier);
|
const client = new CacheServiceClient((0, user_agent_1.getUserAgentString)(), options === null || options === void 0 ? void 0 : options.maxAttempts, options === null || options === void 0 ? void 0 : options.retryIntervalMs, options === null || options === void 0 ? void 0 : options.retryMultiplier);
|
||||||
return new cache_twirp_1.CacheServiceClientJSON(client);
|
return new cache_twirp_client_1.CacheServiceClientJSON(client);
|
||||||
}
|
}
|
||||||
exports.internalCacheTwirpClient = internalCacheTwirpClient;
|
exports.internalCacheTwirpClient = internalCacheTwirpClient;
|
||||||
//# sourceMappingURL=cacheTwirpClient.js.map
|
//# sourceMappingURL=cacheTwirpClient.js.map
|
||||||
2
node_modules/@actions/cache/lib/internal/shared/cacheTwirpClient.js.map
generated
vendored
2
node_modules/@actions/cache/lib/internal/shared/cacheTwirpClient.js.map
generated
vendored
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"cacheTwirpClient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,kEAAkE;QAClE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,GAAG,OAAO,CAAC,GAAG,OAAO,CAAC,CAAA;IAClE,CAAC;CACF;AAED,SAAgB,wBAAwB,CAAC,OAIxC;IACC,MAAM,MAAM,GAAG,IAAI,kBAAkB,CACnC,IAAA,+BAAkB,GAAE,EACpB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,EACpB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe,EACxB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe,CACzB,CAAA;IACD,OAAO,IAAI,oCAAsB,CAAC,MAAM,CAAC,CAAA;AAC3C,CAAC;AAZD,4DAYC"}
|
{"version":3,"file":"cacheTwirpClient.js","sourceRoot":"","sources":["../../../src/internal/shared/cacheTwirpClient.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wCAAyC;AACzC,6CAA+C;AAC/C,qCAAiD;AACjD,sCAA4C;AAC5C,8CAA6C;AAC7C,wDAAqE;AACrE,sDAA8E;AAC9E,0FAAwF;AAYxF;;;;;;GAMG;AACH,MAAM,kBAAkB;IAOtB,YACE,SAAiB,EACjB,WAAoB,EACpB,6BAAsC,EACtC,eAAwB;QARlB,gBAAW,GAAG,CAAC,CAAA;QACf,kCAA6B,GAAG,IAAI,CAAA;QACpC,oBAAe,GAAG,GAAG,CAAA;QAQ3B,MAAM,KAAK,GAAG,IAAA,4BAAe,GAAE,CAAA;QAC/B,IAAI,CAAC,OAAO,GAAG,IAAA,2BAAkB,GAAE,CAAA;QACnC,IAAI,WAAW,EAAE;YACf,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;SAC/B;QACD,IAAI,6BAA6B,EAAE;YACjC,IAAI,CAAC,6BAA6B,GAAG,6BAA6B,CAAA;SACnE;QACD,IAAI,eAAe,EAAE;YACnB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;SACvC;QAED,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IAEK,KAAK,CAAC,YAAoB;;YAC9B,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAA;QAClE,CAAC;KAAA;IAED,mCAAmC,CAAC,OAAe;QACjD,IAAI,OAAO,GAAG,CAAC,EAAE;YACf,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAA;SACxD;QAED,IAAI,OAAO,KAAK,CAAC,EAAE;YACjB,OAAO,IAAI,CAAC,6BAA6B,CAAA;SAC1C;QAED,MAAM,OAAO,GACX,IAAI,CAAC,6BAA6B,GAAG,SAAA,IAAI,CAAC,eAAe,EAAI,OAAO,CAAA,CAAA;QACtE,MAAM,OAAO,GAAG,OAAO,GAAG,IAAI,CAAC,eAAe,CAAA;QAE9C,kEAAkE;QAClE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,GAAG,OAAO,CAAC,GAAG,OAAO,CAAC,CAAA;IAClE,CAAC;CACF;AAED,SAAgB,wBAAwB,CAAC,OAIxC;IACC,MAAM,MAAM,GAAG,IAAI,kBAAkB,CACnC,IAAA,+BAAkB,GAAE,EACpB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,EACpB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe,EACxB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe,CACzB,CAAA;IACD,OAAO,IAAI,2CAAsB,CAAC,MAAM,CAAC,CAAA;AAC3C,CAAC;AAZD,4DAYC"}
|
||||||
7
node_modules/@actions/cache/package.json
generated
vendored
7
node_modules/@actions/cache/package.json
generated
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@actions/cache",
|
"name": "@actions/cache",
|
||||||
"version": "4.0.0",
|
"version": "4.0.1",
|
||||||
"preview": true,
|
"preview": true,
|
||||||
"description": "Actions cache lib",
|
"description": "Actions cache lib",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
@ -46,11 +46,10 @@
|
||||||
"@azure/ms-rest-js": "^2.6.0",
|
"@azure/ms-rest-js": "^2.6.0",
|
||||||
"@azure/storage-blob": "^12.13.0",
|
"@azure/storage-blob": "^12.13.0",
|
||||||
"@protobuf-ts/plugin": "^2.9.4",
|
"@protobuf-ts/plugin": "^2.9.4",
|
||||||
"semver": "^6.3.1",
|
"semver": "^6.3.1"
|
||||||
"twirp-ts": "^2.5.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/semver": "^6.0.0",
|
"@types/semver": "^6.0.0",
|
||||||
"typescript": "^5.2.2"
|
"typescript": "^5.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
18
node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js
generated
vendored
18
node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js
generated
vendored
|
|
@ -84,7 +84,8 @@ exports.default = (0, util_1.createRule)({
|
||||||
}
|
}
|
||||||
function enterFunction(node) {
|
function enterFunction(node) {
|
||||||
if (node.parent.type === utils_1.AST_NODE_TYPES.MethodDefinition ||
|
if (node.parent.type === utils_1.AST_NODE_TYPES.MethodDefinition ||
|
||||||
node.parent.type === utils_1.AST_NODE_TYPES.PropertyDefinition) {
|
node.parent.type === utils_1.AST_NODE_TYPES.PropertyDefinition ||
|
||||||
|
node.parent.type === utils_1.AST_NODE_TYPES.AccessorProperty) {
|
||||||
pushContext(node.parent);
|
pushContext(node.parent);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
@ -112,7 +113,8 @@ exports.default = (0, util_1.createRule)({
|
||||||
if (node.static ||
|
if (node.static ||
|
||||||
(node.type === utils_1.AST_NODE_TYPES.MethodDefinition &&
|
(node.type === utils_1.AST_NODE_TYPES.MethodDefinition &&
|
||||||
node.kind === 'constructor') ||
|
node.kind === 'constructor') ||
|
||||||
(node.type === utils_1.AST_NODE_TYPES.PropertyDefinition &&
|
((node.type === utils_1.AST_NODE_TYPES.PropertyDefinition ||
|
||||||
|
node.type === utils_1.AST_NODE_TYPES.AccessorProperty) &&
|
||||||
!enforceForClassFields)) {
|
!enforceForClassFields)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
@ -167,6 +169,12 @@ exports.default = (0, util_1.createRule)({
|
||||||
},
|
},
|
||||||
...(enforceForClassFields
|
...(enforceForClassFields
|
||||||
? {
|
? {
|
||||||
|
'AccessorProperty > ArrowFunctionExpression.value'(node) {
|
||||||
|
enterFunction(node);
|
||||||
|
},
|
||||||
|
'AccessorProperty > ArrowFunctionExpression.value:exit'(node) {
|
||||||
|
exitFunction(node);
|
||||||
|
},
|
||||||
'PropertyDefinition > ArrowFunctionExpression.value'(node) {
|
'PropertyDefinition > ArrowFunctionExpression.value'(node) {
|
||||||
enterFunction(node);
|
enterFunction(node);
|
||||||
},
|
},
|
||||||
|
|
@ -178,6 +186,12 @@ exports.default = (0, util_1.createRule)({
|
||||||
/*
|
/*
|
||||||
* Class field value are implicit functions.
|
* Class field value are implicit functions.
|
||||||
*/
|
*/
|
||||||
|
'AccessorProperty:exit'() {
|
||||||
|
popContext();
|
||||||
|
},
|
||||||
|
'AccessorProperty > *.key:exit'() {
|
||||||
|
pushContext();
|
||||||
|
},
|
||||||
'PropertyDefinition:exit'() {
|
'PropertyDefinition:exit'() {
|
||||||
popContext();
|
popContext();
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"class-methods-use-this.js","sourceRoot":"","sources":["../../src/rules/class-methods-use-this.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAKiB;AAYjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAA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8BAAuB,EAAC,IAAI,CAAC;qBACpC;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,sDAAsD;YACtD,mBAAmB;gBACjB,WAAW,EAAE,CAAC;YAChB,CAAC;YACD,0BAA0B;gBACxB,UAAU,EAAE,CAAC;YACf,CAAC;YAED,kBAAkB,CAAC,IAAI;gBACrB,aAAa,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;YACD,yBAAyB,CAAC,IAAI;gBAC5B,YAAY,CAAC,IAAI,CAAC,CAAC;YACrB,CAAC;YACD,GAAG,CAAC,qBAAqB;gBACvB,CAAC,CAAC;oBACE,oDAAoD,CAClD,IAAsC;wBAEtC,aAAa,CAAC,IAAI,CAAC,CAAC;oBACtB,CAAC;oBACD,yDAAyD,CACvD,IAAsC;wBAEtC,YAAY,CAAC,IAAI,CAAC,CAAC;oBACrB,CAAC;iBACF;gBACH,CAAC,CAAC,EAAE,CAAC;YAEP;;eAEG;YACH,yBAAyB;gBACvB,UAAU,EAAE,CAAC;YACf,CAAC;YACD,iCAAiC;gBAC/B,WAAW,EAAE,CAAC;YAChB,CAAC;YAED;;;;;eAKG;YACH,WAAW;gBACT,WAAW,EAAE,CAAC;YAChB,CAAC;YACD,kBAAkB;gBAChB,UAAU,EAAE,CAAC;YACf,CAAC;YAED,uBAAuB;gBACrB,IAAI,KAAK,EAAE,CAAC;oBACV,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;gBACxB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
{"version":3,"file":"class-methods-use-this.js","sourceRoot":"","sources":["../../src/rules/class-methods-use-this.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAKiB;AAYjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;Y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E,CAAC;oBACV,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;gBACxB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
||||||
|
|
@ -26,12 +26,13 @@ exports.default = (0, util_1.createRule)({
|
||||||
defaultOptions: ['constructor'],
|
defaultOptions: ['constructor'],
|
||||||
create(context, [mode]) {
|
create(context, [mode]) {
|
||||||
return {
|
return {
|
||||||
'VariableDeclarator,PropertyDefinition,:matches(FunctionDeclaration,FunctionExpression) > AssignmentPattern'(node) {
|
'VariableDeclarator,PropertyDefinition,AccessorProperty,:matches(FunctionDeclaration,FunctionExpression) > AssignmentPattern'(node) {
|
||||||
function getLHSRHS() {
|
function getLHSRHS() {
|
||||||
switch (node.type) {
|
switch (node.type) {
|
||||||
case utils_1.AST_NODE_TYPES.VariableDeclarator:
|
case utils_1.AST_NODE_TYPES.VariableDeclarator:
|
||||||
return [node.id, node.init];
|
return [node.id, node.init];
|
||||||
case utils_1.AST_NODE_TYPES.PropertyDefinition:
|
case utils_1.AST_NODE_TYPES.PropertyDefinition:
|
||||||
|
case utils_1.AST_NODE_TYPES.AccessorProperty:
|
||||||
return [node, node.value];
|
return [node, node.value];
|
||||||
case utils_1.AST_NODE_TYPES.AssignmentPattern:
|
case utils_1.AST_NODE_TYPES.AssignmentPattern:
|
||||||
return [node.left, node.right];
|
return [node.left, node.right];
|
||||||
|
|
@ -62,7 +63,8 @@ exports.default = (0, util_1.createRule)({
|
||||||
messageId: 'preferTypeAnnotation',
|
messageId: 'preferTypeAnnotation',
|
||||||
fix(fixer) {
|
fix(fixer) {
|
||||||
function getIDToAttachAnnotation() {
|
function getIDToAttachAnnotation() {
|
||||||
if (node.type !== utils_1.AST_NODE_TYPES.PropertyDefinition) {
|
if (node.type !== utils_1.AST_NODE_TYPES.PropertyDefinition &&
|
||||||
|
node.type !== utils_1.AST_NODE_TYPES.AccessorProperty) {
|
||||||
return lhsName;
|
return lhsName;
|
||||||
}
|
}
|
||||||
if (!node.computed) {
|
if (!node.computed) {
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"consistent-generic-constructors.js","sourceRoot":"","sources":["../../src/rules/consistent-generic-constructors.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAoE;AAKpE,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iCAAiC;IACvC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,wGAAwG;YAC1G,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,iBAAiB,EACf,2FAA2F;YAC7F,oBAAoB,EAClB,gFAAgF;SACnF;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0CAA0C;gBACvD,IAAI,EAAE,CAAC,iBAAiB,EAAE,aAAa,CAAC;aACzC;SACF;KACF;IACD,cAAc,EAAE,CAAC,aAAa,CAAC;IAC/B,MAAM,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC;QACpB,OAAO;YACL,4GAA4G,CAC1G,IAG+B;gBAE/B,SAAS,SAAS;oBAIhB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;wBAClB,KAAK,sBAAc,CAAC,kBAAkB;4BACpC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;wBAC9B,KAAK,sBAAc,CAAC,kBAAkB;4BACpC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;wBAC5B,KAAK,sBAAc,CAAC,iBAAiB;4BACnC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;wBACjC;4BACE,MAAM,IAAI,KAAK,CACb,wBAAyB,IAAyB,CAAC,IAAI,EAAE,CAC1D,CAAC;oBACN,CAAC;gBACH,CAAC;gB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AAG,CAAC,MAAM,EACV,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAC9C,CAAC;4BACF,IAAI,CAAC,SAAS,EAAE,CAAC;gCACf,MAAM,KAAK,CAAC,eAAe,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;4BAChD,CAAC;wBACH,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
{"version":3,"file":"consistent-generic-constructors.js","sourceRoot":"","sources":["../../src/rules/consistent-generic-constructors.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAoE;AAKpE,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iCAAiC;IACvC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,wGAAwG;YAC1G,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,iBAAiB,EACf,2FAA2F;YAC7F,oBAAoB,EAClB,gFAAgF;SACnF;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0CAA0C;gBACvD,IAAI,EAAE,CAAC,iBAAiB,EAAE,aAAa,CAAC;aACzC;SACF;KACF;IACD,cAAc,EAAE,CAAC,aAAa,CAAC;IAC/B,MAAM,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC;QACpB,OAAO;YACL,6HAA6H,CAC3H,IAI+B;gBAE/B,SAAS,SAAS;oBAQhB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;wBAClB,KAAK,sBAAc,CAAC,kBAAkB;4BACpC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;wBAC9B,KAAK,sBAAc,CAAC,kBAAkB,CAAC;wBACvC,KAAK,sBAAc,CAAC,gBAAgB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EAAE,mBAAmB;wBAC9B,CAAC,GAAG,CAAC,KAAK;4BACR,MAAM,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;4BAC/B,KAAK,MAAM,OAAO,IAAI,aAAa,EAAE,CAAC;gCACpC,MAAM,KAAK,CAAC,eAAe,CACzB,GAAG,CAAC,MAAM,EACV,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CACpC,CAAC;4BACJ,CAAC;4BACD,MAAM,KAAK,CAAC,eAAe,CACzB,GAAG,CAAC,MAAM,EACV,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAC9C,CAAC;4BACF,IAAI,CAAC,SAAS,EAAE,CAAC;gCACf,MAAM,KAAK,CAAC,eAAe,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;4BAChD,CAAC;wBACH,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
||||||
|
|
@ -285,7 +285,7 @@ exports.default = (0, util_1.createRule)({
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
'MethodDefinition, TSAbstractMethodDefinition': checkMethodAccessibilityModifier,
|
'MethodDefinition, TSAbstractMethodDefinition': checkMethodAccessibilityModifier,
|
||||||
'PropertyDefinition, TSAbstractPropertyDefinition': checkPropertyAccessibilityModifier,
|
'PropertyDefinition, TSAbstractPropertyDefinition, AccessorProperty, TSAbstractAccessorProperty': checkPropertyAccessibilityModifier,
|
||||||
TSParameterProperty: checkParameterPropertyAccessibilityModifier,
|
TSParameterProperty: checkParameterPropertyAccessibilityModifier,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -206,7 +206,8 @@ exports.default = (0, util_1.createRule)({
|
||||||
if (node.type === utils_1.AST_NODE_TYPES.MethodDefinition ||
|
if (node.type === utils_1.AST_NODE_TYPES.MethodDefinition ||
|
||||||
node.type === utils_1.AST_NODE_TYPES.TSAbstractMethodDefinition ||
|
node.type === utils_1.AST_NODE_TYPES.TSAbstractMethodDefinition ||
|
||||||
(node.type === utils_1.AST_NODE_TYPES.Property && node.method) ||
|
(node.type === utils_1.AST_NODE_TYPES.Property && node.method) ||
|
||||||
node.type === utils_1.AST_NODE_TYPES.PropertyDefinition) {
|
node.type === utils_1.AST_NODE_TYPES.PropertyDefinition ||
|
||||||
|
node.type === utils_1.AST_NODE_TYPES.AccessorProperty) {
|
||||||
return (0, util_1.isStaticMemberAccessOfValue)(node, context, ...options.allowedNames);
|
return (0, util_1.isStaticMemberAccessOfValue)(node, context, ...options.allowedNames);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
@ -279,6 +280,7 @@ exports.default = (0, util_1.createRule)({
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
case utils_1.AST_NODE_TYPES.PropertyDefinition:
|
case utils_1.AST_NODE_TYPES.PropertyDefinition:
|
||||||
|
case utils_1.AST_NODE_TYPES.AccessorProperty:
|
||||||
case utils_1.AST_NODE_TYPES.MethodDefinition:
|
case utils_1.AST_NODE_TYPES.MethodDefinition:
|
||||||
case utils_1.AST_NODE_TYPES.TSAbstractMethodDefinition:
|
case utils_1.AST_NODE_TYPES.TSAbstractMethodDefinition:
|
||||||
if (node.accessibility === 'private' ||
|
if (node.accessibility === 'private' ||
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
1
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js
generated
vendored
|
|
@ -119,6 +119,7 @@ exports.default = (0, util_1.createRule)({
|
||||||
return parent.id === node;
|
return parent.id === node;
|
||||||
case utils_1.AST_NODE_TYPES.MethodDefinition:
|
case utils_1.AST_NODE_TYPES.MethodDefinition:
|
||||||
case utils_1.AST_NODE_TYPES.PropertyDefinition:
|
case utils_1.AST_NODE_TYPES.PropertyDefinition:
|
||||||
|
case utils_1.AST_NODE_TYPES.AccessorProperty:
|
||||||
return parent.key === node;
|
return parent.key === node;
|
||||||
case utils_1.AST_NODE_TYPES.Property:
|
case utils_1.AST_NODE_TYPES.Property:
|
||||||
// foo in "const { foo } = bar" will be processed twice, as parent.key
|
// foo in "const { foo } = bar" will be processed twice, as parent.key
|
||||||
|
|
|
||||||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map
generated
vendored
File diff suppressed because one or more lines are too long
6
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js
generated
vendored
6
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js
generated
vendored
|
|
@ -39,7 +39,7 @@ const ts = __importStar(require("typescript"));
|
||||||
const util_1 = require("../util");
|
const util_1 = require("../util");
|
||||||
const FUNCTION_CONSTRUCTOR = 'Function';
|
const FUNCTION_CONSTRUCTOR = 'Function';
|
||||||
const GLOBAL_CANDIDATES = new Set(['global', 'globalThis', 'window']);
|
const GLOBAL_CANDIDATES = new Set(['global', 'globalThis', 'window']);
|
||||||
const EVAL_LIKE_METHODS = new Set([
|
const EVAL_LIKE_FUNCTIONS = new Set([
|
||||||
'execScript',
|
'execScript',
|
||||||
'setImmediate',
|
'setImmediate',
|
||||||
'setInterval',
|
'setInterval',
|
||||||
|
|
@ -50,7 +50,7 @@ exports.default = (0, util_1.createRule)({
|
||||||
meta: {
|
meta: {
|
||||||
type: 'suggestion',
|
type: 'suggestion',
|
||||||
docs: {
|
docs: {
|
||||||
description: 'Disallow the use of `eval()`-like methods',
|
description: 'Disallow the use of `eval()`-like functions',
|
||||||
extendsBaseRule: true,
|
extendsBaseRule: true,
|
||||||
recommended: 'recommended',
|
recommended: 'recommended',
|
||||||
requiresTypeChecking: true,
|
requiresTypeChecking: true,
|
||||||
|
|
@ -138,7 +138,7 @@ exports.default = (0, util_1.createRule)({
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const [handler] = node.arguments;
|
const [handler] = node.arguments;
|
||||||
if (EVAL_LIKE_METHODS.has(calleeName) &&
|
if (EVAL_LIKE_FUNCTIONS.has(calleeName) &&
|
||||||
!isFunction(handler) &&
|
!isFunction(handler) &&
|
||||||
(0, util_1.isReferenceToGlobalFunction)(calleeName, node, context.sourceCode)) {
|
(0, util_1.isReferenceToGlobalFunction)(calleeName, node, context.sourceCode)) {
|
||||||
context.report({ node: handler, messageId: 'noImpliedEvalError' });
|
context.report({ node: handler, messageId: 'noImpliedEvalError' });
|
||||||
|
|
|
||||||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map
generated
vendored
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"no-implied-eval.js","sourceRoot":"","sources":["../../src/rules/no-implied-eval.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAEjB,MAAM,oBAAoB,GAAG,UAAU,CAAC;AACxC,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC;AACtE,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,YAAY;IACZ,cAAc;IACd,aAAa;IACb,YAAY;CACb,CAAC,CAAC;AAEH,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,eAAe,EAAE,IAAI;YACrB,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,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CAAC;qBAAM,CAAC;oBACN,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAAC,CAAC;oBAC7D,OAAO;gBACT,CAAC;YACH,CAAC;YAED,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAChC,OAAO;YACT,CAAC;YAED,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;YACjC,IACE,mBAAmB,CAAC,GAAG,CAAC,UAAU,CAAC;gBACnC,CAAC,UAAU,CAAC,OAAO,CAAC;gBACpB,IAAA,kCAA2B,EAAC,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,EACjE,CAAC;gBACD,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,CAAC,CAAC;YACrE,CAAC;QACH,CAAC;QAED,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,aAAa,EAAE,gBAAgB;SAChC,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js
generated
vendored
|
|
@ -173,6 +173,7 @@ exports.default = (0, util_1.createRule)({
|
||||||
reportInferrableType(node, node.typeAnnotation, node.value);
|
reportInferrableType(node, node.typeAnnotation, node.value);
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
AccessorProperty: inferrablePropertyVisitor,
|
||||||
ArrowFunctionExpression: inferrableParameterVisitor,
|
ArrowFunctionExpression: inferrableParameterVisitor,
|
||||||
FunctionDeclaration: inferrableParameterVisitor,
|
FunctionDeclaration: inferrableParameterVisitor,
|
||||||
FunctionExpression: inferrableParameterVisitor,
|
FunctionExpression: inferrableParameterVisitor,
|
||||||
|
|
|
||||||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map
generated
vendored
File diff suppressed because one or more lines are too long
3
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js
generated
vendored
3
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js
generated
vendored
|
|
@ -747,7 +747,8 @@ function getMemberIfExists(type, memberName) {
|
||||||
}
|
}
|
||||||
function isStaticMember(node) {
|
function isStaticMember(node) {
|
||||||
return ((node.type === utils_1.AST_NODE_TYPES.MethodDefinition ||
|
return ((node.type === utils_1.AST_NODE_TYPES.MethodDefinition ||
|
||||||
node.type === utils_1.AST_NODE_TYPES.PropertyDefinition) &&
|
node.type === utils_1.AST_NODE_TYPES.PropertyDefinition ||
|
||||||
|
node.type === utils_1.AST_NODE_TYPES.AccessorProperty) &&
|
||||||
node.static);
|
node.static);
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=no-misused-promises.js.map
|
//# sourceMappingURL=no-misused-promises.js.map
|
||||||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map
generated
vendored
File diff suppressed because one or more lines are too long
8
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js
generated
vendored
8
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js
generated
vendored
|
|
@ -53,7 +53,13 @@ exports.default = (0, util_1.createRule)({
|
||||||
noIterableSpreadInObject: 'Using the spread operator on an Iterable in an object can cause unexpected behavior.',
|
noIterableSpreadInObject: 'Using the spread operator on an Iterable in an object can cause unexpected behavior.',
|
||||||
noMapSpreadInObject: 'Using the spread operator on a Map in an object will result in an empty object. Did you mean to use `Object.fromEntries(map)` instead?',
|
noMapSpreadInObject: 'Using the spread operator on a Map in an object will result in an empty object. Did you mean to use `Object.fromEntries(map)` instead?',
|
||||||
noPromiseSpreadInObject: 'Using the spread operator on Promise in an object can cause unexpected behavior. Did you forget to await the promise?',
|
noPromiseSpreadInObject: 'Using the spread operator on Promise in an object can cause unexpected behavior. Did you forget to await the promise?',
|
||||||
noStringSpread: "Using the spread operator on a string can cause unexpected behavior. Prefer `.split('')` instead.",
|
noStringSpread: [
|
||||||
|
'Using the spread operator on a string can mishandle special characters, as can `.split("")`.',
|
||||||
|
'- `...` produces Unicode code points, which will decompose complex emojis into individual emojis',
|
||||||
|
'- .split("") produces UTF-16 code units, which breaks rich characters in many languages',
|
||||||
|
'Consider using `Intl.Segmenter` for locale-aware string decomposition.',
|
||||||
|
"Otherwise, if you don't need to preserve emojis or other non-Ascii characters, disable this lint rule on this line or configure the 'allow' rule option.",
|
||||||
|
].join('\n'),
|
||||||
},
|
},
|
||||||
schema: [
|
schema: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js.map
generated
vendored
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"no-misused-spread.js","sourceRoot":"","sources":["../../src/rules/no-misused-spread.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAIjC,kCASiB;AAkBjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,4EAA4E;YAC9E,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,qBAAqB,EACnB,sFAAsF;YACxF,gCAAgC,EAC9B,gIAAgI;YAClI,6BAA6B,EAC3B,+EAA+E;YACjF,wBAAwB,EACtB,2IAA2I;YAC7I,wBAAwB,EACtB,sFA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E,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC"}
|
{"version":3,"file":"no-misused-spread.js","sourceRoot":"","sources":["../../src/rules/no-misused-spread.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAIjC,kCASiB;AAkBjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,4EAA4E;YAC9E,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,qBAAqB,EACnB,sFAAsF;YACxF,gCAAgC,EAC9B,gIAAgI;YAClI,6BAA6B,EAC3B,+EAA+E;YACjF,wBAAwB,EACtB,2IAA2I;YAC7I,wBAAwB,EACtB,sFAAsF;YACxF,mBAAmB,EACjB,wIAAwI;YAC1I,uBAAuB,EACrB,uHAAuH;YACzH,cAAc,EAAE;gBACd,8FAA8F;gBAC9F,kGAAkG;gBAClG,yFAAyF;gBACzF,wEAAwE;gBACxE,0JAA0J;aAC3J,CAAC,IAAI,CAAC,IAAI,CAAC;SACb;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,GAAG,gCAAyB,CAAC,UAAU,CAAC,KAAK;wBAC7C,WAAW,EACT,kEAAkE;qBACrE;iBACF;aACF;SACF;KACF;IAED,cAAc,EAAE;QACd;YACE,KAAK,EAAE,EAAE;SACV;KACF;IAED,MAAM,CAAC,OAAO,EAAE,C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ACrC,CAAC;IACN,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,kBAAkB,CAAC,IAAa;IACvC,OAAO,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE;QAC9B,IACE,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;YACvB,OAAO,CAAC,eAAe,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,2BAA2B,CAAC,EACtE,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,IAAI,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,gBAAgB,EAAE,IAAI,CAAC;QAEnD,OAAO,CACL,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,gBAAgB;YACvC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,eAAe,CACvC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,KAAK,CAAC,OAAmB,EAAE,IAAa;IAC/C,OAAO,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,CAC9B,IAAA,0BAAmB,EAAC,OAAO,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,CACnE,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CACrB,IAAa,EACb,SAAkC;IAElC,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC"}
|
||||||
49
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js
generated
vendored
49
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js
generated
vendored
|
|
@ -94,6 +94,12 @@ function booleanComparison(left, operator, right) {
|
||||||
return left >= right;
|
return left >= right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
const constantLoopConditionsAllowedLiterals = new Set([
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
]);
|
||||||
exports.default = (0, util_1.createRule)({
|
exports.default = (0, util_1.createRule)({
|
||||||
name: 'no-unnecessary-condition',
|
name: 'no-unnecessary-condition',
|
||||||
meta: {
|
meta: {
|
||||||
|
|
@ -124,8 +130,16 @@ exports.default = (0, util_1.createRule)({
|
||||||
additionalProperties: false,
|
additionalProperties: false,
|
||||||
properties: {
|
properties: {
|
||||||
allowConstantLoopConditions: {
|
allowConstantLoopConditions: {
|
||||||
type: 'boolean',
|
|
||||||
description: 'Whether to ignore constant loop conditions, such as `while (true)`.',
|
description: 'Whether to ignore constant loop conditions, such as `while (true)`.',
|
||||||
|
oneOf: [
|
||||||
|
{
|
||||||
|
type: 'boolean',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'string',
|
||||||
|
enum: ['always', 'never', 'only-allowed-literals'],
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: {
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
|
|
@ -141,7 +155,7 @@ exports.default = (0, util_1.createRule)({
|
||||||
},
|
},
|
||||||
defaultOptions: [
|
defaultOptions: [
|
||||||
{
|
{
|
||||||
allowConstantLoopConditions: false,
|
allowConstantLoopConditions: 'never',
|
||||||
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
||||||
checkTypePredicates: false,
|
checkTypePredicates: false,
|
||||||
},
|
},
|
||||||
|
|
@ -152,6 +166,10 @@ exports.default = (0, util_1.createRule)({
|
||||||
const compilerOptions = services.program.getCompilerOptions();
|
const compilerOptions = services.program.getCompilerOptions();
|
||||||
const isStrictNullChecks = tsutils.isStrictCompilerOptionEnabled(compilerOptions, 'strictNullChecks');
|
const isStrictNullChecks = tsutils.isStrictCompilerOptionEnabled(compilerOptions, 'strictNullChecks');
|
||||||
const isNoUncheckedIndexedAccess = tsutils.isCompilerOptionEnabled(compilerOptions, 'noUncheckedIndexedAccess');
|
const isNoUncheckedIndexedAccess = tsutils.isCompilerOptionEnabled(compilerOptions, 'noUncheckedIndexedAccess');
|
||||||
|
const allowConstantLoopConditionsOption = normalizeAllowConstantLoopConditions(
|
||||||
|
// https://github.com/typescript-eslint/typescript-eslint/issues/5439
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||||
|
allowConstantLoopConditions);
|
||||||
if (!isStrictNullChecks &&
|
if (!isStrictNullChecks &&
|
||||||
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing !== true) {
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing !== true) {
|
||||||
context.report({
|
context.report({
|
||||||
|
|
@ -360,6 +378,14 @@ exports.default = (0, util_1.createRule)({
|
||||||
// The right side will be checked if the LogicalExpression is used in a conditional context
|
// The right side will be checked if the LogicalExpression is used in a conditional context
|
||||||
checkNode(node.left);
|
checkNode(node.left);
|
||||||
}
|
}
|
||||||
|
function checkIfWhileLoopIsNecessaryConditional(node) {
|
||||||
|
if (allowConstantLoopConditionsOption === 'only-allowed-literals' &&
|
||||||
|
node.test.type === utils_1.AST_NODE_TYPES.Literal &&
|
||||||
|
constantLoopConditionsAllowedLiterals.has(node.test.value)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
checkIfLoopIsNecessaryConditional(node);
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Checks that a testable expression of a loop is necessarily conditional, reports otherwise.
|
* Checks that a testable expression of a loop is necessarily conditional, reports otherwise.
|
||||||
*/
|
*/
|
||||||
|
|
@ -368,13 +394,7 @@ exports.default = (0, util_1.createRule)({
|
||||||
// e.g. `for(;;)`
|
// e.g. `for(;;)`
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/**
|
if (allowConstantLoopConditionsOption === 'always' &&
|
||||||
* Allow:
|
|
||||||
* while (true) {}
|
|
||||||
* for (;true;) {}
|
|
||||||
* do {} while (true)
|
|
||||||
*/
|
|
||||||
if (allowConstantLoopConditions &&
|
|
||||||
tsutils.isTrueLiteralType((0, util_1.getConstrainedTypeAtLocation)(services, node.test))) {
|
tsutils.isTrueLiteralType((0, util_1.getConstrainedTypeAtLocation)(services, node.test))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -619,8 +639,17 @@ exports.default = (0, util_1.createRule)({
|
||||||
checkIfBoolExpressionIsNecessaryConditional(test, parent.discriminant, test, '===');
|
checkIfBoolExpressionIsNecessaryConditional(test, parent.discriminant, test, '===');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
WhileStatement: checkIfLoopIsNecessaryConditional,
|
WhileStatement: checkIfWhileLoopIsNecessaryConditional,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
function normalizeAllowConstantLoopConditions(allowConstantLoopConditions) {
|
||||||
|
if (allowConstantLoopConditions === true) {
|
||||||
|
return 'always';
|
||||||
|
}
|
||||||
|
if (allowConstantLoopConditions === false) {
|
||||||
|
return 'never';
|
||||||
|
}
|
||||||
|
return allowConstantLoopConditions;
|
||||||
|
}
|
||||||
//# sourceMappingURL=no-unnecessary-condition.js.map
|
//# sourceMappingURL=no-unnecessary-condition.js.map
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -34,6 +34,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
||||||
})();
|
})();
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const utils_1 = require("@typescript-eslint/utils");
|
const utils_1 = require("@typescript-eslint/utils");
|
||||||
|
const tsutils = __importStar(require("ts-api-utils"));
|
||||||
const ts = __importStar(require("typescript"));
|
const ts = __importStar(require("typescript"));
|
||||||
const util_1 = require("../util");
|
const util_1 = require("../util");
|
||||||
const rangeToLoc_1 = require("../util/rangeToLoc");
|
const rangeToLoc_1 = require("../util/rangeToLoc");
|
||||||
|
|
@ -75,13 +76,11 @@ exports.default = (0, util_1.createRule)({
|
||||||
}
|
}
|
||||||
return isStringLike(type);
|
return isStringLike(type);
|
||||||
}
|
}
|
||||||
/**
|
function isEnumMemberType(type) {
|
||||||
* Checks for whole enum types, i.e. `MyEnum`, and not their values, i.e. `MyEnum.A`
|
return tsutils.typeParts(type).some(t => {
|
||||||
*/
|
const symbol = t.getSymbol();
|
||||||
function isEnumType(type) {
|
return !!(symbol?.valueDeclaration && ts.isEnumMember(symbol.valueDeclaration));
|
||||||
const symbol = type.getSymbol();
|
});
|
||||||
return !!(symbol?.valueDeclaration &&
|
|
||||||
ts.isEnumDeclaration(symbol.valueDeclaration));
|
|
||||||
}
|
}
|
||||||
const isLiteral = (0, util_1.isNodeOfType)(utils_1.TSESTree.AST_NODE_TYPES.Literal);
|
const isLiteral = (0, util_1.isNodeOfType)(utils_1.TSESTree.AST_NODE_TYPES.Literal);
|
||||||
function isTemplateLiteral(node) {
|
function isTemplateLiteral(node) {
|
||||||
|
|
@ -333,7 +332,7 @@ exports.default = (0, util_1.createRule)({
|
||||||
if (constraintType &&
|
if (constraintType &&
|
||||||
!isTypeParameter &&
|
!isTypeParameter &&
|
||||||
isUnderlyingTypeString(constraintType) &&
|
isUnderlyingTypeString(constraintType) &&
|
||||||
!isEnumType(constraintType)) {
|
!isEnumMemberType(constraintType)) {
|
||||||
reportSingleInterpolation(node);
|
reportSingleInterpolation(node);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
3
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js
generated
vendored
3
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js
generated
vendored
|
|
@ -252,6 +252,9 @@ exports.default = (0, util_1.createRule)({
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
'AccessorProperty[value != null]'(node) {
|
||||||
|
checkAssignment(node.key, node.value, node, getComparisonType(node.typeAnnotation));
|
||||||
|
},
|
||||||
'AssignmentExpression[operator = "="], AssignmentPattern'(node) {
|
'AssignmentExpression[operator = "="], AssignmentPattern'(node) {
|
||||||
let didReport = checkAssignment(node.left, node.right, node, 1 /* ComparisonType.Basic */);
|
let didReport = checkAssignment(node.left, node.right, node, 1 /* ComparisonType.Basic */);
|
||||||
if (!didReport) {
|
if (!didReport) {
|
||||||
|
|
|
||||||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map
generated
vendored
File diff suppressed because one or more lines are too long
16
node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js
generated
vendored
16
node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js
generated
vendored
|
|
@ -130,17 +130,19 @@ exports.default = (0, util_1.createRule)({
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function checkProperty(node) {
|
||||||
|
if (!(node.value?.type === utils_1.AST_NODE_TYPES.FunctionExpression ||
|
||||||
|
node.value?.type === utils_1.AST_NODE_TYPES.ArrowFunctionExpression)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
checkFunction(node.value, node.parent.parent);
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
|
'ClassBody > AccessorProperty': checkProperty,
|
||||||
'ClassBody > MethodDefinition'(node) {
|
'ClassBody > MethodDefinition'(node) {
|
||||||
checkFunction(node.value, node.parent.parent);
|
checkFunction(node.value, node.parent.parent);
|
||||||
},
|
},
|
||||||
'ClassBody > PropertyDefinition'(node) {
|
'ClassBody > PropertyDefinition': checkProperty,
|
||||||
if (!(node.value?.type === utils_1.AST_NODE_TYPES.FunctionExpression ||
|
|
||||||
node.value?.type === utils_1.AST_NODE_TYPES.ArrowFunctionExpression)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
checkFunction(node.value, node.parent.parent);
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"prefer-return-this-type.js","sourceRoot":"","sources":["../../src/rules/prefer-return-this-type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAAgF;AAUhF,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,+DAA+D;YACjE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,WAAW,EAAE,0BAA0B;SACxC;QACD,MAAM,EAAE,EAAE;KACX;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,gBAAgB,CACvB,IAAY,EACZ,QAA2B;YAE3B,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe;gBAChD,QAAQ,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBACpD,QAAQ,CAAC,QAAQ,CAAC,IAAI,KAAK,IAAI,EAC/B,CAAC;gBACD,OAAO,QAAQ,CAAC;YAClB,CAAC;YAED,IAAI,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,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AC,IAAI,EAAE,MAAM,CAAC;iBAC9C,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,8BAA8B,CAAC,IAA+B;gBAC5D,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,MAA8B,CAAC,CAAC;YACxE,CAAC;YACD,gCAAgC,CAC9B,IAAiC;gBAEjC,IACE,CAAC,CACC,IAAI,CAAC,KAAK,EAAE,IAAI,KAAK,sBAAc,CAAC,kBAAkB;oBACtD,IAAI,CAAC,KAAK,EAAE,IAAI,KAAK,sBAAc,CAAC,uBAAuB,CAC5D,EACD,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,MAA8B,CAAC,CAAC;YACxE,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
{"version":3,"file":"prefer-return-this-type.js","sourceRoot":"","sources":["../../src/rules/prefer-return-this-type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAAgF;AAUhF,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,+DAA+D;YACjE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,WAAW,EAAE,0BAA0B;SACxC;QACD,MAAM,EAAE,EAAE;KACX;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,gB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AC3B,SAAS,EACT,YAAY,CAAC,UAAU,CAAC,cAAc,CACvC,CAAC;YACF,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,OAAO;YACT,CAAC;YAED,IAAI,uBAAuB,CAAC,YAAY,EAAE,aAAa,CAAC,EAAE,CAAC;gBACzD,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,aAAa;oBACxB,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC;iBAC9C,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,SAAS,aAAa,CACpB,IAA6D;YAE7D,IACE,CAAC,CACC,IAAI,CAAC,KAAK,EAAE,IAAI,KAAK,sBAAc,CAAC,kBAAkB;gBACtD,IAAI,CAAC,KAAK,EAAE,IAAI,KAAK,sBAAc,CAAC,uBAAuB,CAC5D,EACD,CAAC;gBACD,OAAO;YACT,CAAC;YAED,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAChD,CAAC;QAED,OAAO;YACL,8BAA8B,EAAE,aAAa;YAC7C,8BAA8B,CAAC,IAA+B;gBAC5D,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YAChD,CAAC;YACD,gCAAgC,EAAE,aAAa;SAChD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
||||||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js
generated
vendored
|
|
@ -185,7 +185,7 @@ exports.default = (0, util_1.createRule)({
|
||||||
]) {
|
]) {
|
||||||
if (!allowNumberAndString &&
|
if (!allowNumberAndString &&
|
||||||
isTypeFlagSetInUnion(baseType, ts.TypeFlags.StringLike) &&
|
isTypeFlagSetInUnion(baseType, ts.TypeFlags.StringLike) &&
|
||||||
isTypeFlagSetInUnion(otherType, ts.TypeFlags.NumberLike)) {
|
isTypeFlagSetInUnion(otherType, ts.TypeFlags.NumberLike | ts.TypeFlags.BigIntLike)) {
|
||||||
return context.report({
|
return context.report({
|
||||||
node,
|
node,
|
||||||
messageId: 'mismatched',
|
messageId: 'mismatched',
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
2
node_modules/@typescript-eslint/eslint-plugin/dist/util/getMemberHeadLoc.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/util/getMemberHeadLoc.js.map
generated
vendored
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"getMemberHeadLoc.js","sourceRoot":"","sources":["../../src/util/getMemberHeadLoc.ts"],"names":[],"mappings":";;AA6BA,4CAqCC;AAaD,kEA6BC;AA1GD,wEAG+C;AAE/C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,gBAAgB,CAC9B,UAAyC,EACzC,IAIyC;IAEzC,IAAI,KAAwB,CAAC;IAE7B,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjC,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;IACzB,CAAC;SAAM,CAAC;QACN,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAClE,MAAM,SAAS,GAAG,IAAA,yBAAU,EAC1B,UAAU,CAAC,aAAa,CAAC,aAAa,CAAC,EACvC,gCAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAC1D,CAAC;QACF,KAAK,GAAG,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC;IAC9B,CAAC;IAED,IAAI,GAAsB,CAAC;IAE3B,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;QACnB,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,G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C/B,CAAC;IAED,OAAO;QACL,GAAG,EAAE,eAAe,CAAC,GAAG,CAAC;QACzB,KAAK,EAAE,eAAe,CAAC,KAAK,CAAC;KAC9B,CAAC;AACJ,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,2BAA2B,CACzC,UAAyC,EACzC,IAAkC,EAClC,QAAgB;IAEhB,8DAA8D;IAC9D,4BAA4B;IAE5B,IAAI,KAAwB,CAAC;IAE7B,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjC,KAAK,GAAG,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;SAAM,CAAC;QACN,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAClE,MAAM,SAAS,GAAG,IAAA,yBAAU,EAC1B,UAAU,CAAC,aAAa,CAAC,aAAa,CAAC,EACvC,gCAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAC1D,CAAC;QACF,KAAK,GAAG,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC/C,CAAC;IAED,MAAM,GAAG,GAAG,UAAU,CAAC,eAAe,CACpC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,MAAM,CAC1C,CAAC;IAEF,OAAO;QACL,GAAG;QACH,KAAK;KACN,CAAC;AACJ,CAAC"}
|
||||||
2
node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map
generated
vendored
File diff suppressed because one or more lines are too long
3
node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-methods-use-this.mdx
generated
vendored
3
node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-methods-use-this.mdx
generated
vendored
|
|
@ -9,8 +9,7 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/class-methods-use-this** for documentation.
|
> See **https://typescript-eslint.io/rules/class-methods-use-this** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/class-methods-use-this`](https://eslint.org/docs/rules/class-methods-use-this) rule.
|
It adds support for ignoring `override` methods and/or methods on classes that implement an interface. It also supports auto-accessor properties.
|
||||||
It adds support for ignoring `override` methods and/or methods on classes that implement an interface.
|
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
|
|
||||||
3
node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-return.mdx
generated
vendored
3
node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-return.mdx
generated
vendored
|
|
@ -9,8 +9,7 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/consistent-return** for documentation.
|
> See **https://typescript-eslint.io/rules/consistent-return** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/consistent-return`](https://eslint.org/docs/rules/consistent-return) rule.
|
It adds support for functions that return `void` or `Promise<void>`.
|
||||||
This version adds support for functions that return `void` or `Promise<void>`.
|
|
||||||
|
|
||||||
:::danger warning
|
:::danger warning
|
||||||
If possible, it is recommended to use tsconfig's `noImplicitReturns` option rather than this rule. `noImplicitReturns` is powered by TS's type information and control-flow analysis so it has better coverage than this rule.
|
If possible, it is recommended to use tsconfig's `noImplicitReturns` option rather than this rule. `noImplicitReturns` is powered by TS's type information and control-flow analysis so it has better coverage than this rule.
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.mdx
generated
vendored
|
|
@ -9,7 +9,6 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/default-param-last** for documentation.
|
> See **https://typescript-eslint.io/rules/default-param-last** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/default-param-last`](https://eslint.org/docs/rules/default-param-last) rule.
|
|
||||||
It adds support for optional parameters.
|
It adds support for optional parameters.
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.mdx
generated
vendored
|
|
@ -9,7 +9,6 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/dot-notation** for documentation.
|
> See **https://typescript-eslint.io/rules/dot-notation** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/dot-notation`](https://eslint.org/docs/rules/dot-notation) rule.
|
|
||||||
It adds:
|
It adds:
|
||||||
|
|
||||||
- Support for optionally ignoring computed `private` and/or `protected` member access.
|
- Support for optionally ignoring computed `private` and/or `protected` member access.
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.mdx
generated
vendored
|
|
@ -9,5 +9,4 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/init-declarations** for documentation.
|
> See **https://typescript-eslint.io/rules/init-declarations** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/init-declarations`](https://eslint.org/docs/rules/init-declarations) rule.
|
|
||||||
It adds support for TypeScript's `declare` variables.
|
It adds support for TypeScript's `declare` variables.
|
||||||
|
|
|
||||||
3
node_modules/@typescript-eslint/eslint-plugin/docs/rules/max-params.mdx
generated
vendored
3
node_modules/@typescript-eslint/eslint-plugin/docs/rules/max-params.mdx
generated
vendored
|
|
@ -9,8 +9,7 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/max-params** for documentation.
|
> See **https://typescript-eslint.io/rules/max-params** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/max-params`](https://eslint.org/docs/rules/max-params) rule.
|
It adds support for TypeScript `this` parameters so they won't be counted as a parameter.
|
||||||
This version adds support for TypeScript `this` parameters so they won't be counted as a parameter.
|
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.mdx
generated
vendored
|
|
@ -9,7 +9,6 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/no-array-constructor** for documentation.
|
> See **https://typescript-eslint.io/rules/no-array-constructor** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-array-constructor`](https://eslint.org/docs/rules/no-array-constructor) rule.
|
|
||||||
It adds support for the generically typed `Array` constructor (`new Array<Foo>()`).
|
It adds support for the generically typed `Array` constructor (`new Array<Foo>()`).
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.mdx
generated
vendored
|
|
@ -13,5 +13,4 @@ import TypeScriptOverlap from '@site/src/components/TypeScriptOverlap';
|
||||||
|
|
||||||
<TypeScriptOverlap />
|
<TypeScriptOverlap />
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-dupe-class-members`](https://eslint.org/docs/rules/no-dupe-class-members) rule.
|
|
||||||
It adds support for TypeScript's method overload definitions.
|
It adds support for TypeScript's method overload definitions.
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.mdx
generated
vendored
|
|
@ -9,7 +9,6 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/no-empty-function** for documentation.
|
> See **https://typescript-eslint.io/rules/no-empty-function** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-empty-function`](https://eslint.org/docs/rules/no-empty-function) rule.
|
|
||||||
It adds support for handling TypeScript specific code that would otherwise trigger the rule.
|
It adds support for handling TypeScript specific code that would otherwise trigger the rule.
|
||||||
|
|
||||||
One example of valid TypeScript specific code that would otherwise trigger the `no-empty-function` rule is the use of [parameter properties](https://www.typescriptlang.org/docs/handbook/classes.html#parameter-properties) in constructor functions.
|
One example of valid TypeScript specific code that would otherwise trigger the `no-empty-function` rule is the use of [parameter properties](https://www.typescriptlang.org/docs/handbook/classes.html#parameter-properties) in constructor functions.
|
||||||
|
|
|
||||||
4
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.mdx
generated
vendored
4
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.mdx
generated
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
description: 'Disallow the use of `eval()`-like methods.'
|
description: 'Disallow the use of `eval()`-like functions.'
|
||||||
---
|
---
|
||||||
|
|
||||||
import Tabs from '@theme/Tabs';
|
import Tabs from '@theme/Tabs';
|
||||||
|
|
@ -9,6 +9,8 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/no-implied-eval** for documentation.
|
> See **https://typescript-eslint.io/rules/no-implied-eval** for documentation.
|
||||||
|
|
||||||
|
It uses type information to determine which values are `eval()`-like functions.
|
||||||
|
|
||||||
It's considered a good practice to avoid using `eval()`. There are security and performance implications involved with doing so, which is why many linters recommend disallowing `eval()`. However, there are some other ways to pass a string and have it interpreted as JavaScript code that have similar concerns.
|
It's considered a good practice to avoid using `eval()`. There are security and performance implications involved with doing so, which is why many linters recommend disallowing `eval()`. However, there are some other ways to pass a string and have it interpreted as JavaScript code that have similar concerns.
|
||||||
|
|
||||||
The first is using `setTimeout()`, `setInterval()`, `setImmediate` or `execScript()` (Internet Explorer only), all of which can accept a string of code as their first argument
|
The first is using `setTimeout()`, `setInterval()`, `setImmediate` or `execScript()` (Internet Explorer only), all of which can accept a string of code as their first argument
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.mdx
generated
vendored
|
|
@ -13,5 +13,4 @@ import TypeScriptOverlap from '@site/src/components/TypeScriptOverlap';
|
||||||
|
|
||||||
<TypeScriptOverlap strict />
|
<TypeScriptOverlap strict />
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-invalid-this`](https://eslint.org/docs/rules/no-invalid-this) rule.
|
|
||||||
It adds support for TypeScript's `this` parameters.
|
It adds support for TypeScript's `this` parameters.
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.mdx
generated
vendored
|
|
@ -9,5 +9,4 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/no-loop-func** for documentation.
|
> See **https://typescript-eslint.io/rules/no-loop-func** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-loop-func`](https://eslint.org/docs/rules/no-loop-func) rule.
|
|
||||||
It adds support for TypeScript types.
|
It adds support for TypeScript types.
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.mdx
generated
vendored
|
|
@ -9,7 +9,6 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/no-magic-numbers** for documentation.
|
> See **https://typescript-eslint.io/rules/no-magic-numbers** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-magic-numbers`](https://eslint.org/docs/rules/no-magic-numbers) rule.
|
|
||||||
It adds support for:
|
It adds support for:
|
||||||
|
|
||||||
- numeric literal types (`type T = 1`),
|
- numeric literal types (`type T = 1`),
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.mdx
generated
vendored
|
|
@ -13,7 +13,6 @@ import TypeScriptOverlap from '@site/src/components/TypeScriptOverlap';
|
||||||
|
|
||||||
<TypeScriptOverlap />
|
<TypeScriptOverlap />
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-redeclare`](https://eslint.org/docs/rules/no-redeclare) rule.
|
|
||||||
It adds support for TypeScript function overloads, and declaration merging.
|
It adds support for TypeScript function overloads, and declaration merging.
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
|
||||||
6
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.mdx
generated
vendored
6
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.mdx
generated
vendored
|
|
@ -9,7 +9,11 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/no-restricted-imports** for documentation.
|
> See **https://typescript-eslint.io/rules/no-restricted-imports** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-restricted-imports`](https://eslint.org/docs/rules/no-restricted-imports) rule. It adds support for the type import (`import type X from "..."`, `import { type X } from "..."`) and `import x = require("...")` syntaxes.
|
It adds support for type import syntaxes:
|
||||||
|
|
||||||
|
- `import type X from "..."`
|
||||||
|
- `import { type X } from "..."`
|
||||||
|
- `import x = require("...")`
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.mdx
generated
vendored
|
|
@ -9,7 +9,6 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/no-shadow** for documentation.
|
> See **https://typescript-eslint.io/rules/no-shadow** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-shadow`](https://eslint.org/docs/rules/no-shadow) rule.
|
|
||||||
It adds support for TypeScript's `this` parameters and global augmentation, and adds options for TypeScript features.
|
It adds support for TypeScript's `this` parameters and global augmentation, and adds options for TypeScript features.
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
|
||||||
78
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.mdx
generated
vendored
78
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.mdx
generated
vendored
|
|
@ -84,12 +84,80 @@ function bar(arg?: string | null) {
|
||||||
|
|
||||||
{/* insert option description */}
|
{/* insert option description */}
|
||||||
|
|
||||||
Example of correct code for `{ allowConstantLoopConditions: true }`:
|
#### `'never'`
|
||||||
|
|
||||||
```ts option='{ "allowConstantLoopConditions": true }' showPlaygroundButton
|
Disallow constant conditions in loops. Same as `false`.
|
||||||
while (true) {}
|
|
||||||
for (; true; ) {}
|
Example of incorrect code for `{ allowConstantLoopConditions: 'never' }`:
|
||||||
do {} while (true);
|
|
||||||
|
```ts option='{ "allowConstantLoopConditions": "never" }' showPlaygroundButton
|
||||||
|
while (true) {
|
||||||
|
// ...
|
||||||
|
}
|
||||||
|
|
||||||
|
for (; true; ) {
|
||||||
|
// ...
|
||||||
|
}
|
||||||
|
|
||||||
|
do {
|
||||||
|
// ...
|
||||||
|
} while (true);
|
||||||
|
```
|
||||||
|
|
||||||
|
#### `'always'`
|
||||||
|
|
||||||
|
Allow constant conditions in loops. Same as `true`.
|
||||||
|
|
||||||
|
Example of correct code for `{ allowConstantLoopConditions: 'always' }`:
|
||||||
|
|
||||||
|
```ts option='{ "allowConstantLoopConditions": "always" }' showPlaygroundButton
|
||||||
|
while (true) {
|
||||||
|
// ...
|
||||||
|
}
|
||||||
|
|
||||||
|
for (; true; ) {
|
||||||
|
// ...
|
||||||
|
}
|
||||||
|
|
||||||
|
do {
|
||||||
|
// ...
|
||||||
|
} while (true);
|
||||||
|
```
|
||||||
|
|
||||||
|
#### `'only-allowed-literals'`
|
||||||
|
|
||||||
|
Permit idiomatic constant literal conditions in `while` loop conditions.
|
||||||
|
|
||||||
|
Specifically, `true`, `false`, `0`, and `1` are allowed despite always being truthy or falsy, as these are common patterns and are not likely to represent developer errors.
|
||||||
|
|
||||||
|
Example of correct code for `{ allowConstantLoopConditions: 'only-allowed-literals' }`:
|
||||||
|
|
||||||
|
```ts option='{ "allowConstantLoopConditions": "only-allowed-literals" }' showPlaygroundButton
|
||||||
|
while (true) {
|
||||||
|
// ...
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Example of incorrect code for `{ allowConstantLoopConditions: 'only-allowed-literals' }`:
|
||||||
|
|
||||||
|
```ts option='{ "allowConstantLoopConditions": "only-allowed-literals" }' showPlaygroundButton
|
||||||
|
// `alwaysTrue` has the type of `true` (which isn't allowed)
|
||||||
|
// as only the literal value of `true` is allowed.
|
||||||
|
|
||||||
|
declare const alwaysTrue: true;
|
||||||
|
|
||||||
|
while (alwaysTrue) {
|
||||||
|
// ...
|
||||||
|
}
|
||||||
|
|
||||||
|
// not even a variable that references the value of `true` is allowed, only
|
||||||
|
// the literal value of `true` used directly.
|
||||||
|
|
||||||
|
const thisIsTrue = true;
|
||||||
|
|
||||||
|
while (thisIsTrue) {
|
||||||
|
// ...
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### `checkTypePredicates`
|
### `checkTypePredicates`
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ enum ABC {
|
||||||
C = 'C',
|
C = 'C',
|
||||||
}
|
}
|
||||||
type ABCUnion = `${ABC}`;
|
type ABCUnion = `${ABC}`;
|
||||||
|
type A = `${ABC.A}`;
|
||||||
|
|
||||||
// Interpolating type parameters is allowed.
|
// Interpolating type parameters is allowed.
|
||||||
type TextUtil<T extends string> = `${T}`;
|
type TextUtil<T extends string> = `${T}`;
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.mdx
generated
vendored
|
|
@ -9,7 +9,6 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/no-unused-expressions** for documentation.
|
> See **https://typescript-eslint.io/rules/no-unused-expressions** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-unused-expressions`](https://eslint.org/docs/rules/no-unused-expressions) rule.
|
|
||||||
It supports TypeScript-specific expressions:
|
It supports TypeScript-specific expressions:
|
||||||
|
|
||||||
- Marks directives in modules declarations (`"use strict"`, etc.) as not unused
|
- Marks directives in modules declarations (`"use strict"`, etc.) as not unused
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.mdx
generated
vendored
|
|
@ -9,7 +9,6 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/no-unused-vars** for documentation.
|
> See **https://typescript-eslint.io/rules/no-unused-vars** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-unused-vars`](https://eslint.org/docs/rules/no-unused-vars) rule.
|
|
||||||
It adds support for TypeScript features, such as types.
|
It adds support for TypeScript features, such as types.
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.mdx
generated
vendored
|
|
@ -9,7 +9,6 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/no-use-before-define** for documentation.
|
> See **https://typescript-eslint.io/rules/no-use-before-define** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-use-before-define`](https://eslint.org/docs/rules/no-use-before-define) rule.
|
|
||||||
It adds support for `type`, `interface` and `enum` declarations.
|
It adds support for `type`, `interface` and `enum` declarations.
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.mdx
generated
vendored
|
|
@ -9,7 +9,6 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/no-useless-constructor** for documentation.
|
> See **https://typescript-eslint.io/rules/no-useless-constructor** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/no-useless-constructor`](https://eslint.org/docs/rules/no-useless-constructor) rule.
|
|
||||||
It adds support for:
|
It adds support for:
|
||||||
|
|
||||||
- constructors marked as `protected` / `private` (i.e. marking a constructor as non-public),
|
- constructors marked as `protected` / `private` (i.e. marking a constructor as non-public),
|
||||||
|
|
|
||||||
6
node_modules/@typescript-eslint/eslint-plugin/docs/rules/only-throw-error.mdx
generated
vendored
6
node_modules/@typescript-eslint/eslint-plugin/docs/rules/only-throw-error.mdx
generated
vendored
|
|
@ -9,14 +9,14 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/only-throw-error** for documentation.
|
> See **https://typescript-eslint.io/rules/only-throw-error** for documentation.
|
||||||
|
|
||||||
|
It uses type information to determine which values are `Error`s.
|
||||||
|
|
||||||
It is considered good practice to only `throw` the `Error` object itself or an object using the `Error` object as base objects for user-defined exceptions.
|
It is considered good practice to only `throw` the `Error` object itself or an object using the `Error` object as base objects for user-defined exceptions.
|
||||||
The fundamental benefit of `Error` objects is that they automatically keep track of where they were built and originated.
|
The fundamental benefit of `Error` objects is that they automatically keep track of where they were built and originated.
|
||||||
|
|
||||||
This rule restricts what can be thrown as an exception.
|
|
||||||
|
|
||||||
:::info[Migration from `no-throw-literal`]
|
:::info[Migration from `no-throw-literal`]
|
||||||
|
|
||||||
This rule was formerly known as `no-throw-literal`.
|
This extension rule was formerly known as `@typescript-eslint/no-throw-literal`.
|
||||||
The new name is a drop-in replacement with identical functionality.
|
The new name is a drop-in replacement with identical functionality.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
|
||||||
5
node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-destructuring.mdx
generated
vendored
5
node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-destructuring.mdx
generated
vendored
|
|
@ -9,11 +9,10 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/prefer-destructuring** for documentation.
|
> See **https://typescript-eslint.io/rules/prefer-destructuring** for documentation.
|
||||||
|
|
||||||
## Examples
|
|
||||||
|
|
||||||
This rule extends the base [`eslint/prefer-destructuring`](https://eslint.org/docs/latest/rules/prefer-destructuring) rule.
|
|
||||||
It adds support for TypeScript's type annotations in variable declarations.
|
It adds support for TypeScript's type annotations in variable declarations.
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
|
|
||||||
<TabItem value="`eslint/prefer-destructuring`">
|
<TabItem value="`eslint/prefer-destructuring`">
|
||||||
|
|
|
||||||
144
node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx
generated
vendored
144
node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx
generated
vendored
|
|
@ -28,46 +28,48 @@ This rule will not work as expected if [`strictNullChecks`](https://www.typescri
|
||||||
|
|
||||||
{/* insert option description */}
|
{/* insert option description */}
|
||||||
|
|
||||||
Incorrect code for `ignoreTernaryTests: false`, and correct code for `ignoreTernaryTests: true`:
|
Examples of code for this rule with `{ ignoreTernaryTests: false }`:
|
||||||
|
|
||||||
```ts option='{ "ignoreTernaryTests": false }' showPlaygroundButton
|
<Tabs>
|
||||||
const foo: any = 'bar';
|
<TabItem value="❌ Incorrect">
|
||||||
foo !== undefined && foo !== null ? foo : 'a string';
|
|
||||||
foo === undefined || foo === null ? 'a string' : foo;
|
|
||||||
foo == undefined ? 'a string' : foo;
|
|
||||||
foo == null ? 'a string' : foo;
|
|
||||||
|
|
||||||
const foo: string | undefined = 'bar';
|
```ts option='{ "ignoreTernaryTests": false }'
|
||||||
foo !== undefined ? foo : 'a string';
|
declare const a: any;
|
||||||
foo === undefined ? 'a string' : foo;
|
a !== undefined && a !== null ? a : 'a string';
|
||||||
|
a === undefined || a === null ? 'a string' : a;
|
||||||
|
a == undefined ? 'a string' : a;
|
||||||
|
a == null ? 'a string' : a;
|
||||||
|
|
||||||
const foo: string | null = 'bar';
|
declare const b: string | undefined;
|
||||||
foo !== null ? foo : 'a string';
|
b !== undefined ? b : 'a string';
|
||||||
foo ? foo : 'a string';
|
b === undefined ? 'a string' : b;
|
||||||
foo === null ? 'a string' : foo;
|
b ? b : 'a string';
|
||||||
!foo ? 'a string' : foo;
|
!b ? 'a string' : b;
|
||||||
|
|
||||||
|
declare const c: string | null;
|
||||||
|
c !== null ? c : 'a string';
|
||||||
|
c === null ? 'a string' : c;
|
||||||
|
c ? c : 'a string';
|
||||||
|
!c ? 'a string' : c;
|
||||||
```
|
```
|
||||||
|
|
||||||
Correct code for `ignoreTernaryTests: false`:
|
</TabItem>
|
||||||
|
<TabItem value="✅ Correct">
|
||||||
|
|
||||||
```ts option='{ "ignoreTernaryTests": false }' showPlaygroundButton
|
```ts option='{ "ignoreTernaryTests": false }'
|
||||||
const foo: any = 'bar';
|
declare const a: any;
|
||||||
foo ?? 'a string';
|
a ?? 'a string';
|
||||||
foo ?? 'a string';
|
|
||||||
foo ?? 'a string';
|
|
||||||
foo ?? 'a string';
|
|
||||||
|
|
||||||
const foo: string | undefined = 'bar';
|
declare const b: string | undefined;
|
||||||
foo ?? 'a string';
|
b ?? 'a string';
|
||||||
foo ?? 'a string';
|
|
||||||
|
|
||||||
const foo: string | null = 'bar';
|
declare const c: string | null;
|
||||||
foo ?? 'a string';
|
c ?? 'a string';
|
||||||
foo ?? 'a string';
|
|
||||||
foo ?? 'a string';
|
|
||||||
foo ?? 'a string';
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
### `ignoreConditionalTests`
|
### `ignoreConditionalTests`
|
||||||
|
|
||||||
{/* insert option description */}
|
{/* insert option description */}
|
||||||
|
|
@ -76,9 +78,12 @@ Generally expressions within conditional tests intentionally use the falsy fallt
|
||||||
|
|
||||||
If you're looking to enforce stricter conditional tests, you should consider using the `strict-boolean-expressions` rule.
|
If you're looking to enforce stricter conditional tests, you should consider using the `strict-boolean-expressions` rule.
|
||||||
|
|
||||||
Incorrect code for `ignoreConditionalTests: false`, and correct code for `ignoreConditionalTests: true`:
|
Examples of code for this rule with `{ ignoreConditionalTests: false }`:
|
||||||
|
|
||||||
```ts option='{ "ignoreConditionalTests": false }' showPlaygroundButton
|
<Tabs>
|
||||||
|
<TabItem value="❌ Incorrect">
|
||||||
|
|
||||||
|
```ts option='{ "ignoreConditionalTests": false }'
|
||||||
declare const a: string | null;
|
declare const a: string | null;
|
||||||
declare const b: string | null;
|
declare const b: string | null;
|
||||||
|
|
||||||
|
|
@ -93,9 +98,10 @@ for (let i = 0; a || b; i += 1) {}
|
||||||
a || b ? true : false;
|
a || b ? true : false;
|
||||||
```
|
```
|
||||||
|
|
||||||
Correct code for `ignoreConditionalTests: false`:
|
</TabItem>
|
||||||
|
<TabItem value="✅ Correct">
|
||||||
|
|
||||||
```ts option='{ "ignoreConditionalTests": false }' showPlaygroundButton
|
```ts option='{ "ignoreConditionalTests": false }'
|
||||||
declare const a: string | null;
|
declare const a: string | null;
|
||||||
declare const b: string | null;
|
declare const b: string | null;
|
||||||
|
|
||||||
|
|
@ -110,6 +116,9 @@ for (let i = 0; a ?? b; i += 1) {}
|
||||||
(a ?? b) ? true : false;
|
(a ?? b) ? true : false;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
### `ignoreMixedLogicalExpressions`
|
### `ignoreMixedLogicalExpressions`
|
||||||
|
|
||||||
{/* insert option description */}
|
{/* insert option description */}
|
||||||
|
|
@ -118,9 +127,12 @@ Generally expressions within mixed logical expressions intentionally use the fal
|
||||||
|
|
||||||
If you're looking to enforce stricter conditional tests, you should consider using the `strict-boolean-expressions` rule.
|
If you're looking to enforce stricter conditional tests, you should consider using the `strict-boolean-expressions` rule.
|
||||||
|
|
||||||
Incorrect code for `ignoreMixedLogicalExpressions: false`, and correct code for `ignoreMixedLogicalExpressions: true`:
|
Examples of code for this rule with `{ ignoreMixedLogicalExpressions: false }`:
|
||||||
|
|
||||||
```ts option='{ "ignoreMixedLogicalExpressions": false }' showPlaygroundButton
|
<Tabs>
|
||||||
|
<TabItem value="❌ Incorrect">
|
||||||
|
|
||||||
|
```ts option='{ "ignoreMixedLogicalExpressions": false }'
|
||||||
declare const a: string | null;
|
declare const a: string | null;
|
||||||
declare const b: string | null;
|
declare const b: string | null;
|
||||||
declare const c: string | null;
|
declare const c: string | null;
|
||||||
|
|
@ -133,9 +145,10 @@ a || (b && c) || d;
|
||||||
a || (b && c && d);
|
a || (b && c && d);
|
||||||
```
|
```
|
||||||
|
|
||||||
Correct code for `ignoreMixedLogicalExpressions: false`:
|
</TabItem>
|
||||||
|
<TabItem value="✅ Correct">
|
||||||
|
|
||||||
```ts option='{ "ignoreMixedLogicalExpressions": false }' showPlaygroundButton
|
```ts option='{ "ignoreMixedLogicalExpressions": false }'
|
||||||
declare const a: string | null;
|
declare const a: string | null;
|
||||||
declare const b: string | null;
|
declare const b: string | null;
|
||||||
declare const c: string | null;
|
declare const c: string | null;
|
||||||
|
|
@ -148,6 +161,9 @@ a ?? (b && c) ?? d;
|
||||||
a ?? (b && c && d);
|
a ?? (b && c && d);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
**_NOTE:_** Errors for this specific case will be presented as suggestions (see below), instead of fixes. This is because it is not always safe to automatically convert `||` to `??` within a mixed logical expression, as we cannot tell the intended precedence of the operator. Note that by design, `??` requires parentheses when used with `&&` or `||` in the same expression.
|
**_NOTE:_** Errors for this specific case will be presented as suggestions (see below), instead of fixes. This is because it is not always safe to automatically convert `||` to `??` within a mixed logical expression, as we cannot tell the intended precedence of the operator. Note that by design, `??` requires parentheses when used with `&&` or `||` in the same expression.
|
||||||
|
|
||||||
### `ignorePrimitives`
|
### `ignorePrimitives`
|
||||||
|
|
@ -156,49 +172,65 @@ a ?? (b && c && d);
|
||||||
|
|
||||||
If you would like to ignore expressions containing operands of certain primitive types that can be falsy then you may pass an object containing a boolean value for each primitive:
|
If you would like to ignore expressions containing operands of certain primitive types that can be falsy then you may pass an object containing a boolean value for each primitive:
|
||||||
|
|
||||||
- `string: true`, ignores `null` or `undefined` unions with `string` (default: false).
|
- `string: true`, ignores `null` or `undefined` unions with `string` (default: `false`).
|
||||||
- `number: true`, ignores `null` or `undefined` unions with `number` (default: false).
|
- `number: true`, ignores `null` or `undefined` unions with `number` (default: `false`).
|
||||||
- `bigint: true`, ignores `null` or `undefined` unions with `bigint` (default: false).
|
- `bigint: true`, ignores `null` or `undefined` unions with `bigint` (default: `false`).
|
||||||
- `boolean: true`, ignores `null` or `undefined` unions with `boolean` (default: false).
|
- `boolean: true`, ignores `null` or `undefined` unions with `boolean` (default: `false`).
|
||||||
|
|
||||||
Incorrect code for `ignorePrimitives: { string: false }`, and correct code for `ignorePrimitives: { string: true }`:
|
Examples of code for this rule with `{ ignorePrimitives: { string: false } }`:
|
||||||
|
|
||||||
|
<Tabs>
|
||||||
|
<TabItem value="❌ Incorrect">
|
||||||
|
|
||||||
|
```ts option='{ "ignorePrimitives": { "string": false } }'
|
||||||
|
declare const foo: string | undefined;
|
||||||
|
|
||||||
```ts option='{ "ignorePrimitives": { "string": true } }' showPlaygroundButton
|
|
||||||
const foo: string | undefined = 'bar';
|
|
||||||
foo || 'a string';
|
foo || 'a string';
|
||||||
```
|
```
|
||||||
|
|
||||||
Correct code for both `ignorePrimitives: { string: false }` and `ignorePrimitives: { string: true }`:
|
</TabItem>
|
||||||
|
<TabItem value="✅ Correct">
|
||||||
|
|
||||||
|
```ts option='{ "ignorePrimitives": { "string": false } }'
|
||||||
|
declare const foo: string | undefined;
|
||||||
|
|
||||||
```ts option='{ "ignorePrimitives": { "string": true } }' showPlaygroundButton
|
|
||||||
const foo: string | undefined = 'bar';
|
|
||||||
foo ?? 'a string';
|
foo ?? 'a string';
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
Also, if you would like to ignore all primitives types, you can set `ignorePrimitives: true`. It is equivalent to `ignorePrimitives: { string: true, number: true, bigint: true, boolean: true }`.
|
Also, if you would like to ignore all primitives types, you can set `ignorePrimitives: true`. It is equivalent to `ignorePrimitives: { string: true, number: true, bigint: true, boolean: true }`.
|
||||||
|
|
||||||
### `ignoreBooleanCoercion`
|
### `ignoreBooleanCoercion`
|
||||||
|
|
||||||
{/* insert option description */}
|
{/* insert option description */}
|
||||||
|
|
||||||
Incorrect code for `ignoreBooleanCoercion: false`, and correct code for `ignoreBooleanCoercion: true`:
|
Examples of code for this rule with `{ ignoreBooleanCoercion: false }`:
|
||||||
|
|
||||||
```ts option='{ "ignoreBooleanCoercion": true }' showPlaygroundButton
|
<Tabs>
|
||||||
let a: string | true | undefined;
|
<TabItem value="❌ Incorrect">
|
||||||
let b: string | boolean | undefined;
|
|
||||||
|
```ts option='{ "ignoreBooleanCoercion": false }'
|
||||||
|
declare const a: string | true | undefined;
|
||||||
|
declare const b: string | boolean | undefined;
|
||||||
|
|
||||||
const x = Boolean(a || b);
|
const x = Boolean(a || b);
|
||||||
```
|
```
|
||||||
|
|
||||||
Correct code for `ignoreBooleanCoercion: false`:
|
</TabItem>
|
||||||
|
<TabItem value="✅ Correct">
|
||||||
|
|
||||||
```ts option='{ "ignoreBooleanCoercion": false }' showPlaygroundButton
|
```ts option='{ "ignoreBooleanCoercion": false }'
|
||||||
let a: string | true | undefined;
|
declare const a: string | true | undefined;
|
||||||
let b: string | boolean | undefined;
|
declare const b: string | boolean | undefined;
|
||||||
|
|
||||||
const x = Boolean(a ?? b);
|
const x = Boolean(a ?? b);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
### `allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing`
|
### `allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing`
|
||||||
|
|
||||||
:::danger Deprecated
|
:::danger Deprecated
|
||||||
|
|
|
||||||
38
node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.mdx
generated
vendored
38
node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.mdx
generated
vendored
|
|
@ -93,7 +93,7 @@ When this option is `false` unsafe cases will have suggestion fixers provided in
|
||||||
|
|
||||||
{/* insert option description */}
|
{/* insert option description */}
|
||||||
|
|
||||||
Examples of code for this rule with `{ checkAny: false }`:
|
Examples of code for this rule with `{ checkAny: true }`:
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<TabItem value="❌ Incorrect">
|
<TabItem value="❌ Incorrect">
|
||||||
|
|
@ -107,10 +107,10 @@ thing && thing.toString();
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="✅ Correct">
|
<TabItem value="✅ Correct">
|
||||||
|
|
||||||
```ts option='{ "checkAny": false }'
|
```ts option='{ "checkAny": true }'
|
||||||
declare const thing: any;
|
declare const thing: any;
|
||||||
|
|
||||||
thing && thing.toString();
|
thing?.toString();
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
@ -120,7 +120,7 @@ thing && thing.toString();
|
||||||
|
|
||||||
{/* insert option description */}
|
{/* insert option description */}
|
||||||
|
|
||||||
Examples of code for this rule with `{ checkUnknown: false }`:
|
Examples of code for this rule with `{ checkUnknown: true }`:
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<TabItem value="❌ Incorrect">
|
<TabItem value="❌ Incorrect">
|
||||||
|
|
@ -134,10 +134,10 @@ thing && thing.toString();
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="✅ Correct">
|
<TabItem value="✅ Correct">
|
||||||
|
|
||||||
```ts option='{ "checkUnknown": false }'
|
```ts option='{ "checkUnknown": true }'
|
||||||
declare const thing: unknown;
|
declare const thing: unknown;
|
||||||
|
|
||||||
thing && thing.toString();
|
thing?.toString();
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
@ -147,7 +147,7 @@ thing && thing.toString();
|
||||||
|
|
||||||
{/* insert option description */}
|
{/* insert option description */}
|
||||||
|
|
||||||
Examples of code for this rule with `{ checkString: false }`:
|
Examples of code for this rule with `{ checkString: true }`:
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<TabItem value="❌ Incorrect">
|
<TabItem value="❌ Incorrect">
|
||||||
|
|
@ -161,10 +161,10 @@ thing && thing.toString();
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="✅ Correct">
|
<TabItem value="✅ Correct">
|
||||||
|
|
||||||
```ts option='{ "checkString": false }'
|
```ts option='{ "checkString": true }'
|
||||||
declare const thing: string;
|
declare const thing: string;
|
||||||
|
|
||||||
thing && thing.toString();
|
thing?.toString();
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
@ -174,7 +174,7 @@ thing && thing.toString();
|
||||||
|
|
||||||
{/* insert option description */}
|
{/* insert option description */}
|
||||||
|
|
||||||
Examples of code for this rule with `{ checkNumber: false }`:
|
Examples of code for this rule with `{ checkNumber: true }`:
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<TabItem value="❌ Incorrect">
|
<TabItem value="❌ Incorrect">
|
||||||
|
|
@ -188,10 +188,10 @@ thing && thing.toString();
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="✅ Correct">
|
<TabItem value="✅ Correct">
|
||||||
|
|
||||||
```ts option='{ "checkNumber": false }'
|
```ts option='{ "checkNumber": true }'
|
||||||
declare const thing: number;
|
declare const thing: number;
|
||||||
|
|
||||||
thing && thing.toString();
|
thing?.toString();
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
@ -215,7 +215,7 @@ The boolean expression narrows out the non-nullish falsy cases - so converting t
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
Examples of code for this rule with `{ checkBoolean: false }`:
|
Examples of code for this rule with `{ checkBoolean: true }`:
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<TabItem value="❌ Incorrect">
|
<TabItem value="❌ Incorrect">
|
||||||
|
|
@ -229,10 +229,10 @@ thing && thing.toString();
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="✅ Correct">
|
<TabItem value="✅ Correct">
|
||||||
|
|
||||||
```ts option='{ "checkBoolean": false }'
|
```ts option='{ "checkBoolean": true }'
|
||||||
declare const thing: true;
|
declare const thing: true;
|
||||||
|
|
||||||
thing && thing.toString();
|
thing?.toString();
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
@ -242,7 +242,7 @@ thing && thing.toString();
|
||||||
|
|
||||||
{/* insert option description */}
|
{/* insert option description */}
|
||||||
|
|
||||||
Examples of code for this rule with `{ checkBigInt: false }`:
|
Examples of code for this rule with `{ checkBigInt: true }`:
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<TabItem value="❌ Incorrect">
|
<TabItem value="❌ Incorrect">
|
||||||
|
|
@ -256,10 +256,10 @@ thing && thing.toString();
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="✅ Correct">
|
<TabItem value="✅ Correct">
|
||||||
|
|
||||||
```ts option='{ "checkBigInt": false }'
|
```ts option='{ "checkBigInt": true }'
|
||||||
declare const thing: bigint;
|
declare const thing: bigint;
|
||||||
|
|
||||||
thing && thing.toString();
|
thing?.toString();
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
@ -269,7 +269,7 @@ thing && thing.toString();
|
||||||
|
|
||||||
{/* insert option description */}
|
{/* insert option description */}
|
||||||
|
|
||||||
Examples of code for this rule with `{ requireNullish: false }`:
|
Examples of code for this rule with `{ requireNullish: true }`:
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<TabItem value="❌ Incorrect">
|
<TabItem value="❌ Incorrect">
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/prefer-promise-reject-errors** for documentation.
|
> See **https://typescript-eslint.io/rules/prefer-promise-reject-errors** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/prefer-promise-reject-errors`](https://eslint.org/docs/rules/prefer-promise-reject-errors) rule.
|
|
||||||
It uses type information to enforce that `Promise`s are only rejected with `Error` objects.
|
It uses type information to enforce that `Promise`s are only rejected with `Error` objects.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.mdx
generated
vendored
|
|
@ -9,7 +9,6 @@ import TabItem from '@theme/TabItem';
|
||||||
>
|
>
|
||||||
> See **https://typescript-eslint.io/rules/require-await** for documentation.
|
> See **https://typescript-eslint.io/rules/require-await** for documentation.
|
||||||
|
|
||||||
This rule extends the base [`eslint/require-await`](https://eslint.org/docs/rules/require-await) rule.
|
|
||||||
It uses type information to allow promise-returning functions to be marked as `async` without containing an `await` expression.
|
It uses type information to allow promise-returning functions to be marked as `async` without containing an `await` expression.
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
|
|
|
||||||
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.mdx
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.mdx
generated
vendored
|
|
@ -171,6 +171,7 @@ let fn = (a: number, b: never) => a + b;
|
||||||
```ts option='{ "allowNumberAndString": true }'
|
```ts option='{ "allowNumberAndString": true }'
|
||||||
let fn = (a: number, b: string) => a + b;
|
let fn = (a: number, b: string) => a + b;
|
||||||
let fn = (a: number, b: number | string) => a + b;
|
let fn = (a: number, b: number | string) => a + b;
|
||||||
|
let fn = (a: bigint, b: string) => a + b;
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/scope-manager",
|
"name": "@typescript-eslint/scope-manager",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "TypeScript scope analyser for ESLint",
|
"description": "TypeScript scope analyser for ESLint",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
@ -46,13 +46,13 @@
|
||||||
"typecheck": "npx nx typecheck"
|
"typecheck": "npx nx typecheck"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0"
|
"@typescript-eslint/visitor-keys": "8.24.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jest/types": "29.6.3",
|
"@jest/types": "29.6.3",
|
||||||
"@types/glob": "*",
|
"@types/glob": "*",
|
||||||
"@typescript-eslint/typescript-estree": "8.23.0",
|
"@typescript-eslint/typescript-estree": "8.24.1",
|
||||||
"glob": "*",
|
"glob": "*",
|
||||||
"jest-specific-snapshot": "*",
|
"jest-specific-snapshot": "*",
|
||||||
"make-dir": "*",
|
"make-dir": "*",
|
||||||
|
|
|
||||||
|
|
@ -2153,7 +2153,7 @@ export declare interface WithStatement extends BaseNode {
|
||||||
}
|
}
|
||||||
export declare interface YieldExpression extends BaseNode {
|
export declare interface YieldExpression extends BaseNode {
|
||||||
type: AST_NODE_TYPES.YieldExpression;
|
type: AST_NODE_TYPES.YieldExpression;
|
||||||
argument: Expression | undefined;
|
argument: Expression | null;
|
||||||
delegate: boolean;
|
delegate: boolean;
|
||||||
}
|
}
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/types",
|
"name": "@typescript-eslint/types",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "Types for the TypeScript-ESTree AST spec",
|
"description": "Types for the TypeScript-ESTree AST spec",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/typescript-estree",
|
"name": "@typescript-eslint/typescript-estree",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
@ -54,8 +54,8 @@
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0",
|
"@typescript-eslint/visitor-keys": "8.24.1",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-glob": "^3.3.2",
|
"fast-glob": "^3.3.2",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
|
|
|
||||||
|
|
@ -174,6 +174,14 @@ export declare namespace FlatConfig {
|
||||||
* @default "off"
|
* @default "off"
|
||||||
*/
|
*/
|
||||||
reportUnusedDisableDirectives?: boolean | SharedConfig.Severity | SharedConfig.SeverityString;
|
reportUnusedDisableDirectives?: boolean | SharedConfig.Severity | SharedConfig.SeverityString;
|
||||||
|
/**
|
||||||
|
* A severity string indicating if and how unused inline directives
|
||||||
|
* should be tracked and reported.
|
||||||
|
*
|
||||||
|
* since ESLint 9.19.0
|
||||||
|
* @default "off"
|
||||||
|
*/
|
||||||
|
reportUnusedInlineConfigs?: SharedConfig.Severity | SharedConfig.SeverityString;
|
||||||
}
|
}
|
||||||
interface LanguageOptions {
|
interface LanguageOptions {
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/Config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AACrD,OAAO,KAAK,KAAK,kBAAkB,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AAE/E,gBAAgB;AAChB,yBAAiB,YAAY,CAAC;IAC5B,KAAY,QAAQ,GAAG,CAAC,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AAO,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;QACpC;;;;;;;WAOG;QACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC5B;;;WAGG;QACH,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;QAC1C;;;;;;;;;;WAUG;QACH,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;KACrC;IAID,UAAiB,MAAM;QACrB;;;WAGG;QACH,KAAK,CAAC,EAAE,CACJ,MAAM,GACN,MAAM,EAAE,CACX,EAAE,CAAC;QACJ;;;WAGG;QACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB;;WAEG;QACH,eAAe,CAAC,EAAE,eAAe,CAAC;QAClC;;WAEG;QACH,aAAa,CAAC,EAAE,aAAa,CAAC;QAC9B;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd;;;WAGG;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB;;;;WAIG;QACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC/B;;;WAGG;QACH,KAAK,CAAC,EAAE,KAAK,CAAC;QACd;;WAEG;QACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;KACrB;IACD,KAAY,WAAW,GAAG,MAAM,EAAE,CAAC;IACnC,KAAY,aAAa,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;IACjD,KAAY,UAAU,GAAG,WAAW,GAAG,aAAa,CAAC;CACtD"}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/utils",
|
"name": "@typescript-eslint/utils",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "Utilities for working with TypeScript + ESLint together",
|
"description": "Utilities for working with TypeScript + ESLint together",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
@ -64,9 +64,9 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.4.0",
|
"@eslint-community/eslint-utils": "^4.4.0",
|
||||||
"@typescript-eslint/scope-manager": "8.23.0",
|
"@typescript-eslint/scope-manager": "8.24.1",
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/typescript-estree": "8.23.0"
|
"@typescript-eslint/typescript-estree": "8.24.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": "^8.57.0 || ^9.0.0",
|
"eslint": "^8.57.0 || ^9.0.0",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/visitor-keys",
|
"name": "@typescript-eslint/visitor-keys",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "Visitor keys used to help traverse the TypeScript-ESTree AST",
|
"description": "Visitor keys used to help traverse the TypeScript-ESTree AST",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"eslint-visitor-keys": "^4.2.0"
|
"eslint-visitor-keys": "^4.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
||||||
14
node_modules/@typescript-eslint/eslint-plugin/package.json
generated
vendored
14
node_modules/@typescript-eslint/eslint-plugin/package.json
generated
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/eslint-plugin",
|
"name": "@typescript-eslint/eslint-plugin",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "TypeScript plugin for ESLint",
|
"description": "TypeScript plugin for ESLint",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
@ -61,10 +61,10 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/regexpp": "^4.10.0",
|
"@eslint-community/regexpp": "^4.10.0",
|
||||||
"@typescript-eslint/scope-manager": "8.23.0",
|
"@typescript-eslint/scope-manager": "8.24.1",
|
||||||
"@typescript-eslint/type-utils": "8.23.0",
|
"@typescript-eslint/type-utils": "8.24.1",
|
||||||
"@typescript-eslint/utils": "8.23.0",
|
"@typescript-eslint/utils": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0",
|
"@typescript-eslint/visitor-keys": "8.24.1",
|
||||||
"graphemer": "^1.4.0",
|
"graphemer": "^1.4.0",
|
||||||
"ignore": "^5.3.1",
|
"ignore": "^5.3.1",
|
||||||
"natural-compare": "^1.4.0",
|
"natural-compare": "^1.4.0",
|
||||||
|
|
@ -75,8 +75,8 @@
|
||||||
"@types/marked": "^5.0.2",
|
"@types/marked": "^5.0.2",
|
||||||
"@types/mdast": "^4.0.3",
|
"@types/mdast": "^4.0.3",
|
||||||
"@types/natural-compare": "*",
|
"@types/natural-compare": "*",
|
||||||
"@typescript-eslint/rule-schema-to-typescript-types": "8.23.0",
|
"@typescript-eslint/rule-schema-to-typescript-types": "8.24.1",
|
||||||
"@typescript-eslint/rule-tester": "8.23.0",
|
"@typescript-eslint/rule-tester": "8.24.1",
|
||||||
"ajv": "^6.12.6",
|
"ajv": "^6.12.6",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"cross-fetch": "*",
|
"cross-fetch": "*",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/scope-manager",
|
"name": "@typescript-eslint/scope-manager",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "TypeScript scope analyser for ESLint",
|
"description": "TypeScript scope analyser for ESLint",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
@ -46,13 +46,13 @@
|
||||||
"typecheck": "npx nx typecheck"
|
"typecheck": "npx nx typecheck"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0"
|
"@typescript-eslint/visitor-keys": "8.24.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jest/types": "29.6.3",
|
"@jest/types": "29.6.3",
|
||||||
"@types/glob": "*",
|
"@types/glob": "*",
|
||||||
"@typescript-eslint/typescript-estree": "8.23.0",
|
"@typescript-eslint/typescript-estree": "8.24.1",
|
||||||
"glob": "*",
|
"glob": "*",
|
||||||
"jest-specific-snapshot": "*",
|
"jest-specific-snapshot": "*",
|
||||||
"make-dir": "*",
|
"make-dir": "*",
|
||||||
|
|
|
||||||
|
|
@ -2153,7 +2153,7 @@ export declare interface WithStatement extends BaseNode {
|
||||||
}
|
}
|
||||||
export declare interface YieldExpression extends BaseNode {
|
export declare interface YieldExpression extends BaseNode {
|
||||||
type: AST_NODE_TYPES.YieldExpression;
|
type: AST_NODE_TYPES.YieldExpression;
|
||||||
argument: Expression | undefined;
|
argument: Expression | null;
|
||||||
delegate: boolean;
|
delegate: boolean;
|
||||||
}
|
}
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/types",
|
"name": "@typescript-eslint/types",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "Types for the TypeScript-ESTree AST spec",
|
"description": "Types for the TypeScript-ESTree AST spec",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/typescript-estree",
|
"name": "@typescript-eslint/typescript-estree",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
@ -54,8 +54,8 @@
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0",
|
"@typescript-eslint/visitor-keys": "8.24.1",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-glob": "^3.3.2",
|
"fast-glob": "^3.3.2",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/visitor-keys",
|
"name": "@typescript-eslint/visitor-keys",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "Visitor keys used to help traverse the TypeScript-ESTree AST",
|
"description": "Visitor keys used to help traverse the TypeScript-ESTree AST",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"eslint-visitor-keys": "^4.2.0"
|
"eslint-visitor-keys": "^4.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
||||||
10
node_modules/@typescript-eslint/parser/package.json
generated
vendored
10
node_modules/@typescript-eslint/parser/package.json
generated
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/parser",
|
"name": "@typescript-eslint/parser",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "An ESLint custom parser which leverages TypeScript ESTree",
|
"description": "An ESLint custom parser which leverages TypeScript ESTree",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
@ -53,10 +53,10 @@
|
||||||
"typescript": ">=4.8.4 <5.8.0"
|
"typescript": ">=4.8.4 <5.8.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/scope-manager": "8.23.0",
|
"@typescript-eslint/scope-manager": "8.24.1",
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/typescript-estree": "8.23.0",
|
"@typescript-eslint/typescript-estree": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0",
|
"@typescript-eslint/visitor-keys": "8.24.1",
|
||||||
"debug": "^4.3.4"
|
"debug": "^4.3.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/scope-manager",
|
"name": "@typescript-eslint/scope-manager",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "TypeScript scope analyser for ESLint",
|
"description": "TypeScript scope analyser for ESLint",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
@ -46,13 +46,13 @@
|
||||||
"typecheck": "npx nx typecheck"
|
"typecheck": "npx nx typecheck"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0"
|
"@typescript-eslint/visitor-keys": "8.24.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jest/types": "29.6.3",
|
"@jest/types": "29.6.3",
|
||||||
"@types/glob": "*",
|
"@types/glob": "*",
|
||||||
"@typescript-eslint/typescript-estree": "8.23.0",
|
"@typescript-eslint/typescript-estree": "8.24.1",
|
||||||
"glob": "*",
|
"glob": "*",
|
||||||
"jest-specific-snapshot": "*",
|
"jest-specific-snapshot": "*",
|
||||||
"make-dir": "*",
|
"make-dir": "*",
|
||||||
|
|
|
||||||
|
|
@ -2153,7 +2153,7 @@ export declare interface WithStatement extends BaseNode {
|
||||||
}
|
}
|
||||||
export declare interface YieldExpression extends BaseNode {
|
export declare interface YieldExpression extends BaseNode {
|
||||||
type: AST_NODE_TYPES.YieldExpression;
|
type: AST_NODE_TYPES.YieldExpression;
|
||||||
argument: Expression | undefined;
|
argument: Expression | null;
|
||||||
delegate: boolean;
|
delegate: boolean;
|
||||||
}
|
}
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/types",
|
"name": "@typescript-eslint/types",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "Types for the TypeScript-ESTree AST spec",
|
"description": "Types for the TypeScript-ESTree AST spec",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@typescript-eslint/typescript-estree",
|
"name": "@typescript-eslint/typescript-estree",
|
||||||
"version": "8.23.0",
|
"version": "8.24.1",
|
||||||
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|
@ -54,8 +54,8 @@
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.23.0",
|
"@typescript-eslint/types": "8.24.1",
|
||||||
"@typescript-eslint/visitor-keys": "8.23.0",
|
"@typescript-eslint/visitor-keys": "8.24.1",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-glob": "^3.3.2",
|
"fast-glob": "^3.3.2",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue