@babel/cli
Advanced tools
Comparing version 7.22.9 to 7.23.0
@@ -28,4 +28,4 @@ "use strict"; | ||
} | ||
var util = require("./util"); | ||
var watcher = require("./watcher"); | ||
var util = require("./util.js"); | ||
var watcher = require("./watcher.js"); | ||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } | ||
@@ -32,0 +32,0 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } |
@@ -42,4 +42,4 @@ "use strict"; | ||
} | ||
var util = require("./util"); | ||
var watcher = require("./watcher"); | ||
var util = require("./util.js"); | ||
var watcher = require("./watcher.js"); | ||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } | ||
@@ -46,0 +46,0 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } |
#!/usr/bin/env node | ||
"use strict"; | ||
var _options = require("./options"); | ||
var _dir = require("./dir"); | ||
var _file = require("./file"); | ||
var _options = require("./options.js"); | ||
var _dir = require("./dir.js"); | ||
var _file = require("./file.js"); | ||
const opts = (0, _options.default)(process.argv); | ||
@@ -8,0 +8,0 @@ if (opts) { |
@@ -75,3 +75,3 @@ "use strict"; | ||
_commander().option("--out-file-extension [string]", "Use a specific extension for the output files"); | ||
_commander().version("7.22.9" + " (@babel/core " + _core().version + ")"); | ||
_commander().version("7.23.0" + " (@babel/core " + _core().version + ")"); | ||
_commander().usage("[options] <files ...>"); | ||
@@ -78,0 +78,0 @@ _commander().action(() => {}); |
@@ -45,3 +45,3 @@ "use strict"; | ||
} | ||
var watcher = require("./watcher"); | ||
var watcher = require("./watcher.js"); | ||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } | ||
@@ -48,0 +48,0 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } |
{ | ||
"name": "@babel/cli", | ||
"version": "7.22.9", | ||
"version": "7.23.0", | ||
"description": "Babel command line.", | ||
@@ -29,3 +29,3 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"commander": "^4.0.1", | ||
"convert-source-map": "^1.1.0", | ||
"convert-source-map": "^2.0.0", | ||
"fs-readdir-recursive": "^1.1.0", | ||
@@ -44,4 +44,4 @@ "glob": "^7.2.0", | ||
"devDependencies": { | ||
"@babel/core": "^7.22.9", | ||
"@babel/helper-fixtures": "^7.22.9", | ||
"@babel/core": "^7.23.0", | ||
"@babel/helper-fixtures": "^7.22.19", | ||
"@types/fs-readdir-recursive": "^1.1.0", | ||
@@ -48,0 +48,0 @@ "@types/glob": "^7.2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
114117
22
1003
- Removedconvert-source-map@1.9.0(transitive)
Updatedconvert-source-map@^2.0.0