[Snyk] Upgrade eslint-plugin-vue from 9.17.0 to 10.1.0 #26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade eslint-plugin-vue from 9.17.0 to 10.1.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 26 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-HTTPPROXYMIDDLEWARE-8229906
SNYK-JS-PATHTOREGEXP-8482416
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
SNYK-JS-COOKIE-8163060
SNYK-JS-HTTPPROXYMIDDLEWARE-9691387
SNYK-JS-HTTPPROXYMIDDLEWARE-9691389
SNYK-JS-NANOID-8492085
Release notes
Package name: eslint-plugin-vue
✨ Enhancements
allowlist
option ofvue/no-bare-strings-in-template
rule to accept regex.vue/define-props-destructuring
rule that enforce consistent style for props destructuring.disallowComments
option tovue/no-multiple-template-root
rule.Full Changelog: v10.0.1...v10.1.0
🐛 Bug Fixes
.eslintrc
configs.vue/prefer-use-template-ref
rule.vue/no-ref-as-operand
rule.vue/require-default-prop
rule.vue/no-dupe-keys
rule.⚙️ Updates
vue/no-export-in-script-setup
rule.vue/html-self-closing
rule.Full Changelog: v10.0.0...v10.0.1
💥 Breaking changes
^18.18.0 || ^20.9.0 || >=21.1.0
^8.57.0 || ^9.0.0
vue/block-order
rule to recommended configs (replaces the removedvue/component-tags-order
rule).vue/no-deprecated-delete-set
rule to vue3-essential config.vue/no-deprecated-model-definition
rule to vue3-essential config.vue/no-required-prop-with-default
rule to recommended configs.vue/valid-define-options
rule to vue3-essential config..eslintrc
configs (to matcheslint.config.js
config names; see PR for comparison)..eslintrc
base config so that vue-eslint-parser is only used for.vue
files.slots
andexpose
to the default order ofvue/order-in-components
rule.vue/custom-event-name-casing
rule.runOutsideVue
option fromvue/sort-keys
rule.setup-compiler-macros
environments.✨ Enhancements
vue/no-import-compiler-macros
rule that disallows importing Vue compiler macros.except
option tovue/prefer-true-attribute-shorthand
rule.defineNuxtComponent()
.⚙️ Updates
Full Changelog: v9.33.0...v10.0.0
✨ Enhancements
vue/no-implicit-coercion
rule to disallow shorthand type conversions in<template>
.vue/no-ref-as-operand
rule to checkemit
payloads.ignoreProps
option tovue/prop-name-casing
rule.🐛 Bug Fixes
vue/prefer-use-template-ref
rule whensetup
is an arrow function.vue/no-bare-strings-in-template
rule.vue/max-props
rule.Full Changelog: v9.32.0...v9.33.0
✨ Enhancements
checkMultiRootNodes
option tovue/no-duplicate-attr-inheritance
rule and changed to ignore multi-root components by default.ignoreElementNamespaces
option tovue/no-v-text-v-html-on-component
rule.ignoreTags
option tovue/attribute-hyphenation
rule andvue/v-on-event-hyphenation
rule.vue/restricted-component-names
rule that enforces using only specific component names.vue/slot-name-casing
rule that enforces specific casing for slot names.vue/require-explicit-slots
rule.shallowRef
invue/prefer-use-template-ref
rule.🐛 Bug Fixes
vue/prefer-use-template-ref
rule to only check root-level variables.Full Changelog: v9.31.0...v9.32.0
✨ Enhancements
caseSensitive
option tovue/no-reserved-component-names
rule.vue/prefer-use-template-ref
rule that requires usinguseTemplateRef()
instead ofref()
for template refs.vue/no-empty-component-block
rule auto-fixable.🐛 Bug Fixes
v-bind:name
invue/require-explicit-slots
rule.⚙️ Updates
vue/define-macros-order
rule to skip TypeScriptdeclare
statements.Full Changelog: v9.30.0...v9.31.0
🐛 Bug Fixes
vue/custom-event-name-casing
rule to checkdefineEmits()
variable and$emit()
in<template>
.vue/require-valid-default-prop
rule.Full Changelog: v9.29.1...v9.30.0
🐛 Bug Fixes
Full Changelog: v9.29.0...v9.29.1
✨ Enhancements
New Rules
vue/no-deprecated-delete-set
rule that disallows using deprecated$delete
and$set
.Others
vue/no-undef-properties
rule.useTemplateRef()
tovue/no-unused-refs
rule.vue/require-valid-default-prop
rule.vue/require-default-prop
rule.vue/no-boolean-default
rule.vue/no-required-prop-with-default
rule.vue/no-restricted-props
rule.vue/no-setup-props-reactivity-loss
rule.⚙️ Updates
.tsx
files.✨ Enhancements
New Rules
vue/max-props
rule that enforces the maximum number of props in Vue components.vue/require-default-export
rule that requires components to be thedefault
export.vue/max-template-depth
rule that enforces the maximum depth of<template>
.New Features
vue/define-macros-order
rule.additionalDirectives
option tovue/require-toggle-inside-transition
rule.🐛 Bug Fixes
vue/v-if-else-key
rule.vue/require-typed-object-prop
rule.v-model
directive invue/attribute-hyphenation
rule.vue/attribute-hyphenation
rule to skipv-bind.sync
.vue/no-deprecated-slot-attribute
rule to handlev-for
with dynamicslot
.vue/no-deprecated-slot-attribute
rule to skip dynamic components.⚙️ Updates
Full Changelog: v9.27.0...v9.28.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
Summary by Sourcery
Upgrade eslint-plugin-vue to v10.1.0 to resolve security issues and adopt new linting capabilities. This major version bump may include breaking changes.
Bug Fixes:
Enhancements:
Chores: