Skip to content

Commit

Permalink
release: 3.5.1 (#457)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Dec 15, 2024
1 parent 70a1ea5 commit 306751a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
5 changes: 0 additions & 5 deletions .changeset/sharp-dancers-breathe.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/wise-icons-wash.md

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# types-react-codemod

## 3.5.1

### Patch Changes

- Avoid modifying import not from `'react'` when replacing types. ([#456](https://github.com/eps1lon/types-react-codemod/pull/456) [`5614a5f`](https://github.com/eps1lon/types-react-codemod/commit/5614a5f3964d1fb6614a9b72ff578f3225ff1656) by [@henryqdineen](https://github.com/henryqdineen))

- Fix a bug when replacing types in shorthand array type notations. ([#455](https://github.com/eps1lon/types-react-codemod/pull/455) [`70a1ea5`](https://github.com/eps1lon/types-react-codemod/commit/70a1ea5e3e402f5a9ff199dcb6a96b35398b7a89) by [@henryqdineen](https://github.com/henryqdineen))

For example, replacing `ReactText` in `ReactText[]` should now result in `(number | string)[]` instead of `number | string[]`.

## 3.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "types-react-codemod",
"version": "3.5.0",
"version": "3.5.1",
"bin": "bin/types-react-codemod.cjs",
"scripts": {
"format": "prettier . --write",
Expand Down

0 comments on commit 306751a

Please sign in to comment.