babel-core
Advanced tools
Comparing version 5.0.4 to 5.0.5
@@ -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 @@ |
@@ -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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20937
2004549
184
1
0
Updatedcore-js@^0.8.1