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
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.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.library
andoutput.libraryTarget
properties in Webpack configurations to the new format required by Webpack 5. It changesoutput.library
tooutput.library.name
andoutput.libraryTarget
tooutput.library.type
.Gatsby/V5/Removal UseNavigate Hook
Removal of useNavigate Hook
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
void
return type from thesend
method of theTransport
interface, ensuring that the method always returns aTransportMakeRequestResponse
in 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
addGlobalEventProcessor
function with the newgetGlobalScope().addEventProcessor
method.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.
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.