Replace deprecated SlowBuffer with Buffer.allocUnsafeSlow()

Proprietary

Replace deprecated new SlowBuffer(size) calls with Buffer.allocUnsafeSlow(size). SlowBuffer was used to create un-pooled Buffer instances, but has been removed in favor of the explicit Buffer.allocUnsafeSlow() method.

org.openrewrite.node.migrate.buffer.replace-slow-buffer
mod run . --recipe=org.openrewrite.node.migrate.buffer.replace-slow-buffer

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.