chore(deps): update dependency sitemap to v8 #295
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 contains the following updates:
^4.1.1
->^8.0.0
Release Notes
ekalinin/sitemap.js (sitemap)
v8.0.0
Compare Source
v7.1.2
Compare Source
v7.1.1
Compare Source
v7.1.0
Compare Source
v7.0.0
Compare Source
[BREAKING]
getSitemapStream
option for SitemapAndIndexStream that does not return a write streamnon-breaking
publicBasePath
: allows the user to set the location of sitemap files hosted on the site fixes [#359]v6.4.0
Compare Source
v6.3.6
Compare Source
v6.3.5
Compare Source
new XMLToSitemapItemStream({ logger: false })
ornew XMLToSitemapItemStream({ level: ErrorLevel.SILENT })
ornew XMLToSitemapItemStream({ logger: (level, ...message) => your.custom.logger(...message) })
v6.3.4
Compare Source
Promise<null>
but actually returnedPromise<void>
v6.3.3
Compare Source
v6.3.2
Compare Source
v6.3.1
Compare Source
v6.3.0
Compare Source
v6.2.0
Compare Source
v6.1.7
Compare Source
v6.1.6
Compare Source
v6.1.5
Compare Source
v6.1.4
Compare Source
v6.1.3
Compare Source
v6.1.2
Compare Source
v6.1.1
Compare Source
v6.1.0
Compare Source
v6.0.0
Compare Source
6.0.0 breaking changes
price:type
andprice:resolution
are now more restrictive typesv5.1.0
Compare Source
Fix for #255. Baidu does not like timestamp in its sitemap.xml, this adds an option to truncate lastmod
v5.0.1
Compare Source
Fix for issue #254.
v5.0.0
Compare Source
Streams
This release is heavily focused on converting the core methods of this library to use streams. Why? Overall its made the API ~20% faster and uses only 10% or less of the memory. Some tradeoffs had to be made as in their nature streams are operate on individual segments of data as opposed to the whole. For instance, the streaming interface does not support removal of sitemap items as it does not hold on to a sitemap item after its converted to XML. It should however be possible to create your own transform that filters out entries should you desire it. The existing synchronous interfaces will remain for this release at least. Do not be surprised if they go away in a future breaking release.
Sitemap Index
This library interface has been overhauled to use streams internally. Although it would have been preferable to convert this to a stream as well, I could not think of an interface that wouldn't actually end up more complex or confusing. It may be altered in the near future to accept a stream in addition to a simple list.
Misc
npx sitemap --prepend existingSitemap.xml < listOfNewURLs.json.txt
5.0 Breaking Changes
--json
is now inferred--line-separated
has been flipped to--single-line-json
to by default output options immediately compatible with feeding back into sitemapConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.