Socket
Socket
Sign inDemoInstall

acorn

Package Overview
Dependencies
Maintainers
3
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acorn - npm Package Compare versions

Comparing version 6.0.4 to 6.0.5

10

CHANGELOG.md

@@ -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 @@

3

dist/acorn.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc