← All recipes
Moderne licensed

Remove deprecated net._setSimultaneousAccepts()

Recipe IDorg.openrewrite.node.migrate.net.remove-set-simultaneous-acceptsArtifact@openrewrite/recipes-nodejs

Remove calls to deprecated net._setSimultaneousAccepts() which was an undocumented internal function that is no longer necessary.

Single recipeDEP0121Proprietary

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.net.remove-set-simultaneous-accepts

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

mod config recipes npm install @openrewrite/recipes-nodejs