microlock
microlock copied to clipboard
Update babel monorepo
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
babel-cli (source) | ^6.7.7 -> 6.26.0 |
||||
babel-polyfill (source) | ^6.7.4 -> 6.26.0 |
||||
babel-preset-es2015 (source) | ^6.6.0 -> 6.24.1 |
||||
babel-register | ^6.7.2 -> 6.26.0 |
||||
babel-runtime | ^6.6.1 -> 6.26.0 |
Release Notes
babel/babel
v6.26.0
6.26.0 (2017-08-16)
Backports for some folks (also others when we accidentally merged PRs from both 6.x/master) Lesson learned: just use
master
and backport on another branch. 7.x beta is next: https://github.com/babel/babel/milestone/9, not planning on further 6.x releases (we say this every time)
:eyeglasses: Spec Compliancy
-
babel-core
,babel-generator
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-traverse
,babel-types
- #6081 Flow opaque type 6.x backport. (@jbrown215)
:rocket: New Feature
-
babel-cli
- #5796 Allow --inspect-brk option to be used with babel-node [6.x backport]. (@noinkling)
:bug: Bug Fix
-
babel-plugin-transform-es2015-modules-commonjs
- #5811 Fix 5768. (@joshwnj)
- #5469 Fix commonjs exports with destructuring.. (@yavorsky)
-
babel-types
- #5693 Hoist toSequenceExpression's convert helper. (@jridgewell)
:memo: Documentation
-
babel-plugin-transform-class-properties
- #6005 FIX access to the prototype of an instance. (@shuaibird)
-
babel-plugin-transform-runtime
- #5857 Fix typos in README.md. (@danny-andrews)
-
babel-plugin-transform-regenerator
- Other
- #5788 Add a section on troubleshooting [skip ci]. (@peey)
- #5755 Fix broken tables in README.md. (@u9lyfish)
-
babel-generator
,babel-plugin-transform-es2015-arrow-functions
,babel-plugin-transform-es2015-modules-commonjs
,babel-plugin-transform-es2015-spread
,babel-plugin-transform-runtime
,babel-register
:house: Internal
-
babel-traverse
- Other
- #5938 Remove codecov node package and use bash uploader. (@existentialism)
Committers: 19
- Artem Yavorsky (yavorsky)
- Brian Ng (existentialism)
- Danny Andrews (danny-andrews)
- Henry Zhu (hzoo)
- Jeffrey Wear (wearhere)
- Jordan Brown (jbrown215)
- Josh Johnston (joshwnj)
- Justin Ridgewell (jridgewell)
- Konstantin Pschera (k15a)
- Malcolm (noinkling)
- Marcus Cavanaugh (mcav)
- Peeyush Kushwaha (peey)
- Philipp Friedenberger (MrSpider)
- Samuel Reed (STRML)
- Shuaibird Hwang (shuaibird)
- Suman (ssuman)
- Sven SAULEAU (xtuc)
- jonathan schatz (modosc)
- [email protected] (u9lyfish)
v6.24.1
v6.24.1 (2017-04-07)
:bug: Bug Fix
Fixes an issue when using async arrow functions with rest parameters (crazy!)
function test(fn) {
return async (...args) => {
return fn(...args);
};
}
-
babel-plugin-transform-es2015-function-name
,babel-types
- #4954 Treat "await" as an invalid identifier. (@Kovensky)
var obj = { await: function () {} }; // input
var obj = { await: function _await() {} }; // output
:memo: Documentation
:house: Internal
-
babel-generator
- #5575 Fix a typo: occurences -> occurrences. (@felixonmars)
-
babel-helper-builder-react-jsx
- #5486 Removes unused lodash dependency from babel-helper-builder-react-jsx. (@segphault)
Committers: 5
- Diogo Franco (Kovensky)
- Felix Yan (felixonmars)
- Ryan Paul (segphault)
- Sasha Aickin (aickin)
- Sven SAULEAU (xtuc)
v6.24.0
6.24.0 (2017-03-13)
A quick release for 2 features:
- Thanks to @rwjblue, there is now a
noInterop
option for oures2015-modules
transform to remove theinteropRequireDefault
andinteropRequireWildcard
helpers.
Input
import foo from "foo";
foo;
Regular Output
var _foo = require("foo");
var _foo2 = _interopRequireDefault(_foo);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
_foo2.default;
Output with option noInterop
"use strict";
var _foo = require("foo");
(0, _foo.default)();
This also helps ember-cli migrate to Babel 6.
-
@izaakschroeder has added
dirname
to the preset constructor which presets can use to resolve things relative to files.
Example usage of fileContext.dirname
in a preset
module.exports = function preset (context, options, fileContext) {
if (/resolve-addons-relative-to-file$/.test(fileContext.dirname)) {
return {
plugins: ['plugin-here'],
};
}
return {};
};
This will help out with reusing a
browserslist
file for babel-preset-env and for plugins like https://github.com/tleunen/babel-plugin-module-resolver.
:rocket: New Feature
-
babel-plugin-transform-es2015-modules-amd
,babel-plugin-transform-es2015-modules-commonjs
-
babel-core
-
#4834 Pass
dirname
as extra metadata to preset constructor. (@izaakschroeder)
-
#4834 Pass
:bug: Bug Fix
-
babel-generator
- #5453 Keep parentheses for logical expression when in await expression. (@aaronang)
- #5339 Wrap some generated do expressions in parens. (@zjmiller)
-
babel-generator
,babel-plugin-transform-object-rest-spread
:memo: Documentation
- #5449 Fixed broken links in README.md [skip-ci]. (@sethbergman)
- #5409 Fix transform-object-rest-spread README. (@existentialism)
- #5379 Lint code snippets in READMEs. (@xtuc)
- #5334 Shorthand properties examples. (@bhoule)
- #5329 Update CONTRIBUTING.md with respect to coverage check [skip ci]. (@zjmiller)
:house: Internal
- Other
- #5338 Improve babel-generator's code coverage. (@alxpy)
- #5336 Enable codecov partial coverage. (@danez)
- #5350 Remove redundant NODE_ENV=test in Makefile. (@aaronang)
- #5312 [skip ci] Add devEngines to package.json. (@yavorsky)
-
babel-cli
- #5342 Add test for passing arguments to babel-node (#5163). (@outsideris)
-
babel-traverse
- #5296 Add test for reference paths. (@jasonLaster)
Committers: 14
- Aaron Ang (aaronang)
- Alex Kuzmenko (alxpy)
- Artem Gurzhii (artemgurzhii)
- Artem Yavorsky (yavorsky)
- Brendan Houle (bhoule)
- Brian Ng (existentialism)
- Daniel Tschinder (danez)
- Izaak Schroeder (izaakschroeder)
- Jason Laster (jasonLaster)
- JeongHoon Byun (aka Outsider) (outsideris)
- Robert Jackson (rwjblue)
- Seth Bergman (sethbergman)
- Sven SAULEAU (xtuc)
- Zachary Miller (zjmiller)
v6.23.0
6.23.0 (2017-02-13)
:rocket: New Feature
-
babel-plugin-transform-react-constant-elements
-
babel-preset-flow
,babel-preset-react
- #5288 Add new flow preset. (@thejameskyle)
-
babel-traverse
-
babel-plugin-transform-es2015-block-scoping
:bug: Bug Fix
-
babel-core
,babel-traverse
-
babel-plugin-transform-es2015-for-of
- #5298 Fix loose for-of with label. (@jridgewell)
-
babel-plugin-transform-react-constant-elements
,babel-traverse
-
babel-plugin-transform-do-expressions
,babel-traverse
- #5030 Prevent multiple return statements in a loop when replacing expressions. (@existentialism)
-
babel-register
-
babel-traverse
- #5206 Deopt evaluation of undefined with a local binding. Closes #5204. (@boopathi)
-
babel-plugin-transform-runtime
-
babel
- #5258 checks if babel is installed globally and displays correct cli message. (@xtina-starr)
-
babel-generator
- #5270 Emit parens for await of ternary expressions. (@erikdesjardins)
- #5193 Fix missing parens when function expressions is tag. (@existentialism)
-
babel-plugin-transform-es2015-modules-commonjs
:memo: Documentation
-
babel-*
- #5244 Normalize options sections in docs [skip ci]. (@existentialism)
- #5216 Remove link to REPL. (@xtuc)
- Other
-
babel-plugin-transform-es2015-spread
-
babel-plugin-transform-flow-strip-types
-
babel-plugin-transform-regenerator
-
babel-plugin-transform-es2015-arrow-functions
:house: Internal
-
babel-core
- #5302 Add charset so tests work with convert-source-map@>1.4. (@loganfsmyth)
-
babel-core
,babel-traverse
-
babel-generator
-
babel-types
-
babel-*
- #5265 Re-enable the max-len ESLint rule.. (@loganfsmyth)
- Other
- #5264 Add a sublime project file. (@loganfsmyth)
- #5182 Run coverage only once. (@existentialism)
- #5165 Add Node 7 to CI. (@chicoxyzzy)
Committers: 20
- Andres Suarez (zertosh)
- Ben Alpert (spicyj)
- Boopathi Rajaa (boopathi)
- Brian Ng (existentialism)
- Christina (xtina-starr)
- Erik Desjardins (erikdesjardins)
- Fabian Finke (finkef)
- Henry Zhu (hzoo)
- Jimmy Jia (taion)
- Justin Ridgewell (jridgewell)
- Logan Smyth (loganfsmyth)
- Matt Stewart (mattste)
- Samuel Reed (STRML)
- Sergey Rubanov (chicoxyzzy)
- Sven SAULEAU (xtuc)
- Vicente Jr Yuchitcho (chitchu)
- Yongxu Ren (yongxu)
- jwbay
- james kyle (thejameskyle)
- Łukasz Lityński (hex13)
v6.22.2
6.22.2 (2017-01-19)
:bug: Bug Fix
-
babel-cli
- Fix issue with
babel-node
throwing errors when passed non-"-" args #5162.
- Fix issue with
v6.22.1
6.22.1 (2017-01-19)
:bug: Bug Fix
Temporary fix with babel-traverse
via #5019 for transform-react-constant-elements.
v6.22.0
6.22.0 (2017-01-19)
Thanks to 10 new contributors! (23 total)
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 [email protected].
import {
someValue,
type someType,
typeof someOtherValue,
} from "blah";
:rocket: New Feature
-
babel-generator
,babel-types
- #5110 Validate importKind and ensure code generation exists.. (@loganfsmyth)
-
babel-plugin-transform-flow-strip-types
,babel-traverse
-
babel-core
- #4729 Add resolvePlugin and resolvePreset methods to babel-core API. (@rmacklin)
:bug: Bug Fix
-
babel-plugin-transform-object-rest-spread
- #5151 Avoid duplicating impure expressions in object rest destructuring. (@erikdesjardins)
const { x, ...y } = foo();
Old Behavior
const { x } = foo();
const y = _objectWithoutProperties(foo(), ["x"]);
New/Expected Behavior
const _ref = foo(); // should only be called once
const { x } = _ref;
const y = _objectWithoutProperties(_ref, ["x"]);
-
babel-cli
- #4790 fixes invalid line offsets in merged sourcemaps. (@peterm0x)
-
babel-plugin-transform-object-rest-spread
- #5088 fix: plugin-transform-object-rest-spread param with default value. (@christophehurpeau)
Accounts for default values in object rest params
function fn({a = 1, ...b} = {}) {
return {a, b};
}
-
babel-plugin-transform-es2015-destructuring
- #5093 Ensure array is always copied during destructure. (@existentialism)
const assign = ([...arr], index, value) => {
arr[index] = value
return arr
}
const arr = [1, 2, 3]
assign(arr, 1, 42)
console.log(arr) // [1, 2, 3]
-
babel-plugin-transform-es2015-function-name
- #5008 Don't try to visit ArrowFunctionExpression, they cannot be named. (@Kovensky)
Input
export const x = ({ x }) => x;
export const y = function () {};
Output
export const x = ({ x }) => x;
export const y = function y() {};
-
babel-types
-
babel-cli
:nail_care: Polish
-
babel-traverse
-
babel-generator
,babel-plugin-transform-exponentiation-operator
- #5026 Remove unnecessary spaces around template element. (@chicoxyzzy)
:memo: Documentation
- Other
- #5144 Fix dependency status extension.. (@yavorsky)
- #5136 Add babel-preset-env to maintained list.. (@yavorsky)
-
babel-core
- #5101 Document babelrc option. (@novemberborn)
- #5114 Update babel-core options in README. (@existentialism)
-
babel-plugin-syntax-class-constructor-call
-
babel-plugin-transform-es2015-duplicate-keys
,babel-plugin-transform-es2015-parameters
-
babel-plugin-transform-es2015-computed-properties
,babel-plugin-transform-es2015-for-of
- #5096 Add examples to computed-props and for-of READMEs [skip ci]. (@existentialism)
-
babel-plugin-transform-class-properties
- Other
-
babel-plugin-transform-es2015-classes
,babel-plugin-transform-function-bind
- #5061 Fix some doc lint issues. (@existentialism)
-
babel-helpers
-
babel-preset-react
- #5051 Adding more info to the Install section. (@gitanupam)
-
babel-plugin-check-es2015-constants
,babel-plugin-transform-es2015-modules-umd
,babel-plugin-transform-es2015-typeof-symbol
,babel-register
- #5045 Fix some README links. (@existentialism)
-
babel-core
:house: Internal
-
babel-*
- #5129 Bump eslint-config-babel and fix lint. (@existentialism)
- #5138 Refactor packages to use ES modules instead of CJS. (@chicoxyzzy)
- #5113 Kaicataldo enable prefer const. (@hzoo)
-
babel-helper-transform-fixture-test-runner
- #5135 Run Babel's unittests in a custom sandbox.. (@loganfsmyth)
-
babel-cli
,babel-core
,babel-generator
,babel-helper-define-map
,babel-register
,babel-runtime
,babel-types
-
babel-cli
,babel-generator
,babel-helper-fixtures
,babel-helper-transform-fixture-test-runner
,babel-preset-es2015
,babel-runtime
,babel-traverse
-
babel-code-frame
-
babel-plugin-transform-react-jsx
-
babel-plugin-transform-decorators
-
babel-plugin-transform-es2015-computed-properties
- #5053 Remove unused define-map helper from computed-properties. (@existentialism)
-
babel-cli
- #5027 Dependencies: Upgrade glob to v7. (@ysangkok)
Committers: 23, First PRs: 10
- Andres Suarez (zertosh)
- Andrii Bida (nomicos) First PR!
- Anthony Zotti (amZotti) First PR!
- Anupam (gitanupam) First PR!
- Artem Yavorsky (yavorsky) First PR!
- Brian Ng (existentialism)
- Christophe Hurpeau (christophehurpeau)
- Daniel Tschinder (danez)
- Diogo Franco (Kovensky)
- Erik Desjardins (erikdesjardins)
- Henry Zhu (hzoo)
- Howard Yeh (hayeah) First PR!
- Janus Troelsen (ysangkok) First PR!
- Jeff Morrison (jeffmo)
- Karsten Gohm (kasn) First PR!
- Logan Smyth (loganfsmyth)
- Mark Wubben (novemberborn) First PR!
- Peter Mikula (peterm0x)
- Ryan Tsao (rtsao) First PR!
- Sergey Rubanov (chicoxyzzy)
- Simon Lydell (lydell)
- Sven SAULEAU (xtuc)
- Sérgio Batista (batista) First PR!
- rmacklin
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.