From 1da83bd4e16a2fb0aa497c1efba2b565925e7076 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 13 Dec 2024 09:08:29 +0000 Subject: [PATCH] Version Packages --- .changeset/sharp-dancers-breathe.md | 5 ----- .changeset/wise-icons-wash.md | 7 ------- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 4 files changed, 11 insertions(+), 13 deletions(-) delete mode 100644 .changeset/sharp-dancers-breathe.md delete mode 100644 .changeset/wise-icons-wash.md diff --git a/.changeset/sharp-dancers-breathe.md b/.changeset/sharp-dancers-breathe.md deleted file mode 100644 index 5dc7cbdb..00000000 --- a/.changeset/sharp-dancers-breathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"types-react-codemod": patch ---- - -Avoid modifying import not from `'react'` when replacing types. diff --git a/.changeset/wise-icons-wash.md b/.changeset/wise-icons-wash.md deleted file mode 100644 index 97be277a..00000000 --- a/.changeset/wise-icons-wash.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"types-react-codemod": patch ---- - -Fix a bug when replacing types in shorthand array type notations. - -For example, replacing `ReactText` in `ReactText[]` should now result in `(number | string)[]` instead of `number | string[]`. diff --git a/CHANGELOG.md b/CHANGELOG.md index c2e24db1..7bc9215e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 33b5b33e..c49b515b 100644 --- a/package.json +++ b/package.json @@ -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",