chore(deps): update dependency babel-preset-stage-2 to v6.24.1#2770
Merged
Conversation
|
🎉 This PR is included in version @techstack/react-textfit-v2.0.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.11.0→6.24.1Release Notes
babel/babel (babel-preset-stage-2)
v6.24.1Compare Source
v6.24.1 (2017-04-07)
🐛 Bug Fix
babel-plugin-transform-regeneratorFixes an issue when using async arrow functions with rest parameters (crazy!)
babel-plugin-transform-es2015-function-name,babel-types📝 Documentation
babel-generator🏠 Internal
babel-generatorbabel-helper-builder-react-jsxCommitters: 5
v6.22.0Compare Source
6.22.0 (2017-01-19)
A quick update since it's been over a month already: adds support for shorthand import syntax in Flow + some fixes!
We'll be merging in our current 7.0 PRs on a 7.0 branch soon and I'l be making some more issues (most should be beginner-friendly).
To follow our progress check out our 7.0 milestone, the wiki and upcoming announcements on twitter!
We support stripping out and generating the new shorthand import syntax in Flow (parser support was added in babylon@6.15.0.
🚀 New Feature
babel-generator,babel-typesbabel-plugin-transform-flow-strip-types,babel-traversebabel-core🐛 Bug Fix
babel-plugin-transform-object-rest-spreadOld Behavior
New/Expected Behavior
babel-clibabel-plugin-transform-object-rest-spreadAccounts for default values in object rest params
babel-plugin-transform-es2015-destructuringbabel-plugin-transform-es2015-function-nameInput
Output
babel-typesbabel-cli💅 Polish
babel-traversebabel-generator,babel-plugin-transform-exponentiation-operator📝 Documentation
babel-corebabel-plugin-syntax-class-constructor-callbabel-plugin-transform-es2015-duplicate-keys,babel-plugin-transform-es2015-parametersbabel-plugin-transform-es2015-computed-properties,babel-plugin-transform-es2015-for-ofbabel-plugin-transform-class-propertiesbabel-plugin-transform-es2015-classes,babel-plugin-transform-function-bindbabel-helpersbabel-preset-reactbabel-plugin-check-es2015-constants,babel-plugin-transform-es2015-modules-umd,babel-plugin-transform-es2015-typeof-symbol,babel-registerbabel-core🏠 Internal
babel-*babel-helper-transform-fixture-test-runnerbabel-cli,babel-core,babel-generator,babel-helper-define-map,babel-register,babel-runtime,babel-typesbabel-cli,babel-generator,babel-helper-fixtures,babel-helper-transform-fixture-test-runner,babel-preset-es2015,babel-runtime,babel-traversebabel-code-framebabel-plugin-transform-react-jsxbabel-plugin-transform-decoratorsbabel-plugin-transform-es2015-computed-propertiesbabel-cliCommitters: 23, First PRs: 10
v6.18.0Compare Source
v6.18.0 (2016-10-24)
🚀 New Feature
babel-generator,babel-plugin-transform-flow-strip-typesCheck out the blog post and flow docs for more info:
babel-core,babel-traversebabel-plugin-syntax-dynamic-import,babel-preset-stage-2Parser support was added in https://github.com/babel/babylon/releases/tag/v6.12.0.
Just the plugin to enable it in babel.
or use the new
parserOptsbabel-helper-builder-react-jsx,babel-plugin-transform-react-jsxuseBuiltInsoption to helper-builder-react-jsx. (@existentialism)Previously we added a
useBuiltInsfor object-rest-spread so that it use the native/built in version if you use a polyfill or have it supported natively.This change just uses the same option from the plugin to be applied with spread inside of jsx.
babel-generator,babel-traverse,babel-typesEmptyTypeAnnotation. (@samwgoldman)EmptyTypeAnnotationAdded in flow here and in babylon here.
babel-traverseTrack
LabeledStatementseparately (not part of bindings).🐛 Bug Fix
babel-plugin-transform-react-inline-elements,babel-traverseJSXIdentifierinJSXMemberExpressionas HTML tag. Closes #4027. (@DrewML)babel-plugin-transform-es2015-modules-commonjs,babel-plugin-transform-react-inline-elementsbabel-plugin-transform-es2015-for-ofbabel-coreshadow-functions. (@motiz88)babel-helper-remap-async-to-generator,babel-plugin-transform-async-generator-functionsbabel-plugin-check-es2015-constants,babel-plugin-transform-es2015-destructuring,babel-plugin-transform-es2015-modules-commonjs,babel-plugin-transform-es2015-parametersbabel-plugin-transform-es2015-parametersbabel-plugin-transform-es2015-block-scopingbabel-helper-explode-assignable-expression,babel-plugin-transform-exponentiation-operatorbabel-plugin-transform-es2015-shorthand-properties,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-typesbabel-helper-define-map,babel-plugin-transform-es2015-classes,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-types💅 Polish
babel-plugin-check-es2015-constants,babel-plugin-transform-es2015-destructuring,babel-plugin-transform-es2015-modules-commonjs,babel-plugin-transform-es2015-parametersbabel-plugin-transform-es2015-parametersbabel-corebabel-generatorbooleaninstead ofboolfor theBooleanTypeAnnotationAST node. (@existentialism)Documentation
So that our MIT License shows up.
🏠 Internal
babel-cliIt's a one-time use tool (helpful after the initial release when upgrading from v5 to v6) that doesn't need to be a part of
babel-cli. We'll publish it as a standalone package it someone asks for it.babel-traverse,babel-typesbabel-cli,babel-core,babel-helper-fixtures,babel-registerpath-existswithfs.existsSync. (@SimenB)babel-helper-transform-fixture-test-runnerbabel-cli,babel-code-frame,babel-core,babel-generator,babel-helper-transform-fixture-test-runner,babel-preset-es2015,babel-template,babel-traversebabel-cli,babel-code-frame,babel-core,babel-generator,babel-plugin-transform-es2015-modules-commonjs,babel-preset-es2015,babel-template,babel-traversebabel-cli,babel-corebabel-cli,babel-core,babel-plugin-transform-es2015-modules-systemjs,babel-preset-es2015babel-registerbabel-clibabel-corebabel-generatorbabel-traverseCommiters: 17
v6.17.0Compare Source
v6.17.0 (2016-10-01)
👓 Spec Compliancy
babel-preset-stage-2,babel-preset-stage-3Specification repo: https://github.com/tc39/proposal-async-iteration
Asynchronous Iteration was already added in 6.16.0 under stage-2 but it was moved to stage-3 at the latest TC-39 meeting.
To use it as a standalone plugin:
With the stage-3 preset (or below):
Similarly, object-rest-spread is now also at stage-3.
To use it as a standalone plugin:
With the stage-3 preset (or below):
🚀 New Feature
babel-generatorReferences:
Adds a
retainFunctionParenstobabel-generator. This option will retain the parentheses around an IIFE.🐛 Bug Fix
babel-corebabel-generatorbabel-plugin-transform-es2015-parametersbabel-plugin-transform-flow-commentsFirst PR!
v6.16.0Compare Source
v6.16.0 (2016-09-28)
Babel 6.16: Happy 2nd Birthday 🎂 !
👓 Spec Compliancy
babel-core,babel-generator,babel-helper-remap-async-to-generator,babel-helpers,babel-plugin-transform-async-generator-functions,babel-types,babel-preset-stage-2, ...This change implements the async iteration proposal, currently at stage 2 (and pushing to stage 3 at the current TC-39 meeting). It includes the following features:
async function* g() { }) to wrapped generator functions, similar to the current async-to-generator transform.for-awaitstatements into for loops containing yield expressions.Example Usage
babel-core,babel-generator,babel-plugin-transform-class-properties,babel-template,babel-traverse,babel-typesParser support was added in babylon@6.11.0 with babel/babylon#121
babel-generatorParser support was added in babylon@6.10.0 with babel/babylon#104
🚀 New Feature
babel-core,babel-generatorBabel will now also take the options:
parserOptsandgeneratorOpts(as objects).parserOptswill pass all properties down to the defaultbabylonparser. You can also pass aparseroption to substitute for a different parser.This will allow passing down any of
babylon'soptions:Another use case (the main reason for doing this), is to be able to use recast with Babel.
{ "parserOpts": { "parser": "recast" }, "generatorOpts": { "generator": "recast" } }babel-corebabel-plugin-transform-object-rest-spreaduseBuiltIns- Do not use Babel's helper's and just transform to use the built-in method (Disabled by default).babel-code-framebabel-code-frameis a standalone package that we use in Babel when reporting errors.Now there is an option to specify the number of lines above and below the error
babel-core,babel-preset-es2015,babel-preset-es2016,babel-preset-es2017,babel-preset-latest,babel-preset-react,babel-preset-stage-0,babel-preset-stage-1,babel-preset-stage-2,babel-preset-stage-3We previously made presets with commonjs exports
Now you can use export default as well
🐛 Bug Fix
babel-helpers,babel-plugin-transform-es2015-typeof-symboltypeof Symbol.prototype. (@brainlock)babel-cliFix an issue with defaults not being overidden. This was causing options like
comments: falsenot to work correctly.babel-plugin-transform-es2015-function-name,babel-traversebabel-plugin-transform-es2015-modules-commonjsbabel-plugin-transform-flow-strip-types,babel-typesbabel-generator,babel-plugin-transform-flow-commentsbabel-registerbabel-corebabel-traversebabel-plugin-transform-es2015-destructuringWe noticed that we can not make this optimizations if there are function calls or member expressions on the right hand side of the assignment since the function call or the member expression (which might be a getter with side-effect) could potentially change the variables we are assigning to.
babel-types💅 Polish
babel-code-frameBefore
After
🏠 Internal
Cleanup tests, remove various unused dependencies, do not run CI with only readme changes.
babel-plugin-transform-es2015-modules-amd,babel-plugin-transform-es2015-modules-commonjs,babel-plugin-transform-es2015-modules-umdbabel-generator,babel-plugin-transform-es2015-modules-amd,babel-plugin-transform-es2015-modules-commonjs,babel-plugin-transform-es2015-modules-systemjs,babel-plugin-transform-es2015-modules-umd,babel-plugin-transform-flow-strip-typesbabel-plugin-transform-es2015-function-namebabel-plugin-transform-es2015-parameters,babel-traversebabel-polyfillbabel-preset-es2015babel-plugin-transform-regeneratorbabel-code-framebabel-helper-transform-fixture-test-runnerCommiters: 20
First PRs!
v6.13.0Compare Source
v6.13.0 (2016-08-04)
Some small but very important additions in this release:
Preset options (babel/notes)
Initially, presets were supposed to be one-off sets of plugins that didn't have any configuration. If you wanted to do something different you would make your own presets. There are > 600 presets on npm now. We want to give users more flexibility in certain cases: like when you want to pass the same option to multiple presets or to remove a default plugin.
looseandmodulesoptions forbabel-preset-es2015(#3331, #3627)This has been rather annoying. Having to install
babel-preset-es2015-loose-native-modulesseems rather crazy when it could be an option.With #3627, you can pass 2 options in:
loose- Enable "loose" transformations for any plugins in this preset that allow them (Disabled by default).modules- Enable transformation of ES6 module syntax to another module type (Enabled by default to"commonjs").Can be
falseto not transform modules, or one of["amd", "umd", "systemjs", "commonjs"]Updates to
babel-preset-stage-2Coming Up
babel-preset-es2017,babel-preset-latest(still deciding the name), supporting codemods, and more!New Feature
babel-core,babel-preset-es2015babel-preset-stage-1,babel-preset-stage-2Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.