Commit 6321e08
committed
fixup! vfs: integrate with CJS and ESM module loaders
Restore the "DO NOT depend on the patchability" warnings in esm/load.js
and esm/resolve.js that were dropped along with the fs imports. The
warning still applies; it now also points at node:vfs as one of the
formal hook mechanisms callers should reach for instead.
Addresses review feedback from @jsumners-nr in
#636531 parent b51fe1f commit 6321e08
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
270 | 276 | | |
271 | 277 | | |
272 | 278 | | |
| |||
0 commit comments