Skip to content

Bump jscodeshift from 0.3.32 to 0.6.3 #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jan 22, 2019

Bumps jscodeshift from 0.3.32 to 0.6.3.

Release notes

Sourced from jscodeshift's releases.

v0.6.2

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.

v0.6.1

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).

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');

</tr></table> ... (truncated)
Changelog

Sourced from jscodeshift's changelog.

[0.6.3] 2019-01-18

Fixed

  • Don't throw an error when jscodeshift processes an empty set of files (#295,
    skovhus).
  • renameTo should not rename class properties (#296, henryqdineen).
  • Custom/unknown CLI parameters are parsed as JSON, just like nomnom used to
    do.

[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.

[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).
Commits

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 will not automatically merge this PR because it includes an out-of-range update to a production dependency.


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.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 22, 2019
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/jscodeshift-0.6.3 branch from b1a7d47 to 034926c Compare February 6, 2019 08:59
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/jscodeshift-0.6.3 branch from 034926c to c67ce26 Compare February 25, 2019 07:27
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/jscodeshift-0.6.3 branch 3 times, most recently from 2851c17 to 02a572c Compare March 13, 2019 07:27
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/jscodeshift-0.6.3 branch from 02a572c to 5d2fc8d Compare March 15, 2019 07:33
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/jscodeshift-0.6.3 branch 2 times, most recently from 1412328 to a40caf5 Compare April 3, 2019 08:48
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/jscodeshift-0.6.3 branch from a40caf5 to 2b76c30 Compare April 15, 2019 08:57
@dependabot-preview
Copy link
Contributor Author

Superseded by #125.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/jscodeshift-0.6.3 branch May 1, 2019 07:32
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.

1 participant