summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal_binding
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2024-11-05 02:17:11 +0900
committerGitHub <noreply@github.com>2024-11-04 12:17:11 -0500
commitfb1d33a7111e45e9b414cfe922a5db5ee4daf3ea (patch)
treefc2c3d797fa7e4d5a56c99b94a0aa1a823fe29e0 /ext/node/polyfills/internal_binding
parentd95f06f20b97839d9a2aaeb590f4ed30b6383b0f (diff)
chore: update dlint to v0.68.0 for internal (#26711)
Diffstat (limited to 'ext/node/polyfills/internal_binding')
-rw-r--r--ext/node/polyfills/internal_binding/http_parser.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/node/polyfills/internal_binding/http_parser.ts b/ext/node/polyfills/internal_binding/http_parser.ts
index ca4f896e2..bad10d985 100644
--- a/ext/node/polyfills/internal_binding/http_parser.ts
+++ b/ext/node/polyfills/internal_binding/http_parser.ts
@@ -126,6 +126,7 @@ ObjectSetPrototypeOf(HTTPParser.prototype, AsyncWrap.prototype);
function defineProps(obj: object, props: Record<string, unknown>) {
for (const entry of new SafeArrayIterator(ObjectEntries(props))) {
ObjectDefineProperty(obj, entry[0], {
+ __proto__: null,
value: entry[1],
enumerable: true,
writable: true,