You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(deps): bump sitemap from 9.0.1 to 10.0.0 - #13092
Dropped CommonJS build — the package is now ESM-only
require('sitemap') is no longer supported on Node versions without
built-in require(esm). The dist/cjs build, the require export condition,
and tsconfig.cjs.json are all gone; exports now resolves to dist/index.js
for every consumer. Migrate to import { SitemapStream } from 'sitemap'.
Node.js >=22.22.1 now required (previously >=20.19.5). CommonJS
consumers can still load this package through require(esm), which landed
unflagged in 22.12; the floor is 22.22.1 to match the development toolchain.
Build output flattened from dist/esm/* and dist/cjs/* to dist/*. The
bin entry is now dist/cli.js.
simpleSitemapAndIndex defaults to 45,000 URLs per sitemap
The default limit drops from 50,000 to 45,000, the same default
SitemapAndIndexStream and the CLI already use (DEFAULT_SITEMAP_ITEM_LIMIT).
The headroom keeps rich entries (images, video, news) under the 50MB
uncompressed file-size limit. A 50,000-URL input now produces two sitemap
files instead of one; pass limit: 50000 to keep the old output.
SitemapStream writes an empty sitemap instead of erroring
Ending a SitemapStream without writing any items now produces a
well-formed empty <urlset> instead of failing with EmptySitemap
(#394, #421). This matches SitemapIndexStream, which already wrote an empty
<sitemapindex>. EmptySitemap is still exported but deprecated and no
longer thrown. An empty <urlset> does not pass strict sitemap.xsd
validation, which requires at least one <url>; search engines accept it.
One logger option across the library; xmlNS renamed to xmlns
SitemapStream, SitemapIndexStream, SitemapAndIndexStream and
simpleSitemapAndIndex accept the same logger option the parsers already
had (#348). Validation warnings that went straight to console.warn now go
through it. Pass false to silence. The Logger type is now exported.
Invalid news and video attribute values now go through errorHandler (and
so the logger) like every other validation error, instead of a hardcoded
console.warn. The warning text is now the error's name and message, which starts with
the item's URL. Under ErrorLevel.THROW a custom errorHandler receives
these errors too, like every other validation error; the default handler
still throws.
The SitemapStream property xmlNS is now xmlns, matching the option
name (#300). xmlNS still works as a deprecated alias. SitemapStream.errorHandler is always set now; it defaults to
a handler that warns through logger.
Both XML parsers share one error store and entry cap
Dropped CommonJS build — the package is now ESM-only
require('sitemap') is no longer supported on Node versions without
built-in require(esm). The dist/cjs build, the require export condition,
and tsconfig.cjs.json are all gone; exports now resolves to dist/index.js
for every consumer. Migrate to import { SitemapStream } from 'sitemap'.
Node.js >=22.22.1 now required (previously >=20.19.5). CommonJS
consumers can still load this package through require(esm), which landed
unflagged in 22.12; the floor is 22.22.1 to match the development toolchain.
Build output flattened from dist/esm/* and dist/cjs/* to dist/*. The
bin entry is now dist/cli.js.
simpleSitemapAndIndex defaults to 45,000 URLs per sitemap
The default limit drops from 50,000 to 45,000, the same default
SitemapAndIndexStream and the CLI already use (DEFAULT_SITEMAP_ITEM_LIMIT).
The headroom keeps rich entries (images, video, news) under the 50MB
uncompressed file-size limit. A 50,000-URL input now produces two sitemap
files instead of one; pass limit: 50000 to keep the old output.
SitemapStream writes an empty sitemap instead of erroring
Ending a SitemapStream without writing any items now produces a
well-formed empty <urlset> instead of failing with EmptySitemap
(#394, #421). This matches SitemapIndexStream, which already wrote an empty
<sitemapindex>. EmptySitemap is still exported but deprecated and no
longer thrown. An empty <urlset> does not pass strict sitemap.xsd
validation, which requires at least one <url>; search engines accept it.
One logger option across the library; xmlNS renamed to xmlns
SitemapStream, SitemapIndexStream, SitemapAndIndexStream and
simpleSitemapAndIndex accept the same logger option the parsers already
had (#348). Validation warnings that went straight to console.warn now go
through it. Pass false to silence. The Logger type is now exported.
Invalid news and video attribute values now go through errorHandler (and
so the logger) like every other validation error, instead of a hardcoded
console.warn. The warning text is now the error's name and message, which starts with
the item's URL. Under ErrorLevel.THROW a custom errorHandler receives
these errors too, like every other validation error; the default handler
still throws.
The SitemapStream property xmlNS is now xmlns, matching the option
name (#300). xmlNS still works as a deprecated alias. SitemapStream.errorHandler is always set now; it defaults to
a handler that warns through logger.
Both XML parsers share one error store and entry cap
... (truncated)
Commits
eaa8f14 Merge pull request #525 from ekalinin/claude/changelog-10-0-0
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
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
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.
Bumps sitemap from 9.0.1 to 10.0.0.
Release notes
Sourced from sitemap's releases.
... (truncated)
Changelog
Sourced from sitemap's changelog.
... (truncated)
Commits
eaa8f14Merge pull request #525 from ekalinin/claude/changelog-10-0-07b3ae4fdocs: date the 10.0.0 changelog entry45592c9release 10.0.054240ebMerge pull request #524 from ekalinin/claude/10-0-changelog-gaps-0113bcb9f66f1docs: fill 10.0 changelog gaps33a1144Merge pull request #523 from ekalinin/claude/sitemap-issue-517-167468bd041e1test: cover invalid index items in SitemapAndIndexStream9c580d9Merge pull request #522 from ekalinin/claude/update-outdated-dependencies-308dec40448e9chore(deps): update dev dependencies, require Node >=22.22.1976ffa7Merge pull request #521 from ekalinin/claude/issues-prs-triage-c03589Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)