diff --git a/acorn/CHANGELOG.md b/acorn/CHANGELOG.md index f2cd6a4b6..6b71c9899 100644 --- a/acorn/CHANGELOG.md +++ b/acorn/CHANGELOG.md @@ -1,3 +1,9 @@ +## 6.3.0 (2019-08-12) + +### New features + +`sourceType: "module"` can now be used even when `ecmaVersion` is less than 6, to parse module-style code that otherwise conforms to an older standard. + ## 6.2.1 (2019-07-21) ### Bug fixes diff --git a/acorn/package.json b/acorn/package.json index c6f812313..480ea2d25 100644 --- a/acorn/package.json +++ b/acorn/package.json @@ -4,7 +4,7 @@ "homepage": "https://github.com/acornjs/acorn", "main": "dist/acorn.js", "module": "dist/acorn.mjs", - "version": "6.2.1", + "version": "6.3.0", "engines": {"node": ">=0.4.0"}, "maintainers": [ { diff --git a/acorn/src/index.js b/acorn/src/index.js index 1fb6877ff..64ca2752e 100644 --- a/acorn/src/index.js +++ b/acorn/src/index.js @@ -32,7 +32,7 @@ export {isIdentifierChar, isIdentifierStart} from "./identifier" export {Token} from "./tokenize" export {isNewLine, lineBreak, lineBreakG, nonASCIIwhitespace} from "./whitespace" -export const version = "6.2.1" +export const version = "6.3.0" // The main exported interface (under `self.acorn` when in the // browser) is a `parse` function that takes a code string and