Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps jscodeshift from 0.3.32 to 0.6.0.

Release notes

Sourced from jscodeshift's releases.

v0.6.0

A bunch of changes to get jscodeshift in a better shape. This is minor version update because important dependencies and parser configurations have changed.


New

  • New CLI option --parser-config: This option accepts a path to a JSON file and overrides the default options for flow or babylon. This allows you to tweak parser settings (e.g. legacy decorators). (46d250f)
  • New CLI option --stdin: If provided, the list of files/directories is read from stdin. This makes it easier to pass large lists of files. (b6eaa0a)
  • New API in transforms: api.report lets you print arbitrary text to stdout. Useful if another tools consumes jscodeshift's stdout. (c902a00) Example:
// In the transform
api.report('some data');

// in stdout
 REP path/to/file.js some data
  • Support for Typescript source code, via babylon ( #286 ; brieb). Use --parser=ts or --parser=tsx.

Improvements

  • Updated babylon to v7 adding support for newer flow features (#282 , wanderley )
  • Updated recast to v0.16, which includes a bunch of printing improvments (#289 , majapw )
  • Enable more features in babylon and flow (#278 , mjesun ; #281 , jbrown215 )
  • Improve handling of large lists of files (62b12ad, 9c83c39)

Fixes

  • JSXElements's hasAttributes method understands value-less Boolean attributes (#277 , artemruts )
  • More reliable printing to stdout (62b12ad)

Internal

  • Replaces deprecated nomnom with own implementation (a2becc5)
  • Remove direct dependency on lodash (4701096)

v0.5.0

New

  • Bump recast and babylon to support JSX fragments (#239)
  • Add dynamicImport plugin to babylon parser. (#208)
  • Allow specifying a testName for inline tests (#218)
  • Add some() and every() methods for Collection (#216)

Fixed/Improved

  • Fix error handling for http (#242)
  • Perf: replace async with neo-async (#241)
  • Fix renameTo renaming React component prop name unexpectedly (#220)
... (truncated)
Commits
  • 4fecbb5 Bump version to 0.6.0 for publishing
  • 2fd2429 Fix flow options
  • 1cbe93d Set tokens: true to all babylon configs
  • b5ca352 Update lock file
  • f70bbd6 Minor change to trigger travis ci build
  • 46d250f Allow passing custom options to babylon or flow via CLI option
  • ee6242d Drop support for Node v4
  • 75a7070 Enable ES6 feature in eslint
  • 4701096 Remove direct dependency on lodash
  • 143e375 Update dependencies
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [jscodeshift](https://github.com/facebook/jscodeshift) from 0.3.32 to 0.6.0.
- [Release notes](https://github.com/facebook/jscodeshift/releases)
- [Commits](facebook/jscodeshift@v0.3.32...v0.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 4, 2018
@dependabot-preview
Copy link
Contributor Author

Superseded by #105.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/jscodeshift-0.6.0 branch December 5, 2018 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants