Socket
Socket
Sign inDemoInstall

acorn

Package Overview
Dependencies
0
Maintainers
3
Versions
132
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.2.4 to 8.3.0

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## 8.3.0 (2021-05-31)
### New features
Default `allowAwaitOutsideFunction` to true for ECMAScript 2022 an higher.
Add support for the `p` ([indices](https://github.com/tc39/proposal-regexp-match-indices)) regexp flag.
## 8.2.4 (2021-05-04)

@@ -2,0 +10,0 @@

2

package.json

@@ -19,3 +19,3 @@ {

},
"version": "8.2.4",
"version": "8.3.0",
"engines": {"node": ">=0.4.0"},

@@ -22,0 +22,0 @@ "maintainers": [

@@ -97,4 +97,5 @@ # Acorn

- **allowAwaitOutsideFunction**: By default, `await` expressions can
only appear inside `async` functions. Setting this option to
- **allowAwaitOutsideFunction**: If `false`, `await` expressions can
only appear inside `async` functions. Defaults to `true` for
`ecmaVersion` 2022 and later, `false` for lower versions. Setting this option to
`true` allows to have top-level `await` expressions. They are

@@ -101,0 +102,0 @@ still not allowed in non-`async` functions, though.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc