Use case
Framework
Owner
React 17 Default Props To Params
Example
This codemod turns X into Y. It also does Z. Note: this is a contrived example. Please modify it.
I18n/23/Remove Options
Modification of the InterpolationOptions type. In version 23.0.0, the ns property within InterpolationOptions is now constrained to be of type Namespace instead of being a string or a readonly string[]. This change requires you to adjust your code accordingly.
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/Migration Recipe
This codemods designed to facilitate the migration of your project from React Router to version 7. Each codemod targets specific changes and improvements introduced in React Router v7, ensuring a smoother transition.
Fastify/5/Listen Arg Transformation
This codemod turns
fastify.listen(8000)
intofastify.listen({ port: 8000 })
, reflecting the highlights of the migration from the oldlisten
method signature to the new object-based approach in Fastify v5.Before
Node/22.8.0/Vm Context Modifications Codemod
Node.js implements a flavor of vm.createContext() and friends that creates a context without contextifying its global object when vm.constants.DONT_CONTEXTIFY is used. This is suitable when users want to freeze the context (impossible when the global is contextified i.e. has interceptors installed) or speed up the global access if they don't need the interceptor behavior.
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.
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()
Three/R168/Logluvloader To UltraHDRLoader
This codemod removes
LogLuvLoader
, and replaces it withUltraHDRLoader
I18n/23/Add Namespace Type Annotation
Modification of the InterpolationOptions type. In version 23.0.0, the ns property within InterpolationOptions is now constrained to be of type Namespace instead of being a string or a readonly string[]. This change requires you to adjust your code accordingly.
I18n/23/I18next Replace Keyswithseparator With Joinkeys
Renaming types or functions can be part of an effort to clarify the library's API, deprecate old functionality, or introduce new features. In this case, KeysWithSeparator has been renamed to JoinKeys. This means wherever KeysWithSeparator was used in the codebase, it needs to be replaced with JoinKeys.
Three/R168/Pointerlockcontrols Object To Controls Object
This codemod helps in transforming
PointerLockControls.getObject()
tocontrols.object
Remix Js/V2/Webpack V2 Migrate Dev Server Port
In your remix.config.js, rename devServerPort to future.v2_dev.port.
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.
Three/R168/Dragcontrols Getraycaster To Controls Raycaster
This codemod renames DragControls.getRaycaster() to controls.raycaster
Three/R168/Dragcontrols.Deactivate To Disconnect
This codemod renames dragcontrols.deactivate() to disconnect()
Three/R168/Dragcontrols.Activate To Connect
This codemod renames dragcontrols.activate() to connect().
Gatsby/V5/Removal UseNavigate Hook
Removal of useNavigate Hook