7fe0193: Add the optional validate plugin field and the v validators. validate lists a validator for each field of a plugin's node. When deserialize reads a listed field with ctx.deserialize, the decoded value is checked first, and SerovalPluginValidationError is thrown if it fails. It applies to fromJSON, fromCrossJSON and createCrossDeserializer. The validators are exported as v from seroval, and as a module from seroval/validator.
d1ada33: Add the seroval/read, seroval/write and seroval/shared entry points, so bundlers can put reading and writing in separate chunks.
seroval/read exports fromJSON, fromCrossJSON, createCrossDeserializer and deserialize.
seroval/write exports the serializers, Serializer and getCrossReferenceHeader.
seroval/shared exports what both sides use, such as createPlugin, Feature, Stream and the errors. seroval/read and seroval/write also export it.
seroval still exports everything. All entry points load the same chunks, so classes keep one identity.
Configuration
📅Schedule: (UTC)
Branch creation
At any time (no schedule defined)
Automerge
At any time (no schedule defined)
🚦Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕Ignore: Close this PR and you won't be reminded about this update again.
If you want to rebase/retry this PR, check this box
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [seroval](https://seroval.vercel.app) ([source](https://github.com/lxsmnsyc/seroval)) | pnpm-workspace.overrides | minor | [`1.7.10` → `1.8.0`](https://renovatebot.com/diffs/npm/seroval/1.7.10/1.8.0) |
---
### Release Notes
<details>
<summary>lxsmnsyc/seroval (seroval)</summary>
### [`v1.8.0`](https://github.com/lxsmnsyc/seroval/releases/tag/seroval%401.8.0)
[Compare Source](https://github.com/lxsmnsyc/seroval/compare/seroval@1.7.10...seroval@1.8.0)
##### Minor Changes
- [`7fe0193`](https://github.com/lxsmnsyc/seroval/commit/7fe0193): Add the optional `validate` plugin field and the `v` validators. `validate` lists a validator for each field of a plugin's node. When `deserialize` reads a listed field with `ctx.deserialize`, the decoded value is checked first, and `SerovalPluginValidationError` is thrown if it fails. It applies to `fromJSON`, `fromCrossJSON` and `createCrossDeserializer`. The validators are exported as `v` from `seroval`, and as a module from `seroval/validator`.
- [`d1ada33`](https://github.com/lxsmnsyc/seroval/commit/d1ada33): Add the `seroval/read`, `seroval/write` and `seroval/shared` entry points, so bundlers can put reading and writing in separate chunks.
- `seroval/read` exports `fromJSON`, `fromCrossJSON`, `createCrossDeserializer` and `deserialize`.
- `seroval/write` exports the serializers, `Serializer` and `getCrossReferenceHeader`.
- `seroval/shared` exports what both sides use, such as `createPlugin`, `Feature`, `Stream` and the errors. `seroval/read` and `seroval/write` also export it.
- `seroval` still exports everything. All entry points load the same chunks, so classes keep one identity.
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, 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 [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Here are some key observations to aid the review process:
⏱️Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪No relevant tests
🔒No security concerns identified
⚡No major issues detected
## PR Reviewer Guide 🔍
<!-- pr-agent:review:full -->
Here are some key observations to aid the review process:
<table>
<tr><td>⏱️ <strong>Estimated effort to review</strong>: 1 🔵⚪⚪⚪⚪</td></tr>
<tr><td>🧪 <strong>No relevant tests</strong></td></tr>
<tr><td>🔒 <strong>No security concerns identified</strong></td></tr>
<tr><td>⚡ <strong>No major issues detected</strong></td></tr>
</table>
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:
1.7.10→1.8.0Release Notes
lxsmnsyc/seroval (seroval)
v1.8.0Compare Source
Minor Changes
7fe0193: Add the optionalvalidateplugin field and thevvalidators.validatelists a validator for each field of a plugin's node. Whendeserializereads a listed field withctx.deserialize, the decoded value is checked first, andSerovalPluginValidationErroris thrown if it fails. It applies tofromJSON,fromCrossJSONandcreateCrossDeserializer. The validators are exported asvfromseroval, and as a module fromseroval/validator.d1ada33: Add theseroval/read,seroval/writeandseroval/sharedentry points, so bundlers can put reading and writing in separate chunks.seroval/readexportsfromJSON,fromCrossJSON,createCrossDeserializeranddeserialize.seroval/writeexports the serializers,SerializerandgetCrossReferenceHeader.seroval/sharedexports what both sides use, such ascreatePlugin,Feature,Streamand the errors.seroval/readandseroval/writealso export it.serovalstill exports everything. All entry points load the same chunks, so classes keep one identity.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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 CLI.
Failed to update PR description
PR Reviewer Guide 🔍
Here are some key observations to aid the review process: