Socket
Socket
Sign inDemoInstall

@babel/cli

Package Overview
Dependencies
166
Maintainers
6
Versions
122
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.12.13 to 7.12.16

4

lib/babel/dir.js

@@ -68,3 +68,3 @@ "use strict";

function outputFileSync(filePath, data) {
(parseFloat(process.versions.node) >= 10.12 ? _fs().default.mkdirSync : require("make-dir").sync)(_path().default.dirname(filePath), {
(((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "10.12") ? _fs().default.mkdirSync : require("make-dir").sync)(_path().default.dirname(filePath), {
recursive: true

@@ -216,3 +216,3 @@ });

(parseFloat(process.versions.node) >= 10.12 ? _fs().default.mkdirSync : require("make-dir").sync)(cliOptions.outDir, {
(((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "10.12") ? _fs().default.mkdirSync : require("make-dir").sync)(cliOptions.outDir, {
recursive: true

@@ -219,0 +219,0 @@ });

@@ -133,3 +133,3 @@ "use strict";

if (cliOptions.outFile) {
(parseFloat(process.versions.node) >= 10.12 ? _fs().default.mkdirSync : require("make-dir").sync)(_path().default.dirname(cliOptions.outFile), {
(((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "10.12") ? _fs().default.mkdirSync : require("make-dir").sync)(_path().default.dirname(cliOptions.outFile), {
recursive: true

@@ -136,0 +136,0 @@ });

@@ -48,4 +48,2 @@ "use strict";

var _package = _interopRequireDefault(require("../../package.json"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -129,3 +127,3 @@

_commander().default.version(_package.default.version + " (@babel/core " + _core().version + ")");
_commander().default.version("7.12.13" + " (@babel/core " + _core().version + ")");

@@ -132,0 +130,0 @@ _commander().default.usage("[options] <files ...>");

{
"name": "@babel/cli",
"version": "7.12.13",
"version": "7.12.16",
"description": "Babel command line.",

@@ -44,3 +44,3 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>",

"devDependencies": {
"@babel/core": "7.12.13",
"@babel/core": "7.12.16",
"@babel/helper-fixtures": "7.12.13",

@@ -47,0 +47,0 @@ "rimraf": "^3.0.0"

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc