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

[pull] master from babel:master #269

Merged
merged 967 commits into from Jan 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
967 commits
Select commit Hold shift + click to select a range
6ac5874
update readme
jquense Feb 4, 2016
5363ff8
Merge pull request babel/eslint-plugin-babel#56 from nmote/flow-objec…
jquense Apr 5, 2016
ba2b2bc
Merge pull request babel/eslint-plugin-babel#57 from nmote/docs
hzoo Apr 7, 2016
8487ec8
3.2.0
hzoo Apr 7, 2016
f57dc52
Merge pull request babel/eslint-plugin-babel#62 from lemonmade/fix-fo…
jquense Jun 1, 2016
148e6be
show which rules are fixable
hzoo Jun 1, 2016
8cd329f
Merge pull request babel/eslint-plugin-babel#64 from zertosh/master
hzoo Jun 21, 2016
cae8513
3.3.0
hzoo Jun 21, 2016
1daf7f9
Run Travis CI in same Node versions as babel-eslint (babel/eslint-plu…
kaicataldo Jul 1, 2016
f6c2d2e
`--save-dev` instead of `-D` [skip ci]
hzoo Jul 1, 2016
6e4d44f
Update Dependencies (babel/eslint-plugin-babel#67)
kaicataldo Jul 1, 2016
57b06a5
chore(package): update eslint to version 3.0.0 (babel/eslint-plugin-b…
greenkeeperio-bot Jul 1, 2016
831a217
chore(package): update mocha to version 3.0.0 (babel/eslint-plugin-ba…
greenkeeperio-bot Sep 22, 2016
2b52d67
Merge pull request babel/eslint-plugin-babel#101 from mathieumg/no-in…
jquense Nov 2, 2016
c7d8d99
Drop support of Node < 4 (babel/eslint-plugin-babel#113)
preco21 Nov 17, 2016
5b5f8e3
Updated Node versions to test against in the Travis configuration. (b…
mathieumg Nov 17, 2016
48010c5
chore(package): update dependencies (babel/eslint-plugin-babel#109)
greenkeeper[bot] Nov 17, 2016
d38551c
Breaking: Deprecate built-in rules (babel/eslint-plugin-babel#115)
hzoo Nov 17, 2016
9c9bff7
readme: drop node < 4 [skip ci]
hzoo Nov 17, 2016
3855f28
4.0.0
hzoo Nov 17, 2016
7f94d5f
Updated rules to new format, added deprecated flag (babel/eslint-plug…
wagerfield Jan 18, 2017
4b52a4c
4.0.1
hzoo Jan 18, 2017
7120260
Add babel semi (babel/eslint-plugin-babel#121)
aaronjensen Feb 27, 2017
c548da9
4.1.0
hzoo Feb 27, 2017
399c182
Merge pull request babel/eslint-plugin-babel#123 from daltones/master
jquense Mar 4, 2017
dc0109a
4.1.1
hzoo Mar 6, 2017
da75b84
Modifying semi rule to support for await (babel/eslint-plugin-babel#126)
kobelb May 10, 2017
15c5245
4.1.2
hzoo Jul 25, 2017
b41b3af
Merge pull request babel/eslint-plugin-babel#138 from babel/composer
existentialism Mar 30, 2018
2624190
Update deprecation table with versions
existentialism Mar 30, 2018
550dcfc
Merge pull request babel/eslint-plugin-babel#139 from babel/quotes-js…
existentialism Mar 30, 2018
8e49bbb
Add quotes rule to index
existentialism Mar 30, 2018
1037e37
5.0.0
hzoo Mar 31, 2018
bc15f06
Merge pull request babel/eslint-plugin-babel#131 from lyleunderwood/d…
existentialism Apr 19, 2018
5b5d9a5
eslint-rule-composer@0.3.0
existentialism Apr 19, 2018
ae68b5b
Refresh new-cap tests
existentialism Apr 19, 2018
562deb8
Merge pull request babel/eslint-plugin-babel#144 from babel/issue142
existentialism Apr 20, 2018
3e7fe7b
5.1.0
existentialism Apr 20, 2018
2ea80c8
Merge pull request babel/eslint-plugin-babel#157 from amilajack/patch-1
existentialism Sep 4, 2018
b3ce66b
Merge pull request babel/eslint-plugin-babel#158 from lehni/fix/optio…
existentialism Sep 5, 2018
d03a00c
mocha@5.2.0 (babel/eslint-plugin-babel#159)
existentialism Sep 5, 2018
f70f68e
Update readme for opt call support in no-unused-expressions [skip ci]…
existentialism Sep 5, 2018
d86c6dd
Add valid-typeof rule with support for BigInt (babel/eslint-plugin-ba…
existentialism Sep 6, 2018
7c97b55
5.2.0
existentialism Sep 6, 2018
e8c0f52
Fix missing valid-typeof export (babel/eslint-plugin-babel#165)
existentialism Sep 27, 2018
2358ed1
5.2.1
existentialism Sep 27, 2018
eccbdab
Camelcase - support for optional chaining (babel/eslint-plugin-babel#…
villesau Nov 8, 2018
ebe197f
5.3.0
existentialism Nov 15, 2018
6285cb9
Add no-deprecated-clone rule
nicolo-ribaudo Nov 18, 2018
1f7197e
Extract isFromBabelTypes helper
nicolo-ribaudo Nov 20, 2018
2be5411
Add no-undefined-identifier rule
nicolo-ribaudo Nov 20, 2018
c59db52
Extract isBabelPluginFactory helper
nicolo-ribaudo Nov 20, 2018
110191d
Add plugin-name rule
nicolo-ribaudo Nov 20, 2018
69cc2c3
Docs
nicolo-ribaudo Nov 20, 2018
b615efb
Export rules
nicolo-ribaudo Nov 20, 2018
ed1cee3
Update package.json#main
nicolo-ribaudo Dec 17, 2018
e146ae7
Create Test workflow
nicolo-ribaudo Dec 17, 2018
ef29bf5
Rename to @babel/eslint-plugin-developement. Fixes babel/eslint-plugi…
nicolo-ribaudo Dec 18, 2018
76ece45
Add publishConfig to package.json
nicolo-ribaudo Dec 18, 2018
cc2d738
Update readme with the new package name
nicolo-ribaudo Dec 18, 2018
1bd82dd
1.0.0
nicolo-ribaudo Dec 18, 2018
cc78743
Add .npmignore
nicolo-ribaudo Dec 18, 2018
31c3de6
Typo :facepalm:
nicolo-ribaudo Dec 18, 2018
f5e482d
Add repo url
nicolo-ribaudo Dec 18, 2018
f7c3d07
1.0.1
nicolo-ribaudo Dec 18, 2018
ec18c30
Bump js-yaml from 3.12.0 to 3.13.1 (babel/eslint-plugin-babel-plugin#2)
dependabot[bot] Jul 8, 2019
7061d96
Bump lodash from 4.17.4 to 4.17.14 (babel/eslint-plugin-babel#181)
dependabot[bot] Jul 13, 2019
693fa1a
Bump js-yaml from 3.11.0 to 3.13.1 (babel/eslint-plugin-babel#177)
dependabot[bot] Jul 15, 2019
f3e2752
Support private properties in no-invalid-this (babel/eslint-plugin-ba…
fergald Aug 24, 2019
3243af3
First commit
nicolo-ribaudo Nov 18, 2018
927b89b
removed yarn lock from eslint packages (#10711)
Nov 14, 2019
17dfdab
chore: ignore engines for eslint packages (#10713)
JLHwung Nov 14, 2019
b4c4260
Fix linting in ESLint packages (#10712)
nicolo-ribaudo Nov 14, 2019
5bb4ee7
chore: use loose mode of transform (#10718)
JLHwung Nov 15, 2019
72eca8f
Fix publishing broken by eslint packages (#10721)
nicolo-ribaudo Nov 15, 2019
d56911b
Reorganize meta files for ESLint packages (#10714)
nicolo-ribaudo Nov 16, 2019
6c7f829
polish: skip creating extra reference for safely re-used node (#10720)
JLHwung Nov 16, 2019
3846d2a
chore: fix typo (#10725)
JLHwung Nov 16, 2019
1b75fe3
chore: fix typo: prest -> preset (#10726) [ci-skip]
arku Nov 16, 2019
a6d1348
Unify build step for ESLint packages (#10723)
kaicataldo Nov 16, 2019
5ca8acd
Do not automatically publish eslint packages (#10722)
nicolo-ribaudo Nov 16, 2019
bcd181f
ESLint: disable max-len (#10727)
kaicataldo Nov 16, 2019
f087cf8
Mocha to jest migration for eslint packages (#10716)
Nov 16, 2019
c37361b
Bump prettier@1.19.1 (#10728)
existentialism Nov 16, 2019
401c9bb
Update ESLint/Prettier config for eslint/* packages (#10724)
kaicataldo Nov 16, 2019
53a3dac
Clean up eslint/* directories (#10729)
kaicataldo Nov 17, 2019
e9e6918
Do not run eslint/* tests in Node v6
kaicataldo Nov 17, 2019
db2b601
Add TODO comment
kaicataldo Nov 17, 2019
d18d0b6
Run Prettier
kaicataldo Nov 18, 2019
dba5bd3
Merge pull request #10730 from kaicataldo/node-6-tests
kaicataldo Nov 18, 2019
faf1492
minor config change (#10731)
Nov 18, 2019
cfd26fd
register ImportEqualsSpecifier to scope (#10710)
JLHwung Nov 18, 2019
1021365
[parser] Allow optional async methods (#10582)
zant Nov 18, 2019
a502d88
Fix some incorrect typeof parsing in flow (#10657)
existentialism Nov 18, 2019
6ba1131
fix: add missing available plugins to babel-preset-env-standalone (#1…
JLHwung Nov 18, 2019
01d6d6d
Flow enums: fix enum body location (#10737)
gkz Nov 20, 2019
fee4d93
chore: introduce envinfo into environment section [ci-skip] (#10565)
JLHwung Nov 20, 2019
83fc3f2
Update preset-env mappings (#10742)
existentialism Nov 20, 2019
cc51f2a
Update lerna (#10733)
nicolo-ribaudo Nov 21, 2019
683adcb
Reduce standalone build size (#10668)
JLHwung Nov 21, 2019
74fb914
Use the local version of babel in test262 job (#10749)
jbhoosreddy Nov 22, 2019
2516990
Rename babel-eslint-config-internal -> @babel/eslint-config-internal
kaicataldo Nov 21, 2019
74e2c2c
Update eslint/babel-eslint-config-internal/package.json
kaicataldo Nov 22, 2019
ca88cf1
Incorporate feedback
kaicataldo Nov 22, 2019
2c40b8c
Fix failing tests
kaicataldo Nov 22, 2019
2dfc06e
Merge pull request #10744 from kaicataldo/@babel/eslint-config-internal
kaicataldo Nov 22, 2019
1b4cfc2
Add support for native esm to @babel/runtime (#10748)
nicolo-ribaudo Nov 22, 2019
75767d8
v7.7.4
nicolo-ribaudo Nov 22, 2019
5dbb90e
Add v7.7.4 to CHANGELOG.md [skip ci]
nicolo-ribaudo Nov 22, 2019
d38c4dd
babel-eslint-v11.0.0-beta.1
nicolo-ribaudo Nov 23, 2019
e239eb4
Update babel-eslint used in top-level package.json (#10754)
nicolo-ribaudo Nov 24, 2019
0b06b23
Clean up @babel/eslint-plugin-development (#10757)
kaicataldo Nov 25, 2019
66a7026
Add CodeSandbox CI Config (#10639)
CompuIves Nov 25, 2019
01c33a5
Fix dependencies on @babel/* packages (#10762)
nicolo-ribaudo Nov 25, 2019
52f9641
Update babel-eslint-plugin-dev engines (#10761) [ci-skip]
kaicataldo Nov 25, 2019
e81bbd6
Clean up @babel/eslint-parser (#10753)
kaicataldo Nov 25, 2019
7f732ad
Clean up @babel/eslint-plugin (#10756)
kaicataldo Nov 25, 2019
4e774b7
fix: rewriteBindingInitVisitor should skip on scopable node (#10764)
JLHwung Nov 26, 2019
a6e8b38
chore: update snapshot for corejs3 targets unit test
jaroslav-kubicek Nov 29, 2019
26c0a32
refactor: Improve error message in @babel/core when root config is no…
jaroslav-kubicek Nov 30, 2019
8f89167
Update core-js-compat (#10795)
nicolo-ribaudo Dec 2, 2019
5440ae1
Correctly disambiguate / after async fuctions (#10475)
nicolo-ribaudo Dec 2, 2019
7195f0d
Unify logic for running parser tests from external suites (#10444)
nicolo-ribaudo Sep 15, 2019
e74efd2
Run parser tests from the official TypeScript parser (#10444)
nicolo-ribaudo Sep 15, 2019
d18afbd
Allow tuple rest trailing comma (#10800)
yeonjuan Dec 3, 2019
3d0c5d2
Do not transpile typeof helper with itself in babel/runtime (#10788)
nicolo-ribaudo Dec 4, 2019
bb6cc61
fix(optional chaining): Optional delete returns true with nullish bas…
mpaarating Dec 4, 2019
e94da0d
Incorrect trace position in fixture runner (#10566)
JLHwung Dec 4, 2019
2b47291
Tune makefile scripts (#10781)
JLHwung Dec 5, 2019
a0bed42
Bundle standalone using rollup (#10779)
JLHwung Dec 5, 2019
c6e966c
[parser] Use scope flags to check arguments (#10801)
JLHwung Dec 5, 2019
c9a6898
`babel --watch` should have equivalent file selection logic with `bab…
JLHwung Dec 5, 2019
d3a37b5
Add ".js" extension to injected polyfill imports (#10549)
shimataro Dec 6, 2019
d04508e
v7.7.5
nicolo-ribaudo Dec 6, 2019
8a8474c
Add v7.7.5 to CHANGELOG.md [skip ci]
babel-bot Dec 6, 2019
655a972
chore: add PR Revert labels to changelog (#10836)
JLHwung Dec 7, 2019
4436ffd
Revert "Add ".js" extension to injected polyfill imports (#10549)" (#…
JLHwung Dec 7, 2019
f753c48
v7.7.6
nicolo-ribaudo Dec 7, 2019
b2429fe
Add v7.7.6 to CHANGELOG.md [skip ci]
babel-bot Dec 7, 2019
fb100ee
@babel/eslint-parser: fix BigIntLiteral node to match ESTree spec (#1…
kaicataldo Dec 8, 2019
0164662
refactor: rewrite available-plugins to esm (#10837)
JLHwung Dec 8, 2019
b798941
Update corejs fixtures (#10846)
JLHwung Dec 9, 2019
2884bac
Use `async-to-generator` even when `regenerator` is enabled (#10839)
nicolo-ribaudo Dec 9, 2019
f02e5e6
Add missing dev dependencies (#10847)
JLHwung Dec 9, 2019
de1fa90
Tune eslint packages test configuration (#10848)
JLHwung Dec 10, 2019
20e43ad
validate parentheses in the left-hand side of assignment expressions …
boweihan Dec 10, 2019
5156d3e
Restore `@babel/parser` tests (#10854)
nicolo-ribaudo Dec 11, 2019
7b54a94
@babel/eslint-parser: fix ImportExpression node to match ESTree spec …
kaicataldo Dec 11, 2019
25f7e68
@babel/eslint-parser: refactor configuration logic (#10860)
kaicataldo Dec 11, 2019
0b3f883
Properly serialize non-json values in parser tests (#10858)
nicolo-ribaudo Dec 12, 2019
bffa415
Check shadow variable to identifier in default parameters (#10053)
JLHwung Dec 13, 2019
a0d76a8
Fix pragmaFrag spelling in error message (#10868)
azizhk Dec 16, 2019
0e9c496
chore: update babel-eslint to 11.0.0-beta.2 (#10870)
JLHwung Dec 16, 2019
4f77a5a
e2e test: create-react-app (#10704)
nicolo-ribaudo Dec 16, 2019
c35ba3d
chore: add PR Intent checkbox [ci-skip] (#10880)
JLHwung Dec 17, 2019
ff8a295
chore: download compat-table when build-data is run (#10873)
JLHwung Dec 18, 2019
b3c7df9
fix: avoid string copy when processing input source-map (#10885)
JLHwung Dec 18, 2019
2b35909
Prevent ignored files in out dir (#10831)
rajasekarm Dec 18, 2019
3d7bc43
Allow -r from node_modules with @babel/node (#10871)
nicolo-ribaudo Dec 18, 2019
8afeef2
chore: cache chocolatey install temp (#10874)
JLHwung Dec 18, 2019
aa81407
Ignore some files in npm package (#10882)
JLHwung Dec 18, 2019
dbf3f91
Revert "Prevent ignored files in out dir (#10831)" (#10886)
Dec 18, 2019
80e95d0
Fix flow
nicolo-ribaudo Dec 18, 2019
e85c9b9
fix: skip merging large input sourcemaps (#10890)
JLHwung Dec 19, 2019
c0d0bf2
Update core-js fixtures
nicolo-ribaudo Dec 19, 2019
9be27bc
fix: add computed property support for object Ref (#10863)
JLHwung Dec 19, 2019
12da094
v7.7.7
nicolo-ribaudo Dec 19, 2019
aaa1b1f
Add v7.7.7 to CHANGELOG.md [skip ci]
babel-bot Dec 19, 2019
d389b70
Remove reverted PR from changelog [skip ci]
nicolo-ribaudo Dec 19, 2019
c5cfc83
Move coverage to GitHub actions (#10898)
JLHwung Dec 20, 2019
416ce35
fix: Object.getOwnPropertySymbols called on non-object (#10902)
bassaer Dec 21, 2019
f651f22
fix: lost leading comment after named import (#10901)
elevatebart Dec 22, 2019
83993b0
chore: separate build-standalone with coverage (#10905)
JLHwung Dec 23, 2019
c09664f
@babel/eslint-parser: Refactor (#10916)
kaicataldo Dec 23, 2019
a18166d
refactor: remove inClassProperty parser state (#10906)
JLHwung Dec 24, 2019
875e961
chore: refine e2e test scripts (#10918)
JLHwung Dec 24, 2019
ee5b79d
@babel-core: parse should parse only (#10914)
kaicataldo Dec 24, 2019
fc5365f
Fix parameter expression get binding (#10912)
JLHwung Dec 24, 2019
0075830
Always use forked @lerna/collect-updates
nicolo-ribaudo Dec 25, 2019
db3c31a
fix: minified should not accept optional argument (#10923)
JLHwung Dec 25, 2019
30f3b07
Replace custom "findSuggestion" function with "levenary" (#10924)
nicolo-ribaudo Dec 25, 2019
e9dc74e
fix: Promise.any requires global.AggregateError (#10930)
JLHwung Dec 27, 2019
b91720c
helper-module-transforms: dereference imported template tag (#10934)
ajafff Dec 28, 2019
3145133
chore: update test262 (#10943)
JLHwung Dec 30, 2019
197a8da
Remove unused parser methods (#10942)
JLHwung Dec 30, 2019
86245a8
TSTypeCastExpression should not be inside call parameters (#10939)
JLHwung Dec 30, 2019
30449fe
Refactor parseSubscript (#10937)
JLHwung Dec 30, 2019
2f3f779
refactor: remove unused invalidTemplateEscapePosition tokenizer state…
JLHwung Dec 30, 2019
0238244
refactor: remove unecessary checkYieldAwaitInDefaultParams (#10936)
JLHwung Dec 30, 2019
26eb891
fix: Class Field Initializer should not allow await expression as imm…
JLHwung Dec 31, 2019
daaa206
Override toString in case this function is printed (#10949)
jayenashar Jan 1, 2020
9f832c2
@babel/eslint-parser: Fix ClassPrivateMethods (#10913)
kaicataldo Jan 2, 2020
e504805
Add integration test: e2e-vue-cli (#10919)
JLHwung Jan 3, 2020
6ee8c97
Fix: TopLevelAwait should respect await identifiers defined in… (#10947)
JLHwung Jan 3, 2020
467667a
When reading a new string, U+2028/2029 should correctly set th… (#10944)
JLHwung Jan 3, 2020
a283537
fix: check await when parsing AsyncArrowBindingIdentifier (#10953)
JLHwung Jan 3, 2020
455d782
test: add invalid-lone-import test (#10950)
JLHwung Jan 3, 2020
03d163a
Use chrome data when android is absent (#10790)
JLHwung Jan 3, 2020
a7dac49
chore: workaround yarn issue (#10958)
JLHwung Jan 4, 2020
4636321
Make @babel/transform-runtime's absoluteRuntime/relative test meaning…
nicolo-ribaudo Jan 5, 2020
3fa37d2
Bump coverage target from 80% to 90% (#10964)
nicolo-ribaudo Jan 5, 2020
8fd532d
LiteralPropertyName should allow BigIntLiteral (#10955)
JLHwung Jan 7, 2020
09cb427
update corejs-compat fixtures (#10967)
JLHwung Jan 7, 2020
9f148a1
chore: update caniuse-usage fixtures (#10974)
JLHwung Jan 9, 2020
771c730
[parser] Disallow duplicate and undeclared private names (#10456)
nicolo-ribaudo Jan 10, 2020
7bc22e4
StringNumericLiteral does not include NumericLiteralSeparator (#10938)
JLHwung Jan 10, 2020
5b907e9
[parser] enable dynamic import by default (#10843)
AbdulAli19 Jan 10, 2020
c3388ea
Enable nullish coalescing by default in @babel/parser (#10819)
layershifter Jan 10, 2020
3af02f6
Add --out-file-extension option to babel-cli (#9144)
eps1lon Jan 10, 2020
8415065
--copy-ignored flag added to CLI (#10887)
rajasekarm Jan 10, 2020
646409b
Use `babel >` as prompt in babel-node (#9695)
ZYSzys Jan 10, 2020
5f807ae
Enable optional chaining by default in @babel/parser (#10817)
jackisherwood Dec 5, 2019
04354d1
Extract targets parser and compat data from preset-env (#10899)
nicolo-ribaudo Jan 10, 2020
44f9d85
add `allowTopLevelThis` option to `transform-modules-systemjs` (#10780)
JLHwung Jan 10, 2020
e8dac62
chore: specify package type (#10849)
JLHwung Jan 10, 2020
bfc56eb
Update Test262, Flow and TS parser tests (#10976)
nicolo-ribaudo Jan 10, 2020
3dcb8ca
Added instructions to fork the repo in order to setup. (#10973)
sidntrivedi012 Jan 10, 2020
4cb2148
@babel/eslint-plugin: remove deprecated rules (#10975)
kaicataldo Jan 10, 2020
80aa7dc
Add optional-chaining and nullish-coalescing to preset-env (#10811)
Druotic Jan 10, 2020
9fec528
Reduce false negative cases of typescript parser tests (#10979)
JLHwung Jan 10, 2020
282f81b
Prepare @babel/core for asynchronicity (#10507)
nicolo-ribaudo Jan 10, 2020
ae06baf
Add support for babel.config.mjs and .babelrc.mjs (#10903)
nicolo-ribaudo Jan 10, 2020
4c28f54
Add babelrc.json support (#10783)
yordis Jan 10, 2020
5a3e970
CONTRIBUTING: Update link to plugin-features.js [skip ci] (#10982)
andersk Jan 11, 2020
903ad61
Filename detection should respect short flags (#10763)
JLHwung Jan 11, 2020
a131033
chore: update corejs fixtures (#10983)
JLHwung Jan 11, 2020
405c1aa
Merge env-standalone to babel-standalone (#10821)
JLHwung Jan 11, 2020
e7b80a2
Improve @babel/types with env.BABEL_TYPES_8_BREAKING (#10917)
nicolo-ribaudo Jan 11, 2020
81c5f1f
Disallow private name in object elements and TS type elements (#10980)
JLHwung Jan 11, 2020
d8e6219
@babel/eslint-plugin: Update rules/tests to use @babel/eslint-parser …
kaicataldo Jan 11, 2020
2486615
v7.8.0
nicolo-ribaudo Jan 12, 2020
9647560
Add v7.8.0 to CHANGELOG.md [skip ci]
babel-bot Jan 12, 2020
d1c93e7
Remove ESLint packages from the changelog
nicolo-ribaudo Jan 12, 2020
2766837
Downgrade semver for compatibility with Node 6 (#10991)
nicolo-ribaudo Jan 12, 2020
575eeb3
v7.8.1
nicolo-ribaudo Jan 12, 2020
2ccc451
Add v7.8.1 to CHANGELOG.md [skip ci]
babel-bot Jan 12, 2020
f995f8e
fix: `isPluginRequired` returns the opposite result in v7.8.0 (#10992)
sodatea Jan 12, 2020
61d01f1
v7.8.2
nicolo-ribaudo Jan 12, 2020
c7f7f9b
Add v7.8.2 to CHANGELOG.md [skip ci]
babel-bot Jan 12, 2020
a677d59
Archive syntax plugins enabled by default (#10820)
nicolo-ribaudo Jan 12, 2020
d0a8982
Ignore .map files in standalone packages (#10994)
nicolo-ribaudo Jan 13, 2020
8fce431
Revert "chore: specify package type (#10849)" (#11003)
nicolo-ribaudo Jan 13, 2020
6874c24
fix: generated builder parameter should respect builder keys (#11002)
JLHwung Jan 13, 2020
a7620bd
v7.8.3
nicolo-ribaudo Jan 13, 2020
b138b5a
Add v7.8.3 to CHANGELOG.md [skip ci]
babel-bot Jan 13, 2020
a0a9c64
chore: test against babel-preset-app (#11004)
JLHwung Jan 13, 2020
9df70b4
Duplicate `__proto__` key should be allowed in object patterns (#10987)
JLHwung Jan 15, 2020
e7961a0
fix: supply ‘.’ subpath for node.js < 13.2 (#11006)
JLHwung Jan 15, 2020
6ad7e19
Fix parentheses removal in nullish-coalescing operation (#11014)
sidntrivedi012 Jan 15, 2020
d75652e
Exclude `import()` tests from pubilsh build (#10995)
nicolo-ribaudo Jan 15, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
182 changes: 167 additions & 15 deletions .circleci/config.yml
@@ -1,4 +1,5 @@
version: 2
version: 2.1

aliases:
- &restore-node-modules-cache
keys:
Expand Down Expand Up @@ -30,27 +31,178 @@ aliases:
- &artifact_env_min
path: ~/babel/packages/babel-preset-env-standalone/babel-preset-env.min.js

jobs:
build:
- &test262_workdir
working_directory: ~/babel/babel-test262-runner

- &artifact_test262_tap
path: ~/test262.tap

- &artifact_test262_xunit
path: ~/test-results

- &artifact_test262_diff_tap
path: ~/diff.tap

executors:
node-executor:
docker:
- image: circleci/node:13
working_directory: ~/babel
# e2e-vue-cli test requires chromium
node-browsers-executor:
docker:
- image: circleci/node:12
- image: circleci/node:13-browsers
working_directory: ~/babel

jobs:
build-standalone:
executor: node-executor
steps:
- checkout
- restore-cache: *restore-yarn-cache
- restore-cache: *restore-node-modules-cache
- run: yarn --version
- run: make test-ci-coverage
# Builds babel-standalone with the regular Babel config
- run: IS_PUBLISH=true make build
# test-ci-coverage doesn't test babel-standalone, as trying to gather coverage
# data for a JS file that's several megabytes large is bound to fail. Here,
# we just run the babel-standalone test separately.
- run: ./node_modules/.bin/jest packages/babel-standalone/test/
- run: ./node_modules/.bin/jest packages/babel-preset-env-standalone/test/
- restore_cache: *restore-yarn-cache
- restore_cache: *restore-node-modules-cache
# Builds babel-standalone with the regular Babel config
# test-ci-coverage doesn't test babel-standalone, as trying to gather coverage
- run: IS_PUBLISH=true make -j build-standalone-ci
# data for a JS file that's several megabytes large is bound to fail. Here,
# we just run the babel-standalone test separately.
- run: yarn jest "\-standalone/test"
- store_artifacts: *artifact_babel
- store_artifacts: *artifact_babel_min
- store_artifacts: *artifact_env
- store_artifacts: *artifact_env_min
- save_cache: *save-node-modules-cache
- save_cache: *save-yarn-cache

test262:
executor: node-executor
steps:
- checkout
- run:
name: Sync with latest master branch (only on PRs)
command: |
if [ -n "$CIRCLE_PULL_REQUEST" ]
then
git fetch origin refs/pull/$CIRCLE_PR_NUMBER/merge
git checkout -qf FETCH_HEAD
fi
- restore_cache: *restore-yarn-cache
- restore_cache: *restore-node-modules-cache
- run:
name: Build Babel
command: BABEL_ENV=test make bootstrap
- run:
name: Setup Test Runner
command: |
git clone --recurse-submodules https://github.com/babel/babel-test262-runner
cd babel-test262-runner
yarn
yarn add tap-mocha-reporter --dev
node lib/download-node
- run:
name: Download master branch Test262 artifact
command: node lib/download-master-artifact ~/master.tap
<<: *test262_workdir
- run:
name: Run Test262
command: BABEL_PATH=.. node lib/run-tests I_AM_SURE | tee ~/test262.tap
<<: *test262_workdir
- store_artifacts: *artifact_test262_tap
- run:
name: Output Test262 results
command: |
cat ~/test262.tap | $(npm bin)/tap-mocha-reporter spec || true
<<: *test262_workdir
- run:
name: Compare previous master branch & current job results
command: |
mkdir -p ~/test-results/test262
node lib/compare-results ~/master.tap ~/test262.tap | tee ~/diff.tap
<<: *test262_workdir
- store_artifacts: *artifact_test262_diff_tap
- run:
name: Output comparision 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
<<: *test262_workdir
- store_test_results: *artifact_test262_xunit
- save_cache: *save-node-modules-cache
- save_cache: *save-yarn-cache

publish-verdaccio:
executor: node-executor
steps:
- checkout
- run: yarn install
- run: ./scripts/integration-tests/publish-local.sh
- persist_to_workspace:
root: /tmp/verdaccio-workspace
paths:
- storage
- htpasswd

e2e-babel:
executor: node-executor
steps:
- checkout
- attach_workspace:
at: /tmp/verdaccio-workspace
- run: ./scripts/integration-tests/e2e-babel.sh

e2e-create-react-app:
executor: node-executor
steps:
- checkout
- attach_workspace:
at: /tmp/verdaccio-workspace
- run: ./scripts/integration-tests/e2e-create-react-app.sh

e2e-vue-cli:
executor: node-browsers-executor
steps:
- checkout
- attach_workspace:
at: /tmp/verdaccio-workspace
- run: ./scripts/integration-tests/e2e-vue-cli.sh

workflows:
version: 2
build-standalone:
jobs:
- build-standalone
test262-master:
jobs:
- test262:
filters:
branches:
only:
- master
test262:
jobs:
- approve-test262-run:
type: approval
filters:
branches:
ignore:
- master
- test262:
requires:
- approve-test262-run
filters:
branches:
ignore:
- master
e2e:
jobs:
- publish-verdaccio
- e2e-babel:
requires:
- publish-verdaccio
- e2e-create-react-app:
requires:
- publish-verdaccio
- e2e-vue-cli:
requires:
- publish-verdaccio

5 changes: 5 additions & 0 deletions .codesandbox/ci.json
@@ -0,0 +1,5 @@
{
"installCommand": "bootstrap",
"buildCommand": false,
"sandboxes": ["kypop"]
}
7 changes: 6 additions & 1 deletion .eslintignore
Expand Up @@ -17,10 +17,15 @@ codemods/*/lib
codemods/*/dist
codemods/*/test/fixtures
codemods/*/test/tmp
packages/babel-preset-env/data
packages/babel-preset-env/data/[^(plugin-features|shipped-proposals).js]
packages/babel-preset-env/test/debug-fixtures
packages/babel-preset-env-standalone/babel-preset-env.js
packages/babel-preset-env-standalone/babel-preset-env.min.js
packages/babel-standalone/babel.js
packages/babel-standalone/babel.min.js
packages/babel-parser/test/expressions

eslint/*/lib
eslint/*/node_modules
eslint/*/test
eslint/*/tests
48 changes: 48 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,48 @@
module.exports = {
root: true,
plugins: ["prettier", "@babel/development", "import"],
extends: "babel",
rules: {
"prettier/prettier": "error",
// TODO: remove after babel-eslint-config-internal is fully integrated into this repository.
"max-len": "off",
},
env: {
node: true,
},
overrides: [
{
files: [
"packages/*/src/**/*.js",
"codemods/*/src/**/*.js",
"eslint/*/src/**/*.js",
],
rules: {
"@babel/development/no-undefined-identifier": "error",
"@babel/development/no-deprecated-clone": "error",
"import/no-extraneous-dependencies": "error",
"guard-for-in": "error",
},
},
{
files: [
"packages/*/test/**/*.js",
"codemods/*/test/**/*.js",
"eslint/*/test/**/*.js",
"packages/babel-helper-transform-fixture-test-runner/src/helpers.js",
"test/**/*.js",
],
env: {
jest: true,
},
},
{
files: ["packages/babel-plugin-*/src/index.js"],
excludedFiles: ["packages/babel-plugin-transform-regenerator/**/*.js"],
rules: {
"@babel/development/plugin-name": "error",
eqeqeq: ["error", "always", { null: "ignore" }],
},
},
],
};
41 changes: 0 additions & 41 deletions .eslintrc.json

This file was deleted.

2 changes: 2 additions & 0 deletions .flowconfig
Expand Up @@ -24,4 +24,6 @@ suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
suppress_type=$FlowFixMe
suppress_type=$FlowSubtype
esproposal.export_star_as=enable
esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable
module.name_mapper='^@babel\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/babel-\1/src/index'
10 changes: 5 additions & 5 deletions .github/CHANGELOG-6to5.md
Expand Up @@ -122,7 +122,7 @@
* Restructure transformers so they're only ran if the AST contains nodes that they need to worry about. Improves transpilation speed significantly.
* **Bug Fix**
* Fix source maps not tracking end of node locations.
* **Spec Compliancy**
* **Spec Compliance**
* Use static super references as the home object is actually done at definition time.
* **Polish**
* Force the `es6.destructuring` transformer to be whitelisted when the `es7.objectSpread` transformer is.
Expand Down Expand Up @@ -479,7 +479,7 @@

## 2.12.3

* **Spec Compliancy**
* **Spec Compliance**
* Optional `typeof` transformer checks for `undefined` before passing it to the helper.
* Class methods are now named.

Expand Down Expand Up @@ -551,7 +551,7 @@
* Add `classesFastSuper` optional transformer that doesn't support parent getters and prototype changing.
* Add `forOfFast` transformer that speeds up `for...of` on arrays but produces more code.
* Add `--react-compat` to `bin/6to5`.
* **Spec Compliancy**
* **Spec Compliance**
* Disallow setters without a single parameter.
* Add `configurable` and `writable` to defined properties.
* Use define instead of assignment for class methods.
Expand Down Expand Up @@ -619,7 +619,7 @@

## 2.7.0

* **Spec Compliancy**
* **Spec Compliance**
* Disallow reassignments of imports.
* **New Feature**
* `reactCompat` option to enable pre-v0.12 react components.
Expand Down Expand Up @@ -662,7 +662,7 @@
* **Polish**
* Move `"use strict";` to inside module bodies instead of at the top of the file.
* Better handling of dynamic imports.
* **Spec Compliancy**
* **Spec Compliance**
* Class inheritance now has a `function` or `null` type check.
* Add `interopRequireWildcard` around wildcard imports and exports to handle non-object exports.

Expand Down
6 changes: 3 additions & 3 deletions .github/CHANGELOG-v4.md
Expand Up @@ -110,7 +110,7 @@
* Throw an error on different `babel` and `babel-runtime` versions.
* Replicate module environment for `babel-node` eval.
* Clean up classes output.
* **Spec Compliancy**
* **Spec Compliance**
* Make it illegal to use a rest parameter on a setter.

## 4.6.6
Expand Down Expand Up @@ -150,8 +150,8 @@

* **New Feature**
* Desugar sticky regexes to a new constructor expression so it can be handled by a polyfill.
* **Spec Compliancy**
* `for...of` now outputs in a lengthy `try...catch` this is to ensure spec compliancy in regards to iterator returns and abrupt completions. See [google/traceur-compiler#1773](https://github.com/google/traceur-compiler/issues/1773) and [babel/babel/#838](https://github.com/babel/babel/issues/838) for more information.
* **Spec Compliance**
* `for...of` now outputs in a lengthy `try...catch` this is to ensure spec compliance in regards to iterator returns and abrupt completions. See [google/traceur-compiler#1773](https://github.com/google/traceur-compiler/issues/1773) and [babel/babel/#838](https://github.com/babel/babel/issues/838) for more information.
* **Polish**
* Rest parameters that are only referred to via number properties on member expressions are desugared into a direct `arguments` reference. Thanks [@neVERberleRfellerER](https://github.com/neVERberleRfellerER)!
* `$ babel` no longer exits on syntax errors.
Expand Down