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

jscodeshift

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscodeshift - npm Package Versions

1
7

0.6.2

Diff

Changelog

Source

[0.6.2] 2018-12-05

Changed

  • @babel/register/@babel/preset-env is configured to not transpile any language features that the running Node process supports. That means if you use features in your transform code supported by the Node version you are running, they will be left as is. Most of ES2015 is actually supported since Node v6.
  • Do not transpile object rest/spread in transform code if supported by running Node version.

Fixed

  • Presets and plugins passed to @babel/register are now properly named and loaded.
fkling
published 0.6.1 •

Changelog

Source

[0.6.1] 2018-12-04

Added

  • Tranform files can be written in Typescript. If the file extension of the transform file is .ts or .tsx, @babel/preset-typescript is used to convert them. This requires the --babel option to be set (which it is by default). ( #287 , @brieb )

Changed

  • The preset and plugins for converting the transform file itself via babeljs have been updated to work with babel v7. This included removing babel-preset-es2015 and babel-preset-stage-1 in favor of @babel/preset-env. Only @babel/proposal-class-properties and @babel/proposal-object-rest-spread are enabled as experimental features. If you want to use other's in your transform file, please create a PR.

Fixed

  • Typescript parses use @babel/parser instead of Babylon ( #291, @elliottsj )

Bumped

  • micromatch => v3.1.10, which doesn't (indirectly) depend on randomatic < v3 anymore (see #292).
fkling
published 0.6.0 •

fkling
published 0.5.1 •

fkling
published 0.5.0 •

fkling
published 0.4.1 •

cpojer
published 0.4.0 •

fkling
published 0.3.32 •

fkling
published 0.3.31 •

fkling
published 0.3.30 •

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