| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8271774 commit 707f6ea
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -443,10 +443,12 @@ metadata. Raise a pull request like any other change. | |||
| 443 | 443 | ||
| 444 | 444 | Treat commits that introduce new core modules with extra care. | |
| 445 | 445 | ||
| 446 | - New modules must only be added with the `node:` prefix. | ||
| 446 | + New modules must only be added with the `node:` prefix, as `semver-minor`. | ||
| 447 | 447 | ||
| 448 | - When adding promises to an existing API, add `/promises` | ||
| 449 | - (`inspector/promises`, etc.). Apply the `semver-major` label to the addition. | ||
| 448 | + When adding a "sub-module", e.g. a promise variant of an existing API (e.g. | ||
| 449 | + `node:inspector/promises`) that is available without the `node:` prefix, making | ||
| 450 | + the sub-module available without the prefix is possible behind a runtime flag, | ||
| 451 | + or as a `semver-major` change. | ||
| 450 | 452 | ||
| 451 | 453 | If the new module name is free in npm, register | |
| 452 | 454 | a placeholder in the module registry as soon as possible. Link to the pull | |
| Back | FazBrowse Home | New Git URL |
0 commit comments