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/Migration Recipe
This recipe is a set of codemods that will help migrate from webpack to rspack.
Webpack To Rspack/Remove Raw Loader To Type Asset Source
Rspack implements Webpack 5's Asset Modules, using asset modules to replace raw-loader to 'asset/source' for better performance.
Webpack To Rspack/Remove Url Loader To Type Asset Inline
Rspack implements Webpack 5's Asset Modules, using asset modules to replace url-loader to 'asset/inline' for better performance.
Webpack To Rspack/Remove File Loader To Type Asset Resource
Rspack implements Webpack 5's Asset Modules, using asset modules to replace file-loader to 'asset/resource' for better performance.
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.
React Router/7/Add V7 RelativeSplatPath Flag
This transformation adds the necessary configuration to enable v7 features, specifically the v7_relativeSplatPath flag. It affects both components and createBrowserRouter configurations.
Styledictionary/4/Logging
This codemod updates the logging system to be more configurable, as detailed in the Logging docs. You can now customize the verbosity of logs and silence warnings and success logs, in addition to the previous option of setting
log: 'error'
to change the default behavior to throw warnings as errors.Styledictionary/4/Hook Api Actions
This codemod updates registered actions to be placed inside the
hooks.actions
property, instead ofaction
. Note the shift from the singular to the plural form in this update.Reka Ui/Remove Calendar Step Prop
Use prevPage/nextPage props for greater control.
Meteor/V3/Update React
This codemod helps in transforming react to meteor
Fastify/5/MigrationRecipe
This recipe provides a set of codemods designed to assist with migrating to Fastify 5. Each codemod addresses specific changes and enhancements introduced in Fastify 5.
Fastify/5/GetResponseTime To ElapsedTime
This codemod converts
reply.getResponseTime()
toreply.elapsedTime
, reflecting changes in Fastify v5 for retrieving response time.MoveStateToChildComponent
This codemod refactors React components by moving
useState
hooks from parent components to child components when the state and setter function (setState
) are passed down as props. The goal is to simplify the parent components and allow child components to manage their own internal state when appropriate.Reka Ui/Migration Recipe
This recipe is a set of codemods that will help migrate to Style Dictionary 4.
Jasmine/V5/Migration Recipe
This recipe is a set of codemods that will help migrate to jasmine v5 from jasmine 4.x .
Node/22.8.0/Enable Compile Cache In Start Server
This release adds a new API module.enableCompileCache() that can be used to enable on-disk code caching of all modules loaded after this API is called. Previously this could only be enabled by the NODE_COMPILE_CACHE environment variable, so it could only set by end-users. This API allows tooling and library authors to enable caching of their own code. This is a built-in alternative to the v8-compile-cache/v8-compile-cache-lib packages, but have better performance and supports ESM.
Meteor/V3/Mongo Db Async Methods
This codemod updates synchronous MongoDB operations in a Meteor project to use their asynchronous counterparts, making the code compatible with modern JavaScript best practices (using
async/await
). It transforms methods such asfind
,findOne
,insert
,update
,remove
, andupsert
to their asynchronous equivalents by appendingAsync
to method names and introducingawait
.Webpack/V5/Migration Recipe
This recipe is a set of codemods that will help migrate webpack v4 to v5.
Svelte/5/Migration Recipe
This recipe is a set of codemods that will help migrate to Svelte 5.