Skip to content

Commit eed739c

Browse files
fixup: spread with __proto__: null
1 parent 0064379 commit eed739c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/internal/modules/package_json_reader.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ function deserializePackageJSON(path, contents) {
5959
return {
6060
data: {
6161
__proto__: null,
62-
...(name != null && { name }),
63-
...(main != null && { main }),
64-
...(type != null && { type }),
62+
...(name != null && { __proto__: null, name }),
63+
...(main != null && { __proto__: null, main }),
64+
...(type != null && { __proto__: null, type }),
6565
...(plainImports != null && {
6666
// This getters are used to lazily parse the imports and exports fields.
6767
get imports() {

0 commit comments

Comments
 (0)