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.20.0 to 9.20.1

15

lib/rules/no-undef-properties.js

@@ -325,3 +325,3 @@ /**

},
onDefineModelEnter(node, model) {
onDefineModelEnter(_node, model) {
const ctx = getVueComponentContext(programNode)

@@ -332,15 +332,2 @@

})
if (
!node.parent ||
node.parent.type !== 'VariableDeclarator' ||
node.parent.init !== node
) {
return
}
const pattern = node.parent.id
const propertyReferences =
propertyReferenceExtractor.extractFromPattern(pattern)
ctx.verifyReferences(propertyReferences)
}

@@ -347,0 +334,0 @@ }),

@@ -150,13 +150,2 @@ /**

}
const tracker = new ReferenceTracker(globalScope)
for (const { node } of tracker.iterateGlobalReferences({
defineModel: {
[ReferenceTracker.CALL]: true
}
})) {
const expr = /** @type {CallExpression} */ (node)
yield {
node: expr
}
}
}

@@ -163,0 +152,0 @@

2

package.json
{
"name": "eslint-plugin-vue",
"version": "9.20.0",
"version": "9.20.1",
"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