@babel/cli
Advanced tools
Comparing version 7.12.8 to 7.12.10
@@ -18,12 +18,2 @@ "use strict"; | ||
function _makeDir() { | ||
const data = require("make-dir"); | ||
_makeDir = function () { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
function _slash() { | ||
@@ -79,3 +69,5 @@ const data = _interopRequireDefault(require("slash")); | ||
function outputFileSync(filePath, data) { | ||
(0, _makeDir().sync)(_path().default.dirname(filePath)); | ||
(parseFloat(process.versions.node) >= 10.12 ? _fs().default.mkdirSync : require("make-dir").sync)(_path().default.dirname(filePath), { | ||
recursive: true | ||
}); | ||
@@ -225,3 +217,5 @@ _fs().default.writeFileSync(filePath, data); | ||
(0, _makeDir().sync)(cliOptions.outDir); | ||
(parseFloat(process.versions.node) >= 10.12 ? _fs().default.mkdirSync : require("make-dir").sync)(cliOptions.outDir, { | ||
recursive: true | ||
}); | ||
startTime = process.hrtime(); | ||
@@ -228,0 +222,0 @@ |
@@ -38,12 +38,2 @@ "use strict"; | ||
function _makeDir() { | ||
const data = require("make-dir"); | ||
_makeDir = function () { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
function _path() { | ||
@@ -144,3 +134,5 @@ const data = _interopRequireDefault(require("path")); | ||
if (cliOptions.outFile) { | ||
(0, _makeDir().sync)(_path().default.dirname(cliOptions.outFile)); | ||
(parseFloat(process.versions.node) >= 10.12 ? _fs().default.mkdirSync : require("make-dir").sync)(_path().default.dirname(cliOptions.outFile), { | ||
recursive: true | ||
}); | ||
@@ -147,0 +139,0 @@ if (babelOptions.sourceMaps && babelOptions.sourceMaps !== "inline") { |
{ | ||
"name": "@babel/cli", | ||
"version": "7.12.8", | ||
"version": "7.12.10", | ||
"description": "Babel command line.", | ||
@@ -43,4 +43,4 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"devDependencies": { | ||
"@babel/core": "7.12.8", | ||
"@babel/helper-fixtures": "7.10.5", | ||
"@babel/core": "7.12.10", | ||
"@babel/helper-fixtures": "7.12.10", | ||
"rimraf": "^3.0.0" | ||
@@ -47,0 +47,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
36606
806