File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,13 @@ The file `lib/internal/per_context/primordials.js` subclasses and stores the JS
4
4
built-ins that come from the VM so that Node.js built-in modules do not need to
5
5
later look these up from the global proxy, which can be mutated by users.
6
6
7
- Usage of primordials should be preferred for any new code, but replacing current
8
- code with primordials should be
7
+ For some area of the codebase, performance and code readability are deemed more
8
+ important than reliability against prototype pollution:
9
+
10
+ * ` node:http2 `
11
+
12
+ Usage of primordials should be preferred for new code in other areas, but
13
+ replacing current code with primordials should be
9
14
[ done with care] ( #primordials-with-known-performance-issues ) . It is highly
10
15
recommended to ping the relevant team when reviewing a pull request that touches
11
16
one of the subsystems they "own".
You can’t perform that action at this time.
0 commit comments