Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test main next merge #11963

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
1a65ba7
test: add console warn spy on babel-register tests (#11780)
JLHwung Jul 2, 2020
0d44407
chore: refine yarn cache config (#11782)
JLHwung Jul 3, 2020
c664fbd
fix: update class properties support matrix (#11783)
JLHwung Jul 3, 2020
3e55270
Reduce dependency on lodash functions: includes, uniq, repeat, isinte…
jayaddison Jul 6, 2020
3a53f72
docs: update README example and REPL link (#11799)
JLHwung Jul 7, 2020
b1a8e72
Refactor generated builder names in @babel/types (#11582)
zxbodya Jul 7, 2020
58cfaf2
Fix break/continue when switch is nested inside loop (#11802)
existentialism Jul 7, 2020
bff6298
Reduce dependency on lodash functions: values, extends (#11798)
jayaddison Jul 8, 2020
aae1862
Replace lodash 'extend' usage with Object.assign (#11812)
jayaddison Jul 9, 2020
55ce749
Replace lodash 'clone' usage with ES6 Spread initializer (#11811)
jayaddison Jul 9, 2020
f32d5de
Typescript transform now removes generic arguments from optional call…
RafaelSalguero Jul 9, 2020
02c8fd9
fix: add optional: false to chained optional call expression (#11814)
JLHwung Jul 10, 2020
ffb4248
Bump some deps for audit (#11818)
existentialism Jul 10, 2020
5dd64ec
Disallow duplicated AST nodes (#11807)
JLHwung Jul 14, 2020
f7964a9
v7.10.5
JLHwung Jul 14, 2020
cc646fa
Add v7.10.5 to CHANGELOG.md [skip ci]
babel-bot Jul 14, 2020
7eaf37e
chore: use repository HEAD when pulling third party repos (#11837)
JLHwung Jul 14, 2020
e12caf4
Always retain lines for async arrow (#11836)
cwohlman Jul 15, 2020
02f30af
refactor: reorganize babel types definitions structure (#11843)
JLHwung Jul 15, 2020
8f191ea
chore: fix typo in codebase (#11846)
JLHwung Jul 16, 2020
f4eeff9
fix: correctly set innerEndPos in CoverParenthesizedExpressionAndArro…
JLHwung Jul 16, 2020
238cadd
chore: update `spec-new` in CONTRIBUTING.md [skip ci] (#11706)
JLHwung Jul 17, 2020
e51a91e
fix: eval?.() is indirect (#11850)
JLHwung Jul 20, 2020
48be93b
refactor: replace caniuse-db by mdn-browser-compat-data (#11838)
JLHwung Jul 20, 2020
3680f01
fix: allow 09.1_1 and 09e1_1 in sloppy mode (#11854)
JLHwung Jul 21, 2020
2bf38fb
fix: disallow \8, \9 in strict mode string (#11852)
JLHwung Jul 21, 2020
3a0aa8e
chore(github): fix issue template typo (#11875)
sirwindfield Jul 24, 2020
6373eb5
chore: use modules: "auto" (#11879)
JLHwung Jul 28, 2020
cf425a0
feature: babel-core: add cloneInputAst (#10241)
coderaiser Jul 29, 2020
9daa50e
babel-traverse: prefer clearer, reduced-bias option naming (#11791)
jayaddison Jul 29, 2020
059e912
Add decimal parsing support (#11640)
JLHwung Jul 29, 2020
d7347fb
eslint-parser: ES2020 features (#11815)
JLHwung Jul 29, 2020
5b4b3a3
TypeScript 4.0: Allow spread in the middle of tuples (#11753)
nicolo-ribaudo Jun 29, 2020
8a1d7e4
Allow unknown/any in TS catch clause param (#11755)
existentialism Jun 30, 2020
9e6663f
Follow-up on initial TS4 catch param support (#11767)
JLHwung Jun 30, 2020
eba4c3b
TypeScript 4.0: Support labeled tuple elements (#11754)
nicolo-ribaudo Jul 14, 2020
cdb81d7
Add `export-namespace-from` to `preset-env` (#11849)
JLHwung Jul 21, 2020
ccd98f0
Add `numeric-separator` to `preset-env` (#11865)
JLHwung Jul 22, 2020
0e985fb
feat: enable numericSeparator parsing support (#11863)
JLHwung Jul 22, 2020
b651a6f
Enable logical assignment by default in @babel/parser (#11860) (#11869)
vahnag Jul 22, 2020
2f89e72
enable logical assignment in babel preset env (#11876)
morrme Jul 29, 2020
95fcb3e
Update compat-table (#11890)
JLHwung Jul 29, 2020
4ac9c7a
Upgrade to ESLint v7 (#11857)
kaicataldo Jul 29, 2020
01d4625
Correctly check reserved word for PropertyDefinition: IdentifierRefer…
JLHwung Jul 29, 2020
374a253
chore(deps): bump elliptic from 6.5.2 to 6.5.3 (#11891)
dependabot[bot] Jul 30, 2020
164a939
add showConfig support (#11588)
JLHwung Jul 30, 2020
4ce1b70
Fix incorrect module path when absoluteRuntime is specified (#11893)
sz-coder Jul 30, 2020
0e4cf1e
chore: build standalone once in prepublish step (#11777)
JLHwung Jul 30, 2020
4c9929c
Prepare to publish `@babel/eslint-*` packages (#11894)
JLHwung Jul 30, 2020
aa82ab6
Typescript: always strip declare from class fields (#11747)
jamescdavis Jul 30, 2020
2ac49ba
add support for logical assignments with private properties (#11702)
ryzokuken Jul 30, 2020
32e7bb4
fix build config to work the same when running on windows (#11688)
zxbodya Jul 30, 2020
db56261
Skip TSAsExpression when transforming spread in CallExpression (#11404)
oliverdunk Jul 30, 2020
f7ec170
update: hardcode @babel/eslint-parser min supported version check (#1…
kaicataldo Jul 30, 2020
45fdb87
v7.11.0
JLHwung Jul 30, 2020
231328a
Add v7.11.0 to CHANGELOG.md [skip ci]
babel-bot Jul 30, 2020
0805418
docs: remove experimental warning on README (#11900)
JLHwung Jul 31, 2020
c41dcd0
fix: ensure `[…map.keys]` can be correctly transformed in loose mode …
JLHwung Jul 31, 2020
ad60153
Update `@babel/*` deps (#11899)
JLHwung Aug 1, 2020
a4ebe29
Parser refactoring (#11871)
JLHwung Aug 1, 2020
c29138f
Do not cache non-existent files forever (#11906)
devongovett Aug 4, 2020
a1eabb8
rescan gt/lt token after TsAsExpression is parsed (#11912)
JLHwung Aug 4, 2020
953ae82
v7.11.1
JLHwung Aug 4, 2020
de75d4f
Add v7.11.1 to CHANGELOG.md [skip ci]
babel-bot Aug 4, 2020
9243426
fix: do not eat get/set after async is parsed (#11916)
JLHwung Aug 5, 2020
bc7a811
v7.11.2
JLHwung Aug 5, 2020
acf2b14
Add v7.11.2 to CHANGELOG.md [skip ci]
babel-bot Aug 5, 2020
50b3262
refactor: avoid unnecessary property access (#11918)
JLHwung Aug 5, 2020
c0f6f03
Support ConditionalExpressions in dry-error-messages rule (#11917)
existentialism Aug 5, 2020
cd577ee
refactor: add recoverable error on accessorIsGenerator (#11921)
JLHwung Aug 5, 2020
76f033f
simplify isLookaheadRelational method (#11922)
JLHwung Aug 6, 2020
a827ca4
refactor: simplify smart pipeline parsing (#11919)
JLHwung Aug 6, 2020
32744b2
fixed the names of the rules (#11933)
AleksRap Aug 8, 2020
48e793e
fix: add ImportExpression visitorKeys (#11932)
JLHwung Aug 8, 2020
57b658c
v7.11.3
JLHwung Aug 8, 2020
199ee60
Add v7.11.3 to CHANGELOG.md [skip ci]
babel-bot Aug 8, 2020
fccf31a
chore: do not push version commit on lerna version (#11936)
JLHwung Aug 10, 2020
4bb1e16
Refactor [In] production parameter tracking (#11930)
JLHwung Aug 10, 2020
00b9742
Move some @babel/traverse from deps to devDeps (#11937)
yukukotani Aug 10, 2020
a389312
chore: enable flowcheck on CI (#11945)
JLHwung Aug 10, 2020
008fe25
fix: reset EndLocation for catch param (#11943)
JLHwung Aug 10, 2020
3bff1ce
fix: disallow line break between async and property (#11947)
JLHwung Aug 10, 2020
a5bc486
Isolated exec tests (#11531)
jridgewell Aug 10, 2020
3995160
fix: push new token context when braceHashL is seen (#11941)
JLHwung Aug 11, 2020
df9ee2c
Simplify tokenizer update context (#11944)
JLHwung Aug 11, 2020
2e2d15f
chore: build babel-polyfill-dist on make watch (#11951)
JLHwung Aug 12, 2020
9c565a9
chore: remove obsolete comment (#11953)
jamescdavis Aug 13, 2020
66c6b3b
Add more parser test cases (#11923)
JLHwung Aug 14, 2020
028a051
Move legacy node version tests to GitHub actions (#11952)
JLHwung Aug 14, 2020
8ee1da2
Merge branch 'main' into next-8-dev
nicolo-ribaudo Aug 14, 2020
f4fc5a6
Don't test legacy Node.js versions on GH actions
nicolo-ribaudo Aug 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 2 additions & 3 deletions .circleci/config.yml
Expand Up @@ -73,7 +73,7 @@ jobs:
- run:
name: Setup Test Runner
command: |
git clone --recurse-submodules https://github.com/babel/babel-test262-runner
git clone --depth=1 --recurse-submodules https://github.com/babel/babel-test262-runner
cd babel-test262-runner
npm ci
npm i tap-mocha-reporter --save-dev
Expand All @@ -100,7 +100,7 @@ jobs:
<<: *test262_workdir
- store_artifacts: *artifact_test262_diff_tap
- run:
name: Output comparision results and report to CircleCI
name: Output comparison results and report to CircleCI
command: |
mkdir -p ~/test-results/test262
cat ~/diff.tap | $(npm bin)/tap-merge | $(npm bin)/tap-mocha-reporter xunit | tee ~/test-results/test262/results.xml
Expand Down Expand Up @@ -203,4 +203,3 @@ workflows:
- e2e-vue-cli:
requires:
- publish-verdaccio

2 changes: 0 additions & 2 deletions .eslintrc.js
Expand Up @@ -14,8 +14,6 @@ module.exports = {
extends: "@babel/internal",
rules: {
"prettier/prettier": "error",
// TODO: remove after babel-eslint-config-internal is fully integrated into this repository.
"max-len": "off",
},
env: {
node: true,
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Expand Up @@ -5,7 +5,7 @@ contact_links:
about: You may have an npm error related to proxies/caching.
- name: 🗣 Ask a Question, Discuss
url: https://github.com/babel/babel/discussions
about: How does X work 🤔? I made this! I have an idea..
about: How does X work 🤔? I made this! I have an idea...
- name: 💡 Propose an RFC
url: https://github.com/babel/rfcs
about: To suggest a new option or substantial change.
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/coverage.yml → .github/workflows/ci.yml
@@ -1,17 +1,15 @@
name: Report Coverage
name: Node CI

on: [push, pull_request]

jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js latest
uses: actions/setup-node@v2-beta
with:
node-version: "*"
- name: Generate coverage report
run: |
make -j test-ci-coverage
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -73,4 +73,4 @@ packages/babel-standalone/babel.min.js
/eslint/*/LICENSE
!/packages/babel-eslint-plugin/LICENSE
.watchmanconfig
.vscode
/.vscode
148 changes: 148 additions & 0 deletions CHANGELOG.md
Expand Up @@ -19,6 +19,154 @@ See [`eslint-plugin-babel`'s releases](https://github.com/babel/eslint-plugin-ba

<!-- DO NOT CHANGE THESE COMMENTS - See .github/actions/trigger-github-release/update-changelog.js -->
<!-- insert-new-changelog-here -->
## v7.11.3 (2020-08-08)

#### :bug: Bug Fix
* [#11932](https://github.com/babel/babel/pull/11932) fix: add ImportExpression visitorKeys ([@JLHwung](https://github.com/JLHwung))

#### :nail_care: Polish
* `babel-parser`
* [#11921](https://github.com/babel/babel/pull/11921) refactor: add recoverable error on accessorIsGenerator ([@JLHwung](https://github.com/JLHwung))

#### :house: Internal
* `babel-parser`
* [#11919](https://github.com/babel/babel/pull/11919) refactor: simplify smart pipeline parsing ([@JLHwung](https://github.com/JLHwung))
* [#11922](https://github.com/babel/babel/pull/11922) simplify isLookaheadRelational method ([@JLHwung](https://github.com/JLHwung))
* [#11917](https://github.com/babel/babel/pull/11917) Support ConditionalExpressions in dry-error-messages rule ([@existentialism](https://github.com/existentialism))
* [#11918](https://github.com/babel/babel/pull/11918) refactor: avoid unnecessary property access ([@JLHwung](https://github.com/JLHwung))
## v7.11.2 (2020-08-05)

#### :bug: Bug Fix
* `babel-parser`
* [#11916](https://github.com/babel/babel/pull/11916) fix: do not eat get/set after async is parsed ([@JLHwung](https://github.com/JLHwung))
## v7.11.1 (2020-08-04)

#### :bug: Bug Fix
* `babel-parser`
* [#11912](https://github.com/babel/babel/pull/11912) rescan gt/lt token after TsAsExpression is parsed ([@JLHwung](https://github.com/JLHwung))
* `babel-core`
* [#11906](https://github.com/babel/babel/pull/11906) Do not cache non-existent config files forever ([@devongovett](https://github.com/devongovett))
* `babel-plugin-transform-block-scoping`, `babel-standalone`
* [#11901](https://github.com/babel/babel/pull/11901) fix: ensure `[…map.keys]` can be correctly transformed in loose mode ([@JLHwung](https://github.com/JLHwung))

#### :memo: Documentation
* [#11900](https://github.com/babel/babel/pull/11900) docs: remove experimental warning on README ([@JLHwung](https://github.com/JLHwung))

#### :house: Internal
* `babel-parser`
* [#11871](https://github.com/babel/babel/pull/11871) Parser refactoring ([@JLHwung](https://github.com/JLHwung))
* Other
* [#11899](https://github.com/babel/babel/pull/11899) Update `@babel/*` deps ([@JLHwung](https://github.com/JLHwung))
## v7.11.0 (2020-07-30)

#### :eyeglasses: Spec Compliance
* `babel-parser`
* [#11852](https://github.com/babel/babel/pull/11852) fix: disallow \8, \9 in strict mode string ([@JLHwung](https://github.com/JLHwung))
* [#11854](https://github.com/babel/babel/pull/11854) fix: allow 09.1_1 and 09e1_1 in sloppy mode ([@JLHwung](https://github.com/JLHwung))
* `babel-plugin-proposal-optional-chaining`
* [#11850](https://github.com/babel/babel/pull/11850) fix: eval?.() is indirect ([@JLHwung](https://github.com/JLHwung))

#### :rocket: New Feature
* `babel-cli`, `babel-core`
* [#11588](https://github.com/babel/babel/pull/11588) add showConfig support ([@JLHwung](https://github.com/JLHwung))
* `babel-compat-data`, `babel-preset-env`
* [#11876](https://github.com/babel/babel/pull/11876) enable logical assignment in babel preset env ([@morrme](https://github.com/morrme))
* [#11865](https://github.com/babel/babel/pull/11865) Add `numeric-separator` to `preset-env` ([@JLHwung](https://github.com/JLHwung))
* [#11849](https://github.com/babel/babel/pull/11849) Add `export-namespace-from` to `preset-env` ([@JLHwung](https://github.com/JLHwung))
* `babel-parser`
* [#11863](https://github.com/babel/babel/pull/11863) feat: enable numericSeparator parsing support ([@JLHwung](https://github.com/JLHwung))
* [#11755](https://github.com/babel/babel/pull/11755) Allow unknown/any in TS catch clause param ([@existentialism](https://github.com/existentialism))
* [#11753](https://github.com/babel/babel/pull/11753) TypeScript 4.0: Allow spread in the middle of tuples ([@nicolo-ribaudo](https://github.com/nicolo-ribaudo))
* [#11815](https://github.com/babel/babel/pull/11815) eslint-parser: ES2020 features ([@JLHwung](https://github.com/JLHwung))
* `babel-generator`, `babel-parser`, `babel-types`
* [#11754](https://github.com/babel/babel/pull/11754) TypeScript 4.0: Support labeled tuple elements ([@nicolo-ribaudo](https://github.com/nicolo-ribaudo))
* `babel-core`, `babel-generator`, `babel-parser`, `babel-plugin-syntax-decimal`, `babel-standalone`, `babel-types`
* [#11640](https://github.com/babel/babel/pull/11640) Add decimal parsing support ([@JLHwung](https://github.com/JLHwung))
* `babel-core`
* [#10241](https://github.com/babel/babel/pull/10241) Add `cloneInputAst` option to `babel.transformFromAst` ([@coderaiser](https://github.com/coderaiser))

#### :bug: Bug Fix
* Other
* [#11896](https://github.com/babel/babel/pull/11896) update: hardcode @babel/eslint-parser min supported version check ([@kaicataldo](https://github.com/kaicataldo))
* `babel-helper-skip-transparent-expression-wrappers`, `babel-plugin-proposal-optional-chaining`, `babel-plugin-transform-spread`
* [#11404](https://github.com/babel/babel/pull/11404) Skip TSAsExpression when transforming spread in CallExpression ([@oliverdunk](https://github.com/oliverdunk))
* `babel-helper-member-expression-to-functions`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-logical-assignment-operators`
* [#11702](https://github.com/babel/babel/pull/11702) add support for logical assignments with private properties ([@ryzokuken](https://github.com/ryzokuken))
* `babel-plugin-transform-typescript`
* [#11747](https://github.com/babel/babel/pull/11747) Typescript: always strip declare from class fields ([@jamescdavis](https://github.com/jamescdavis))
* `babel-plugin-transform-runtime`
* [#11893](https://github.com/babel/babel/pull/11893) Fix incorrect module path when absoluteRuntime is specified ([@sz-coder](https://github.com/sz-coder))
* `babel-parser`
* [#11862](https://github.com/babel/babel/pull/11862) Correctly check reserved word for PropertyDefinition: IdentifierReference ([@JLHwung](https://github.com/JLHwung))
* [#11847](https://github.com/babel/babel/pull/11847) fix: correctly set innerEndPos in CoverParenthesizedExpressionAndArrowParameterList ([@JLHwung](https://github.com/JLHwung))
* `babel-generator`, `babel-parser`, `babel-plugin-transform-typescript`
* [#11767](https://github.com/babel/babel/pull/11767) Follow-up on initial TS4 catch param support ([@JLHwung](https://github.com/JLHwung))
* `babel-generator`
* [#11836](https://github.com/babel/babel/pull/11836) Always retain lines for async arrow ([@cwohlman](https://github.com/cwohlman))

#### :nail_care: Polish
* `babel-traverse`
* [#11791](https://github.com/babel/babel/pull/11791) babel-traverse: prefer clearer, reduced-bias option naming ([@jayaddison](https://github.com/jayaddison))

#### :house: Internal
* Other
* [#11688](https://github.com/babel/babel/pull/11688) fix build config to work the same when running on windows ([@zxbodya](https://github.com/zxbodya))
* [#11894](https://github.com/babel/babel/pull/11894) Prepare to publish `@babel/eslint-*` packages ([@JLHwung](https://github.com/JLHwung))
* [#11879](https://github.com/babel/babel/pull/11879) chore: use modules: "auto" ([@JLHwung](https://github.com/JLHwung))
* [#11875](https://github.com/babel/babel/pull/11875) chore(github): fix issue template typo ([@SirWindfield](https://github.com/SirWindfield))
* [#11706](https://github.com/babel/babel/pull/11706) chore: update `spec-new` in CONTRIBUTING.md [skip ci] ([@JLHwung](https://github.com/JLHwung))
* `babel-standalone`
* [#11777](https://github.com/babel/babel/pull/11777) chore: build standalone once in prepublish step ([@JLHwung](https://github.com/JLHwung))
* `babel-compat-data`, `babel-helper-compilation-targets`, `babel-preset-env`
* [#11838](https://github.com/babel/babel/pull/11838) refactor: replace caniuse-db by mdn-browser-compat-data ([@JLHwung](https://github.com/JLHwung))
* `babel-compat-data`, `babel-core`, `babel-helper-module-transforms`, `babel-helper-split-export-declaration`, `babel-parser`, `babel-plugin-proposal-object-rest-spread`, `babel-plugin-transform-classes`, `babel-preset-env`, `babel-traverse`, `babel-types`
* [#11846](https://github.com/babel/babel/pull/11846) chore: fix typo in codebase ([@JLHwung](https://github.com/JLHwung))
* `babel-types`
* [#11843](https://github.com/babel/babel/pull/11843) refactor: reorganize babel types definitions structure ([@JLHwung](https://github.com/JLHwung))
* `babel-compat-data`
* [#11837](https://github.com/babel/babel/pull/11837) chore: use repository HEAD when pulling third party repos ([@JLHwung](https://github.com/JLHwung))
## v7.10.5 (2020-07-14)

#### :bug: Bug Fix
* `babel-helper-builder-react-jsx-experimental`, `babel-helper-create-class-features-plugin`, `babel-helper-member-expression-to-functions`, `babel-helper-module-transforms`, `babel-helper-transform-fixture-test-runner`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-function-bind`, `babel-plugin-proposal-partial-application`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-parameters`, `babel-plugin-transform-react-jsx-source`, `babel-plugin-transform-runtime`, `babel-plugin-transform-template-literals`, `babel-plugin-transform-typescript`
* [#11807](https://github.com/babel/babel/pull/11807) Disallow duplicated AST nodes ([@JLHwung](https://github.com/JLHwung))
* `babel-parser`
* [#11814](https://github.com/babel/babel/pull/11814) fix: add optional: false to chained optional call expression ([@JLHwung](https://github.com/JLHwung))
* [#11774](https://github.com/babel/babel/pull/11774) fix: throw expect jsx plugin error when an idStart or > is seen ([@JLHwung](https://github.com/JLHwung))
* `babel-plugin-transform-typescript`
* [#11816](https://github.com/babel/babel/pull/11816) Typescript transform now removes generic arguments from optional calls (Closes [#11813](https://github.com/babel/babel/issues/11813)) ([@RafaelSalguero](https://github.com/RafaelSalguero))
* `babel-plugin-transform-block-scoping`
* [#11802](https://github.com/babel/babel/pull/11802) Fix break/continue when switch is nested inside loop ([@existentialism](https://github.com/existentialism))
* `babel-generator`, `babel-plugin-transform-typescript`, `babel-types`
* [#11582](https://github.com/babel/babel/pull/11582) Refactor generated builder names in @babel/types ([@zxbodya](https://github.com/zxbodya))
* `babel-compat-data`
* [#11783](https://github.com/babel/babel/pull/11783) fix: update class properties support matrix ([@JLHwung](https://github.com/JLHwung))

#### :memo: Documentation
* Other
* [#11799](https://github.com/babel/babel/pull/11799) docs: update README example and REPL link ([@JLHwung](https://github.com/JLHwung))
* [#11761](https://github.com/babel/babel/pull/11761) Add note about running Make targets in Windows 10 ([@kaicataldo](https://github.com/kaicataldo))
* `babel-parser`
* [#11729](https://github.com/babel/babel/pull/11729) docs: add AST spec on optional chain [skip ci] ([@JLHwung](https://github.com/JLHwung))

#### :house: Internal
* `babel-cli`, `babel-compat-data`, `babel-core`, `babel-helper-define-map`, `babel-helper-fixtures`, `babel-helper-module-transforms`, `babel-helper-regex`, `babel-helper-transform-fixture-test-runner`, `babel-node`, `babel-plugin-transform-proto-to-assign`, `babel-register`, `babel-traverse`, `babel-types`
* [#11818](https://github.com/babel/babel/pull/11818) Bump some deps for audit ([@existentialism](https://github.com/existentialism))
* `babel-helper-fixtures`, `babel-traverse`
* [#11811](https://github.com/babel/babel/pull/11811) Replace lodash 'clone' usage with ES6 Spread initializer ([@jayaddison](https://github.com/jayaddison))
* `babel-helper-fixtures`, `babel-helper-transform-fixture-test-runner`
* [#11812](https://github.com/babel/babel/pull/11812) Replace lodash 'extend' usage with Object.assign ([@jayaddison](https://github.com/jayaddison))
* `babel-plugin-transform-block-scoping`
* [#11798](https://github.com/babel/babel/pull/11798) Reduce dependency on lodash functions: values, extends ([@jayaddison](https://github.com/jayaddison))
* `babel-generator`, `babel-plugin-transform-typescript`, `babel-types`
* [#11582](https://github.com/babel/babel/pull/11582) Refactor generated builder names in @babel/types ([@zxbodya](https://github.com/zxbodya))
* `babel-cli`, `babel-generator`, `babel-helper-transform-fixture-test-runner`, `babel-traverse`, `babel-types`
* [#11790](https://github.com/babel/babel/pull/11790) Reduce dependency on lodash functions: includes, uniq, repeat, isinteger ([@jayaddison](https://github.com/jayaddison))
* Other
* [#11782](https://github.com/babel/babel/pull/11782) chore: refine yarn cache config ([@JLHwung](https://github.com/JLHwung))
* `babel-register`
* [#11780](https://github.com/babel/babel/pull/11780) test: add console warn spy on babel-register tests ([@JLHwung](https://github.com/JLHwung))
* [#11776](https://github.com/babel/babel/pull/11776) chore: remove babel-register generated test artifacts ([@JLHwung](https://github.com/JLHwung))
## v7.10.4 (2020-06-30)

#### :eyeglasses: Spec Compliance
Expand Down
21 changes: 14 additions & 7 deletions CONTRIBUTING.md
Expand Up @@ -311,15 +311,22 @@ Note that the code shown in Chrome DevTools is compiled code and therefore diffe

## Creating a new plugin (`spec-new`)

> Example: https://github.com/babel/babylon/pull/541
> Example: https://github.com/babel/babel/pull/11640

- Create a new issue that describes the proposal (ex: [#538](https://github.com/babel/babylon/issues/538)). Include any relevant information like proposal repo/author, examples, parsing approaches, meeting notes, presentation slides, and more.
- The pull request should include:
- [ ] An update to the [plugins](https://github.com/babel/babel/tree/main/packages/babel-parser#plugins) part of the readme. Add a new entry to that list for the new plugin flag (and link to the proposal)
- [ ] If any new nodes or modifications need to be added to the AST, update [ast/spec.md](https://github.com/babel/babel/blob/main/packages/babel-parser/ast/spec.md)
- [ ] Make sure you use the `this.hasPlugin("plugin-name-here")` check in the babel parser so that your new plugin code only runs when that flag is turned on (not default behavior)
- Create a new PR that describes the proposed AST shape in [ESTree](https://github.com/estree/estree) (ex: [Decimal AST](https://github.com/estree/estree/pull/220)). The new AST should follow ESTree's [design philosophy](https://github.com/estree/estree#philosophy).
- After the ESTree PR is accepted, update [ast/spec.md](https://github.com/babel/babel/blob/master/packages/babel-parser/ast/spec.md). Note that there are differences between Babel AST and ESTree. In these cases, consistency with current Babel AST outweighs alignment to ESTree. Otherwise it should follow ESTree.

- [ ] Implement parser plugins based on the new AST. The parser plugin name should be the unprefixed slug of the TC39 proposal URL in _camelcase_, i.e. `exportDefaultFrom` from `https://github.com/tc39/proposal-export-default-from`.
- [ ] Use the `this.expectPlugin("newSyntax")` check within `@babel/parser` to ensure your new plugin code only runs when that flag is turned on (not default behavior), and a friendly error is thrown if users forget to enable a plugin.
- [ ] Add failing/passing tests according to spec behavior
- Start working about the Babel transform itself!
- [ ] Add `@babel/syntax-new-syntax` package. You can copy `packages/babel-plugin-syntax-decimal` and replace `decimal` to `new-syntax`.
- [ ] Add `@babel/syntax-new-syntax` to `@babel/standalone`.
- [ ] Add `@babel/syntax-new-syntax` to `package.json`
- [ ] Add `@babel/syntax-new-syntax` to [`pluginsConfig.json`](https://github.com/babel/babel/blob/master/packages/babel-standalone/scripts/pluginConfig.json), run `make generate-standalone`.
- [ ] Add `@babel/syntax-new-syntax` to `src/preset-stage-x`.
- [ ] Add `"newSyntax"` to parser [typings](https://github.com/babel/babel/blob/master/packages/babel-parser/typings/babel-parser.d.ts)
- [ ] Implement generator support in `packages/babel-generator/src/generators`. The generator converts AST to source code.
- [ ] If this feature can be transpiled, start working on the Babel transform.

## Internals

Expand Down