Socket
Socket
Sign inDemoInstall

ember-cli-babel

Package Overview
Dependencies
Maintainers
5
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-babel - npm Package Compare versions

Comparing version 7.20.3 to 7.20.4

12

CHANGELOG.md

@@ -0,1 +1,13 @@

## v7.20.4 (2020-05-30)
#### :bug: Bug Fix
* [#345](https://github.com/babel/ember-cli-babel/pull/345) Prevent `regeneratorRuntime is not defined` errors by defensively copying `targets` (preventing `@babel/helper-compilation-targets` from mutating `targets`) ([@fivetanley](https://github.com/fivetanley))
#### :house: Internal
* [#339](https://github.com/babel/ember-cli-babel/pull/339) Migrate to GitHub Actions CI ([@rwjblue](https://github.com/rwjblue))
#### Committers: 2
- Robert Jackson ([@rwjblue](https://github.com/rwjblue))
- Stanley Stuart ([@fivetanley](https://github.com/fivetanley))
## v7.20.3 (2020-05-29)

@@ -2,0 +14,0 @@

9

index.js

@@ -545,3 +545,10 @@ 'use strict';

if (typeof targets === 'object' && targets !== null) {
return parser(targets);
// babel version 7.10.0 introduced a change that mutates the input:
// https://github.com/babel/babel/pull/11500
// copy the object to guard against it, otherwise subsequent calls to
// _getTargets() will only have a mutated copy and lose all config from `config/targets.js`
// in the host application.
// PR to fix this upstream in babel: https://github.com/babel/babel/pull/11648
const copy = clone(targets);
return parser(copy);
} else {

@@ -548,0 +555,0 @@ return targets;

2

package.json
{
"name": "ember-cli-babel",
"version": "7.20.3",
"version": "7.20.4",
"description": "Ember CLI addon for Babel",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc