rsnext/packages/next-codemod/transforms/__testfixtures__
Ishaq Ibrahim 29c5acd33b
issue-41925 fix: skip duplicate props when transferring props from anchor to link (#42158)
Fixes issue #41925 by skipping duplicate props. I've tested the changes
locally - the duplicate prop is being skipped successfully. The
new-link.test.js suite is also passing.

<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->

## Bug

- [x] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the
feature request has been accepted for implementation before opening a
PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)

Co-authored-by: Ishaq Ibrahim <ishaq.ibrahim@convertdigital.com.au>
2022-10-30 13:09:14 -07:00
..
add-missing-react-import Add codemod for files that do not support the new React JSX transform (#21281) 2021-01-18 15:17:10 +00:00
name-default-component Move next-codemod to Next.js monorepo (#15536) 2020-08-10 11:14:53 +02:00
new-link issue-41925 fix: skip duplicate props when transferring props from anchor to link (#42158) 2022-10-30 13:09:14 -07:00
next-image-experimental Update next/image docs and examples (#41434) 2022-10-17 10:41:35 -04:00
next-image-experimental-loader Update next-image-experimental codemod to handle loaders (#41633) 2022-10-21 15:26:42 -07:00
next-image-to-legacy-image Update next/image codemod to handle require() (#41345) 2022-10-11 18:12:02 -07:00
url-to-withrouter Fix failing codemod test url-to-withrouter (#42109) 2022-10-29 22:26:21 -07:00
withamp-to-config Move next-codemod to Next.js monorepo (#15536) 2020-08-10 11:14:53 +02:00