@babel/cli
Advanced tools
Comparing version 7.0.0-rc.1 to 7.0.0-rc.2
@@ -100,4 +100,9 @@ "use strict"; | ||
const CALLER = { | ||
name: "@babel/cli" | ||
}; | ||
function transform(filename, code, opts) { | ||
opts = Object.assign({}, opts, { | ||
caller: CALLER, | ||
filename | ||
@@ -113,2 +118,5 @@ }); | ||
function compile(filename, opts) { | ||
opts = Object.assign({}, opts, { | ||
caller: CALLER | ||
}); | ||
return new Promise((resolve, reject) => { | ||
@@ -115,0 +123,0 @@ babel().transformFile(filename, opts, (err, result) => { |
{ | ||
"name": "@babel/cli", | ||
"version": "7.0.0-rc.1", | ||
"version": "7.0.0-rc.2", | ||
"description": "Babel command line.", | ||
@@ -36,4 +36,4 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"devDependencies": { | ||
"@babel/core": "7.0.0-rc.1", | ||
"@babel/helper-fixtures": "7.0.0-rc.1" | ||
"@babel/core": "7.0.0-rc.2", | ||
"@babel/helper-fixtures": "7.0.0-rc.2" | ||
}, | ||
@@ -40,0 +40,0 @@ "bin": { |
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
31322
760