Skip to content

Commit 37fd770

Browse files
lib: update ObjectAssign
Co-authored-by: Michaël Zasso <targos@protonmail.com>
1 parent df671f7 commit 37fd770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/assert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function Assert(options) {
102102
throw new ERR_INVALID_ARG_TYPE('Assert', 'constructor', Assert);
103103
}
104104

105-
options = ObjectAssign({ strict: true }, options);
105+
options = ObjectAssign({ __proto__: null, strict: true }, options);
106106

107107
const allowedDiffs = ['simple', 'full'];
108108
if (

0 commit comments

Comments
 (0)