Repository navigation
docs(api): Say which entries import p-limit and http-cache-semantics - #131250
Merged
Merged
Conversation
The README said the root entry has no runtime dependencies while package.json lists p-limit and http-cache-semantics. Both are right: only the /client entry imports them, and they stay regular dependencies so /client consumers keep working. Reword the README to say that, and test that the root, /browser, /operations and /docs bundles import no package and that /client imports only the declared ones. Co-Authored-By: BYK <[email protected]>
BYK
approved these changes
Nov 17, 2026
2 tasks done
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #131203.
The README says the root
@sentry/apientry has no runtime dependencies. Yetpackage.jsonlistsp-limitandhttp-cache-semanticsunderdependencies. Both statements hold:/browser,/operationsand/docsbundles import no packages./clientis the only entry that imports those two packages, and its type declarations don't import them.This rewords the README paragraph to say which entry imports what, and that npm installs both packages with
@sentry/api. The packages stay regular dependencies. Making them optional or peer dependencies would break existing/clientconsumers, who get them installed automatically today.via @BYK.
--
View Session [Sentry]