Update dependency babel-preset-env to v1.7.0 #11
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:
1.1.8
->1.7.0
Release Notes
babel/babel-preset-env (babel-preset-env)
v1.7.0
Compare Source
v1.6.1
Compare Source
🐛 Bug Fix
ES2015 destructuring is not fully supported in Edge 15 and the polyfill required again.
es6.math.imul
is supported on Android as of version 4.4Functions such as
Object.keys
,Object.freeze
, ... do already exist in ES5, but their behaviour changed in ES2015.babel-preset-env
withbuiltIns: true
now adds the core-js polyfills for this methods if the browser only supports the ES5 variant of the method (like IE11 for example)v1.6.0
Compare Source
🚀 New Feature
We updated our mappings to support native trailing function commas and string paddings in Node.js 8+.
🐛 Bug Fix
chromeandroid
browserslist value (#367) (@yavorsky)We added support for using browserslist's
chromeandroid
intargets
.📝 Documentation
Thanks to @graingert and @pfiaux for pointing out some needed updates to the
uglify-js
-related docs.v1.5.2
Compare Source
🐛 Bug Fix
browser
targets should be overridden by explicit targets, and we inadvertently broke this when we landed string version support.v1.5.1
Compare Source
🐛 Bug Fix
v1.5.0
Compare Source
🚀 New Feature
We were originally waiting on 2.x for a breaking change, but since node v7.10
and other targets are causing some pain, we decided to land a backwards
compatible version.
🏠 Internal
v1.4.0
Compare Source
🚀 New Feature
spec
option (#98) (@Kovensky)Added an option to enable more spec compliant, but potentially slower, transformations for any plugins in this preset that support them.
We updated our mappings so that you can get native support for async/await and other goodies when targeting Edge 15!
🐛 Bug Fix
Fixed a bug that was ignoring Android targets in browserslist queries (for example: "Android >= 4").
📝 Documentation
🏠 Internal
v1.3.3
Compare Source
🐛 Bug Fix
Adding electron as a target was an inadvertent breaking change as it no longer
allowed string versions. We added an exception for now, even though it is
inconsistent with other versions. Just as a note, the upcoming version 2.x will
allow both number and string versions.
We now force the
const-es2015-check
plugin to run first (so that it cancorrectly report issues before they get transpiled away).
🚀 New Feature
babel-plugin-
prefix for include and exclude (#242) (@yavorsky)The
include
andexclude
options now allow both prefixed (babel-plugin-transform-es2015-spread
)and prefix-less (
transform-es2015-spread
) plugin names.📝 Documentation
🏠 Internal
v1.3.2
Compare Source
v1.3.1
Compare Source
.npmignore
.v1.3.0
Compare Source
🐛 Bug Fix
We now properly check for
Symbol.species
support in ArrayBuffer and include thepolyfill if necessary. This should, as a side effect, fix ArrayBuffer-related
errors on IE9.
💅 Polish
We've simplified things by adding
electron
as a target instead of doing a bunch ofthings at runtime. Electron targets should now also be displayed in the debug output.
If you are targeting the
node
environment exclusively, the always-included web polyfills(like
dom.iterable
, and a few others) will now no longer be included.📝 Documentation
🏠 Internal
v1.2.2
Compare Source
🐛 Bug Fix
When parsing plugin data, we weren't properly handling browser families. This caused
transform-es2015-block-scoping
and other plugins to be incorrectly added for Edge >= 12.(s/o to @mgol for the the report and review!)
Fixes an issue where some TypedArray features were not being polyfilled properly. (s/o to @alippai for the report!)
📝 Documentation
🏠 Internal
v1.2.1
Compare Source
🐛 Bug Fix
Our plugin data was missing a mapping for the
transform-duplicate-keys
plugin which caused it to never be included. (s/o to @Timer for the report!)📝 Documentation
v1.2.0
Compare Source
🚀 New Feature
Support for
uglify
as a target is now available! This will enable all plugins and, as a result, fully compiles your code to ES5. Note, that useBuiltIns will work as before, and only the polyfills that your other target(s) need will be included.🐛 Bug Fix
Fixes a number of bugs that caused some incorrect and/or missing environment data when parsing
compat-table
.v1.1.11
Compare Source
This release primarily upgrades
compat-table
, which adds support for async on Node 7.6!🐛 Bug Fix
📝 Documentation
🏠 Internal
v1.1.10
Compare Source
🐛 Bug Fix
v1.1.9
Compare Source
🐛 Bug Fix
Since we've (mostly @yavorsky) have fixed a number of bugs recently with the
debug
option output, we added the ability to assert stdout matches what we expect. Read the updated CONTRIBUTING.md for more info.This fixes a bug in the
debug
output where incorrect target(s) were being displayed for why a particular plugin/preset was being included.Given targets:
Before:
After:
📝 Documentation
debug: true
(#138) (@yavorsky)debug: true
example. (#138) (@yavorsky)🏠 Internal
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.