Socket
Socket
Sign inDemoInstall

jscodeshift

Package Overview
Dependencies
Maintainers
5
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscodeshift - npm Package Versions

23
7

17.0.0

Diff

Changelog

Source

[17.0.0] 2024-08-06

We needed to go from v0.x to a major release, and it may as well happen now. jscodeshift has been around for nine years though, so going to v1.0.0 didn't feel quite right. I've instead promoted the minor version number to a major version number, similar to what React did when it went from 0.14 to 15.0.

Fixed

  • Node.js 16 is now explicitly specified as the minimum required version. It was already (#607, @trivikr)

Added

  • A new jscodeshift website has launched, thanks to the team at Codemod. (#592, @mohab-sameh with some tweaks by @morinokami)
  • Added collection functions for import declarations, including finding imports and inserting new imports (#617, @danieldelcore)

Changed

  • Enabled TypeScript importAttributes (#585, @benasher44) and decoratorAutoAccessors (#594, @syi0808) plugins
  • Removed or replaced various outdated and unused dependencies (#601, #605, #609, #613, @trivikr)
  • Started using Corepack to manage Yarn version (#599, @trivikr)
daniel15
published 0.16.1 •

Changelog

Source

[0.16.1] 2024-06-25

Fixed

  • Removed old babel-core dependency that was unused but caused security scanners to flag vulnerabilities.
daniel15
published 0.16.0 •

Changelog

Source

[0.16.0] 2024-06-18

Added

  • Added a --gitignore flag to avoid transforming any files listed in .gitignore (#508, @ElonVolo)

Changed

  • Updated various dependencies to latest version (#588, @ElonVolo)
daniel15
published 0.15.2 •

Changelog

Source

[0.15.2] 2024-02-21

Fixed

  • Process all supported extensions by default (#584, @trivikr)
daniel15
published 0.15.1 •

Changelog

Source

[0.15.1] 2023-10-28

Changed

  • Upgraded to recast 0.23.3 (#564, @ashsearle)
  • Enable @babel/plugin-proposal-private-methods in worker (#568, @sibelius)
  • Upgraded Babel packages (#570, @dartess)

Fixed

  • Respect extensions cli option when filtering individual files (#562, @robcmills)
  • Fixed unit test after #562 broke them (#575, @ElonVolo)
daniel15
published 0.15.0 •

Changelog

Source

[0.15.0] 2023-05-07

Changed

  • Upgraded to recast 0.23.1 (#544, @ryanrhee)
  • Make @babel/preset-env optional (#480, @SimenB)

Fixed

  • Force LF line ending in bin/jscodeshift.sh (#555, @jakeboone02)
  • Use transform's exported parser in testUitls (#528, @CrispyBacon12)
  • Ensure jscodeshift doesn't load Babel config file (#460, @raon0211)
daniel15
published 0.14.0 •

Changelog

Source

[0.14.0] 2022-10-04

Added

  • Added a defineSnapshotTestFromFixture test util (#471, @shriuken)
  • Added renameTo filters for Babel 6+ node types (#412 and #504, @elonvolo and @henryqdineen)
  • Added childNodesOfType to JSX traversal methods (#415, @j13huang)

Changed

  • Bumped dependency versions
  • Allow arguments in --help to be listed in an order other than alphabetically, so they can instead be grouped thematically (#507, @elonvolo)
  • Allow the j shortcut in test utils (#515, @no23reason)
mroch
published 0.13.1 •

Changelog

Source

[0.13.1] 2022-01-10

Changed

  • Switched from colors to chalk to mitigate a security vulnerability in colors@1.4.1.
daniel15
published 0.13.0 •

Changelog

Source

[0.13.0] 2021-06-26

Added

  • Added a --fail-on-error flag to return a 1 error code when errors were found (#416, @marcodejongh)
  • Created template.asyncExpression (#405, @jedwards1211)

Changed

  • Removed lodash dependency from tsx parser (#432, @JHilker and @robyoder)
daniel15
published 0.12.0 •

Changelog

Source

[0.12.0] 2021-04-21

Changed

  • Allow transform to be a Promise (#237, @rektide)
  • Support newer TypeScript syntax by upgrading to newer Babel parser (#410, @wdoug and @mfeckie)
23
7
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