Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update babel monorepo #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update babel monorepo #28

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 16, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
babel-cli (source) 6.18.0 -> 6.26.0 age adoption passing confidence
babel-polyfill (source) 6.16.0 -> 6.26.0 age adoption passing confidence
babel-preset-es2015 (source) 6.18.0 -> 6.24.1 age adoption passing confidence
babel-register (source) 6.18.0 -> 6.26.0 age adoption passing confidence
babel-runtime (source) 6.18.0 -> 6.26.0 age adoption passing confidence

Release Notes

babel/babel (babel-cli)

v6.26.0

Compare Source

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)

👓 Spec Compliancy
  • babel-core, babel-generator, babel-plugin-transform-flow-comments, babel-plugin-transform-flow-strip-types, babel-traverse, babel-types
🚀 New Feature
  • babel-cli
🐛 Bug Fix
📝 Documentation
  • babel-plugin-transform-class-properties
  • babel-plugin-transform-runtime
  • babel-plugin-transform-regenerator
  • Other
  • 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
🏠 Internal
Committers: 19

v6.24.1

Compare Source

v6.24.1 (2017-04-07)
🐛 Bug Fix
  • babel-plugin-transform-regenerator

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
var obj = { await: function () {} }; // input
var obj = { await: function _await() {} };  // output
📝 Documentation
🏠 Internal
Committers: 5

v6.24.0

Compare Source

6.24.0 (2017-03-13)

A quick release for 2 features:

  • Thanks to @​rwjblue, there is now a noInterop option for our es2015-modules transform to remove the interopRequireDefault and interopRequireWildcard 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.

🚀 New Feature
  • babel-plugin-transform-es2015-modules-amd, babel-plugin-transform-es2015-modules-commonjs
  • babel-core
🐛 Bug Fix
📝 Documentation
🏠 Internal
Committers: 14

v6.23.0

Compare Source

6.23.0 (2017-02-13)
🚀 New Feature
  • babel-plugin-transform-react-constant-elements
    • #​4812 feature: Support pure expressions in transform-react-constant-elements. (@​STRML)
  • babel-preset-flow, babel-preset-react
  • babel-traverse
  • babel-plugin-transform-es2015-block-scoping
🐛 Bug Fix
📝 Documentation
🏠 Internal
Committers: 20

v6.22.2

Compare Source

6.22.2 (2017-01-19)

🐛 Bug Fix
  • babel-cli
    • Fix issue with babel-node throwing errors when passed non-"-" args #​5162.

v6.22.1

Compare Source

6.22.1 (2017-01-19)

🐛 Bug Fix

Temporary fix with babel-traverse via #​5019 for transform-react-constant-elements.

v6.22.0

Compare Source

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";
🚀 New Feature
  • babel-generator, babel-types
  • babel-plugin-transform-flow-strip-types, babel-traverse
  • babel-core
🐛 Bug Fix
  • babel-plugin-transform-object-rest-spread
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"]);

Accounts for default values in object rest params

function fn({a = 1, ...b} = {}) {
  return {a, b};
}
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

Input

export const x = ({ x }) => x;
export const y = function () {};

Output

export const x = ({ x }) => x;
export const y = function y() {}; 
💅 Polish
  • babel-traverse
  • babel-generator, babel-plugin-transform-exponentiation-operator
📝 Documentation
🏠 Internal
  • babel-*
  • babel-helper-transform-fixture-test-runner
  • 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
  • babel-cli
Committers: 23, First PRs: 10

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, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants