Henry Zhu
ead23d7112
v7.1.1
2018-09-28 16:02:43 -04:00
Sampo Kivistö
090c364a90
Improved build performance by optimizing makeMappingKey method. ( #8744 )
2018-09-26 13:16:40 -07:00
Henry Zhu
fad74959f8
v7.1.0
2018-09-17 15:29:37 -04:00
Logan Smyth
aa33303112
Fix logic/Flow error with versionRange. ( #8714 )
2018-09-15 15:37:03 -07:00
Logan Smyth
bd0c62dc0c
Allow users to choose how the configuration root is selected. ( #8660 )
2018-09-15 13:03:46 -07:00
Logan Smyth
13798feefb
Fix prerelease checks in .availableHelper and transform-runtime definitions. ( #8659 )
2018-09-10 18:25:21 -07:00
Logan Smyth
79b2af5997
Format fixture JSON with Prettier. ( #8658 )
2018-09-09 17:57:52 -07:00
Logan Smyth
dd985c3be3
Verify 'sourceMap' with hasOwnProperty since it can be falsy.
2018-09-03 12:22:22 -07:00
Logan Smyth
2921f6cdb1
Pass missing caller metadata for .babelrc files. ( #8601 )
2018-09-01 15:46:38 -07:00
Henry Zhu
04d09cc754
add access public to all packages [skip ci] ( #8573 )
...
If people copy paste to make an new package they might miss this and we will get a publish error later so figured we should add it to all.
2018-08-29 09:54:53 -04:00
Henry Zhu
90fb82a535
v7.0.0
2018-08-27 17:41:21 -04:00
Henry Zhu
814c564c45
v7.0.0-rc.4
2018-08-27 12:42:00 -04:00
Logan Smyth
e0ee0570be
Default highlightCode:true for the parser highlighting. ( #8546 )
2018-08-26 13:23:43 -07:00
tsangint
e875fc7bc1
Update url in buildUnknownError tips ( #8544 )
2018-08-26 15:00:32 +02:00
Henry Zhu
cada040bec
v7.0.0-rc.3
2018-08-24 14:06:00 -04:00
Henry Zhu
f1d774b34f
v7.0.0-rc.2
2018-08-21 15:22:07 -04:00
Nicolò Ribaudo
f8b0a5579f
Remove File#resolveModuleSource ( #8470 )
2018-08-20 12:14:55 -07:00
Logan Smyth
2a4f162366
Merge pull request #8485 from loganfsmyth/caller-option
...
Allow preset-env to toggle module handling based on flags from the caller (like babel-loader)
2018-08-20 10:44:11 -07:00
Yongxu Ren
0fd3da110d
Rewrite Hub as interface #5047
2018-08-20 19:30:29 +02:00
Logan Smyth
8d6ed7e0aa
Expose an api.caller(...) handler for presets to access caller metadata.
2018-08-20 10:27:54 -07:00
Logan Smyth
8f4bae8ea4
Expose optional caller metadata to Babel ignore/only/test/include/exclude functions.
2018-08-20 10:27:54 -07:00
Logan Smyth
2c3c12fdf7
Enforce a limited set of cache key values for plugins/presets for future caching.
2018-08-20 10:12:19 -07:00
Logan Smyth
25d2f59018
Ensure that presets properly flatten their options.
2018-08-20 10:12:19 -07:00
Logan Smyth
3a399d1eb9
Cache individual programmatic descriptors along with the overall list. ( #8494 )
2018-08-20 10:08:21 -07:00
Logan Smyth
c2a2e24965
Take top-level config source into consideration when processing nested env/overrides. ( #8493 )
2018-08-19 21:46:09 -07:00
Logan Smyth
ef68114d67
Fix typo in sourcemap filtering.
2018-08-19 16:37:29 -07:00
Logan Smyth
ca639b4262
Preserve 'false'-options for disabled plugins/presets so that callers can use that to toggle behavior. ( #8474 )
2018-08-19 16:22:27 -07:00
Logan Smyth
ffa8e6cbae
Allow babel-plugin/preset to be in package names outside the prefix, when used in a scope. ( #8473 )
2018-08-16 15:13:52 -07:00
Nicolò Ribaudo
d79b5eeeff
Require decoratorsBeforeExport option for decorators ( #8465 )
...
* Require decoratorsBeforeExport option for syntax-decorators
* Also babylon
* Enable test
2018-08-15 09:04:52 +02:00
Henry Zhu
0a958861c9
v7.0.0-rc.1
2018-08-09 16:06:08 -04:00
Henry Zhu
8b1406127a
v7.0.0-rc.0
2018-08-09 11:56:00 -04:00
Henry Zhu
6695f5e2f7
v7.0.0-beta.56
2018-08-03 21:02:42 -04:00
Logan Smyth
9392783738
Remove helpersNamespace in favor of helperGenerator.
2018-08-02 18:44:56 -07:00
Logan Smyth
810b7916c2
Expose an API to check if a helper is available in a given version range.
2018-08-02 18:44:56 -07:00
Henry Zhu
adca165ee9
v7.0.0-beta.55
2018-07-28 18:06:42 -04:00
Henry Zhu
fa86b2ddf0
Remove our own use of stage presets ( #8397 )
...
- also update the stage preset error message/readme's to point to the new blog post
2018-07-28 11:24:53 -04:00
Logan Smyth
5eb193c61f
Ensure that Identifier source mappings explicitly start and stop on the generated range ( #8380 )
...
* Add sourcemap examples for identifiers in code generator.
* Generate sourcemaps with exact mappings for identifiers, even if leading/trailing tokens also use that location.
2018-07-27 16:27:33 -04:00
Qix
db2a9fc96e
Fix order of optional argument reordering ( #8376 )
...
Previously, if the optional `opts` parameter wasn't passed, the _intent_ was to move the function it held into the `callback` parameter and null out the `opts` param - but instead, it was nulling both.
2018-07-26 11:25:35 -04:00
wtgtybhertgeghgtwtg
4346a95b88
Perform check on each member of babelrcroots.
2018-07-24 16:57:24 -07:00
Maximilian Berkmann
26cbbb569f
Bumped lodash to 4.17.10 ( #8377 )
2018-07-24 12:57:43 -04:00
Henry Zhu
c70a32ab9d
Throw when using Stage presets ( #8293 )
...
* inline stage presets into standalone, throw error with using Stage presets
2018-07-23 22:22:52 -04:00
Thiago Arrais
6f3a800677
Do not mutate ast ( #8342 )
...
This clones the given ast prior to working on it to avoid mutating the AST given to `transformFromAST`.
2018-07-23 22:20:55 -04:00
Henry Zhu
84282f199b
v7.0.0-beta.54
2018-07-16 13:59:43 -04:00
Logan Smyth
6d177ba4c5
Remove micromatch and use a simple pattern matching utility.
2018-07-16 09:57:14 -07:00
Logan Smyth
fd9ebf9e1d
Remove option-filtering options from the final options results. ( #8315 )
...
| Q | A <!--(Can use an emoji 👍 ) -->
| ------------------------ | ---
| Fixed Issues? | Fixes https://github.com/babel/babel-loader/issues/642
| Patch: Bug Fix? | Y
| Major: Breaking Change? | N
| Minor: New Feature? |
| Tests Added + Pass? | Yes
| Documentation PR Link | <!-- If only readme change, add `[skip ci]` to your commits -->
| Any Dependency Changes? |
| License | MIT
Since these were getting left in, things that loaded the config, and then passed in back to Babel would get `test` and such _twice_, which could lead to either bad configuration merging, or no configuration at all if the patterns were relative to different directories, as was the case in https://github.com/babel/babel-loader/issues/642 .
2018-07-13 07:01:11 -07:00
Henry Zhu
b89234b1a2
v7.0.0-beta.53
2018-07-11 09:39:52 -04:00
Henry Zhu
10910a10f5
Remove yearly presets from repo, inline in standalone ( #8274 )
...
These were already deprecated in v6, just didn't remove the folders?
2018-07-09 14:23:25 -04:00
Henry Zhu
cea562c009
Revert micromatch upgrade (regression) [skip ci] ( #8281 )
...
Original PR: https://github.com/babel/babel/pull/8038
Ref Issue: https://github.com/babel/babel/issues/8184
Windows paths are broken so wanted to get a fix out since I don't see us fixing it correctly soon enough? I think that's more important than fixing the security warnings that don't apply to us until we can actually handle the change, otherwise need a version of the code that doesn't use the old dep but doesn't change the windows behavior or just remove the matching which will take some time.
2018-07-06 14:28:02 -04:00
Henry Zhu
663c96db04
v7.0.0-beta.52
2018-07-05 20:59:03 -04:00
Justin Ridgewell
e229ebbb8a
Optimize async to generator ( #8267 )
...
* Optimize async to generator
We can reuse the step function, avoiding a closure on every invocation.
* Rename step
2018-07-05 10:51:16 -04:00