Socket
Socket
Sign inDemoInstall

babel

Package Overview
Dependencies
Maintainers
1
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel - npm Package Compare versions

Comparing version 5.5.6 to 5.5.7

13

bin/babel/index.js

@@ -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",

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