Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lib: add missing proto
Co-authored-by: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
miguelmarcondesf and ljharb authored Sep 5, 2025
commit 153257057822ddaf50a66fe3aa5f4ecfe08759a6
2 changes: 1 addition & 1 deletion lib/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
throw new ERR_MISSING_ARGS('actual', 'expected');
}
if (isDeepEqual === undefined) lazyLoadComparison();
if (!isDeepStrictEqual(actual, expected, { __proto__: null, skipPrototypeComparison: this?.[kOptions]?.skipPrototypeComparison })) {

Check failure on line 316 in lib/assert.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

This line has a length of 134. Maximum allowed is 120
innerFail({
actual,
expected,
Expand All @@ -339,7 +339,7 @@
throw new ERR_MISSING_ARGS('actual', 'expected');
}
if (isDeepEqual === undefined) lazyLoadComparison();
if (isDeepStrictEqual(actual, expected, { skipPrototypeComparison: this?.[kOptions]?.skipPrototypeComparison })) {
if (isDeepStrictEqual(actual, expected, { __proto__: null, skipPrototypeComparison: this?.[kOptions]?.skipPrototypeComparison })) {

Check failure on line 342 in lib/assert.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

This line has a length of 133. Maximum allowed is 120
innerFail({
actual,
expected,
Expand Down
Loading