Chore: Add Node 25 compatibility polyfill for SlowBuffer

This commit is contained in:
Josh Roskos 2026-05-16 21:30:12 -05:00
parent 5f92babc02
commit 8673169280

View file

@ -1,3 +1,9 @@
// Node 25 compatibility: SlowBuffer is removed
const buffer = require('buffer')
if (!buffer.SlowBuffer) {
buffer.SlowBuffer = buffer.Buffer
}
const optionDefinitions = [
{ name: 'config', alias: 'c', type: String },
{ name: 'metadata', alias: 'm', type: String },