chore: squash lint warning (#12223)

Co-authored-by: Rich Harris <rich.harris@vercel.com>
pull/12190/head
Ben McCann 6 months ago committed by GitHub
parent c1a866bea3
commit 41c8c745fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -41,7 +41,7 @@
"prettier": "^3.2.4",
"prettier-plugin-svelte": "^3.1.2",
"typescript": "^5.5.2",
"typescript-eslint": "^8.0.0-alpha.20",
"typescript-eslint": "^8.0.0-alpha.34",
"v8-natives": "^1.2.5",
"vitest": "^1.2.1"
},

@ -16,7 +16,7 @@ importers:
version: 2.27.6
'@sveltejs/eslint-config':
specifier: ^8.0.1
version: 8.0.1(@stylistic/eslint-plugin-js@1.8.0(eslint@9.6.0))(eslint-config-prettier@9.1.0(eslint@9.6.0))(eslint-plugin-n@17.9.0(eslint@9.6.0))(eslint-plugin-svelte@2.38.0(eslint@9.6.0)(svelte@5.0.0-next.166))(eslint@9.6.0)(typescript-eslint@8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2))(typescript@5.5.2)
version: 8.0.1(@stylistic/eslint-plugin-js@1.8.0(eslint@9.6.0))(eslint-config-prettier@9.1.0(eslint@9.6.0))(eslint-plugin-n@17.9.0(eslint@9.6.0))(eslint-plugin-svelte@2.38.0(eslint@9.6.0)(svelte@5.0.0-next.166))(eslint@9.6.0)(typescript-eslint@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2))(typescript@5.5.2)
'@svitejs/changesets-changelog-github-compact':
specifier: ^1.1.0
version: 1.1.0
@ -48,8 +48,8 @@ importers:
specifier: ^5.5.2
version: 5.5.2
typescript-eslint:
specifier: ^8.0.0-alpha.20
version: 8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2)
specifier: ^8.0.0-alpha.34
version: 8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2)
v8-natives:
specifier: ^1.2.5
version: 1.2.5
@ -1533,8 +1533,8 @@ packages:
'@types/ws@8.5.10':
resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==}
'@typescript-eslint/eslint-plugin@8.0.0-alpha.20':
resolution: {integrity: sha512-/dBqhcdiVHB3SzaU5Mczy1QoVel8hZ8TX7T2WE1Qq2ujrv4X9I2/H2DMHnNtmlcGY9hcezsPtu76BTiZAeMQqw==}
'@typescript-eslint/eslint-plugin@8.0.0-alpha.34':
resolution: {integrity: sha512-qPLMqSlyZCHFSvsqIUV/QZ0ufxhOJhutvBEpi4KppixRZgrI6ZJw2M9EgqMRGraA5lGghwymVdxmcaCp4QuFPQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
'@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0
@ -1544,8 +1544,8 @@ packages:
typescript:
optional: true
'@typescript-eslint/parser@8.0.0-alpha.20':
resolution: {integrity: sha512-C1gnMM1k6i0phZ7l6HJPecVIGMErrONnurQ9ssRBZNek7gJInDGEDUC7LlL3QIWxFkHcdwYXWzuc7IueyxU6YQ==}
'@typescript-eslint/parser@8.0.0-alpha.34':
resolution: {integrity: sha512-jtBWP09o/RrVsLhDwoxUHtvJURZ7RaO3Ia9OnkC6Jjsdn23tKwoEtjLbB94ATr6BU44R3JVbRJn1SCueCmECYw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@ -1554,12 +1554,12 @@ packages:
typescript:
optional: true
'@typescript-eslint/scope-manager@8.0.0-alpha.20':
resolution: {integrity: sha512-+Ncj0Q6DT8ZHYNp8h5RndW4Siv52kiPpHEz/i8Sj2rh2y8ZCc5pKSHSslk+eZi0Bdj+/+swNOmDNcL2CrlaEnA==}
'@typescript-eslint/scope-manager@8.0.0-alpha.34':
resolution: {integrity: sha512-IpeT8JnV1Uo5lG/GTYe/SRJRcz1rBaCNma5cS5R8c4NkBIiIeE+R9Vy8ZEPkGImTfBp9BUNU6w+8lSQf0Z6tKw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/type-utils@8.0.0-alpha.20':
resolution: {integrity: sha512-/eUDosUnJlEwzRFPwaKYM3H0VS+40oXx+5ZN+CFCtdXMZjGsTwKM3XNvI+4orisjn+qhNVlHZby4PHnH8qAh8Q==}
'@typescript-eslint/type-utils@8.0.0-alpha.34':
resolution: {integrity: sha512-VmsfGVQ9UV1gs+LQkA9W9Nf7rSwY9KzB7WZUXwx56Ynlwjyt+999Z4Rrh2kPuDCPHTsO+GJDqeYyOYOEeXi9Bw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
@ -1567,12 +1567,12 @@ packages:
typescript:
optional: true
'@typescript-eslint/types@8.0.0-alpha.20':
resolution: {integrity: sha512-xpU1rMQfnnNZxpHN6YUfr18sGOMcpC9hvt54fupcU6N1qMCagEtkRt1U15x086oJAgAITJGa67454ffAoCxv/w==}
'@typescript-eslint/types@8.0.0-alpha.34':
resolution: {integrity: sha512-9d2pLf/htOVVX/VNQgRt23z5kCOznsiAVt1TllCiMT1xic0W8yKr2FT6sJHYIUl1qDjHE7t/P6CQpNFvyOfbxA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/typescript-estree@8.0.0-alpha.20':
resolution: {integrity: sha512-VQ8Mf8upDCuf0uMTjX/Pdw3gvCZomkG43nuThUuzhK3YFwFmIDTqx0ZWSsYJkVGfll0WrXgIua+rKSP/n6NBWw==}
'@typescript-eslint/typescript-estree@8.0.0-alpha.34':
resolution: {integrity: sha512-1ZAffOto9HpStxKCVpKkemYRUC4fznLEaj9fZyIYcppC/hdNNgZaiC0ONRUQQtdlPgdeH8BKoiWo6bGRemlxUw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
@ -1580,14 +1580,14 @@ packages:
typescript:
optional: true
'@typescript-eslint/utils@8.0.0-alpha.20':
resolution: {integrity: sha512-0aMhjDTvIrkGkHqyM0ZByAwR8BV1f2HhKdYyjtxko8S/Ca4PGjOIjub6VoF+bQwCRxEuV8viNUld78rqm9jqLA==}
'@typescript-eslint/utils@8.0.0-alpha.34':
resolution: {integrity: sha512-gHiHW96wCi3yllubUOswdWyCS/D5IRytTw9rPyumWJGD9qPh47MZAxtKp86Qdt1sbg+BJkYb8cCUMX9dwlVZzA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
'@typescript-eslint/visitor-keys@8.0.0-alpha.20':
resolution: {integrity: sha512-ej06rfct0kalfJgIR8nTR7dF1mgfF83hkylrYas7IAElHfgw4zx99BUGa6VrnHZ1PkxdJBp5PgcO2FmmlOoaRQ==}
'@typescript-eslint/visitor-keys@8.0.0-alpha.34':
resolution: {integrity: sha512-Zs84EZx55fusxi4+6bzdZyNLy6nN8snh7HOcgs1jiRkqmf0qo+cgPjb7mGA1RgE1m60FQYgesj7je9KBE0HfSA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript/twoslash@3.1.0':
@ -2098,12 +2098,6 @@ packages:
resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
engines: {node: '>=10'}
eslint-compat-utils@0.5.0:
resolution: {integrity: sha512-dc6Y8tzEcSYZMHa+CMPLi/hyo1FzNeonbhJL7Ol0ccuKQkwopJcJBA9YL/xmMTLU1eKigXo9vj9nALElWYSowg==}
engines: {node: '>=12'}
peerDependencies:
eslint: '>=6.0.0'
eslint-compat-utils@0.5.1:
resolution: {integrity: sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==}
engines: {node: '>=12'}
@ -2355,10 +2349,6 @@ packages:
resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
engines: {node: '>=18'}
globals@15.0.0:
resolution: {integrity: sha512-m/C/yR4mjO6pXDTm9/R/SpYTAIyaUB4EOzcaaMEl7mds7Mshct9GfejiJNQGjHHbdMPey13Kpu4TMbYi9ex1pw==}
engines: {node: '>=18'}
globals@15.6.0:
resolution: {integrity: sha512-UzcJi88Hw//CurUIRa9Jxb0vgOCcuD/MNjwmXp633cyaRKkCWACkoqHCtfZv43b1kqXGg/fpOa8bwgacCeXsVg==}
engines: {node: '>=18'}
@ -3685,8 +3675,8 @@ packages:
resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==}
engines: {node: '>=4'}
typescript-eslint@8.0.0-alpha.20:
resolution: {integrity: sha512-/cx37A2S+AOne5uFpD8GzHzV5b/7wncAh4agmIRieAZWXJWbRcue7e8RI6LnpQ7CHy9IHPmALcHcXPXogM6jcQ==}
typescript-eslint@8.0.0-alpha.34:
resolution: {integrity: sha512-Y8d1Q72RyygrV4bmbMXT21hPzNYyZIC+RzRftKvt5OFAMlfVNehre2qBVPwvljFu86AXMNe4FDMFhHvhZtOa6w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
@ -5030,7 +5020,7 @@ snapshots:
'@stylistic/eslint-plugin-js@1.8.0(eslint@9.6.0)':
dependencies:
'@types/eslint': 8.56.10
acorn: 8.11.3
acorn: 8.12.0
escape-string-regexp: 4.0.0
eslint: 9.6.0
eslint-visitor-keys: 3.4.3
@ -5100,7 +5090,7 @@ snapshots:
- encoding
- supports-color
'@sveltejs/eslint-config@8.0.1(@stylistic/eslint-plugin-js@1.8.0(eslint@9.6.0))(eslint-config-prettier@9.1.0(eslint@9.6.0))(eslint-plugin-n@17.9.0(eslint@9.6.0))(eslint-plugin-svelte@2.38.0(eslint@9.6.0)(svelte@5.0.0-next.166))(eslint@9.6.0)(typescript-eslint@8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2))(typescript@5.5.2)':
'@sveltejs/eslint-config@8.0.1(@stylistic/eslint-plugin-js@1.8.0(eslint@9.6.0))(eslint-config-prettier@9.1.0(eslint@9.6.0))(eslint-plugin-n@17.9.0(eslint@9.6.0))(eslint-plugin-svelte@2.38.0(eslint@9.6.0)(svelte@5.0.0-next.166))(eslint@9.6.0)(typescript-eslint@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2))(typescript@5.5.2)':
dependencies:
'@stylistic/eslint-plugin-js': 1.8.0(eslint@9.6.0)
eslint: 9.6.0
@ -5109,7 +5099,7 @@ snapshots:
eslint-plugin-svelte: 2.38.0(eslint@9.6.0)(svelte@5.0.0-next.166)
globals: 15.6.0
typescript: 5.5.2
typescript-eslint: 8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2)
typescript-eslint: 8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2)
'@sveltejs/kit@2.4.3(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.9)(vite@5.0.13(@types/node@20.11.5)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0)))(svelte@4.2.9)(vite@5.0.13(@types/node@20.11.5)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0))':
dependencies:
@ -5303,14 +5293,14 @@ snapshots:
dependencies:
'@types/node': 20.11.5
'@typescript-eslint/eslint-plugin@8.0.0-alpha.20(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2))(eslint@9.6.0)(typescript@5.5.2)':
'@typescript-eslint/eslint-plugin@8.0.0-alpha.34(@typescript-eslint/parser@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2))(eslint@9.6.0)(typescript@5.5.2)':
dependencies:
'@eslint-community/regexpp': 4.10.0
'@typescript-eslint/parser': 8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2)
'@typescript-eslint/scope-manager': 8.0.0-alpha.20
'@typescript-eslint/type-utils': 8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2)
'@typescript-eslint/utils': 8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2)
'@typescript-eslint/visitor-keys': 8.0.0-alpha.20
'@typescript-eslint/parser': 8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2)
'@typescript-eslint/scope-manager': 8.0.0-alpha.34
'@typescript-eslint/type-utils': 8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2)
'@typescript-eslint/utils': 8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2)
'@typescript-eslint/visitor-keys': 8.0.0-alpha.34
eslint: 9.6.0
graphemer: 1.4.0
ignore: 5.3.1
@ -5321,12 +5311,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2)':
'@typescript-eslint/parser@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2)':
dependencies:
'@typescript-eslint/scope-manager': 8.0.0-alpha.20
'@typescript-eslint/types': 8.0.0-alpha.20
'@typescript-eslint/typescript-estree': 8.0.0-alpha.20(typescript@5.5.2)
'@typescript-eslint/visitor-keys': 8.0.0-alpha.20
'@typescript-eslint/scope-manager': 8.0.0-alpha.34
'@typescript-eslint/types': 8.0.0-alpha.34
'@typescript-eslint/typescript-estree': 8.0.0-alpha.34(typescript@5.5.2)
'@typescript-eslint/visitor-keys': 8.0.0-alpha.34
debug: 4.3.4(supports-color@5.5.0)
eslint: 9.6.0
optionalDependencies:
@ -5334,15 +5324,15 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/scope-manager@8.0.0-alpha.20':
'@typescript-eslint/scope-manager@8.0.0-alpha.34':
dependencies:
'@typescript-eslint/types': 8.0.0-alpha.20
'@typescript-eslint/visitor-keys': 8.0.0-alpha.20
'@typescript-eslint/types': 8.0.0-alpha.34
'@typescript-eslint/visitor-keys': 8.0.0-alpha.34
'@typescript-eslint/type-utils@8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2)':
'@typescript-eslint/type-utils@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2)':
dependencies:
'@typescript-eslint/typescript-estree': 8.0.0-alpha.20(typescript@5.5.2)
'@typescript-eslint/utils': 8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2)
'@typescript-eslint/typescript-estree': 8.0.0-alpha.34(typescript@5.5.2)
'@typescript-eslint/utils': 8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2)
debug: 4.3.4(supports-color@5.5.0)
ts-api-utils: 1.3.0(typescript@5.5.2)
optionalDependencies:
@ -5351,12 +5341,12 @@ snapshots:
- eslint
- supports-color
'@typescript-eslint/types@8.0.0-alpha.20': {}
'@typescript-eslint/types@8.0.0-alpha.34': {}
'@typescript-eslint/typescript-estree@8.0.0-alpha.20(typescript@5.5.2)':
'@typescript-eslint/typescript-estree@8.0.0-alpha.34(typescript@5.5.2)':
dependencies:
'@typescript-eslint/types': 8.0.0-alpha.20
'@typescript-eslint/visitor-keys': 8.0.0-alpha.20
'@typescript-eslint/types': 8.0.0-alpha.34
'@typescript-eslint/visitor-keys': 8.0.0-alpha.34
debug: 4.3.4(supports-color@5.5.0)
globby: 11.1.0
is-glob: 4.0.3
@ -5368,20 +5358,20 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/utils@8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2)':
'@typescript-eslint/utils@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2)':
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.6.0)
'@typescript-eslint/scope-manager': 8.0.0-alpha.20
'@typescript-eslint/types': 8.0.0-alpha.20
'@typescript-eslint/typescript-estree': 8.0.0-alpha.20(typescript@5.5.2)
'@typescript-eslint/scope-manager': 8.0.0-alpha.34
'@typescript-eslint/types': 8.0.0-alpha.34
'@typescript-eslint/typescript-estree': 8.0.0-alpha.34(typescript@5.5.2)
eslint: 9.6.0
transitivePeerDependencies:
- supports-color
- typescript
'@typescript-eslint/visitor-keys@8.0.0-alpha.20':
'@typescript-eslint/visitor-keys@8.0.0-alpha.34':
dependencies:
'@typescript-eslint/types': 8.0.0-alpha.20
'@typescript-eslint/types': 8.0.0-alpha.34
eslint-visitor-keys: 3.4.3
'@typescript/twoslash@3.1.0':
@ -5483,10 +5473,6 @@ snapshots:
dependencies:
acorn: 8.11.3
acorn-jsx@5.3.2(acorn@8.11.3):
dependencies:
acorn: 8.11.3
acorn-jsx@5.3.2(acorn@8.12.0):
dependencies:
acorn: 8.12.0
@ -5495,6 +5481,10 @@ snapshots:
dependencies:
acorn: 8.11.3
acorn-typescript@1.4.13(acorn@8.12.0):
dependencies:
acorn: 8.12.0
acorn-walk@8.3.2: {}
acorn@8.11.3: {}
@ -5905,11 +5895,6 @@ snapshots:
escape-string-regexp@4.0.0: {}
eslint-compat-utils@0.5.0(eslint@9.6.0):
dependencies:
eslint: 9.6.0
semver: 7.6.0
eslint-compat-utils@0.5.1(eslint@9.6.0):
dependencies:
eslint: 9.6.0
@ -5935,7 +5920,7 @@ snapshots:
eslint: 9.6.0
eslint-plugin-es-x: 7.7.0(eslint@9.6.0)
get-tsconfig: 4.7.5
globals: 15.0.0
globals: 15.6.0
ignore: 5.3.1
minimatch: 9.0.4
semver: 7.6.0
@ -5946,7 +5931,7 @@ snapshots:
'@jridgewell/sourcemap-codec': 1.4.15
debug: 4.3.4(supports-color@5.5.0)
eslint: 9.6.0
eslint-compat-utils: 0.5.0(eslint@9.6.0)
eslint-compat-utils: 0.5.1(eslint@9.6.0)
esutils: 2.0.3
known-css-properties: 0.30.0
postcss: 8.4.38
@ -6024,8 +6009,8 @@ snapshots:
espree@9.6.1:
dependencies:
acorn: 8.11.3
acorn-jsx: 5.3.2(acorn@8.11.3)
acorn: 8.12.0
acorn-jsx: 5.3.2(acorn@8.12.0)
eslint-visitor-keys: 3.4.3
esprima@4.0.1: {}
@ -6234,8 +6219,6 @@ snapshots:
globals@14.0.0: {}
globals@15.0.0: {}
globals@15.6.0: {}
globalyzer@0.1.0: {}
@ -7462,8 +7445,8 @@ snapshots:
'@ampproject/remapping': 2.2.1
'@jridgewell/sourcemap-codec': 1.4.15
'@types/estree': 1.0.5
acorn: 8.11.3
acorn-typescript: 1.4.13(acorn@8.11.3)
acorn: 8.12.0
acorn-typescript: 1.4.13(acorn@8.12.0)
aria-query: 5.3.0
axobject-query: 4.0.0
esm-env: 1.0.0
@ -7570,11 +7553,11 @@ snapshots:
type-detect@4.0.8: {}
typescript-eslint@8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2):
typescript-eslint@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2):
dependencies:
'@typescript-eslint/eslint-plugin': 8.0.0-alpha.20(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2))(eslint@9.6.0)(typescript@5.5.2)
'@typescript-eslint/parser': 8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2)
'@typescript-eslint/utils': 8.0.0-alpha.20(eslint@9.6.0)(typescript@5.5.2)
'@typescript-eslint/eslint-plugin': 8.0.0-alpha.34(@typescript-eslint/parser@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2))(eslint@9.6.0)(typescript@5.5.2)
'@typescript-eslint/parser': 8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2)
'@typescript-eslint/utils': 8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2)
optionalDependencies:
typescript: 5.5.2
transitivePeerDependencies:

Loading…
Cancel
Save