Bump sitemap from 8.0.0 to 9.0.0
Type: Pull Request
State: Open
Association: Unknown
Comments: 3
(8 months ago)
(8 months ago)
dependencies javascript
LadyBluenotes
Bumps sitemap from 8.0.0 to 9.0.0.
Release notes
Sourced from sitemap's releases.
9.0.0
This major release modernizes the package with ESM-first architecture, drops support for Node.js < 20, and includes comprehensive security and robustness improvements.
[BREAKING CHANGES]
Dropped Node.js < 20 Support
- Node.js >=20.19.5 now required (previously >=14.0.0)
- npm >=10.8.2 now required (previously >=6.0.0)
- Dropped support for Node.js 14, 16, and 18
ESM Conversion with Dual Package Support
Package now uses
"type": "module"in package.jsonBuilt as dual ESM/CJS package with conditional exports
Import paths in ESM require
.jsextensions (TypeScript will add these automatically)Both ESM and CommonJS imports continue to work:
// ESM (new default) import { SitemapStream } from 'sitemap'// CommonJS (still supported) const { SitemapStream } = require('sitemap')
CLI remains ESM-only at
dist/esm/cli.jsBuild Output Changes
- ESM output:
dist/esm/(wasdist/)- CJS output:
dist/cjs/(new)- TypeScript definitions:
dist/esm/index.d.ts(wasdist/index.d.ts)Node.js Modernization
- All built-in Node.js modules now use
node:protocol imports (node:stream,node:fs, etc.)- Uses native promise-based
pipelinefromnode:stream/promises(instead ofpromisify(pipeline))- TypeScript target updated to ES2023 (from ES2022)
New Exports
The following validation functions and constants are now part of the public API:
Validation Functions (from
lib/validation.js):
validateURL(),validatePath(),validateLimit(),validatePublicBasePath(),validateXSLUrl()- Type guards:
isPriceType(),isResolution(),isValidChangeFreq(),isValidYesNo(),isAllowDeny()validators- object containing regex validators for all sitemap fields
... (truncated)
Changelog
Sourced from sitemap's changelog.
9.0.0 - 2025-11-01
This major release modernizes the package with ESM-first architecture, drops support for Node.js < 20, and includes comprehensive security and robustness improvements.
[BREAKING CHANGES]
Dropped Node.js < 20 Support
- Node.js >=20.19.5 now required (previously >=14.0.0)
- npm >=10.8.2 now required (previously >=6.0.0)
- Dropped support for Node.js 14, 16, and 18
ESM Conversion with Dual Package Support
Package now uses
"type": "module"in package.jsonBuilt as dual ESM/CJS package with conditional exports
Import paths in ESM require
.jsextensions (TypeScript will add these automatically)Both ESM and CommonJS imports continue to work:
// ESM (new default) import { SitemapStream } from 'sitemap'// CommonJS (still supported) const { SitemapStream } = require('sitemap')
CLI remains ESM-only at
dist/esm/cli.jsBuild Output Changes
- ESM output:
dist/esm/(wasdist/)- CJS output:
dist/cjs/(new)- TypeScript definitions:
dist/esm/index.d.ts(wasdist/index.d.ts)Node.js Modernization
- All built-in Node.js modules now use
node:protocol imports (node:stream,node:fs, etc.)- Uses native promise-based
pipelinefromnode:stream/promises(instead ofpromisify(pipeline))- TypeScript target updated to ES2023 (from ES2022)
New Exports
The following validation functions and constants are now part of the public API:
Validation Functions (from
lib/validation.js):
validateURL(),validatePath(),validateLimit(),validatePublicBasePath(),validateXSLUrl()- Type guards:
isPriceType(),isResolution(),isValidChangeFreq(),isValidYesNo(),isAllowDeny()validators- object containing regex validators for all sitemap fields
... (truncated)
Commits
a45eab9release 9.0.07538ef3Merge pull request #466 from ekalinin/bump-deps833df66bump deps218a31dMerge pull request #465 from ekalinin/backport/8.0.2-xsi-schemaLocation-fixd8c4ea3fix #464: backport xsi:schemaLocation support from 8.0.2 to masterf5b352aMerge pull request #463 from ekalinin/changelog-9.0.060d4434docs: add comprehensive 9.0.0 changelog with upgrade guideba7cd65Merge pull request #462 from ekalinin/changelog-update7a713b2forward-port changelog4e390f6Merge pull request #461 from ekalinin/security/sitemap-index-validation- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@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)
Package Dependencies
Technical Details
| ID: | 10817693 |
| UUID: | 3583993913 |
| Node ID: | PR_kwDOHHYr186xSeMY |
| Host: | GitHub |
| Repository: | solidjs/solid-docs |