Skip to content

Commit 39ae8e6

Browse files
chore(deps): build the bundled ajv with fast-uri 3.1.9 (modelcontextprotocol#3108)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
1 parent b415e60 commit 39ae8e6

3 files changed

Lines changed: 14 additions & 8 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@modelcontextprotocol/client': patch
3+
'@modelcontextprotocol/server': patch
4+
---
5+
6+
The bundled Ajv validator is now built with fast-uri 3.1.9 (was 3.1.8). A schema no longer compiles when a `$id` or `$ref` has a percent-encoded character before its first colon (`%61:b`), or `{` or `}` in the host of an `http`, `https`, `ws` or `wss` URL (`http://{host}/a`). Relative values keep their leading `..` segments: a `$ref` to a `$id` such as `../a` now resolves, and a `$ref` of only dot segments (`.`, `../`) no longer resolves to the root schema. Plain names, `#/$defs/...` references, other URLs and URNs are not affected.

‎packages/core-internal/src/validators/fastUriShim.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* `dts.compilerOptions.paths` so the type is inlined as a plain named export.
1212
* Runtime code is unaffected (this is a `.d.ts`; the path mapping is dts-only).
1313
*/
14-
// Field-for-field copy of fast-uri@3.1.8's URIComponent (types/index.d.ts).
14+
// Field-for-field copy of fast-uri@3.1.9's URIComponent (types/index.d.ts).
1515
// Keep in sync when bumping fast-uri/ajv.
1616
export interface URIComponent {
1717
scheme?: string;

‎pnpm-lock.yaml‎

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)