Skip to content
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

Bump jscodeshift from 0.5.1 to 0.6.2 #5213

Merged
merged 1 commit into from
Jan 11, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps jscodeshift from 0.5.1 to 0.6.2.

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

@codecov
Copy link

codecov bot commented Jan 11, 2019

Codecov Report

Merging #5213 into next will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             next    #5213   +/-   ##
=======================================
  Coverage   35.22%   35.22%           
=======================================
  Files         597      597           
  Lines        7418     7418           
  Branches     1011     1016    +5     
=======================================
  Hits         2613     2613           
  Misses       4294     4294           
  Partials      511      511

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dc0d8f1...5416b21. Read the comment docs.

@Hypnosphi Hypnosphi merged commit 42b5d41 into next Jan 11, 2019
@Hypnosphi Hypnosphi deleted the dependabot/npm_and_yarn/jscodeshift-0.6.2 branch January 11, 2019 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants