Comparing version 6.0.4 to 6.0.5
@@ -0,1 +1,11 @@ | ||
## 6.0.5 (2019-01-02) | ||
### Bug fixes | ||
Fix TypeScript type for `Parser.extend` and add `allowAwaitOutsideFunction` to options type. | ||
Don't treat `let` as a keyword when the next token is `{` on the next line. | ||
Fix bug that broke checking for parentheses around an object pattern in a destructuring assignment when `preserveParens` was on. | ||
## 6.0.4 (2018-11-05) | ||
@@ -2,0 +12,0 @@ |
@@ -22,2 +22,3 @@ export as namespace acorn | ||
allowImportExportEverywhere?: boolean | ||
allowAwaitOutsideFunction?: boolean | ||
allowHashBang?: boolean | ||
@@ -46,3 +47,3 @@ locations?: boolean | ||
} | ||
static extend(...plugins: (typeof Parser)[]): typeof Parser | ||
static extend(...plugins: ((BaseParser: typeof Parser) => typeof Parser)[]): typeof Parser | ||
} | ||
@@ -49,0 +50,0 @@ |
@@ -7,3 +7,3 @@ { | ||
"module": "dist/acorn.mjs", | ||
"version": "6.0.4", | ||
"version": "6.0.5", | ||
"engines": {"node": ">=0.4.0"}, | ||
@@ -10,0 +10,0 @@ "maintainers": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1084980
9717