• React/19/Remove Forward Ref

    React.forwardRef will be deprecated for Function Components in near future. This codemod removes forwardRef function.

  • Pinia Colada 0 14 Migration Recipe

    This codemod updates the usage of PiniaColada to ensure that the enabled and gcTime options are correctly placed under queryOptions. Previously, these options were directly passed as top-level properties, which is now deprecated. The codemod transforms these patterns into the new structure where enabled is nested under queryOptions.

  • Deno Replace Import Assertions

    This codemod helps migrate JavaScript/TypeScript files from using the deprecated import assertions syntax to the updated import attributes syntax. The change aligns with the updated proposal for import attributes and ensures compatibility with newer versions of runtimes like Deno 2 and modern browsers that have already removed support for import assertions.

  • Deno Refactor TLS Certs Reading

    This codemod updates the usage of TLS certificate loading in Deno by replacing deprecated properties with their new counterparts. In Deno V2, loading certificates directly from files is now deprecated. Instead, you should read the certificates yourself.

  • Deno Refactor Resource Ids

    In Deno v2, resource IDs are being deprecated. Most users do not directly interact with resource IDs, so we are moving towards a model where resources are referenced by native JavaScript objects. This codemod automates the process of updating your code to align with this change.

  • Deno Import STL Types

    This codemod updates deprecated Deno typescript interfaces in your codebase. It automatically imports the necessary typscript interfaces from the standard library

  • React Router/6/Update Relative Links

    This codemod modernizes Route and Link components in React Router by:

    1. Removing the deprecated exact prop from Route.
    2. Updating Route to use the element prop.
    3. Rewriting dynamic Link and Route paths that use template literals like ${match.url} and ${match.path}.
  • React Router/5.1/Redirect To Navigate

    This codemod updates deprecated Redirect components from react-router-dom to the modern Navigate API. It also updates the imports by replacing Redirect with Navigate.

  • React Router/6/Navlink Exact To End

    This codemod replaces the deprecated exact prop in NavLink with the modern end prop. React Router v6 and beyond use end to indicate that the path should match exactly, making this a necessary update for compatibility with newer versions.

  • Electron/V33/System Preferences To Native Theme

    This codemod deprecates systemPreferences.accessibilityDisplayShouldReduceTransparency property, which is now deprecated in favor of the new nativeTheme.prefersReducedTransparency, which provides identical information and works cross-platform.

  • Gatsby/V5/Removal UseNavigate Hook

    Removal of useNavigate Hook

  • Meteor/V3/Removed Functions

    This codemod helps remove deprecated functions like Promise.await and Meteor.wrapAsync from your Meteor codebase, aligning it with the new best practices introduced in Meteor v3.

  • Next/15/Refactor Experimental.ServerComponentsExternalPackages To ServerExternalPackages

    Refactor experimental.serverComponentsExternalPackages to serverExternalPackages

  • Sentry/V8/Removal Of AddGlobalEventProcessor

    This codemod facilitates the migration from Sentry v7.x to v8.x by replacing the deprecated addGlobalEventProcessor function with the new getGlobalScope().addEventProcessor method.

  • Sentry/V8/Removal Sentry.ConfigureScope Method

    This codemod facilitates the migration from Sentry version 7.x to 8.x by removing the deprecated Sentry.configureScope method. Instead, it transforms the code to utilize Sentry.getCurrentScope() for accessing and mutating the current scope. This change simplifies the API and aligns with the latest Sentry practices.

  • Sentry/V8/Removal Severity Enum

    Codemod to replace the deprecated Severity enum with the SeverityLevel type in Sentry from version 7.x to 8.x.