babel-codemod
Advanced tools
Comparing version 1.6.8 to 1.6.9
{ | ||
"name": "babel-codemod", | ||
"version": "1.6.8", | ||
"version": "1.6.9", | ||
"description": "babel-codemod rewrites JavaScript using babel plugins.", | ||
@@ -71,8 +71,8 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@babel/core": "^7.0.0-beta.40", | ||
"@babel/generator": "^7.0.0-beta.40", | ||
"@babel/preset-env": "^7.0.0-beta.40", | ||
"@babel/preset-typescript": "^7.0.0-beta.40", | ||
"@babel/traverse": "^7.0.0-beta.40", | ||
"@babel/types": "^7.0.0-beta.40", | ||
"@babel/core": "^7.0.0-beta.42", | ||
"@babel/generator": "^7.0.0-beta.42", | ||
"@babel/preset-env": "^7.0.0-beta.42", | ||
"@babel/preset-typescript": "^7.0.0-beta.42", | ||
"@babel/traverse": "^7.0.0-beta.42", | ||
"@babel/types": "^7.0.0-beta.42", | ||
"get-stream": "^3.0.0", | ||
@@ -79,0 +79,0 @@ "glob": "^7.1.2", |
@@ -29,5 +29,5 @@ "use strict"; | ||
if (ext === '.ts') { | ||
options.presets.push(require('@babel/preset-typescript').default()); | ||
options.presets.push('@babel/preset-typescript'); | ||
} | ||
options.presets.push(require('@babel/preset-env').default()); | ||
options.presets.push('@babel/preset-env'); | ||
} | ||
@@ -34,0 +34,0 @@ return core_1.transform(code, options).code; |
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
92455