Release notes
*Sourced from [jscodeshift's releases](https://github.com/facebook/jscodeshift/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](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/287) , [**brieb**](https://github.com/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](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/291), [**elliottsj**](https://github.com/elliottsj) )
>
> ### Bumped
> - `micromatch` => v3.1.10, which doesn't (indirectly) depend on `randomatic` <
> v3 anymore (see [#292](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/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');
>
> ... (truncated)
Changelog
*Sourced from [jscodeshift's changelog](https://github.com/facebook/jscodeshift/blob/master/CHANGELOG.md).*
> ## [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](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/287) , [**brieb**](https://github.com/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](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/291), [**elliottsj**](https://github.com/elliottsj) )
>
> ### Bumped
> - `micromatch` => v3.1.10, which doesn't (indirectly) depend on `randomatic` <
> v3 anymore (see [#292](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/292)).
Commits
- [`891dea3`](https://github.com/facebook/jscodeshift/commit/891dea32d192b33c69ba5b927fd8e7e7d3e54e5f) Bump version to 0.6.2 for publishing
- [`55ef34d`](https://github.com/facebook/jscodeshift/commit/55ef34d65fecb66ed772f9cf75fc78a788847468) Update changelog
- [`cb92c48`](https://github.com/facebook/jscodeshift/commit/cb92c488b1fd068dbbd8f87ae380d2d8b3383513) Improve/fix @babel/register usage (closes [#294](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/294))
- [`3fc6ca1`](https://github.com/facebook/jscodeshift/commit/3fc6ca1c1e4b95c13123cab59270057e33a0418a) nomnom is not used anymore
- [`6e38213`](https://github.com/facebook/jscodeshift/commit/6e382135fb99d64ad57d327023a5a49dd1fadbf1) Fix [#243](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/243) ([#244](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/244))
- [`1ed8ccd`](https://github.com/facebook/jscodeshift/commit/1ed8ccddaa06e7126e56d5ce597e5aecbbffc22a) Bump version to 0.6.1 for publishing
- [`c4671f9`](https://github.com/facebook/jscodeshift/commit/c4671f95d06334e08d33ff5b1b1e80d45dd893b8) Don't use trailing commas in function calls
- [`c01fd56`](https://github.com/facebook/jscodeshift/commit/c01fd56db89bb618cbbe34a9d741e91ddc0a6ae6) Record changes in repo
- [`6dbbc2d`](https://github.com/facebook/jscodeshift/commit/6dbbc2da1b8502c676b5dd9a4de7ec46e286cf8a) Mention Typescript support in README
- [`192743c`](https://github.com/facebook/jscodeshift/commit/192743c33538409cd4049db402c2bd7bd637d1a4) Bump jest dependency
- Additional commits viewable in [compare view](https://github.com/facebook/jscodeshift/compare/v0.3.32...v0.6.2)
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 this dependency is pre-1.0.0.
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](https://app.dependabot.com):
- 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 from 0.3.32 to 0.6.2.
Release notes
*Sourced from [jscodeshift's releases](https://github.com/facebook/jscodeshift/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](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/287) , [**brieb**](https://github.com/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](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/291), [**elliottsj**](https://github.com/elliottsj) ) > > ### Bumped > - `micromatch` => v3.1.10, which doesn't (indirectly) depend on `randomatic` < > v3 anymore (see [#292](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/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'); > > ... (truncated)Changelog
*Sourced from [jscodeshift's changelog](https://github.com/facebook/jscodeshift/blob/master/CHANGELOG.md).* > ## [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](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/287) , [**brieb**](https://github.com/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](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/291), [**elliottsj**](https://github.com/elliottsj) ) > > ### Bumped > - `micromatch` => v3.1.10, which doesn't (indirectly) depend on `randomatic` < > v3 anymore (see [#292](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/292)).Commits
- [`891dea3`](https://github.com/facebook/jscodeshift/commit/891dea32d192b33c69ba5b927fd8e7e7d3e54e5f) Bump version to 0.6.2 for publishing - [`55ef34d`](https://github.com/facebook/jscodeshift/commit/55ef34d65fecb66ed772f9cf75fc78a788847468) Update changelog - [`cb92c48`](https://github.com/facebook/jscodeshift/commit/cb92c488b1fd068dbbd8f87ae380d2d8b3383513) Improve/fix @babel/register usage (closes [#294](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/294)) - [`3fc6ca1`](https://github.com/facebook/jscodeshift/commit/3fc6ca1c1e4b95c13123cab59270057e33a0418a) nomnom is not used anymore - [`6e38213`](https://github.com/facebook/jscodeshift/commit/6e382135fb99d64ad57d327023a5a49dd1fadbf1) Fix [#243](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/243) ([#244](https://github-redirect.dependabot.com/facebook/jscodeshift/issues/244)) - [`1ed8ccd`](https://github.com/facebook/jscodeshift/commit/1ed8ccddaa06e7126e56d5ce597e5aecbbffc22a) Bump version to 0.6.1 for publishing - [`c4671f9`](https://github.com/facebook/jscodeshift/commit/c4671f95d06334e08d33ff5b1b1e80d45dd893b8) Don't use trailing commas in function calls - [`c01fd56`](https://github.com/facebook/jscodeshift/commit/c01fd56db89bb618cbbe34a9d741e91ddc0a6ae6) Record changes in repo - [`6dbbc2d`](https://github.com/facebook/jscodeshift/commit/6dbbc2da1b8502c676b5dd9a4de7ec46e286cf8a) Mention Typescript support in README - [`192743c`](https://github.com/facebook/jscodeshift/commit/192743c33538409cd4049db402c2bd7bd637d1a4) Bump jest dependency - Additional commits viewable in [compare view](https://github.com/facebook/jscodeshift/compare/v0.3.32...v0.6.2)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 this dependency is pre-1.0.0.
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](https://app.dependabot.com): - 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.