Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore(deps): update dependency eslint-plugin-vue to v10 (#17617)

renovate[bot]dcd1a2c2f64d
diff --git a/frontend/package.json b/frontend/package.json
index 2b5a841a6e..3e639d2e28 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -125,7 +125,7 @@
"eslint": "9.36.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.5.3",
- "eslint-plugin-vue": "9.33.0",
+ "eslint-plugin-vue": "10.5.0",
"events": "^3.3.0",
"jquery": "3.7.1",
"jsdom": "27.0.0",
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index bd18e2cd07..94cba0a387 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -307,7 +307,7 @@ importers:
'@vue/eslint-config-typescript':
specifier: ^14.5.0
'@vue/test-utils':
specifier: 2.4.6
version: 2.4.6
@@ -333,8 +333,8 @@ importers:
specifier: ^5.5.3
eslint-plugin-vue:
- specifier: 9.33.0
+ specifier: 10.5.0
events:
specifier: ^3.3.0
version: 3.3.0
@@ -3265,11 +3265,19 @@ packages:
eslint-config-prettier:
optional: true
- resolution: {integrity: sha512-174lJKuNsuDIlLpjeXc5E2Tss8P44uIimAfGD0b90k0NoirJqpG7stLuU9Vp/9ioTOrQdWVREc4mRd1BD+CvGw==}
- engines: {node: ^14.17.0 || >=16.0.0}
+ resolution: {integrity: sha512-7BZHsG3kC2vei8F2W8hnfDi9RK+cv5eKPMvzBdrl8Vuc0hR5odGQRli8VVzUkrmUHkxFEm4Iio1r5HOKslO0Aw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 || ^9.0.0
+ '@stylistic/eslint-plugin': ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0
+ '@typescript-eslint/parser': ^7.0.0 || ^8.0.0
+ eslint: ^8.57.0 || ^9.0.0
+ vue-eslint-parser: ^10.0.0
+ peerDependenciesMeta:
+ '@stylistic/eslint-plugin':
+ optional: true
+ '@typescript-eslint/parser':
+ optional: true
resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==}
@@ -3453,10 +3461,6 @@ packages:
resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==}
hasBin: true
- resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
engines: {node: '>=18'}
@@ -4818,10 +4822,6 @@ packages:
resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
engines: {node: '>= 0.8.0'}
- resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==}
- engines: {node: '>=10'}
-
resolution: {integrity: sha512-qzDmZw/Z5beNLUrXfd0HIW6MzIaAV5WNDxmMs9/3ojGOpYavofgNAAD/nC6tGV2PczIi0iw8vot2eAe/sBn7zg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -8317,11 +8317,11 @@ snapshots:
transitivePeerDependencies:
- '@types/eslint'
dependencies:
'@typescript-eslint/utils': 8.45.0([email protected]([email protected]))([email protected])
eslint: 9.36.0([email protected])
- eslint-plugin-vue: 9.33.0([email protected]([email protected]))
fast-glob: 3.3.3
vue-eslint-parser: 10.2.0([email protected]([email protected]))
@@ -9065,19 +9065,18 @@ snapshots:
optionalDependencies:
eslint-config-prettier: 10.1.8([email protected]([email protected]))
dependencies:
'@eslint-community/eslint-utils': 4.9.0([email protected]([email protected]))
eslint: 9.36.0([email protected])
- globals: 13.24.0
natural-compare: 1.4.0
nth-check: 2.1.1
postcss-selector-parser: 6.1.2
semver: 7.7.2
- vue-eslint-parser: 9.4.3([email protected]([email protected]))
+ vue-eslint-parser: 10.2.0([email protected]([email protected]))
xml-name-validator: 4.0.0
- transitivePeerDependencies:
- - supports-color
+ optionalDependencies:
+ '@typescript-eslint/parser': 8.45.0([email protected]([email protected]))([email protected])
dependencies:
@@ -9286,10 +9285,6 @@ snapshots:
package-json-from-dist: 1.0.1
path-scurry: 1.11.1
- dependencies:
- type-fest: 0.20.2
-
@@ -10884,8 +10879,6 @@ snapshots:
dependencies:
prelude-ls: 1.2.1
-
dependencies:
diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue
index 8822c9b0e6..038e193237 100644
--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue
+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue
@@ -1,7 +1,11 @@
<template>
<div class="flex flex-col">
<ul>
- <IssueCreatedCommentV1 :issue-comments="issueComments" :issue="issue" />
+ <IssueCreatedCommentV1
+ :issue-comments="issueComments"
+ :issue="issue"
+ @update-issue="handleUpdateIssue"
+ />
<IssueCommentView
class="group"
v-for="(item, index) in issueComments"
@@ -244,6 +248,10 @@ const allowUpdateComment = computed(() => {
return state.editComment && state.editComment != state.activeComment!.comment;
});
+const handleUpdateIssue = (updatedIssue: ComposedIssue) => {
+ Object.assign(issue.value, updatedIssue);
+};
+
onMounted(() => {
watch(
() => route.hash,
diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue
index bcc1659c68..badecf6cfa 100644
--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue
+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue
@@ -115,6 +115,10 @@ const props = defineProps<{
issueComments: DistinctIssueComment[];
}>();
+const emit = defineEmits<{
+ (event: "update-issue", issue: ComposedIssue): void;
+}>();
+
const currentUser = useCurrentUserV1();
const userStore = useUserStore();
const { project } = useCurrentProjectV1();
@@ -184,7 +188,11 @@ const saveEdit = async () => {
});
const response = await planServiceClientConnect.updatePlan(request);
if (props.issue.planEntity) {
- Object.assign(props.issue.planEntity, response);
+ const updatedIssue = {
+ ...props.issue,
+ planEntity: response,
+ };
+ emit("update-issue", updatedIssue);
}
} else {
// Update issue description
@@ -196,7 +204,11 @@ const saveEdit = async () => {
updateMask: { paths: ["description"] },
});
const response = await issueServiceClientConnect.updateIssue(request);
- Object.assign(props.issue, response);
+ const updatedIssue = {
+ ...props.issue,
+ ...response,
+ };
+ emit("update-issue", updatedIssue);
}
cancelEdit();