SZ-Coder
4ce1b70ade
Fix incorrect module path when absoluteRuntime is specified ( #11893 )
...
* - Added failing tests for issue #11885 .
* - Fix issue #11885 : absoluteRuntime does not work as expected with corejs3.
* - Removed helper code from test output files (tests for issue #11885 ).
* chore: add @babel/runtime-corejs3 to dev deps
* chore: update test fixtures
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-07-30 10:35:37 -04:00
Huáng Jùnliàng
f7964a9ac5
v7.10.5
2020-07-14 14:10:36 -04:00
Huáng Jùnliàng
5dd64ecc4a
Disallow duplicated AST nodes ( #11807 )
2020-07-14 08:32:16 -05:00
Huáng Jùnliàng
7fd40d86a0
v7.10.4
2020-06-30 09:04:22 -04:00
Huáng Jùnliàng
2787ee2f96
v7.10.3
2020-06-19 16:42:41 -04:00
Bogdan Savluk
4108524856
Update prettier to v2 ( #11579 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-06-07 22:21:33 +02:00
Nicolò Ribaudo
88f57a7ea6
v7.10.1
2020-05-27 21:56:37 +00:00
Saulo Santiago
242d9e0b20
Use repository.directory field in package.json files ( #11625 )
...
Co-authored-by: Nicolas Stepien <567105+nstepien@users.noreply.github.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-05-27 16:32:25 +02:00
Nicolò Ribaudo
5da2440adf
v7.10.0
2020-05-26 21:20:43 +00:00
Nicolò Ribaudo
31b361b736
Use ?. where it represents the intended semantics ( #11512 )
2020-05-09 23:31:50 +02:00
Huáng Jùnliàng
b8a6145e50
fix: skip transform delete something.includes ( #11530 )
2020-05-07 06:50:59 -04:00
Christoph Nakazawa
2bb2933dea
[helpers] Add a private function name within createSuper ( #11514 )
2020-05-04 23:30:53 +02:00
Nicolò Ribaudo
9c2846bcac
v7.9.6
2020-04-29 20:33:47 +02:00
Nicolò Ribaudo
d9eb94327a
Don't include "resolve" in @babel/standalone ( #11432 )
...
* Don't include "resolve" in @babel/standalone
* Also alias src
2020-04-16 20:19:22 +02:00
Justin Ridgewell
070ec201bb
Speed up the createSuper helper ( #11401 )
2020-04-10 16:00:20 +02:00
johannes
fbcb251d61
fix: replace backslashes with forward slashes from resolved pa… ( #11366 )
...
* fix: replace backslashes with forward slashes from resolved path for windows environments
* add test for resolveAbsoluteRuntime under windows
2020-04-08 15:36:55 +02:00
Nicolò Ribaudo
67609a1232
Don't call createSuper in loose mode (it was unused) ( #11358 )
...
* Don't call `createSuper` in loose mode (it was unused)
* Update fixtures
2020-04-01 23:08:21 +02:00
Nicolò Ribaudo
8d5e422be2
v7.9.0
2020-03-20 16:32:55 +01:00
Huáng Jùnliàng
4bf36e64da
Create File class for babel helpers ( #10575 )
...
* add test
* fix: pass File to helper traverser
* pass babel.File to helpers.ensure
2020-03-17 09:58:46 +01:00
Nicolò Ribaudo
59976680df
Extract for-of iterator handling to a helper ( #11262 )
...
* Extract for-of iterator handling to a helper
Dis greatly recudes the code size when for-of is used multiple times across the
codebase. Also, makes it easier to read what's happening in a compiled loop.
* Unify spec and loose code
* Legacy implementation fallback
* Update tmp var name
* Updates from review and after rebase
2020-03-17 00:45:34 +01:00
Nicolò Ribaudo
f6c7bf36ce
Allow extending untranspiled classes ( #8656 )
2020-03-16 23:59:15 +01:00
Nicolò Ribaudo
d21e2217d5
Skip newlines around inline #__PURE__ annotations ( #11133 )
...
* Skip newlines around #__PURE__ annotations
* Update tests
2020-02-13 19:16:33 +01:00
Nicolò Ribaudo
a7620bd266
v7.8.3
2020-01-13 22:36:19 +01:00
Nicolò Ribaudo
8fce431d88
Revert "chore: specify package type ( #10849 )" ( #11003 )
...
This reverts commit e8dac621de9dba27b47646169562c0a0c2e02c96.
Fixes installs when using npm <= 3.9.5 (Node.js <= 6.2.2)
2020-01-13 21:18:42 +01:00
Nicolò Ribaudo
2486615a74
v7.8.0
2020-01-12 01:09:29 +01:00
Huáng Jùnliàng
e8dac621de
chore: specify package type ( #10849 )
2020-01-09 21:40:15 -05:00
Nicolò Ribaudo
4636321f06
Make @babel/transform-runtime's absoluteRuntime/relative test meaningful ( #10963 )
2020-01-05 17:28:44 +01:00
Nicolò Ribaudo
f753c48f74
v7.7.6
2019-12-08 00:25:57 +01:00
Huáng Jùnliàng
4436ffd604
Revert "Add ".js" extension to injected polyfill imports ( #10549 )" ( #10835 )
...
This reverts commit d3a37b5d08074c007268eb15a11ae432165bad5d.
2019-12-07 23:05:35 +01:00
Nicolò Ribaudo
d04508e510
v7.7.5
2019-12-06 14:12:41 +01:00
shimataro
d3a37b5d08
Add ".js" extension to injected polyfill imports ( #10549 )
...
* Node modules compatibility: add ".js" extension to imported polyfills
* Update fixtures
* add extensions on calling `addDefaultImport()`, not in the function.
2019-12-06 13:30:23 +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
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
b459f6a0a4
Add windows to travis ( #10249 )
...
* Add windows to travis
* Update
* Do not use sh file on windows
* Fix whitespace
* Unify command
* ./ doesn't work on windows
* Remove all ./ usages
* Run windows test before others
* fix: normalize filename when generating sources
sources should be URL.
* fix: replace normalized path to cwd
* chore: add nodePlatform task options
* fix: normalize preset-env filename output
* chore: replace normalized path to CWD on win32 platform
* limit transform-react-source to run on linux and darwin
* test: escapeRegExp on testcases
* test: add test for babel --filename on windows
* test: double babel-node/cli test timeout
* chore: workaround windows build does not stop
* chore: remove redundant condition
* refactor: rename `nodePlatform` to `os`
2019-09-26 20:59:17 +02:00
Nicolò Ribaudo
b9cb4af953
v7.6.2
2019-09-23 23:14:37 +02:00
Nicolò Ribaudo
6a5cee8f27
Remove circular dependency ( #10405 )
...
* Remove circular dependency
* Move @babel/runtime test to @babel/runtime
2019-09-08 22:53:42 +02:00
Nicolò Ribaudo
cbd5a26e57
v7.6.0
2019-09-06 19:25:16 +02:00
Bin Xin
8769903284
Add supports for polyfill computed methods ( #10398 )
2019-09-06 01:35:03 +02:00
Bin Xin
29734b924a
Don't allow instance properties transformation on namespace ( #10372 )
2019-09-05 10:32:57 -05:00
Daniel Tschinder
4f0840ab88
Update dev dependencies and fix linting errors ( #10228 )
...
* chore: Uppate dev dependencies
* chore: Fix lint errors
* chore: Format options.json files
* chore: Fix stupid flow errors
* Update test262 whitelist
Seems test262-stream was updated and now these tests work.
2019-07-27 15:09:30 +02:00
Nicolò Ribaudo
0407f034f0
v7.5.5
2019-07-17 23:08:08 +02:00
Sagiv ben giat
a9660cf559
resolve #10205 ( #10207 )
2019-07-12 11:00:25 -05:00
Nicolò Ribaudo
49da9a07c8
v7.5.0
2019-07-04 14:52:17 +02:00
Min ho Kim
0bf0ae3410
Fix typos ( #10153 )
2019-07-03 15:51:48 +02:00
Nicolò Ribaudo
2c88694388
v7.4.4
2019-04-26 23:00:07 +02:00
Nicolò Ribaudo
508fde4009
v7.4.3
2019-04-02 21:36:09 +02:00
Nicolò Ribaudo
e03eb17c08
[runtime-corejs3] Only polyfill instance methods when it might be needed ( #9754 )
2019-04-02 21:18:59 +02:00
Denis Pushkarev
ae9b25ac69
Add to preset-env ES3 transforms for ES3 targets ( #9781 )
...
* add to preset-env ES3 transforms for ES3 targets
* add `transform-reserved-words`
* fix `transform-reserved-words` plugin in `@babel/standalone`
2019-03-30 23:25:12 +01:00
Nicolò Ribaudo
f1328fb913
v7.4.0
2019-03-19 21:27:16 +01:00