Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix: lint errors removed by using `satisfies` or `as` for type (#3934)

Anwarul Islam1f7a8edb1491
diff --git a/packages/hoppscotch-common/.eslintrc.js b/packages/hoppscotch-common/.eslintrc.js
index 1e467a047..a09d4a7e8 100644
--- a/packages/hoppscotch-common/.eslintrc.js
+++ b/packages/hoppscotch-common/.eslintrc.js
@@ -10,6 +10,9 @@ module.exports = {
parserOptions: {
sourceType: "module",
requireConfigFile: false,
+ ecmaFeatures: {
+ jsx: false,
+ },
},
extends: [
"@vue/typescript/recommended",
diff --git a/packages/hoppscotch-common/package.json b/packages/hoppscotch-common/package.json
index cd9d37554..195741c4d 100644
--- a/packages/hoppscotch-common/package.json
+++ b/packages/hoppscotch-common/package.json
@@ -127,8 +127,8 @@
"@types/splitpanes": "2.2.6",
"@types/uuid": "9.0.7",
"@types/yargs-parser": "21.0.3",
- "@typescript-eslint/eslint-plugin": "6.13.2",
- "@typescript-eslint/parser": "6.13.2",
+ "@typescript-eslint/eslint-plugin": "7.3.1",
+ "@typescript-eslint/parser": "7.3.1",
"@vitejs/plugin-vue": "4.5.1",
"@vue/compiler-sfc": "3.3.10",
"@vue/eslint-config-typescript": "12.0.0",
@@ -136,9 +136,9 @@
"autoprefixer": "10.4.16",
"cross-env": "7.0.3",
"dotenv": "16.3.1",
- "eslint": "8.55.0",
- "eslint-plugin-prettier": "5.0.1",
- "eslint-plugin-vue": "9.19.2",
+ "eslint": "8.57.0",
+ "eslint-plugin-prettier": "5.1.3",
+ "eslint-plugin-vue": "9.24.0",
"glob": "10.3.10",
"npm-run-all": "4.1.5",
"openapi-types": "12.1.3",
@@ -164,4 +164,4 @@
"vitest": "0.34.6",
"vue-tsc": "1.8.24"
}
-}
\ No newline at end of file
+}
diff --git a/packages/hoppscotch-common/src/components/collections/Properties.vue b/packages/hoppscotch-common/src/components/collections/Properties.vue
index 642679065..0db2eb59f 100644
--- a/packages/hoppscotch-common/src/components/collections/Properties.vue
+++ b/packages/hoppscotch-common/src/components/collections/Properties.vue
@@ -65,14 +65,20 @@
<script setup lang="ts">
import { useI18n } from "@composables/i18n"
-import { HoppCollection, HoppRESTAuth, HoppRESTHeaders } from "@hoppscotch/data"
-import { clone } from "lodash-es"
-import { HoppInheritedProperty } from "~/helpers/types/HoppInheritedProperties"
-import { PersistenceService } from "~/services/persistence"
+import {
+ GQLHeader,
+ HoppCollection,
+ HoppGQLAuth,
+ HoppRESTAuth,
+ HoppRESTHeaders,
+} from "@hoppscotch/data"
+import { useVModel } from "@vueuse/core"
import { useService } from "dioc/vue"
+import { clone } from "lodash-es"
import { ref, watch } from "vue"
-import { useVModel } from "@vueuse/core"
+import { HoppInheritedProperty } from "~/helpers/types/HoppInheritedProperties"
+import { PersistenceService } from "~/services/persistence"
const persistenceService = useService(PersistenceService)
const t = useI18n()
@@ -84,6 +90,9 @@ export type EditingProperties = {
inheritedProperties?: HoppInheritedProperty
}
+type HoppCollectionAuth = HoppRESTAuth | HoppGQLAuth
+type HoppCollectionHeaders = HoppRESTHeaders | GQLHeader[]
+
const props = withDefaults(
defineProps<{
show: boolean
@@ -109,8 +118,8 @@ const emit = defineEmits<{
}>()
const editableCollection = ref<{
- headers: HoppRESTHeaders
- auth: HoppRESTAuth
+ headers: HoppCollectionHeaders
+ auth: HoppCollectionAuth
}>({
headers: [],
auth: {
@@ -122,15 +131,16 @@ const editableCollection = ref<{
watch(
editableCollection,
(updatedEditableCollection) => {
- if (props.show) {
+ if (props.show && props.editingProperties) {
+ const unsavedCollectionProperties: EditingProperties = {
+ collection: updatedEditableCollection,
+ isRootCollection: props.editingProperties?.isRootCollection ?? false,
+ path: props.editingProperties?.path,
+ inheritedProperties: props.editingProperties?.inheritedProperties,
+ }
persistenceService.setLocalConfig(
"unsaved_collection_properties",
- JSON.stringify(<EditingProperties>{
- collection: updatedEditableCollection,
- isRootCollection: props.editingProperties?.isRootCollection,
- path: props.editingProperties?.path,
- inheritedProperties: props.editingProperties?.inheritedProperties,
- })
+ JSON.stringify(unsavedCollectionProperties)
)
}
},
@@ -146,10 +156,10 @@ watch(
(show) => {
if (show && props.editingProperties?.collection) {
editableCollection.value.auth = clone(
- props.editingProperties.collection.auth as HoppRESTAuth
+ props.editingProperties.collection.auth as HoppCollectionAuth
)
editableCollection.value.headers = clone(
- props.editingProperties.collection.headers as HoppRESTHeaders
+ props.editingProperties.collection.headers as HoppCollectionHeaders
)
} else {
editableCollection.value = {
diff --git a/packages/hoppscotch-common/src/components/collections/graphql/index.vue b/packages/hoppscotch-common/src/components/collections/graphql/index.vue
index b2878d49e..bf95552b4 100644
--- a/packages/hoppscotch-common/src/components/collections/graphql/index.vue
+++ b/packages/hoppscotch-common/src/components/collections/graphql/index.vue
@@ -180,7 +180,6 @@ import { GQLTabService } from "~/services/tab/graphql"
import { computed } from "vue"
import {
HoppCollection,
- HoppGQLAuth,
HoppGQLRequest,
makeGQLRequest,
} from "@hoppscotch/data"
@@ -226,7 +225,7 @@ const editingRequest = ref<HoppGQLRequest | null>(null)
const editingRequestIndex = ref<number | null>(null)
const editingProperties = ref<{
- collection: HoppCollection | null
+ collection: Partial<HoppCollection> | null
isRootCollection: boolean
path: string
inheritedProperties?: HoppInheritedProperty
@@ -265,8 +264,9 @@ onMounted(() => {
)
if (unsavedCollectionPropertiesString) {
- const unsavedCollectionProperties: EditingProperties<"GraphQL"> =
- JSON.parse(unsavedCollectionPropertiesString)
+ const unsavedCollectionProperties: EditingProperties = JSON.parse(
+ unsavedCollectionPropertiesString
+ )
const auth = unsavedCollectionProperties.collection?.auth
@@ -610,7 +610,7 @@ const editProperties = ({
if (collectionIndex === null || collection === null) return
const parentIndex = collectionIndex.split("/").slice(0, -1).join("/") // remove last folder to get parent folder
- let inheritedProperties = {}
+ let inheritedProperties = undefined
if (parentIndex) {
const { auth, headers } = cascadeParentCollectionForHeaderAuth(
@@ -621,7 +621,7 @@ const editProperties = ({
inheritedProperties = {
auth,
headers,
- } as HoppInheritedProperty
+ }
}
editingProperties.value = {
@@ -635,11 +635,15 @@ const editProperties = ({
}
const setCollectionProperties = (newCollection: {
- collection: HoppCollection
+ collection: Partial<HoppCollection> | null
path: string
isRootCollection: boolean
}) => {
const { collection, path, isRootCollection } = newCollection
+ if (!collection) {
+ return
+ }
+
if (isRootCollection) {
editGraphqlCollection(parseInt(path), collection)
} else {
diff --git a/packages/hoppscotch-common/src/components/collections/index.vue b/packages/hoppscotch-common/src/components/collections/index.vue
index ace0f83d8..db0b4f192 100644
--- a/packages/hoppscotch-common/src/components/collections/index.vue
+++ b/packages/hoppscotch-common/src/components/collections/index.vue
@@ -381,7 +381,7 @@ watch(
const selectedTeamID = collectionsType.value.selectedTeam?.id
selectedTeamID &&
- debouncedSearch(newFilterText, selectedTeamID)?.catch((_) => {})
+ debouncedSearch(newFilterText, selectedTeamID)?.catch(() => {})
}
},
{
@@ -414,14 +414,11 @@ onMounted(() => {
)
if (unsavedCollectionPropertiesString) {
- const unsavedCollectionProperties: EditingProperties<"REST"> = JSON.parse(
+ const unsavedCollectionProperties: EditingProperties = JSON.parse(
unsavedCollectionPropertiesString
)
- // casting because the type `EditingProperties["collection"]["auth"] and the usage in Properties.vue is different. there it's casted as an any.
- // FUTURE-TODO: look into this
- // @ts-expect-error because of the above reason
- const auth = unsavedCollectionProperties.collection?.auth as HoppRESTAuth
+ const auth = unsavedCollectionProperties.collection?.auth
if (auth?.authType === "oauth-2") {
const grantTypeInfo = auth.grantTypeInfo
diff --git a/packages/hoppscotch-common/src/components/graphql/Authorization.vue b/packages/hoppscotch-common/src/components/graphql/Authorization.vue
index b98cffc85..d35fd83e3 100644
--- a/packages/hoppscotch-common/src/components/graphql/Authorization.vue
+++ b/packages/hoppscotch-common/src/components/graphql/Authorization.vue
@@ -299,7 +299,7 @@ const selectOAuth2AuthType = () => {
? existingGrantTypeInfo
: defaultGrantTypeInfo
- auth.value = <HoppGQLAuth>{
+ auth.value = {
...auth.value,
authType: "oauth-2",
addTo: "HEADERS",
diff --git a/packages/hoppscotch-common/src/components/http/Authorization.vue b/packages/hoppscotch-common/src/components/http/Authorization.vue
index bdd426e4f..7f04db264 100644
--- a/packages/hoppscotch-common/src/components/http/Authorization.vue
+++ b/packages/hoppscotch-common/src/components/http/Authorization.vue
@@ -307,7 +307,7 @@ const selectOAuth2AuthType = () => {
? existingGrantTypeInfo
: defaultGrantTypeInfo
- auth.value = <HoppRESTAuth>{
+ auth.value = {
...auth.value,
authType: "oauth-2",
addTo: "HEADERS",
diff --git a/packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue b/packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue
index 614a1a954..bdeed0e7e 100644
--- a/packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue
+++ b/packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue
@@ -913,14 +913,16 @@ const generateOAuthToken = async () => {
if (
grantTypesInvolvingRedirect.includes(auth.value.grantTypeInfo.grantType)
) {
+ const authConfig: PersistedOAuthConfig = {
+ source: props.source,
+ context: props.isCollectionProperty
+ ? { type: "collection-properties", metadata: {} }
+ : { type: "request-tab", metadata: {} },
+ grant_type: auth.value.grantTypeInfo.grantType,
+ }
persistenceService.setLocalConfig(
"oauth_temp_config",
- JSON.stringify(<PersistedOAuthConfig>{
- source: props.source,
- context: props.isCollectionProperty
- ? { type: "collection-properties", metadata: {} }
- : { type: "request-tab" },
- })
+ JSON.stringify(authConfig)
)
}
diff --git a/packages/hoppscotch-common/src/pages/oauth.vue b/packages/hoppscotch-common/src/pages/oauth.vue
index 912d7848e..ac6aa3fce 100644
--- a/packages/hoppscotch-common/src/pages/oauth.vue
+++ b/packages/hoppscotch-common/src/pages/oauth.vue
@@ -93,12 +93,13 @@ onMounted(async () => {
// Indicates the access token generation flow originated from the modal for setting authorization/headers at the collection level
if (context?.type === "collection-properties") {
// Set the access token in `localStorage` to retrieve from the modal while redirecting back
+ const authConfig: PersistedOAuthConfig = {
+ ...persistedOAuthConfig,
+ token: tokenInfo.right.access_token,
+ }
persistenceService.setLocalConfig(
"oauth_temp_config",
- JSON.stringify(<PersistedOAuthConfig>{
- ...persistedOAuthConfig,
- token: tokenInfo.right.access_token,
- })
+ JSON.stringify(authConfig)
)
toast.success(t("authorization.oauth.token_fetched_successfully"))
diff --git a/packages/hoppscotch-selfhost-web/.eslintrc.cjs b/packages/hoppscotch-selfhost-web/.eslintrc.cjs
index d53b00aca..2988b3957 100644
--- a/packages/hoppscotch-selfhost-web/.eslintrc.cjs
+++ b/packages/hoppscotch-selfhost-web/.eslintrc.cjs
@@ -11,6 +11,9 @@ module.exports = {
parserOptions: {
sourceType: "module",
requireConfigFile: false,
+ ecmaFeatures: {
+ jsx: false,
+ },
},
extends: [
"@vue/typescript/recommended",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 0c943dc33..541e980da 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -21,7 +21,7 @@ importers:
version: 16.2.4
'@hoppscotch/ui':
specifier: 0.1.0
'@types/node':
specifier: 17.0.27
version: 17.0.27
@@ -411,7 +411,7 @@ importers:
version: link:../hoppscotch-js-sandbox
'@hoppscotch/ui':
specifier: 0.1.0
'@hoppscotch/vue-toasted':
specifier: 0.1.0
version: 0.1.0([email protected])
@@ -678,11 +678,11 @@ importers:
specifier: 21.0.3
version: 21.0.3
'@typescript-eslint/eslint-plugin':
- specifier: 6.13.2
- version: 6.13.2(@typescript-eslint/[email protected])([email protected])([email protected])
+ specifier: 7.3.1
+ version: 7.3.1(@typescript-eslint/[email protected])([email protected])([email protected])
'@typescript-eslint/parser':
- specifier: 6.13.2
+ specifier: 7.3.1
'@vitejs/plugin-vue':
specifier: 4.5.1
@@ -691,7 +691,7 @@ importers:
version: 3.3.10
'@vue/eslint-config-typescript':
specifier: 12.0.0
'@vue/runtime-core':
specifier: 3.3.10
version: 3.3.10
@@ -705,14 +705,14 @@ importers:
specifier: 16.3.1
version: 16.3.1
eslint:
- specifier: 8.55.0
- version: 8.55.0
+ specifier: 8.57.0
+ version: 8.57.0
eslint-plugin-prettier:
- specifier: 5.0.1
+ specifier: 5.1.3
eslint-plugin-vue:
- specifier: 9.19.2
- version: 9.19.2([email protected])
+ specifier: 9.24.0
+ version: 9.24.0([email protected])
glob:
specifier: 10.3.10
version: 10.3.10
@@ -757,7 +757,7 @@ importers:
vite-plugin-checker:
specifier: 0.6.2
vite-plugin-fonts:
specifier: 0.7.0
version: 0.7.0([email protected])
@@ -1259,7 +1259,7 @@ importers:
version: 3.1.1([email protected])
'@hoppscotch/ui':
specifier: 0.1.3
'@hoppscotch/vue-toasted':
specifier: 0.1.0
version: 0.1.0([email protected])
@@ -3997,6 +3997,15 @@ packages:
eslint: 8.55.0
eslint-visitor-keys: 3.4.3
+ /@eslint-community/[email protected]([email protected]):
+ resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
+ dependencies:
+ eslint: 8.57.0
+ eslint-visitor-keys: 3.4.3
+
/@eslint-community/[email protected]:
resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
@@ -4043,6 +4052,10 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
+ /@eslint/[email protected]:
+ resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
/@faker-js/[email protected]:
resolution: {integrity: sha512-R11tGE6yIFwqpaIqcfkcg7AICXzFg14+5h5v0TfF/9+RMDL6jhzCy/pxHVOfbALGdtVYdt6JdR21tuxEgl34dw==}
dev: false
@@ -5998,7 +6011,33 @@ packages:
dependencies:
graphql: 16.8.1
+ resolution: {integrity: sha512-+4iHdfO7gRn7l3vpnPcQZbgdA+uE/K1KQX0/eUFcCWvja/C3eSM0db31MRX2cz1KYGwiezzhhVe21mIT4a0CZQ==}
+ engines: {node: '>=16'}
+ peerDependencies:
+ vue: 3.3.9
+ dependencies:
+ '@boringer-avatars/vue3': 0.2.1([email protected])
+ '@fontsource-variable/inter': 5.0.15
+ '@fontsource-variable/material-symbols-rounded': 5.0.16
+ '@fontsource-variable/roboto-mono': 5.0.16
+ '@hoppscotch/vue-toasted': 0.1.0([email protected])
+ '@vitejs/plugin-legacy': 2.3.0([email protected])([email protected])
+ '@vueuse/core': 8.7.5([email protected])
+ fp-ts: 2.16.2
+ lodash-es: 4.17.21
+ path: 0.12.7
+ vite-plugin-eslint: 1.8.1([email protected])([email protected])
+ vue: 3.3.9([email protected])
+ vuedraggable-es: 4.1.1([email protected])
+ transitivePeerDependencies:
+ - '@vue/composition-api'
+ - eslint
+ - terser
+ - vite
+ dev: false
+
resolution: {integrity: sha512-+4iHdfO7gRn7l3vpnPcQZbgdA+uE/K1KQX0/eUFcCWvja/C3eSM0db31MRX2cz1KYGwiezzhhVe21mIT4a0CZQ==}
engines: {node: '>=16'}
peerDependencies:
@@ -6014,7 +6053,7 @@ packages:
fp-ts: 2.16.2
lodash-es: 4.17.21
path: 0.12.7
- vite-plugin-eslint: 1.8.1([email protected])([email protected])
+ vite-plugin-eslint: 1.8.1([email protected])([email protected])
vue: 3.3.9([email protected])
vuedraggable-es: 4.1.1([email protected])
transitivePeerDependencies:
@@ -6024,7 +6063,7 @@ packages:
- vite
dev: true
resolution: {integrity: sha512-+4iHdfO7gRn7l3vpnPcQZbgdA+uE/K1KQX0/eUFcCWvja/C3eSM0db31MRX2cz1KYGwiezzhhVe21mIT4a0CZQ==}
engines: {node: '>=16'}
peerDependencies:
@@ -6040,7 +6079,7 @@ packages:
fp-ts: 2.16.2
lodash-es: 4.17.21
path: 0.12.7
- vite-plugin-eslint: 1.8.1([email protected])([email protected])
+ vite-plugin-eslint: 1.8.1([email protected])([email protected])
vue: 3.3.9([email protected])
vuedraggable-es: 4.1.1([email protected])
transitivePeerDependencies:
@@ -6050,7 +6089,7 @@ packages:
- vite
dev: false
resolution: {integrity: sha512-a1dmqqL+zS2P6cxkCBLdBtd+mD+MnCDSN63TrCPldW5W92rtqpeZ0bmGgiQlzfA2457JRktYpVCBR0Oc0J1jbA==}
engines: {node: '>=16'}
peerDependencies:
@@ -6066,7 +6105,7 @@ packages:
fp-ts: 2.16.2
lodash-es: 4.17.21
path: 0.12.7
- vite-plugin-eslint: 1.8.1([email protected])([email protected])
+ vite-plugin-eslint: 1.8.1([email protected])([email protected])
vue: 3.3.9([email protected])
vuedraggable-es: 4.1.1([email protected])
transitivePeerDependencies:
@@ -7494,6 +7533,11 @@ packages:
requiresBuild: true
optional: true
+ resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==}
+ engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
+ dev: true
+
resolution: {integrity: sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==}
engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
@@ -8806,6 +8850,64 @@ packages:
- supports-color
dev: true
+ /@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):
+ resolution: {integrity: sha512-3+9OGAWHhk4O1LlcwLBONbdXsAhLjyCFogJY/cWy2lxdVJ2JrcTF2pTGMaLl2AE7U1l31n8Py4a8bx5DLf/0dQ==}
+ engines: {node: ^16.0.0 || >=18.0.0}
+ peerDependencies:
+ '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha
+ eslint: ^7.0.0 || ^8.0.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ dependencies:
+ '@eslint-community/regexpp': 4.10.0
+ '@typescript-eslint/parser': 6.13.2([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 6.13.2
+ '@typescript-eslint/type-utils': 6.13.2([email protected])([email protected])
+ '@typescript-eslint/utils': 6.13.2([email protected])([email protected])
+ '@typescript-eslint/visitor-keys': 6.13.2
+ debug: 4.3.4([email protected])
+ eslint: 8.57.0
+ graphemer: 1.4.0
+ ignore: 5.3.0
+ natural-compare: 1.4.0
+ semver: 7.5.4
+ ts-api-utils: 1.0.2([email protected])
+ typescript: 5.3.2
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
+ /@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):
+ resolution: {integrity: sha512-STEDMVQGww5lhCuNXVSQfbfuNII5E08QWkvAw5Qwf+bj2WT+JkG1uc+5/vXA3AOYMDHVOSpL+9rcbEUiHIm2dw==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ peerDependencies:
+ '@typescript-eslint/parser': ^7.0.0
+ eslint: ^8.56.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ dependencies:
+ '@eslint-community/regexpp': 4.10.0
+ '@typescript-eslint/parser': 7.3.1([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 7.3.1
+ '@typescript-eslint/type-utils': 7.3.1([email protected])([email protected])
+ '@typescript-eslint/utils': 7.3.1([email protected])([email protected])
+ '@typescript-eslint/visitor-keys': 7.3.1
+ debug: 4.3.4([email protected])
+ eslint: 8.57.0
+ graphemer: 1.4.0
+ ignore: 5.3.0
+ natural-compare: 1.4.0
+ semver: 7.6.0
+ ts-api-utils: 1.0.2([email protected])
+ typescript: 5.3.2
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
resolution: {integrity: sha512-gfF9lZjT0p2ZSdxO70Xbw8w9sPPJGfAdjK7WikEjB3fcUI/yr9maUVEdqigBjKincUYNKOmf7QBMiTf719kbrA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -8887,6 +8989,48 @@ packages:
- supports-color
dev: true
+ resolution: {integrity: sha512-MUkcC+7Wt/QOGeVlM8aGGJZy1XV5YKjTpq9jK6r6/iLsGXhBVaGP5N0UYvFsu9BFlSpwY9kMretzdBH01rkRXg==}
+ engines: {node: ^16.0.0 || >=18.0.0}
+ peerDependencies:
+ eslint: ^7.0.0 || ^8.0.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ dependencies:
+ '@typescript-eslint/scope-manager': 6.13.2
+ '@typescript-eslint/types': 6.13.2
+ '@typescript-eslint/typescript-estree': 6.13.2([email protected])
+ '@typescript-eslint/visitor-keys': 6.13.2
+ debug: 4.3.4([email protected])
+ eslint: 8.57.0
+ typescript: 5.3.2
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
+ resolution: {integrity: sha512-Rq49+pq7viTRCH48XAbTA+wdLRrB/3sRq4Lpk0oGDm0VmnjBrAOVXH/Laalmwsv2VpekiEfVFwJYVk6/e8uvQw==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ peerDependencies:
+ eslint: ^8.56.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ dependencies:
+ '@typescript-eslint/scope-manager': 7.3.1
+ '@typescript-eslint/types': 7.3.1
+ '@typescript-eslint/typescript-estree': 7.3.1([email protected])
+ '@typescript-eslint/visitor-keys': 7.3.1
+ debug: 4.3.4([email protected])
+ eslint: 8.57.0
+ typescript: 5.3.2
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
/@typescript-eslint/[email protected]:
resolution: {integrity: sha512-Hkq5PhLgtVoW1obkqYH0i4iELctEKixkhWLPTYs55doGUKCASvkjOXOd/pisVeLdO24ZX9D6yymJ/twqpJiG3g==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -8919,6 +9063,14 @@ packages:
'@typescript-eslint/visitor-keys': 6.13.2
dev: true
+ /@typescript-eslint/[email protected]:
+ resolution: {integrity: sha512-fVS6fPxldsKY2nFvyT7IP78UO1/I2huG+AYu5AMjCT9wtl6JFiDnsv4uad4jQ0GTFzcUV5HShVeN96/17bTBag==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ dependencies:
+ '@typescript-eslint/types': 7.3.1
+ '@typescript-eslint/visitor-keys': 7.3.1
+ dev: true
+
resolution: {integrity: sha512-GFVVzs2j0QPpM+NTDMXtNmJKlF842lkZKDSanIxf+ArJsGeZUIaeT4jGg+gAgHt7AcQSFwW7htzF/rbAh2jaVA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -8998,6 +9150,46 @@ packages:
- supports-color
dev: true
+ resolution: {integrity: sha512-Qr6ssS1GFongzH2qfnWKkAQmMUyZSyOr0W54nZNU1MDfo+U4Mv3XveeLZzadc/yq8iYhQZHYT+eoXJqnACM1tw==}
+ engines: {node: ^16.0.0 || >=18.0.0}
+ peerDependencies:
+ eslint: ^7.0.0 || ^8.0.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ dependencies:
+ '@typescript-eslint/typescript-estree': 6.13.2([email protected])
+ '@typescript-eslint/utils': 6.13.2([email protected])([email protected])
+ debug: 4.3.4([email protected])
+ eslint: 8.57.0
+ ts-api-utils: 1.0.2([email protected])
+ typescript: 5.3.2
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
+ resolution: {integrity: sha512-iFhaysxFsMDQlzJn+vr3OrxN8NmdQkHks4WaqD4QBnt5hsq234wcYdyQ9uquzJJIDAj5W4wQne3yEsYA6OmXGw==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ peerDependencies:
+ eslint: ^8.56.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ dependencies:
+ '@typescript-eslint/typescript-estree': 7.3.1([email protected])
+ '@typescript-eslint/utils': 7.3.1([email protected])([email protected])
+ debug: 4.3.4([email protected])
+ eslint: 8.57.0
+ ts-api-utils: 1.0.2([email protected])
+ typescript: 5.3.2
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
/@typescript-eslint/[email protected]:
resolution: {integrity: sha512-HdnP8HioL1F7CwVmT4RaaMX57RrfqsOMclZc08wGMiDYJBsLGBM7JwXM4cZJmbWLzIR/pXg1kkrBBVpxTOwfUg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -9018,6 +9210,11 @@ packages:
engines: {node: ^16.0.0 || >=18.0.0}
dev: true
+ /@typescript-eslint/[email protected]:
+ resolution: {integrity: sha512-2tUf3uWggBDl4S4183nivWQ2HqceOZh1U4hhu4p1tPiIJoRRXrab7Y+Y0p+dozYwZVvLPRI6r5wKe9kToF9FIw==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ dev: true
+
/@typescript-eslint/[email protected]([email protected]):
resolution: {integrity: sha512-Z7TgPoeYUm06smfEfYF0RBkpF8csMyVnqQbLYiGgmUSTaSXTP57bt8f0UFXstbGxKIreTwQCujtaH0LY9w9B+A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -9102,6 +9299,28 @@ packages:
- supports-color
dev: true
+ /@typescript-eslint/[email protected]([email protected]):
+ resolution: {integrity: sha512-tLpuqM46LVkduWP7JO7yVoWshpJuJzxDOPYIVWUUZbW+4dBpgGeUdl/fQkhuV0A8eGnphYw3pp8d2EnvPOfxmQ==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ peerDependencies:
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ dependencies:
+ '@typescript-eslint/types': 7.3.1
+ '@typescript-eslint/visitor-keys': 7.3.1
+ debug: 4.3.4([email protected])
+ globby: 11.1.0
+ is-glob: 4.0.3
+ minimatch: 9.0.3
+ semver: 7.6.0
+ ts-api-utils: 1.0.2([email protected])
+ typescript: 5.3.2
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
resolution: {integrity: sha512-xFBLc/esUbLOJLk9jKv0E9gD/OH966M40aY9jJ8GiqpSkP2xOV908cokJqqhVd85WoIvHVHYXxSFE4cCSDzVvA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -9179,6 +9398,44 @@ packages:
- typescript
dev: true
+ resolution: {integrity: sha512-b9Ptq4eAZUym4idijCRzl61oPCwwREcfDI8xGk751Vhzig5fFZR9CyzDz4Sp/nxSLBYxUPyh4QdIDqWykFhNmQ==}
+ engines: {node: ^16.0.0 || >=18.0.0}
+ peerDependencies:
+ eslint: ^7.0.0 || ^8.0.0
+ dependencies:
+ '@eslint-community/eslint-utils': 4.4.0([email protected])
+ '@types/json-schema': 7.0.15
+ '@types/semver': 7.5.0
+ '@typescript-eslint/scope-manager': 6.13.2
+ '@typescript-eslint/types': 6.13.2
+ '@typescript-eslint/typescript-estree': 6.13.2([email protected])
+ eslint: 8.57.0
+ semver: 7.5.4
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+ dev: true
+
+ resolution: {integrity: sha512-jIERm/6bYQ9HkynYlNZvXpzmXWZGhMbrOvq3jJzOSOlKXsVjrrolzWBjDW6/TvT5Q3WqaN4EkmcfdQwi9tDjBQ==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ peerDependencies:
+ eslint: ^8.56.0
+ dependencies:
+ '@eslint-community/eslint-utils': 4.4.0([email protected])
+ '@types/json-schema': 7.0.15
+ '@types/semver': 7.5.0
+ '@typescript-eslint/scope-manager': 7.3.1
+ '@typescript-eslint/types': 7.3.1
+ '@typescript-eslint/typescript-estree': 7.3.1([email protected])
+ eslint: 8.57.0
+ semver: 7.6.0
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+ dev: true
+
/@typescript-eslint/[email protected]:
resolution: {integrity: sha512-41OiCjdL2mCaSDi2SvYbzFLlqqlm5v1ZW9Ym55wXKL/Rx6OOB1IbuFGo71Fj6Xy90gJDFTlgOS+vbmtGHPTQQA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -9211,6 +9468,14 @@ packages:
eslint-visitor-keys: 3.4.3
dev: true
+ /@typescript-eslint/[email protected]:
+ resolution: {integrity: sha512-9RMXwQF8knsZvfv9tdi+4D/j7dMG28X/wMJ8Jj6eOHyHWwDW4ngQJcqEczSsqIKKjFiLFr40Mnr7a5ulDD3vmw==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ dependencies:
+ '@typescript-eslint/types': 7.3.1
+ eslint-visitor-keys: 3.4.3
+ dev: true
+
resolution: {integrity: sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==}
dev: true
@@ -9695,6 +9960,27 @@ packages:
- supports-color
dev: true
+ resolution: {integrity: sha512-StxLFet2Qe97T8+7L8pGlhYBBr8Eg05LPuTDVopQV6il+SK6qqom59BA/rcFipUef2jD8P2X44Vd8tMFytfvlg==}
+ engines: {node: ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: ^6.2.0 || ^7.0.0 || ^8.0.0
+ eslint-plugin-vue: ^9.0.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ dependencies:
+ '@typescript-eslint/eslint-plugin': 6.13.2(@typescript-eslint/[email protected])([email protected])([email protected])
+ '@typescript-eslint/parser': 6.13.2([email protected])([email protected])
+ eslint: 8.57.0
+ eslint-plugin-vue: 9.24.0([email protected])
+ typescript: 5.3.2
+ vue-eslint-parser: 9.3.1([email protected])
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
resolution: {integrity: sha512-2ClHvij0WlsDWryPzXJCSpPc6rusZFNoVtRZGgGGkKCmKuIREDDKmH8j+1tYyxPYyH0qL6pZ6+IHD8KIm5nWAw==}
peerDependencies:
@@ -13154,7 +13440,7 @@ packages:
prettier-linter-helpers: 1.0.0
dev: true
resolution: {integrity: sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
@@ -13169,13 +13455,13 @@ packages:
optional: true
dependencies:
eslint: 8.55.0
- prettier: 3.1.0
+ prettier: 3.2.5
prettier-linter-helpers: 1.0.0
synckit: 0.8.5
dev: true
- resolution: {integrity: sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg==}
+ resolution: {integrity: sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
'@types/eslint': '>=8.0.0'
@@ -13188,10 +13474,10 @@ packages:
eslint-config-prettier:
optional: true
dependencies:
- eslint: 8.55.0
- prettier: 3.2.5
+ eslint: 8.57.0
+ prettier: 3.1.0
prettier-linter-helpers: 1.0.0
- synckit: 0.8.5
+ synckit: 0.8.8
dev: true
@@ -13230,6 +13516,25 @@ packages:
- supports-color
dev: true
+ resolution: {integrity: sha512-9SkJMvF8NGMT9aQCwFc5rj8Wo1XWSMSHk36i7ZwdI614BU7sIOR28ZjuFPKp8YGymZN12BSEbiSwa7qikp+PBw==}
+ engines: {node: ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: ^6.2.0 || ^7.0.0 || ^8.0.0
+ dependencies:
+ '@eslint-community/eslint-utils': 4.4.0([email protected])
+ eslint: 8.57.0
+ globals: 13.24.0
+ natural-compare: 1.4.0
+ nth-check: 2.1.1
+ postcss-selector-parser: 6.0.16
+ semver: 7.6.0
+ vue-eslint-parser: 9.4.2([email protected])
+ xml-name-validator: 4.0.0
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}
engines: {node: '>=8.0.0'}
@@ -13470,6 +13775,52 @@ packages:
transitivePeerDependencies:
- supports-color
+ resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ hasBin: true
+ dependencies:
+ '@eslint-community/eslint-utils': 4.4.0([email protected])
+ '@eslint-community/regexpp': 4.10.0
+ '@eslint/eslintrc': 2.1.4
+ '@eslint/js': 8.57.0
+ '@humanwhocodes/config-array': 0.11.14
+ '@humanwhocodes/module-importer': 1.0.1
+ '@nodelib/fs.walk': 1.2.8
+ '@ungap/structured-clone': 1.2.0
+ ajv: 6.12.6
+ chalk: 4.1.2
+ cross-spawn: 7.0.3
+ debug: 4.3.4([email protected])
+ doctrine: 3.0.0
+ escape-string-regexp: 4.0.0
+ eslint-scope: 7.2.2
+ eslint-visitor-keys: 3.4.3
+ espree: 9.6.1
+ esquery: 1.5.0
+ esutils: 2.0.3
+ fast-deep-equal: 3.1.3
+ file-entry-cache: 6.0.1
+ find-up: 5.0.0
+ glob-parent: 6.0.2
+ globals: 13.24.0
+ graphemer: 1.4.0
+ ignore: 5.3.0
+ imurmurhash: 0.1.4
+ is-glob: 4.0.3
+ is-path-inside: 3.0.3
+ js-yaml: 4.1.0
+ json-stable-stringify-without-jsonify: 1.0.1
+ levn: 0.4.1
+ lodash.merge: 4.6.2
+ minimatch: 3.1.2
+ natural-compare: 1.4.0
+ optionator: 0.9.3
+ strip-ansi: 6.0.1
+ text-table: 0.2.0
+ transitivePeerDependencies:
+ - supports-color
+
resolution: {integrity: sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==}
engines: {node: '>=6.0.0'}
@@ -19045,6 +19396,14 @@ packages:
cssesc: 3.0.0
util-deprecate: 1.0.2
+ resolution: {integrity: sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==}
+ engines: {node: '>=4'}
+ dependencies:
+ cssesc: 3.0.0
+ util-deprecate: 1.0.2
+ dev: true
+
resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}
@@ -20212,6 +20571,14 @@ packages:
dependencies:
lru-cache: 6.0.0
+ resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==}
+ engines: {node: '>=10'}
+ hasBin: true
+ dependencies:
+ lru-cache: 6.0.0
+ dev: true
+
resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==}
engines: {node: '>= 0.8.0'}
@@ -21018,6 +21385,14 @@ packages:
tslib: 2.6.2
dev: true
+ resolution: {integrity: sha512-HwOKAP7Wc5aRGYdKH+dw0PRRpbO841v2DENBtjnR5HFWoiNByAl7vrx3p0G/rCyYXQsrxqtX48TImFtPcIHSpQ==}
+ engines: {node: ^14.18.0 || >=16.0.0}
+ dependencies:
+ '@pkgr/core': 0.1.1
+ tslib: 2.6.2
+ dev: true
+
resolution: {integrity: sha512-1TlOwvKWdXxAY9vba+huLu99zrQURDWA8pUTYsRIYDZYQbGyK+pyEP4h4dlySsqo7ozyJBmYD20F+iUHhAltEg==}
@@ -22579,7 +22954,7 @@ packages:
- terser
dev: true
resolution: {integrity: sha512-YvvvQ+IjY09BX7Ab+1pjxkELQsBd4rPhWNw8WLBeFVxu/E7O+n6VYAqNsKdK/a2luFlX/sMpoWdGFfg4HvwdJQ==}
engines: {node: '>=14.16'}
peerDependencies:
@@ -22615,7 +22990,7 @@ packages:
chalk: 4.1.2
chokidar: 3.5.3
commander: 8.3.0
- eslint: 8.55.0
+ eslint: 8.57.0
fast-glob: 3.3.2
fs-extra: 11.1.1
lodash.debounce: 4.0.8
@@ -22633,7 +23008,7 @@ packages:
vue-tsc: 1.8.24([email protected])
dev: true
resolution: {integrity: sha512-PqdMf3Y2fLO9FsNPmMX+//2BF5SF8nEWspZdgl4kSt7UvHDRHVVfHvxsD7ULYzZrJDGRxR81Nq7TOFgwMnUang==}
peerDependencies:
eslint: '>=7'
@@ -22643,9 +23018,22 @@ packages:
'@types/eslint': 8.56.2
eslint: 8.55.0
rollup: 2.79.1
+ dev: false
+
+ resolution: {integrity: sha512-PqdMf3Y2fLO9FsNPmMX+//2BF5SF8nEWspZdgl4kSt7UvHDRHVVfHvxsD7ULYzZrJDGRxR81Nq7TOFgwMnUang==}
+ peerDependencies:
+ eslint: '>=7'
+ vite: '>=2'
+ dependencies:
+ '@rollup/pluginutils': 4.2.1
+ '@types/eslint': 8.56.2
+ eslint: 8.57.0
+ rollup: 2.79.1
resolution: {integrity: sha512-PqdMf3Y2fLO9FsNPmMX+//2BF5SF8nEWspZdgl4kSt7UvHDRHVVfHvxsD7ULYzZrJDGRxR81Nq7TOFgwMnUang==}
peerDependencies:
eslint: '>=7'
@@ -22653,7 +23041,7 @@ packages:
dependencies:
'@rollup/pluginutils': 4.2.1
'@types/eslint': 8.56.2
- eslint: 8.55.0
+ eslint: 8.57.0
rollup: 2.79.1
dev: false
@@ -23373,7 +23761,7 @@ packages:
espree: 9.6.1
esquery: 1.5.0
lodash: 4.17.21
- semver: 7.5.4
+ semver: 7.6.0
transitivePeerDependencies:
- supports-color
dev: true
@@ -23391,7 +23779,43 @@ packages:
espree: 9.6.1
esquery: 1.5.0
lodash: 4.17.21
- semver: 7.5.4
+ semver: 7.6.0
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
+ resolution: {integrity: sha512-Clr85iD2XFZ3lJ52/ppmUDG/spxQu6+MAeHXjjyI4I1NUYZ9xmenQp4N0oaHJhrA8OOxltCVxMRfANGa70vU0g==}
+ engines: {node: ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: '>=6.0.0'
+ dependencies:
+ debug: 4.3.4([email protected])
+ eslint: 8.57.0
+ eslint-scope: 7.2.2
+ eslint-visitor-keys: 3.4.3
+ espree: 9.6.1
+ esquery: 1.5.0
+ lodash: 4.17.21
+ semver: 7.6.0
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
+ resolution: {integrity: sha512-Ry9oiGmCAK91HrKMtCrKFWmSFWvYkpGglCeFAIqDdr9zdXmMMpJOmUJS7WWsW7fX81h6mwHmUZCQQ1E0PkSwYQ==}
+ engines: {node: ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: '>=6.0.0'
+ dependencies:
+ debug: 4.3.4([email protected])
+ eslint: 8.57.0
+ eslint-scope: 7.2.2
+ eslint-visitor-keys: 3.4.3
+ espree: 9.6.1
+ esquery: 1.5.0
+ lodash: 4.17.21
+ semver: 7.6.0
transitivePeerDependencies:
- supports-color
dev: true
@@ -24543,4 +24967,3 @@ packages:
resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==}
dev: false
-
\ No newline at end of file