Skip to content

Commit

Permalink
fixup! util: harden more built-in classes against prototype pollution
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Dec 11, 2024
1 parent fa03fae commit 1beb43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-util-inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -3413,7 +3413,7 @@ assert.strictEqual(
assert.strictEqual(
util.inspect(o),
'{\n' +
' arrayBuffer: { [Uint8Contents]: <>, byteLength: 0 },\n' +
' arrayBuffer: ArrayBuffer { [Uint8Contents]: <>, byteLength: 0 },\n' +
' buffer: <Buffer 48 65 6c 6c 6f>,\n' +
' typedArray: TypedArray(5) [Uint8Array] [ 72, 101, 108, 108, 111 ],\n' +
' array: [],\n' +
Expand Down

0 comments on commit 1beb43b

Please sign in to comment.