[Snyk] Upgrade jscodeshift from 0.1.6 to 0.7.0 #3
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.
Snyk has created this PR to upgrade jscodeshift from 0.1.6 to 0.7.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.The recommended version fixes:
npm:minimatch:20160620
SNYK-JS-LODASH-73638
SNYK-JS-LODASH-450202
SNYK-JS-MINIMIST-559764
npm:lodash:20180130
SNYK-JS-LODASH-73639
npm:braces:20180219
Release notes
Package name: jscodeshift
Added
Changed
Fixed
Changed
.gitingore
files: Ignore comments and support\r\n
line breaks (#306)Fixed
renameTo
should not rename class properties (#296, @henryqdineen).Changed
@babel/register
/@babel/preset-env
is configured to not transpile anylanguage 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.
Node version.
Fixed
@babel/register
are now properly named andloaded.
Added
transform file is
.ts
or.tsx
,@babel/preset-typescript
is used toconvert them. This requires the
--babel
option to be set (which it is bydefault). ( #287 , @brieb )
Changed
have been updated to work with babel v7. This included removing
babel-preset-es2015
andbabel-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. Ifyou want to use other's in your transform file, please create a PR.
Fixed
@babel/parser
instead of Babylon ( #291, @elliottsj )Bumped
micromatch
=> v3.1.10, which doesn't (indirectly) depend onrandomatic
<v3 anymore (see #292).
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
Bump version to 0.5.1 for publishing
New
dynamicImport
plugin tobabylon
parser. (#208)some()
andevery()
methods for Collection (#216)Fixed/Improved
renameTo
renaming React component prop name unexpectedly (#220)renameTo
not taking property shorthands into account (#211)Bump version to 0.4.1 for publishing
0.4.0
Commit messages
Package name: jscodeshift
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs