From dc2e6a7f9b20a0990760bda1817b1e5b1e7801ab Mon Sep 17 00:00:00 2001 From: Zane Starr Date: Wed, 25 Feb 2026 11:25:49 -0800 Subject: [PATCH 1/2] chore: remove additional newline from generate tool --- src/generate-index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/generate-index.ts b/src/generate-index.ts index fdc0010..3f683f9 100644 --- a/src/generate-index.ts +++ b/src/generate-index.ts @@ -85,6 +85,5 @@ pkg.exports = { pkg.files = ["dist"]; -writeFileSync(pkgPath, JSON.stringify(pkg, null, 2) + "\n"); -// eslint-disable-next-line no-console +writeFileSync(pkgPath, JSON.stringify(pkg, null, 2)); console.log("Updated package.json exports with schema paths"); From e51ee78e016254bb11d387480590fe2dce690347 Mon Sep 17 00:00:00 2001 From: Zane Starr Date: Wed, 25 Feb 2026 11:26:27 -0800 Subject: [PATCH 2/2] fix: the pattern for the 1.4 regex --- spec/1.4/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/1.4/schema.json b/spec/1.4/schema.json index c2d64be..ee2552b 100644 --- a/spec/1.4/schema.json +++ b/spec/1.4/schema.json @@ -19,7 +19,7 @@ "description": "This string MUST be the [semantic version number](https://semver.org/spec/v2.0.0.html) of the [OpenRPC Specification version](#versions) that the OpenRPC document uses. The `openrpc` field SHOULD be used by tooling specifications and clients to interpret the OpenRPC document. This is *not* related to the API [`info.version`](#info-version) string.", "title": "openrpc", "type": "string", - "regex": "^1\\.4\\.\\d+$" + "pattern": "^1\\.4\\.\\d+$" }, "info": { "$ref": "#/definitions/infoObject"