@babel/cli
Advanced tools
Comparing version 8.0.0-alpha.9 to 8.0.0-alpha.10
import * as commander from "commander"; | ||
import { buildExternalHelpers } from "@babel/core"; | ||
const program = commander.default.program; | ||
const program = commander.program; | ||
function collect(value, previousValue) { | ||
@@ -5,0 +5,0 @@ if (typeof value !== "string") return previousValue; |
@@ -6,3 +6,3 @@ import fs from "fs"; | ||
import { alphasort } from "./util.js"; | ||
const program = commander.default.program; | ||
const program = commander.program; | ||
program.option("-f, --filename [filename]", "The filename to use when reading from stdin. This will be used in source-maps, errors etc."); | ||
@@ -44,3 +44,3 @@ program.option("--presets [list]", "A comma-separated list of preset names.", collect); | ||
program.option("--out-file-extension [string]", "Use a specific extension for the output files"); | ||
program.version("8.0.0-alpha.9" + " (@babel/core " + version + ")"); | ||
program.version("8.0.0-alpha.10" + " (@babel/core " + version + ")"); | ||
program.usage("[options] <files ...>"); | ||
@@ -47,0 +47,0 @@ program.action(() => {}); |
{ | ||
"name": "@babel/cli", | ||
"version": "8.0.0-alpha.9", | ||
"version": "8.0.0-alpha.10", | ||
"description": "Babel command line.", | ||
@@ -38,7 +38,7 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"peerDependencies": { | ||
"@babel/core": "^8.0.0-alpha.9" | ||
"@babel/core": "^8.0.0-alpha.10" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^8.0.0-alpha.9", | ||
"@babel/helper-transform-fixture-test-runner": "^8.0.0-alpha.9", | ||
"@babel/core": "^8.0.0-alpha.10", | ||
"@babel/helper-transform-fixture-test-runner": "^8.0.0-alpha.10", | ||
"@types/fs-readdir-recursive": "^1.1.0", | ||
@@ -45,0 +45,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
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
169338