From ea2577ee31ee00c443dbf48631a9861f8d3e03e2 Mon Sep 17 00:00:00 2001 From: titanism <101466223+titanism@users.noreply.github.com> Date: Tue, 23 Apr 2024 12:10:34 -0500 Subject: [PATCH] fix: fix numeric identifier issue --- src/node/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/index.js b/src/node/index.js index a44357a1..780b4f53 100644 --- a/src/node/index.js +++ b/src/node/index.js @@ -1124,7 +1124,7 @@ Request.prototype._end = function () { let parserHandlesEnd = false; if (buffer) { // Protectiona against zip bombs and other nuisance - let responseBytesLeft = this._maxResponseSize || 200_000_000; + let responseBytesLeft = this._maxResponseSize || 200000000; res.on('data', (buf) => { responseBytesLeft -= buf.byteLength || buf.length > 0 ? buf.length : 0; if (responseBytesLeft < 0) {