← All recipes
Moderne licensed

Find hpagent usages that need manual migration

Recipe IDorg.openrewrite.node.migrate.hpagent.find-hpagent-manual-migrationsArtifact@openrewrite/recipes-nodejs

Marks every hpagent usage the automated migration leaves in place — a construction whose options aren't an object literal or set a TLS option for the destination handshake, an agent class used as a value, hpagent's option types, re-exports, dynamic imports and test mocks — and records each with a suggested replacement in the HpagentManualMigrationSteps data table.

Single recipehttps-proxy-agenthpagentProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe org.openrewrite.node.migrate.hpagent.find-hpagent-manual-migrations

If the recipe isn’t available locally, install it with:

mod config recipes npm install @openrewrite/recipes-nodejs