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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@apollo/datasource-rest@5.0.2
Patch Changes
#159
ee018a7
Thanks @trevor-scheer! - Updatehttp-cache-semantics
package to latest patch, resolving a securityissue.
Unlike many security updates Apollo repos receive, this is an actual (non-dev)
dependency of this package which means it is actually a user-facing security
issue.
The potential impact of this issue is limited to a DOS attack (via an
inefficient regex).
This security issue would only affect you if either:
cache-control
request headerscache-control
headersSince
http-cache-semantics
is a careted (^) dependency in this package, thesecurity issue can (and might already) be resolved via a
package-lock.json
update within your project (possibly triggered by
npm audit
or anotherdependency update which has already updated its version of the package in
question). If
npm ls http-cache-semantics
reveals a tree of dependencies whichonly include the
4.1.1
version (and no references to any previous versions)then you are currently unaffected and this patch should have (for all intents
and purpose) no effect.
More details available here: GHSA-rc47-6667-2j5j
#160
786c44f
Thanks @trevor-scheer! - Add missing@apollo/utils.withrequired
type dependency which is part of thepublic typings (via the
AugmentedRequest
type).#154
bb0cff0
Thanks @JustinSomers! - Addresses duplicate content-type header bug due to upper-cased headers being forwarded. This change instead maps all headers to lowercased headers.