Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-codemod

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-codemod - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

22

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc