Socket
Socket
Sign inDemoInstall

eslint-plugin-vue

Package Overview
Dependencies
Maintainers
5
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-vue - npm Package Compare versions

Comparing version 9.0.1 to 9.1.0

3

lib/rules/no-expose-after-await.js

@@ -164,5 +164,2 @@ /**

Program(node) {
context
.getScope()
.references.find((ref) => ref.identifier.name === 'defineExpose')
setupScopes.set(node, {

@@ -169,0 +166,0 @@ afterAwait: false,

7

lib/rules/prefer-import-from-vue.js

@@ -97,2 +97,9 @@ /**

ImportDeclaration(node) {
// Skip imports without specifiers in `.d.ts` files
if (
node.specifiers.length === 0 &&
context.getFilename().endsWith('.d.ts')
)
return
verifySource(node.source, () => {

@@ -99,0 +106,0 @@ if (SUBSET_AT_VUE_MODULES.has(node.source.value)) {

@@ -53,2 +53,3 @@ [

"ComponentPropsOptions",
"ComponentProvideOptions",
"ComponentPublicInstance",

@@ -227,2 +228,3 @@ "computed",

"VNodeProps",
"VNodeRef",
"VNodeTypes",

@@ -229,0 +231,0 @@ "warn",

{
"name": "eslint-plugin-vue",
"version": "9.0.1",
"version": "9.1.0",
"description": "Official ESLint plugin for Vue.js",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc