Huáng Jùnliàng
a0bed42aec
Bundle standalone using rollup ( #10779 )
...
* chore: bundle babel-standalone via rollup
Co-authored-by: Daniel Tschinder <daniel.tschinder@researchgate.net>
* chore: build babel-preset-env-standalone via Rollup
# Conflicts:
# yarn.lock
* chore: add babelEnvName
* chore: farewell webpack
* chore: add terser minification
* chore: dedupe some popular dependencies
* chore: remove unused devDependencies
* chore: move plugin-babel-source to scripts/
* make prettier happy
* fix: rewrite available-plugins into esm
* chore: add extra unambiguous sources when env is rollup/standalone
2019-12-04 23:09:52 -05:00
Huáng Jùnliàng
e94da0dce5
Incorrect trace position in fixture runner ( #10566 )
...
* test: add test case
* fix: incorrect fixture callsite position
2019-12-05 00:35:37 +01:00
Alex Lewis
bb6cc61979
fix(optional chaining): Optional delete returns true with nullish base ( #10806 )
...
Per issue 10805, the return value when using delete on a nullish base is
currently undefined. The correct return type should be true.
2019-12-04 12:56:25 +01:00
Nicolò Ribaudo
3d0c5d2afc
Do not transpile typeof helper with itself in babel/runtime ( #10788 )
...
* Do not transpile typeof helper with itself in babel/runtime
* Nits
* Remove console.log
2019-12-04 01:09:14 +01:00
YeonJuan
d18afbd7c3
Allow tuple rest trailing comma ( #10800 )
2019-12-03 18:32:36 +01:00
Nicolò Ribaudo
5440ae1cae
Correctly disambiguate / after async fuctions ( #10475 )
...
* Correctly disambiguate / after async fuctions
2019-12-02 22:41:39 +01:00
Nicolò Ribaudo
8f89167486
Update core-js-compat ( #10795 )
...
* Update core-js-compat
* Update lockfile
2019-12-02 22:30:21 +01:00
Jaroslav Kubíček
26c0a32c7c
refactor: Improve error message in @babel/core when root config is not found ( #10778 )
2019-12-01 00:07:05 +01:00
Jaroslav Kubicek
a6e8b3843b
chore: update snapshot for corejs3 targets unit test
2019-11-29 14:49:08 -05:00
Huáng Jùnliàng
4e774b7264
fix: rewriteBindingInitVisitor should skip on scopable node ( #10764 )
2019-11-26 08:51:11 +01:00
Nicolò Ribaudo
01c33a5719
Fix dependencies on @babel/* packages ( #10762 )
...
* Remove dep on Babel 7 beta
* Add missing dependencies used in babel.config.js
* Update lockfile
2019-11-25 21:48:12 +01:00
Nicolò Ribaudo
75767d87cb
v7.7.4
2019-11-23 00:05:58 +01:00
Nicolò Ribaudo
1b4cfc21d9
Add support for native esm to @babel/runtime ( #10748 )
...
* Add support for native esm to @babel/runtime
* Test
* Do not remove new package.json files
* Remove git diff
2019-11-22 23:59:30 +01:00
Huáng Jùnliàng
683adcbb70
Reduce standalone build size ( #10668 )
...
* infra: build standalone against src
* infra: add absoluteRuntime
# Conflicts:
# babel.config.js
* chore: remove `process.env` replace
* add $ to signify exact match
credits to Nicolò
2019-11-21 14:31:38 +01:00
Brian Ng
83fc3f2623
Update preset-env mappings ( #10742 )
2019-11-20 18:48:38 -05:00
George Zahariev
01d6d6dd3b
Flow enums: fix enum body location ( #10737 )
2019-11-19 22:46:08 -06:00
Huáng Jùnliàng
6ba113197f
fix: add missing available plugins to babel-preset-env-standalone ( #10732 )
...
* fix: add missing available plugins to babel-preset-env-standalone
* skip available-plugins test in CI coverage test
2019-11-18 14:29:18 -05:00
Brian Ng
a502d88043
Fix some incorrect typeof parsing in flow ( #10657 )
2019-11-18 19:22:27 +01:00
gr
10213655bc
[parser] Allow optional async methods ( #10582 )
...
* Add parsePostMemberNameModifiers to aync method
* Add test
2019-11-18 19:18:36 +01:00
Huáng Jùnliàng
cfd26fdbf2
register ImportEqualsSpecifier to scope ( #10710 )
...
Co-authored-by: <jaejoon.choi>
2019-11-18 13:04:34 -05:00
Brian Ng
c37361ba2e
Bump prettier@1.19.1 ( #10728 )
2019-11-16 16:05:40 +01:00
Kai Cataldo
a6d134804a
Unify build step for ESLint packages ( #10723 )
2019-11-16 10:15:15 +01:00
Arun Kumar Mohan
1b75fe3cba
chore: fix typo: prest -> preset ( #10726 ) [ci-skip]
2019-11-15 23:56:59 -05:00
Huáng Jùnliàng
3846d2a7fa
chore: fix typo ( #10725 )
2019-11-15 20:56:32 -06:00
Huáng Jùnliàng
6c7f8291d4
polish: skip creating extra reference for safely re-used node ( #10720 )
...
* polish: skip creating extra reference for safely re-used node
* reimplement using scope.maybeGenerateMemoised
2019-11-16 01:11:03 +01:00
Huáng Jùnliàng
e1839e5ec9
Circumvent typeof transform for umd build template ( #10701 )
...
* add test case
* fix: circumvent typeof transform
* chore: update test fixtures
2019-11-13 22:47:56 +01:00
ZYSzys
1d1101eb7c
Add missing flow type to babel-cli for consistency ( #10692 )
2019-11-13 17:39:19 +01:00
Huáng Jùnliàng
7633f09479
Babel should not silently remove unknown options after command… ( #10698 )
...
* chore: add test case
* chore: bump commander to 4.0.1
* fix: let commander.js throw on unknown options after args
2019-11-13 00:25:24 +01:00
Shriram Balaji
ecad667dda
Fix optional method chaining in derived classes ( #10694 )
2019-11-12 10:28:40 -06:00
4geru koichi uchinishi
d9fd07929a
chore: add missing new line to fixture ( #10697 )
2019-11-12 11:08:35 -05:00
Huáng Jùnliàng
d413a3078c
Add asserts this [is type] parsing support ( #10677 )
2019-11-11 16:36:10 -06:00
Sakibul Mowla
4cb5e0a013
Allow TypeScript type assertions in array destructuring ( #10592 )
...
* Add test
* Add fix
* Fix test, destructure with as assertion
* Add angle-bracket assertion case
* Use isBinding to make typeCastToParameter decision
2019-11-11 22:38:13 +01:00
Benjamin Blackwood
b2767c7d8a
Add funding field to package.json ( #10687 ) [ci-skip]
2019-11-11 08:08:18 -05:00
Mohammad Ahmadi
8e5f2dc929
corrected the grammar of an option description ( #10691 )
...
* grammar correction of an option description
(missed in #10589 )
* changed description to be consistent with others
Co-Authored-By: Huáng Jùnliàng <jlhwung@gmail.com>
* ran prettier
2019-11-11 12:39:36 +03:00
Kenza Houmani
2b082601a7
Fix parentheses on replaceWithMultiple for JSX ( #10598 )
...
* Closes #9851 Fix parentheses on replaceWithMultiple for JSX
* Rename test
* Use generate(ast) directly
2019-11-11 12:36:17 +03:00
chrishinrichs
70c0ed512a
Fix: Don't call Object.keys on non-objects (babel#10482) ( #10683 )
2019-11-08 21:31:46 -06:00
Nicolò Ribaudo
e315d65a7a
v7.7.3
2019-11-08 23:45:00 +03:00
Nicolò Ribaudo
0287c0f02f
Don't recover from "adjacent jsx elements" parser error ( #10682 )
2019-11-08 23:23:04 +03:00
Nicolò Ribaudo
35f4d12763
v7.7.2
2019-11-07 02:20:52 +03:00
Nicolò Ribaudo
9082e68d6f
Parse arrows with params annotations in conditional expressions ( #10669 )
2019-11-07 02:18:36 +03:00
Vojtech Miksu
bdb4318f47
chore: update convert-source-map dep ( #10667 )
2019-11-06 14:30:32 -06:00
Maksim Ryzhikov
3ab035bab6
fix: Use the recommended property to specify repository URL ( #10665 ) [ci-skip]
...
Use recommended by npm property to specify repository URL
https://docs.npmjs.com/files/package.json#repository
Otherwise, it breaks some tools which relay on this convention for example "nlf" package
https://github.com/iandotkelly/nlf/blob/master/lib/nlf.js#L284-L285
2019-11-06 07:34:09 -05:00
Leonid Shevtsov
2cd5ad0c80
fix typo: identifer -> identifier ( #10647 )
2019-11-06 09:13:08 +01:00
Huáng Jùnliàng
2640e5a27c
fix: remove accessibility of constructor ( #10658 )
2019-11-05 13:52:57 -06:00
Huáng Jùnliàng
0f949990c3
fix: add inList setter for compatibility with babel-minify ( #10656 )
2019-11-05 12:28:16 -05:00
njlr
f544753bb8
code style: consistent spacing ( #10643 ) [ci-skip]
...
Makes spacing consistent
2019-11-05 09:40:57 -05:00
Nicolò Ribaudo
42c8e0fb2f
v7.7.1
2019-11-05 14:44:00 +01:00
Nicolò Ribaudo
bf48fca6a0
Revert "throw a TypeError if identifier validation fails (#106… ( #10650 )
...
This reverts commit c7d8b8a37752f42163128cf4d5e8b54c2637cec4.
2019-11-05 14:43:23 +01:00
Archer
f8eb290da1
Fix(babel-preset-env): check api.caller is a function to avoid… ( #10649 )
2019-11-05 14:39:14 +01:00
Nicolò Ribaudo
97faa83953
v7.7.0
2019-11-05 11:27:14 +01:00