Skip to content

objectSpread2 failure #10192

Description

@XhmikosR

Bug Report

Current Behavior

While trying to update babel and its plugins to the latest v7.5.4 version, we still get some failures in our test suite https://travis-ci.org/twbs/bootstrap/jobs/556685620#L788

The related code should be https://github.com/twbs/bootstrap/blob/master/js/src/dom/manipulator.js#L47

Going back to v7.4.x and objectSpread works as expected.

Input Code

Babel Configuration (.babelrc, package.json, cli command)

module.exports = {
  presets: [
    [
      '@babel/env',
      {
        loose: true,
        modules: false,
        exclude: ['transform-typeof-symbol']
      }
    ]
  ],
  plugins: [
    '@babel/plugin-proposal-object-rest-spread'
  ],
  env: {
    test: {
      plugins: [ 'istanbul' ]
    }
  }
};

Environment

  • Babel version(s): v7.5.4
  • Node/npm version: Node 10.16.0/npm 6.9.0
  • OS: Windows 10
  • Monorepo: no
  • How you are using Babel: cli

Metadata

Metadata

Assignees

No one assigned

    Labels

    i: needs triageoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions