added so manay things

This commit is contained in:
miles committed 2026-03-17 20:39:19 -04:00
1 parent a242b40a96
commit 534e55c32d
1160 files changed
+493911 -35

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
'use strict'
/* eslint-disable node/no-deprecated-api */
module.exports = function (size) {
if (typeof Buffer.allocUnsafe === 'function') {
try {
return Buffer.allocUnsafe(size)
} catch (e) {
return new Buffer(size)
}
}
return new Buffer(size)
}