Merge pull request #3755 from gitbutlerapp/update-octokit-rest-version

fix octokit/rest type for new version
This commit is contained in:
Kiril Videlov 2024-05-12 23:55:23 +02:00 committed by GitHub
commit c75d31f7c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 25 additions and 15 deletions

View File

@ -38,7 +38,7 @@
"@codemirror/view": "^6.26.3", "@codemirror/view": "^6.26.3",
"@lezer/common": "^1.2.1", "@lezer/common": "^1.2.1",
"@lezer/highlight": "^1.2.0", "@lezer/highlight": "^1.2.0",
"@octokit/rest": "^20.1.0", "@octokit/rest": "^20.1.1",
"@replit/codemirror-lang-svelte": "^6.0.0", "@replit/codemirror-lang-svelte": "^6.0.0",
"@sentry/sveltekit": "^7.112.2", "@sentry/sveltekit": "^7.112.2",
"@sveltejs/adapter-static": "^2.0.3", "@sveltejs/adapter-static": "^2.0.3",

View File

@ -125,7 +125,7 @@ export type CheckSuites =
export type CheckSuite = { export type CheckSuite = {
name?: string; name?: string;
count: number; count: number;
status: 'queued' | 'in_progress' | 'completed' | null; status: 'queued' | 'in_progress' | 'completed' | 'waiting' | 'requested' | 'pending' | null;
}; };
export function parseGitHubCheckSuites(data: GitHubListCheckSuitesResp): CheckSuite[] { export function parseGitHubCheckSuites(data: GitHubListCheckSuitesResp): CheckSuite[] {

View File

@ -76,8 +76,8 @@ importers:
specifier: ^1.2.0 specifier: ^1.2.0
version: 1.2.0 version: 1.2.0
'@octokit/rest': '@octokit/rest':
specifier: ^20.1.0 specifier: ^20.1.1
version: 20.1.0 version: 20.1.1
'@replit/codemirror-lang-svelte': '@replit/codemirror-lang-svelte':
specifier: ^6.0.0 specifier: ^6.0.0
version: 6.0.0(@codemirror/autocomplete@6.16.0)(@codemirror/lang-css@6.2.1)(@codemirror/lang-html@6.4.9)(@codemirror/lang-javascript@6.2.2)(@codemirror/language@6.10.1)(@codemirror/state@6.4.1)(@codemirror/view@6.26.3)(@lezer/common@1.2.1)(@lezer/highlight@1.2.0)(@lezer/javascript@1.4.15)(@lezer/lr@1.4.0) version: 6.0.0(@codemirror/autocomplete@6.16.0)(@codemirror/lang-css@6.2.1)(@codemirror/lang-html@6.4.9)(@codemirror/lang-javascript@6.2.2)(@codemirror/language@6.10.1)(@codemirror/state@6.4.1)(@codemirror/view@6.26.3)(@lezer/common@1.2.1)(@lezer/highlight@1.2.0)(@lezer/javascript@1.4.15)(@lezer/lr@1.4.0)
@ -978,14 +978,18 @@ packages:
resolution: {integrity: sha512-xx+Xd6I7rYvul/hgUDqv6TeGX0IOGnhSg9IOeYgd/uI7IAqUy6DE2B6Ipv2M4mWoxaMcWjIzgTIcv8pMO3F3vw==} resolution: {integrity: sha512-xx+Xd6I7rYvul/hgUDqv6TeGX0IOGnhSg9IOeYgd/uI7IAqUy6DE2B6Ipv2M4mWoxaMcWjIzgTIcv8pMO3F3vw==}
dev: true dev: true
/@octokit/plugin-paginate-rest@9.2.1(@octokit/core@5.2.0): /@octokit/openapi-types@22.2.0:
resolution: {integrity: sha512-wfGhE/TAkXZRLjksFXuDZdmGnJQHvtU/joFQdweXUgzo1XwvBCD4o4+75NtFfjfLK5IwLf9vHTfSiU3sLRYpRw==} resolution: {integrity: sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==}
dev: true
/@octokit/plugin-paginate-rest@11.3.1(@octokit/core@5.2.0):
resolution: {integrity: sha512-ryqobs26cLtM1kQxqeZui4v8FeznirUsksiA+RYemMPJ7Micju0WSkv50dBksTuZks9O5cg4wp+t8fZ/cLY56g==}
engines: {node: '>= 18'} engines: {node: '>= 18'}
peerDependencies: peerDependencies:
'@octokit/core': '5' '@octokit/core': '5'
dependencies: dependencies:
'@octokit/core': 5.2.0 '@octokit/core': 5.2.0
'@octokit/types': 12.6.0 '@octokit/types': 13.5.0
dev: true dev: true
/@octokit/plugin-request-log@4.0.0(@octokit/core@5.2.0): /@octokit/plugin-request-log@4.0.0(@octokit/core@5.2.0):
@ -997,14 +1001,14 @@ packages:
'@octokit/core': 5.2.0 '@octokit/core': 5.2.0
dev: true dev: true
/@octokit/plugin-rest-endpoint-methods@10.4.1(@octokit/core@5.2.0): /@octokit/plugin-rest-endpoint-methods@13.2.2(@octokit/core@5.2.0):
resolution: {integrity: sha512-xV1b+ceKV9KytQe3zCVqjg+8GTGfDYwaT1ATU5isiUyVtlVAO3HNdzpS4sr4GBx4hxQ46s7ITtZrAsxG22+rVg==} resolution: {integrity: sha512-EI7kXWidkt3Xlok5uN43suK99VWqc8OaIMktY9d9+RNKl69juoTyxmLoWPIZgJYzi41qj/9zU7G/ljnNOJ5AFA==}
engines: {node: '>= 18'} engines: {node: '>= 18'}
peerDependencies: peerDependencies:
'@octokit/core': '5' '@octokit/core': ^5
dependencies: dependencies:
'@octokit/core': 5.2.0 '@octokit/core': 5.2.0
'@octokit/types': 12.6.0 '@octokit/types': 13.5.0
dev: true dev: true
/@octokit/request-error@5.1.0: /@octokit/request-error@5.1.0:
@ -1026,14 +1030,14 @@ packages:
universal-user-agent: 6.0.0 universal-user-agent: 6.0.0
dev: true dev: true
/@octokit/rest@20.1.0: /@octokit/rest@20.1.1:
resolution: {integrity: sha512-STVO3itHQLrp80lvcYB2UIKoeil5Ctsgd2s1AM+du3HqZIR35ZH7WE9HLwUOLXH0myA0y3AGNPo8gZtcgIbw0g==} resolution: {integrity: sha512-MB4AYDsM5jhIHro/dq4ix1iWTLGToIGk6cWF5L6vanFaMble5jTX/UBQyiv05HsWnwUtY8JrfHy2LWfKwihqMw==}
engines: {node: '>= 18'} engines: {node: '>= 18'}
dependencies: dependencies:
'@octokit/core': 5.2.0 '@octokit/core': 5.2.0
'@octokit/plugin-paginate-rest': 9.2.1(@octokit/core@5.2.0) '@octokit/plugin-paginate-rest': 11.3.1(@octokit/core@5.2.0)
'@octokit/plugin-request-log': 4.0.0(@octokit/core@5.2.0) '@octokit/plugin-request-log': 4.0.0(@octokit/core@5.2.0)
'@octokit/plugin-rest-endpoint-methods': 10.4.1(@octokit/core@5.2.0) '@octokit/plugin-rest-endpoint-methods': 13.2.2(@octokit/core@5.2.0)
dev: true dev: true
/@octokit/types@12.6.0: /@octokit/types@12.6.0:
@ -1048,6 +1052,12 @@ packages:
'@octokit/openapi-types': 21.2.0 '@octokit/openapi-types': 21.2.0
dev: true dev: true
/@octokit/types@13.5.0:
resolution: {integrity: sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==}
dependencies:
'@octokit/openapi-types': 22.2.0
dev: true
/@polka/url@1.0.0-next.21: /@polka/url@1.0.0-next.21:
resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==}
dev: true dev: true