Comparing version 5.5.6 to 5.5.7
@@ -38,3 +38,3 @@ #!/usr/bin/env node | ||
commander.option(arg, desc.join(" ")); | ||
}) | ||
}); | ||
@@ -55,3 +55,3 @@ commander.option("-x, --extensions [extensions]", "List of extensions to compile when a directory has been input [.es6,.js,.es,.jsx]"); | ||
if (obj[key].optional) key = "[" + key + "]"; | ||
if (obj[key].metadata && obj[key].metadata.optional) key = "[" + key + "]"; | ||
@@ -123,8 +123,13 @@ console.log(" - " + key); | ||
each(options, function (opt, key) { | ||
opts[key] = commander[key]; | ||
if (commander[key] !== undefined) { | ||
opts[key] = commander[key]; | ||
} | ||
}); | ||
opts.ignore = util.arrayify(opts.ignore, util.regexify); | ||
opts.only = util.arrayify(opts.only, util.regexify); | ||
if (opts.only) { | ||
opts.only = util.arrayify(opts.only, util.regexify); | ||
} | ||
var fn; | ||
@@ -131,0 +136,0 @@ |
{ | ||
"name": "babel", | ||
"description": "Turn ES6 code into readable vanilla ES5 with source maps", | ||
"version": "5.5.6", | ||
"version": "5.5.7", | ||
"author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
@@ -11,3 +11,3 @@ "homepage": "https://babeljs.io/", | ||
"dependencies": { | ||
"babel-core": "^5.5.6", | ||
"babel-core": "^5.5.7", | ||
"chokidar": "^1.0.0", | ||
@@ -14,0 +14,0 @@ "commander": "^2.6.0", |
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
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
30331
332
Updatedbabel-core@^5.5.7