File tree 1 file changed +14
-6
lines changed
1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -392,13 +392,21 @@ metadata. Raise a pull request like any other change.
392
392
393
393
Treat commits that introduce new core modules with extra care.
394
394
395
- Check if the module's name conflicts with an existing ecosystem module. If it
396
- does, choose a different name unless the module owner has agreed in writing to
397
- transfer it.
395
+ New modules must only be added with the ` node: ` prefix.
398
396
399
- If the new module name is free, register a placeholder in the module registry as
400
- soon as possible. Link to the pull request that introduces the new core module
401
- in the placeholder's ` README ` .
397
+ When adding promises to an existing API, add ` /promises `
398
+ (` inspector/promises ` , etc.). Apply the ` semver-major ` label to the addition.
399
+
400
+ If the new module name is free in npm, register
401
+ a placeholder in the module registry as soon as possible. Link to the pull
402
+ request that introduces the new core module in the placeholder's ` README ` .
403
+
404
+ If the module name is not free and the module is
405
+ not widely used, contact the owner to see if they would be willing to transfer
406
+ it to the project.
407
+
408
+ We register a placeholder without the ` node: ` prefix whenever
409
+ possible to avoid confusion and typosquatting attacks.
402
410
403
411
For pull requests introducing new core modules:
404
412
You can’t perform that action at this time.
0 commit comments