We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3fb097 commit eb62db6Copy full SHA for eb62db6
lib/parser.js
@@ -17,6 +17,7 @@ var isModern = typeof Buffer.allocUnsafe === 'function'
17
* @returns {Buffer}
18
*/
19
20
+/* istanbul ignore next: fallback for old Node.js versions */
21
function bufferAlloc (len) {
22
return isModern ? Buffer.allocUnsafe(len) : new Buffer(len)
23
}
0 commit comments