From 09ae6fc065d4a4e6b7ba7218ee495bba7f57d02e Mon Sep 17 00:00:00 2001 From: Woohyun Sung Date: Tue, 14 Oct 2025 17:40:27 +0900 Subject: [PATCH] typings: add missing properties in HTTPParser PR-URL: https://github.com/nodejs/node/pull/60257 Reviewed-By: Yagiz Nizipli Reviewed-By: Chemi Atlow Reviewed-By: Colin Ihrig --- typings/internalBinding/http_parser.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/typings/internalBinding/http_parser.d.ts b/typings/internalBinding/http_parser.d.ts index 124bdd5af2f..162081dc2cc 100644 --- a/typings/internalBinding/http_parser.d.ts +++ b/typings/internalBinding/http_parser.d.ts @@ -27,10 +27,18 @@ declare namespace InternalHttpParserBinding { static kLenientHeaders: number; static kLenientChunkedLength: number; static kLenientKeepAlive: number; + static kLenientTransferEncoding: number; + static kLenientVersion: number; + static kLenientDataAfterClose: number; + static kLenientOptionalLFAfterCR: number; + static kLenientOptionalCRLFAfterChunk: number; + static kLenientOptionalCRBeforeLF: number; + static kLenientSpacesAfterChunkSize: number; static kLenientAll: number; close(): void; free(): void; + remove(): void; execute(buffer: Buffer): Error | Buffer; finish(): Error | Buffer; initialize(