Enable ergonomic brand checks (#priv in) by default (#13554)

* Enable ergonomic brand checks by default in `@babel/parser`

* Enable ergonomic brand checks by default in `preset-env`

* Fix error position

* Update Babel 8 tests
This commit is contained in:
Nicolò Ribaudo
2021-08-03 23:02:17 +02:00
committed by GitHub
parent 5f4b58f678
commit a254ea38a4
180 changed files with 281 additions and 61 deletions

View File

@@ -152,7 +152,6 @@ const ignoredFeatures = [
const ignoredTests = ["built-ins/RegExp/", "language/literals/regexp/"];
const featuresToPlugins = {
"class-fields-private-in": "privateIn",
"class-static-block": "classStaticBlock",
"top-level-await": "topLevelAwait",
"import-assertions": "importAssertions",