Unverified Commit 1ffd1822 authored by Myles Borins's avatar Myles Borins Committed by Myles Borins
Browse files

doc: explicitly doc package.exports is breaking

If package authors don't explicitly include all previously supported
entry points introducing package.exports will be a Semver-Major change.

Add a warning about this behavior and offer two potential solutions
for module authors.

Refs: https://github.com/then/is-promise/issues/20

PR-URL: https://github.com/nodejs/node/pull/33074


Reviewed-By: default avatarGuy Bedford <guybedford@gmail.com>
Reviewed-By: default avatarJan Krems <jan.krems@gmail.com>
Reviewed-By: default avatarGeoffrey Booth <webmaster@geoffreybooth.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent 26f15002
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment