Comparing version 8.5.0 to 8.6.0
@@ -0,1 +1,11 @@ | ||
## 8.6.0 (2021-11-18) | ||
### Bug fixes | ||
Fix a bug where an object literal with multiple `__proto__` properties would incorrectly be accepted if a later property value held an assigment. | ||
### New features | ||
Support class private fields with the `in` operator. | ||
## 8.5.0 (2021-09-06) | ||
@@ -39,3 +49,3 @@ | ||
Add support for the `p` ([indices](https://github.com/tc39/proposal-regexp-match-indices)) regexp flag. | ||
Add support for the `d` ([indices](https://github.com/tc39/proposal-regexp-match-indices)) regexp flag. | ||
@@ -42,0 +52,0 @@ ## 8.2.4 (2021-05-04) |
@@ -7,2 +7,22 @@ 'use strict'; | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) return e; | ||
var n = Object.create(null); | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
if (k !== 'default') { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { return e[k]; } | ||
}); | ||
} | ||
}); | ||
} | ||
n["default"] = e; | ||
return Object.freeze(n); | ||
} | ||
var acorn__namespace = /*#__PURE__*/_interopNamespace(acorn); | ||
var inputFilePaths = [], forceFileName = false, fileMode = false, silent = false, compact = false, tokenize = false; | ||
@@ -48,10 +68,10 @@ var options = {}; | ||
if (!tokenize) { | ||
result = acorn.parse(code, options); | ||
result = acorn__namespace.parse(code, options); | ||
options.program = result; | ||
} else { | ||
var tokenizer = acorn.tokenizer(code, options), token; | ||
var tokenizer = acorn__namespace.tokenizer(code, options), token; | ||
do { | ||
token = tokenizer.getToken(); | ||
result.push(token); | ||
} while (token.type !== acorn.tokTypes.eof) | ||
} while (token.type !== acorn__namespace.tokTypes.eof) | ||
} | ||
@@ -58,0 +78,0 @@ }); |
@@ -19,3 +19,3 @@ { | ||
}, | ||
"version": "8.5.0", | ||
"version": "8.6.0", | ||
"engines": {"node": ">=0.4.0"}, | ||
@@ -22,0 +22,0 @@ "maintainers": [ |
Sorry, the diff of this file is too big to display
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
462402
10178