This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [sitemap](https://github.com/ekalinin/sitemap.js) | dependencies | patch | [`8.0.1` -> `8.0.2`](https://renovatebot.com/diffs/npm/sitemap/8.0.1/8.0.2) |
---
### Release Notes
<details>
<summary>ekalinin/sitemap.js (sitemap)</summary>
### [`v8.0.2`](https://github.com/ekalinin/sitemap.js/blob/HEAD/CHANGELOG.md#802---Bug-Fix-Release)
[Compare Source](https://github.com/ekalinin/sitemap.js/compare/8.0.1...8.0.2)
##### Bug Fixes
- **fix [#​464](https://github.com/ekalinin/sitemap.js/issues/464)**: Support `xsi:schemaLocation` in custom namespaces - thanks [@​dzakki](https://github.com/dzakki)
- Extended custom namespace validation to accept namespace-qualified attributes (like `xsi:schemaLocation`) in addition to `xmlns` declarations
- The validation regex now matches both `xmlns:prefix="uri"` and `prefix:attribute="value"` patterns
- Enables proper W3C schema validation while maintaining security validation for malicious content
- Added comprehensive tests including security regression tests
##### Example Usage
The following now works correctly (as documented in README):
```javascript
const sms = new SitemapStream({
xmlns: {
custom: [
'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"',
'xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"'
]
}
});
```
##### Testing
- ✅ All existing tests passing
- ✅ 8 new tests added covering positive and security scenarios
- ✅ 100% backward compatible with 8.0.1
##### Files Changed
2 files changed: 144 insertions, 5 deletions
</details>
---
### 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNjQuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE2NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
8.0.1->8.0.2Release Notes
ekalinin/sitemap.js (sitemap)
v8.0.2Compare Source
Bug Fixes
xsi:schemaLocationin custom namespaces - thanks @dzakkixsi:schemaLocation) in addition toxmlnsdeclarationsxmlns:prefix="uri"andprefix:attribute="value"patternsExample Usage
The following now works correctly (as documented in README):
Testing
Files Changed
2 files changed: 144 insertions, 5 deletions
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 Renovate Bot.