Socket
Socket
Sign inDemoInstall

@babel/cli

Package Overview
Dependencies
Maintainers
6
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/cli - npm Package Compare versions

Comparing version 7.12.8 to 7.12.10

18

lib/babel/dir.js

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

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