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

jscodeshift

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscodeshift - npm Package Compare versions

Comparing version 0.10.0 to 0.11.0

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Changelog

## [0.11.0] 2020-09-01
### Changed
- Updated `recast` to latest
## [0.10.0] 2020-06-01

@@ -9,0 +13,0 @@ ### Changed

@@ -139,6 +139,13 @@

return statement.apply(
const expression = statement.apply(
null,
[template].concat(Array.from(arguments).slice(1))
).expression;
// Remove added parens
if (expression.extra) {
expression.extra.parenthesized = false;
}
return expression;
}

@@ -145,0 +152,0 @@

6

package.json
{
"name": "jscodeshift",
"version": "0.10.0",
"version": "0.11.0",
"description": "A toolkit for JavaScript codemods",

@@ -38,7 +38,7 @@ "repository": {

"flow-parser": "0.*",
"graceful-fs": "^4.1.11",
"graceful-fs": "^4.2.4",
"micromatch": "^3.1.10",
"neo-async": "^2.5.0",
"node-dir": "^0.1.17",
"recast": "^0.18.1",
"recast": "^0.20.3",
"temp": "^0.8.1",

@@ -45,0 +45,0 @@ "write-file-atomic": "^2.3.0"

@@ -139,6 +139,13 @@

return statement.apply(
const expression = statement.apply(
null,
[template].concat(Array.from(arguments).slice(1))
).expression;
// Remove added parens
if (expression.extra) {
expression.extra.parenthesized = false;
}
return expression;
}

@@ -145,0 +152,0 @@

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