Socket
Socket
Sign inDemoInstall

babel-core

Package Overview
Dependencies
Maintainers
1
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-core - npm Package Compare versions

Comparing version 5.0.4 to 5.0.5

7

CHANGELOG.md

@@ -16,2 +16,9 @@ # Changelog

## 5.0.5
* **Internal**
* Upgrade `core-js`.
* **Bug Fix**
* Fix arrays not being supported in `util.list`.
## 5.0.4

@@ -18,0 +25,0 @@

8

lib/babel/util.js

@@ -99,3 +99,9 @@ "use strict";

function list(val) {
return val ? val.split(",") : [];
if (!val) {
return [];
} else if (Array.isArray(val)) {
return val;
} else {
return val.split(",");
}
}

@@ -102,0 +108,0 @@

4

package.json
{
"name": "babel-core",
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
"version": "5.0.4",
"version": "5.0.5",
"author": "Sebastian McKenzie <sebmck@gmail.com>",

@@ -33,3 +33,3 @@ "homepage": "https://babeljs.io/",

"convert-source-map": "^0.5.0",
"core-js": "^0.8.0",
"core-js": "^0.8.1",
"debug": "^2.1.1",

@@ -36,0 +36,0 @@ "detect-indent": "^3.0.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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