babel-codemod
Advanced tools
Comparing version 2.0.6 to 2.0.7
{ | ||
"name": "babel-codemod", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "babel-codemod rewrites JavaScript using babel plugins.", | ||
@@ -46,3 +46,3 @@ "main": "src/index.js", | ||
"@types/get-stream": "^3.0.1", | ||
"@types/glob": "^5.0.35", | ||
"@types/glob": "^7.1.0", | ||
"@types/got": "^8.3.1", | ||
@@ -60,4 +60,4 @@ "@types/make-dir": "^1.0.3", | ||
"get-port": "^4.0.0", | ||
"husky": "^0.14.3", | ||
"lint-staged": "^7.2.2", | ||
"husky": "^1.0.0", | ||
"lint-staged": "^8.0.5", | ||
"make-dir": "^1.3.0", | ||
@@ -74,8 +74,8 @@ "mocha": "^5.2.0", | ||
"dependencies": { | ||
"@babel/core": "^7.0.0-rc.3", | ||
"@babel/generator": "^7.0.0-rc.3", | ||
"@babel/preset-env": "^7.0.0-rc.3", | ||
"@babel/preset-typescript": "^7.0.0-rc.3", | ||
"@babel/traverse": "^7.0.0-rc.3", | ||
"@babel/types": "^7.0.0-rc.3", | ||
"@babel/core": "^7.0.0", | ||
"@babel/generator": "^7.0.0", | ||
"@babel/preset-env": "^7.0.0", | ||
"@babel/preset-typescript": "^7.0.0", | ||
"@babel/traverse": "^7.0.0", | ||
"@babel/types": "^7.0.0", | ||
"get-stream": "^4.0.0", | ||
@@ -87,3 +87,3 @@ "globby": "^8.0.1", | ||
"prettier": "^1.13.4", | ||
"recast": "^0.15.0", | ||
"recast": "^0.16.1", | ||
"resolve": "^1.7.1", | ||
@@ -90,0 +90,0 @@ "source-map-support": "^0.5.6", |
@@ -13,2 +13,3 @@ import * as Babel from '@babel/core'; | ||
plugins?: Array<string | [string, object]>; | ||
tokens?: boolean; | ||
} | ||
@@ -15,0 +16,0 @@ export declare type AST = object; |
@@ -8,3 +8,3 @@ "use strict"; | ||
parse(code) { | ||
return parse(code, options); | ||
return parse(code, Object.assign({}, options, { tokens: true })); | ||
} | ||
@@ -11,0 +11,0 @@ } |
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
121107
1714
+ Addedast-types@0.11.7(transitive)
+ Addedrecast@0.16.2(transitive)
- Removedast-types@0.11.5(transitive)
- Removedrecast@0.15.5(transitive)
Updated@babel/core@^7.0.0
Updated@babel/generator@^7.0.0
Updated@babel/preset-env@^7.0.0
Updated@babel/traverse@^7.0.0
Updated@babel/types@^7.0.0
Updatedrecast@^0.16.1