Update jscodeshift to the latest version 🚀 #507
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The devDependency jscodeshift was updated from
0.4.1
to0.6.0
.This version is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Release Notes for 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
--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)--stdin
: If provided, the list of files/directories is read from stdin. This makes it easier to pass large lists of files. (b6eaa0a)api.report
lets you print arbitrary text to stdout. Useful if another tools consumes jscodeshift's stdout. (c902a00) Example:--parser=ts
or--parser=tsx
.Improvements
Fixes
hasAttributes
method understands value-less Boolean attributes (#277 , @artemruts )Internal
Commits
The new version differs by 52 commits.
5ab40a9
Use
prepare
instead ofprepublish
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
c902a00
Add simple reporting API
4e8da4b
Improve transform error output
9c83c39
Do not use .apply to flatten arrays
62b12ad
Respect process.stdout.write's return value
There are 52 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴