doc: update to package.exports docs by MylesBorins · Pull Request #33074 · nodejs/node

@MylesBorins

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: then/is-promise#20

@nodejs-github-bot added doc

Issues and PRs related to the documentations.

esm

Issues and PRs related to the ECMAScript Modules implementation.

labels

Apr 26, 2020

ljharb

targos

novemberborn

GeoffreyBooth

Co-Authored-By: Mark Wubben <mark@novemberborn.net>
Co-Authored-By: Mark Wubben <mark@novemberborn.net>
Co-Authored-By: Geoffrey Booth <GeoffreyBooth@users.noreply.github.com>
Co-Authored-By: Geoffrey Booth <GeoffreyBooth@users.noreply.github.com>
Co-Authored-By: Geoffrey Booth <GeoffreyBooth@users.noreply.github.com>

GeoffreyBooth

guybedford

robpalme

guybedford

hybrist

hybrist previously approved these changes Apr 27, 2020

@MylesBorins @robpalme

Co-Authored-By: Rob Palmer <rob.palmer2@gmail.com>

guybedford

@MylesBorins

@MylesBorins

robpalme

Co-authored-by: Rob Palmer <rob.palmer2@gmail.com>
Co-authored-by: Rob Palmer <rob.palmer2@gmail.com>

@MylesBorins

@MylesBorins

@MylesBorins

@MylesBorins

@MylesBorins

robpalme

GeoffreyBooth

guybedford

Co-authored-by: Guy Bedford <guybedford@gmail.com>

@MylesBorins

addaleax

MylesBorins added a commit that referenced this pull request

May 5, 2020
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: then/is-promise#20

PR-URL: #33074
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>

codebytere pushed a commit that referenced this pull request

May 7, 2020
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: then/is-promise#20

PR-URL: #33074
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>

codebytere pushed a commit that referenced this pull request

Jun 7, 2020
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: then/is-promise#20

PR-URL: #33074
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>