[Snyk] Upgrade @11ty/eleventy-fetch from 4.0.1 to 5.0.2 #63
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.
Snyk has created this PR to upgrade @11ty/eleventy-fetch from 4.0.1 to 5.0.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 12 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: @11ty/eleventy-fetch
Fetch
named export to create a Fetch instance without fetching data automatically. Works with the concurrency queue. Use thequeue()
method to fetch data.let data = await CachedFetch(source, options);
// is the same as:
let inst = Fetch(source, options);
let data = await inst.queue();
wasLastFetchCacheHit()
onFetch
instances, used to solve bug with Eleventy Image disk cache 11ty/eleventy-img#146fetch
or file systemread
calls.fs.mkdir
callsFull Changelog: v5.0.1...v5.0.2
fs.mkdir
callsFull Changelog: v5.0.2-beta.1...v5.0.2-beta.2
Fetch
named export to create a Fetch instance that does not automatically fetch data and works with the concurrency queue. Useasync queue()
to fetch data.let inst = Fetch(source, options);
let data = await inst.queue();
same as:
let data = await CachedFetch(source, options);
wasLastFetchCacheHit()
onFetch
instances, used to solve bug with Eleventy Image disk cache 11ty/eleventy-img#146fetch
or file systemread
calls.Full Changelog: v5.0.1...v5.0.2-beta.1
11ty/eleventy-img
, related to 11ty/eleventy-img#252Full Changelog: v5.0.0...v5.0.1
queue()
function, related to 11ty/eleventy-img#252Full Changelog: v5.0.0...v5.0.1-beta.1
11ty.dev docs for Fetch have been updated for v5.0.0: https://www.11ty.dev/docs/plugins/fetch/
fetch()
and dropnode-fetch
dependency by @ uncenter in #37URL
instance target #41AbortSignal
for fetch timeouts #39function
source (async-friendly) @ doug-wade in #32filenameFormat
by @ chriskirknielsen in #49type: "xml"
(alias for"text"
)type: "parsed-xml"
#53 returns a JS object via @ rgrove’s https://github.com/rgrove/parse-xmlreturnType: "response"
option to return (and cache)Response
metadata, includingurl
,status
,headers
,body
.requestId
option to control reuse, de-duping, unique cache keys when caching non-URL sources. Fixes a few more bugs with de-duping internally when HTTP methods and body requests are used for cache keys.type: "xml"
(alias for"text"
)type: "parsed-xml"
#53 returns a JS object via @ rgrove’s https://github.com/rgrove/parse-xmlreturnType: "response"
option to return (and cache)Response
metadata, includingurl
,status
,headers
,body
.Full Changelog: v5.0.0-beta.6...v5.0.0-beta.7
Full Milestone: https://github.com/11ty/eleventy-fetch/milestone/5?closed=1
requestId
option to control reuse, de-duping, unique cache keys when caching non-URL sources. Fixes a few more bugs with de-duping internally when HTTP methods and body requests are used for cache keys.Full Changelog: v5.0.0-beta.5...v5.0.0-beta.6
Full Milestone: https://github.com/11ty/eleventy-fetch/milestone/5?closed=1
Full Changelog: v5.0.0-beta.4...v5.0.0-beta.5
Full Milestone: https://github.com/11ty/eleventy-fetch/milestone/5?closed=1
Full Changelog: v5.0.0-beta.3...v5.0.0-beta.4
Full Milestone: https://github.com/11ty/eleventy-fetch/milestone/5?closed=1
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:![](https://camo.githubusercontent.com/abbab4d8a114b5f0a11e6b93863173b933923238c9a8608454512af567eb8a79/68747470733a2f2f6170692e7365676d656e742e696f2f76312f706978656c2f747261636b3f646174613d65794a33636d6c305a55746c65534936496e4a79576d785a634564485932527954485a7362306c596430645563566734576b4652546e4e434f5545774969776959573576626e6c746233567a535751694f694a6b4d5441774f444e6d4e533035596a41784c5451775a5745744f5441774e79316b5932466c4f444e6a4e4455794e5755694c434a6c646d567564434936496c425349485a705a58646c5a434973496e42796233426c636e52705a584d694f6e736963484a4a5a434936496d51784d4441344d3259314c546c694d4445744e44426c595330354d4441334c57526a595755344d324d304e5449315a534a3966513d3d)