fix(deps): re-keyed @ark/schema patch to 0.56.1 for wire key order
The 16.3.7 bump pulled arktype 2.2.2, which pins @ark/schema to 0.56.1. The patch was keyed to 0.56.0, so Bun silently skipped it and the arktype constraint keys reverted to hash/alphabetical order. Tool wire schemas then lost authored declaration order, failing packages/ai schema-wire tests and blocking the release pipeline. Regenerated the patch against 0.56.1 (flattenConstraints shifted, so the old hunk offsets no longer applied) and re-pointed patchedDependencies.
This commit is contained in:
@@ -322,6 +322,9 @@
|
||||
},
|
||||
},
|
||||
},
|
||||
"patchedDependencies": {
|
||||
"@ark/schema@0.56.1": "patches/@ark%2Fschema@0.56.1.patch",
|
||||
},
|
||||
"catalog": {
|
||||
"@agentclientprotocol/sdk": "0.25.0",
|
||||
"@babel/generator": "^7.29.7",
|
||||
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
"type": "module",
|
||||
"packageManager": "bun@1.3.14",
|
||||
"patchedDependencies": {
|
||||
"@ark/schema@0.56.0": "patches/@ark%2Fschema@0.56.0.patch",
|
||||
"puppeteer-core@25.1.0": "patches/puppeteer-core@25.1.0.patch"
|
||||
"puppeteer-core@25.1.0": "patches/puppeteer-core@25.1.0.patch",
|
||||
"@ark/schema@0.56.1": "patches/@ark%2Fschema@0.56.1.patch"
|
||||
},
|
||||
"workspaces": {
|
||||
"packages": [
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
diff --git a/node_modules/@ark/schema/.bun-tag-de36d37c69a0e3d4 b/.bun-tag-de36d37c69a0e3d4
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
|
||||
diff --git a/out/constraint.js b/out/constraint.js
|
||||
index 80bd4ac7cb93deafa34af1595d320368c7cf1b90..4c7d64865edd612ed75698e0420d3435bc408d82 100644
|
||||
index 19ad1869c46cf57bde4a09dcb6400ab2c83809e1..4f3df3198713856ad76dd49cc378f0f41fc769e6 100644
|
||||
--- a/out/constraint.js
|
||||
+++ b/out/constraint.js
|
||||
@@ -51,8 +51,10 @@ export const constraintKeyParser = (kind) => (schema, ctx) => {
|
||||
@@ -18,7 +15,7 @@ index 80bd4ac7cb93deafa34af1595d320368c7cf1b90..4c7d64865edd612ed75698e0420d3435
|
||||
return nodes;
|
||||
return nodes.sort((l, r) => (l.hash < r.hash ? -1 : 1));
|
||||
}
|
||||
@@ -107,7 +109,7 @@ export const flattenConstraints = (inner) => {
|
||||
@@ -111,7 +113,7 @@ export const flattenConstraints = (inner) => {
|
||||
.sort((l, r) => l.precedence < r.precedence ? -1
|
||||
: l.precedence > r.precedence ? 1
|
||||
// preserve order for predicates
|
||||
Reference in New Issue
Block a user