Replace deprecated SlowBuffer with Buffer.allocUnsafeSlow()
ProprietaryReplace 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-buffermod run . --recipe= org. openrewrite. node. migrate. buffer. replace-slow-bufferInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.