Skip to content

Releases: facebook/jscodeshift

v0.2.0

21 Jul 23:58
Compare
Choose a tag to compare

Changed

  • The --verbosity options is renamed to --verbose
  • Babel is used as parser, instead of esprima-fb. The resulting ASTs will be slightly different, which is why you might have to adapt existing codemods. You can use http://astexplorer.net/ with the parser "recast" and the parser configuration set to "babel" to learn about the new structure.

v0.1.6

16 Jul 23:20
Compare
Choose a tag to compare
  • Bug fixes
  • replaceWith, insertAfter and insertBefore now accept arrays
  • new jscodeshift.template.* functions to interpolate AST nodes. See f866c37 and tests.