Socket
Socket
Sign inDemoInstall

acorn

Package Overview
Dependencies
0
Maintainers
3
Versions
131
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.8.1 to 8.8.2

10

CHANGELOG.md

@@ -0,1 +1,11 @@

## 8.8.2 (2023-01-23)
### Bug fixes
Fix a bug that caused `allowHashBang` to be set to false when not provided, even with `ecmaVersion >= 14`.
Fix an exception when passing no option object to `parse` or `new Parser`.
Fix incorrect parse error on `if (0) let\n[astral identifier char]`.
## 8.8.1 (2022-10-24)

@@ -2,0 +12,0 @@

2

dist/acorn.d.ts

@@ -14,3 +14,3 @@ export as namespace acorn

type ecmaVersion = 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 'latest'
type ecmaVersion = 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 'latest'

@@ -17,0 +17,0 @@ interface Options {

@@ -7,4 +7,3 @@ 'use strict';

function _interopNamespace(e) {
if (e && e.__esModule) return e;
function _interopNamespaceDefault(e) {
var n = Object.create(null);

@@ -22,7 +21,7 @@ if (e) {

}
n["default"] = e;
n.default = e;
return Object.freeze(n);
}
var acorn__namespace = /*#__PURE__*/_interopNamespace(acorn);
var acorn__namespace = /*#__PURE__*/_interopNamespaceDefault(acorn);

@@ -29,0 +28,0 @@ var inputFilePaths = [], forceFileName = false, fileMode = false, silent = false, compact = false, tokenize = false;

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

},
"version": "8.8.1",
"version": "8.8.2",
"engines": {

@@ -22,0 +22,0 @@ "node": ">=0.4.0"

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc