Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Release version 5.0.0
This is 4.0.12, but as a major version bump. 4.0.12 is deprecated.
  • Loading branch information
marijnh committed Mar 28, 2017
1 parent 4b2c10a commit a3980ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
@@ -1,9 +1,7 @@
## 4.0.12 (2017-03-28)
## 5.0.0 (2017-03-28)

### Bug fixes

Parse declarations following `export default` as declaration nodes, not expressions.

Raise an error for duplicated lexical bindings.

Fix spurious error when an assignement expression occurred after a spread expression.
Expand All @@ -12,6 +10,10 @@ Accept regular expressions after `of` (in `for`/`of`), `yield` (in a generator),

Allow labels in front or `var` declarations, even in strict mode.

### Breaking changes

Parse declarations following `export default` as declaration nodes, not expressions. This means that class and function declarations nodes can now have `null` as their `id`.

## 4.0.11 (2017-02-07)

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"homepage": "https://github.com/ternjs/acorn",
"main": "dist/acorn.js",
"jsnext:main": "dist/acorn.es.js",
"version": "4.0.12",
"version": "5.0.0",
"engines": {
"node": ">=0.4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -37,7 +37,7 @@ export {isIdentifierChar, isIdentifierStart} from "./identifier"
export {Token} from "./tokenize"
export {isNewLine, lineBreak, lineBreakG, nonASCIIwhitespace} from "./whitespace"

export const version = "4.0.12"
export const version = "5.0.0"

// The main exported interface (under `self.acorn` when in the
// browser) is a `parse` function that takes a code string and
Expand Down

0 comments on commit a3980ae

Please sign in to comment.