Skip to content

Releases: vuejs/vue-eslint-parser

v7.1.0

15 May 11:08
v7.1.0
c627e36
Compare
Choose a tag to compare

✨ Enhancements

  • 27a275f updates the default parser loading logic to use the espree of loaded ESLint.

🐛 Bug fixes

  • 6c1ac68 fixed the parser to generate correct comment data.

v7.0.0

09 Nov 13:36
v7.0.0
84dac95
Compare
Choose a tag to compare

💥 Breaking Changes

  • 57c8624 dropped Node.js 6.x support. And the validation of parserOptions got more strict (by espree's update).

✨ Enhancements

  • 075d3ff added a new parser service: parserServices.getDocumentFragment(). You can get the root node of *.vue file's AST.

v6.0.5

09 Nov 11:44
v6.0.5
cce993a
Compare
Choose a tag to compare

🐛 Bug Fixes

  • af6a986 fixed installation warning about ESLint v6.

v6.0.4

09 Nov 11:43
v6.0.4
9868ae4
Compare
Choose a tag to compare

🐛 Bug Fixes

  • 7d72969 fixed false positive of memory-leak detection.

v6.0.3

28 Feb 08:54
v6.0.3
a05d416
Compare
Choose a tag to compare

🐛 Bug fixes

v6.0.2

10 Feb 08:07
v6.0.2
47c0c1a
Compare
Choose a tag to compare

🐛 Bug fixes

  • ba72875 fixed a bug that references in dynamic argument is not resolved.

v6.0.1

09 Feb 17:13
v6.0.1
fb08ee1
Compare
Choose a tag to compare

🐛 Bug fixes

  • 7a1bffd fixed the wrong location of auto-generated .prop modifiers.

v6.0.0

07 Feb 22:34
v6.0.0
28729dd
Compare
Choose a tag to compare

This release supported the new syntax in Vue.js 2.6 🎉

Breaking changes

This release contains a drastic change about VDirectiveKey AST node because now the directive key have gotten to be able to have JavaScript expression.

  export interface VDirectiveKey extends HasLocation, HasParent {
      type: "VDirectiveKey"
      parent: VAttribute
-     name: string
-     argument: string | null
-     modifiers: string[]
-     shorthand: boolean
+     name: VIdentifier
+     argument: VExpressionContainer | VIdentifier | null
+     modifiers: VIdentifier[]
  }
  • It changed the members name, argument, and modifiers to AST nodes from strings. Especially, argument will be a VExpressionContainer node if the directive has dynamic argument syntax.
  • It removed shorthand member. To check wheather the directive key is a shorthand or not, use name.rawName member.
    • :foo ... directiveKey.name.rawName is ":" (and directiveKey.name.name is "bind").
    • .foo ... directiveKey.name.rawName is "." (and directiveKey.name.name is "bind" and directiveKey.modifiers includes the identifier node of "prop").
    • @foo ... directiveKey.name.rawName is "@" (and directiveKey.name.name is "on").
    • #foo ... directiveKey.name.rawName is "#" (and directiveKey.name.name is "slot").

Commits

v5.0.0

05 Jan 06:53
09b4d1e
Compare
Choose a tag to compare

💥 Breaking changes

🐛 Bug fixes

v4.0.3

05 Dec 19:01
v4.0.3
b599764
Compare
Choose a tag to compare

🐛 Bug fixes

  • 309cf52 fixed a bug that it had constructed VFilterSequenceExpression nodes on the places filters are disallowed.