nuxt-community / sitemap-module

Sitemap Module for Nuxt 2
https://sitemap.nuxtjs.org
MIT License
689 stars 127 forks source link

chore(deps): update dependency sitemap to v7 - abandoned #203

Open renovate[bot] opened 3 years ago

renovate[bot] commented 3 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sitemap ^4.1.1 -> ^7.1.1 age adoption passing confidence

Release Notes

ekalinin/sitemap.js ### [`v7.1.1`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​711) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/7.1.0...7.1.1) - fix [#​378](https://togithub.com/ekalinin/sitemap.js/issues/378) exit code not set on parse failure. A proper error will be set on the stream now. - fix [#​384](https://togithub.com/ekalinin/sitemap.js/issues/384) thanks [@​tomcek112](https://togithub.com/tomcek112) parseSitemapIndex not included in 7.1.0 release - fix [#​356](https://togithub.com/ekalinin/sitemap.js/issues/356) thanks [@​vandres](https://togithub.com/vandres) - SitemapIndexStream now has lastmodDateOnly - Fix [#​375](https://togithub.com/ekalinin/sitemap.js/issues/375) thanks [@​huntharo](https://togithub.com/huntharo) parseSitemap and parseSitemapIndex uncatchable errors - Filter out null as well when writing XML thanks [@​huntharo](https://togithub.com/huntharo) [#​376](https://togithub.com/ekalinin/sitemap.js/issues/376) ### [`v7.1.0`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​710) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/7.0.0...7.1.0) - bumped types dependency for node - bumped all dev dependencies - includes some prettier changes - package-lock updated to version 2 ### [`v7.0.0`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​700) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.4.0...7.0.0) ##### \[BREAKING] - dropped support for Node 10, added support for Node 16 - removed deprecated createSitemapsAndIndex. use SitemapAndIndexStream or simpleSitemapAndIndex - dropped deprecated `getSitemapStream` option for SitemapAndIndexStream that does not return a write stream - fixed invalid documentation for [#​357](https://togithub.com/ekalinin/sitemap.js/issues/357) ##### non-breaking - Added option to simplesitemap `publicBasePath`: allows the user to set the location of sitemap files hosted on the site fixes \[[#​359](https://togithub.com/ekalinin/sitemap.js/issues/359)] - bumped dependencies ### [`v6.4.0`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​640) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.3.6...6.4.0) - added support for content_loc parsing [#​347](https://togithub.com/ekalinin/sitemap.js/issues/347) and uploader info attr - added error handler option to sitemapstream [#​349](https://togithub.com/ekalinin/sitemap.js/issues/349) Thanks [@​marcoreni](https://togithub.com/marcoreni) ### [`v6.3.6`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​636) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.3.5...6.3.6) - bump dependencies ### [`v6.3.5`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​635) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.3.4...6.3.5) - Add option to silence or redirect logs from parse [#​337](https://togithub.com/ekalinin/sitemap.js/issues/337) - `new XMLToSitemapItemStream({ logger: false })` or - `new XMLToSitemapItemStream({ level: ErrorLevel.SILENT })` or - `new XMLToSitemapItemStream({ logger: (level, ...message) => your.custom.logger(...message) })` ### [`v6.3.4`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​634) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.3.3...6.3.4) - bump dependencies - correct return type of xmllint. Was `Promise` but actually returned `Promise` - add alternate option for lang, hreflang as that is the actual name of the printed attribute ### [`v6.3.3`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​633) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.3.2...6.3.3) - bump ts to 4 - change file reference in sitemap-index to include .gz fixes [#​334](https://togithub.com/ekalinin/sitemap.js/issues/334) ### [`v6.3.2`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​632) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.3.1...6.3.2) - fix unreported timing issue in SitemapAndIndexStream uncovered in latest unit tests ### [`v6.3.1`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​631) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.3.0...6.3.1) - fix [#​331](https://togithub.com/ekalinin/sitemap.js/issues/331) incorrect type on sourceData in simpleSitemapAndIndex. ### [`v6.3.0`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​630) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.2.0...6.3.0) - simpleSitemap will create the dest directory if it doesn't exist - allow user to not gzip fixes [#​322](https://togithub.com/ekalinin/sitemap.js/issues/322) ### [`v6.2.0`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​620) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/ebde504137232fd92ecf1a18ed5a75d24234c8bb...6.2.0) - Add simplified interface for creating sitemaps and index - fix bug where sitemap and index stream would not properly wait to emit finish event until all sitemaps had been written - bump deps ### [`v6.1.7`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​617) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.1.6...ebde504137232fd92ecf1a18ed5a75d24234c8bb) - Improve documentation and error messaging on ending a stream too early [#​317](https://togithub.com/ekalinin/sitemap.js/issues/317) - bump dependencies ### [`v6.1.6`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​616) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.1.5...6.1.6) - support allow_embed [#​314](https://togithub.com/ekalinin/sitemap.js/issues/314) - bump dependencies ### [`v6.1.5`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​615) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.1.4...6.1.5) - performance improvement for streamToPromise [#​307](https://togithub.com/ekalinin/sitemap.js/issues/307) ### [`v6.1.4`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​614) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.1.3...6.1.4) - remove stale files from dist [#​298](https://togithub.com/ekalinin/sitemap.js/issues/298) - Correct documentation on renamed XMLToSitemapOptions, XMLToSitemapItemStream [#​297](https://togithub.com/ekalinin/sitemap.js/issues/297) - bump node typedef to 14.0.1 ### [`v6.1.3`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​613) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.1.2...6.1.3) - bump node types resolves [#​293](https://togithub.com/ekalinin/sitemap.js/issues/293) ### [`v6.1.2`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​612) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.1.1...6.1.2) - bump node types resolves [#​290](https://togithub.com/ekalinin/sitemap.js/issues/290) ### [`v6.1.1`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​611) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.1.0...6.1.1) - Fix [#​286](https://togithub.com/ekalinin/sitemap.js/issues/286) sitemapindex tag not closing for deprecated createSitemapsAndIndex ### [`v6.1.0`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​610) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/6.0.0...6.1.0) - Added back xslUrl option removed in 5.0.0 ### [`v6.0.0`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​600) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/5.1.0...6.0.0) - removed xmlbuilder as a dependency - added stronger validity checking on values supplied to sitemap - Added the ability to turn off or add custom xml namespaces - CLI and library now can accept a stream which will automatically write both the index and the sitemaps. See README for usage. ##### 6.0.0 breaking changes - renamed XMLToISitemapOptions to XMLToSitemapOptions - various error messages changed. - removed deprecated Sitemap and SitemapIndex classes - replaced buildSitemapIndex with SitemapIndexStream - Typescript: various types renamed or made more specific, removed I prefix - Typescript: view_count is now exclusively a number - Typescript: `price:type` and `price:resolution` are now more restrictive types - sitemap parser now returns a sitemapItem array rather than a config object that could be passed to the now removed Sitemap class - CLI no longer accepts multiple file arguments or a mixture of file and streams except as a part of a parameter eg. prepend ### [`v5.1.0`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​510) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/5.0.1...5.1.0) Fix for [#​255](https://togithub.com/ekalinin/sitemap.js/issues/255). Baidu does not like timestamp in its sitemap.xml, this adds an option to truncate lastmod ```js new SitemapStream({ lastmodDateOnly: true }); ``` ### [`v5.0.1`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​501) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/5.0.0...5.0.1) Fix for issue [#​254](https://togithub.com/ekalinin/sitemap.js/issues/254). ```sh warning: failed to load external entity "./schema/all.xsd" Schemas parser error : Failed to locate the main schema resource at './schema/all.xsd'. WXS schema ./schema/all.xsd failed to compile ``` ### [`v5.0.0`](https://togithub.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#​500) [Compare Source](https://togithub.com/ekalinin/sitemap.js/compare/4.1.1...5.0.0) ##### 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 - runnable examples, some pulled straight from README have been added to the examples directory. - createSitemapsIndex was renamed createSitemapsAndIndex to more accurately reflect its function. It now returns a promise that resolves to true or throws with an error. - You can now add to existing sitemap.xml files via the cli using `npx sitemap --prepend existingSitemap.xml < listOfNewURLs.json.txt` ##### 5.0 Breaking Changes - Dropped support for mobile sitemap - Google appears to have deleted their dtd and all references to it, strongly implying that they do not want you to use it. As its absence now breaks the validator, it has been dropped. - normalizeURL(url, XMLRoot, hostname) -> normalizeURL(url, hostname) - The second argument was unused and has been eliminated - Support for Node 8 dropped - Node 8 is reaching its EOL December 2019 - xslURL is being dropped from all apis - styling xml is out of scope of this library. - createSitemapIndex has been converted to a promised based api rather than callback. - createSitemapIndex now gzips by default - pass gzip: false to disable - cacheTime is being dropped from createSitemapIndex - This didn't actually cache the way it was written so this should be a non-breaking change in effect. - SitemapIndex as a class has been dropped. The class did all its work on construction and there was no reason to hold on to it once you created it. - The options for the cli have been overhauled - `--json` is now inferred - `--line-separated` has been flipped to `--single-line-json` to by default output options immediately compatible with feeding back into sitemap

Configuration

📅 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 has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 1 year ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

renovate[bot] commented 4 months ago

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.