Skip to content

Releases: vuejs/vue-eslint-parser

v4.0.0

01 Dec 08:58
v4.0.0
4cea141
Compare
Choose a tag to compare

💥 Breaking changes

v3.3.0

24 Nov 06:51
v3.3.0
59d52ed
Compare
Choose a tag to compare

✨ Enhancements

  • 04bf33b made the parser throwing syntax errors on illegal slot-scope attributes.

v3.2.2

26 Jul 13:16
v3.2.2
da877ec
Compare
Choose a tag to compare

Chore

  • 4045239 separated a dynamic require() expression to two in order to make Webpack recognizable that it's depending on espree.

v3.2.1

24 Jul 08:15
v3.2.1
a6156b8
Compare
Choose a tag to compare

Bug fixes

  • c0e9190 made the parser throwing syntax error on the top-level commas in v-bind directives (E.g., :foo="a,b"). It was parsed to SequenceExpression wrongly before.

v3.2.0

24 Jul 06:29
v3.2.0
51a4bab
Compare
Choose a tag to compare

Enhancements

  • 9b947b1 added the option parserOptions.parser:false to skip parsing <script> elements completely. This is useful for the language ESLint community don't provide that custom parser.

Bug fixes

  • 7de2b86 fixed the list of void element names to be acording to WHATWG spec.
  • adbaf4b fixed the list of normal element names to be acording to WHATWG spec.
  • 7ded104 fixed the parser to handle {{}} as a part of text rather than an empty mustache.
  • 6906fb1 fixed the parser to allow empty mustaches.

v3.1.1

20 Jul 07:52
v3.1.1
e564707
Compare
Choose a tag to compare

Bug fixes

  • fa73293 fixed the bug that vue-eslint-parser parsed the v-on directive with no argument and an object expression (e.g., v-on="{foo: bar}") to a block statement. (#30)

v3.1.0

09 Jul 10:12
v3.1.0
12079c4
Compare
Choose a tag to compare

Enhancements

  • f6f42bb allows the xmlns attribute on <template> elements in order to define custom elements which are a part of SVG/MathML.

v3.0.0

03 Jul 05:44
v3.0.0
7a9bde9
Compare
Choose a tag to compare

Breaking changes

  • c83140f dropped the support of Node.js 4.x.
  • 4e2cd77 dropped the support of ESLint 3.x and 4.x. And it upgraded espree and eslint-scope packages, vue-eslint-parser is using internally, to 4.0.0. This means it dropped the support of parserOptions.ecmaFeatures.experimentalObjectRestSpread option. Use ecmaVersion option instead.
  • 87efc6d added the support of slot-scope attribute to define variables which are available on inside of the element. The slot-scope attribute is expressed as new VSlotScopeExpression node. And it changed the AST of <template scope> attribute to the VSlotScopeExpression node.

v2.0.3

02 Jul 14:59
v2.0.3
de3fe7f
Compare
Choose a tag to compare

Bug fixes

  • f115c26 fixed to allow empty directive values.

v2.0.2

07 Jan 13:07
v2.0.2
6111437
Compare
Choose a tag to compare

Bug fixes

  • 812fd21 fixed a bug that context.parserServices.defineTemplateBodyVisitor() doesn't work if AST object was reused.