Use case
Framework
Owner
Array To Set Conversion
A codemod which makes the array search operation more optimal and efficient, by converting the array into a set and executing the set's has method to find the desired element.
Webpack To Rspack/Handling Built In Plugins Migrations
- Rspack has implemented most of webpack's built-in plugins, with the same names and configuration parameters, allowing for easy replacement.
- Replace the the include package from webpack to rspack one.
- Replaces the webpack object in the plugins array to rspack object.
- Handles only for supported and partially supported built-in plugins. (as of 11th Oct 2024)
Webpack To Rspack/Migrate Update Babel Loader To Swc Loader
Using builtin:swc-loader offers better performance compared to the babel-loader and the external swc-loader, as it avoids frequent communication between JavaScript and Rust.
Webpack/V5/Set Target To False And Update Plugins
This codemod migrates the
target
property in Webpack configurations from a function tofalse
and moves the function to theplugins
array.Set Target To False And Update Plugins
This codemod migrates the
target
property in Webpack configurations from a function tofalse
and moves the function to theplugins
array.Three/R168/Migration Recipe
This recipe is a set of codemods that will help migrate to three r168 from three r167 .
Three/R168/Uniforms To Uniformarray
This codemod renames uniforms() function, to uniformsArray()
Remix Js/V2/Migration Recipe
This recipe is a set of codemods that will help migrate to Remix.js v2.
Remix Js/V2/Remix 1 Add Meta V1 Wrapper
Using the metaV1 function, you can pass in the meta function's arguments and the same object it currently returns. This function will use the same merging logic to merge the leaf route's meta with its direct parent route meta before converting it to an array of meta descriptors usable in v2.
Remix Js/V2/Add Matches Param And Array Return To Meta Export
Instead of returning an object from meta, you will now return an array of descriptors and manage the merge yourself. This brings the meta API closer to links, and it allows for more flexibility and control over how meta tags are rendered.
Ethers/6/Utilities
This codemod does tranformation based on changes in the utils in ethers.js
Preact/X/Migration Recipe
This recipe provides a collection of codemods to help you migrate your codebase to Preact X. These codemods are designed to streamline the transition process by automating common code transformations.
Preact/X/Props Children To Child Array
A codemod that enhances child handling in Preact components by using
toChildArray
for accurate child count.NextAuth/4/UseSession Array To Object Destructuring
The
useSession
hook has been updated to return an object. This allows you to test states much more cleanly with the new status option.@E18e/Typedarray.Prototype.Slice
Introduction
@E18e/Typed Array Length
Introduction
@E18e/Typed Array Byte Offset
Introduction
@E18e/Typed Array Byte Length
Introduction
@E18e/Typed Array Buffer
Introduction
@E18e/String.Prototype.Repeat
Introduction