← All recipes
Moderne licensed

Replace deprecated zlib.bytesRead with zlib.bytesWritten

Recipe IDorg.openrewrite.node.migrate.zlib.replace-bytes-readArtifact@openrewrite/recipes-nodejs

Replace deprecated bytesRead property on zlib streams with bytesWritten.

Single recipeDEP0108Proprietary

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.zlib.replace-bytes-read

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

mod config recipes npm install @openrewrite/recipes-nodejs