Use case
Framework
Owner
Webpack/V5/Migration Recipe
This recipe is a set of codemods that will help migrate webpack v4 to v5.
Webpack/V5/Set Target To False And Update Plugins
This codemod migrates the
targetproperty in Webpack configurations from a function tofalseand moves the function to thepluginsarray.Webpack/V5/Json Imports To Default Imports
This codemod migrates imports from JSON modules that use named exports to use default exports instead.
Webpack/V5/Migrate Library Target To Library Object
This codemod migrates the
output.libraryandoutput.libraryTargetproperties in Webpack configurations to the new format required by Webpack 5. It changesoutput.librarytooutput.library.nameandoutput.libraryTargettooutput.library.type.Gatsby/V5/Removal UseNavigate Hook
Removal of useNavigate Hook
Sentry/V8/Migration Recipe
This recipe is a set of codemods that will help migrate sentry.js v7.x to v8.x.
Sentry/V8/Removal Of Void From Transport Return Types
This codemod removes the
voidreturn type from thesendmethod of theTransportinterface, ensuring that the method always returns aTransportMakeRequestResponsein the promise. This change aligns with the updated requirements in Sentry 8.x.Sentry/V8/Remove Replay Package And Update Integration
This codemod removes the import statement for the @sentry/replay package and replaces instances of new Replay() with Sentry.replayIntegration(), aligning with the latest Sentry SDK practices.
Sentry/V8/Removal Of AddGlobalEventProcessor
This codemod facilitates the migration from Sentry v7.x to v8.x by replacing the deprecated
addGlobalEventProcessorfunction with the newgetGlobalScope().addEventProcessormethod.Sentry/V8/Replace Span Status From Http Code
This codemod replaces spanStatusfromHttpCode with getSpanStatusFromHttpCode in Sentry 8.x. It transforms instances of spanStatusfromHttpCode to use the new getSpanStatusFromHttpCode function.
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.