@inf-monkeys-tech/monkeys 1.1.16 → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/index.mjs +3 -0
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +3 -0
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/runtime/declarative-runtime-contract.d.ts.map +1 -1
- package/lib/runtime/declarative-runtime-contract.js +6 -2
- package/lib/runtime/declarative-runtime-contract.js.map +1 -1
- package/package.json +1 -1
package/lib/esm/index.mjs
CHANGED
|
@@ -26175,6 +26175,7 @@ var acceptsPreviousSchema = (previous, next) => {
|
|
|
26175
26175
|
required: oldRequired,
|
|
26176
26176
|
additionalProperties: oldAdditional,
|
|
26177
26177
|
enum: oldEnum,
|
|
26178
|
+
items: oldItems,
|
|
26178
26179
|
...oldFixed
|
|
26179
26180
|
} = before;
|
|
26180
26181
|
const {
|
|
@@ -26182,9 +26183,11 @@ var acceptsPreviousSchema = (previous, next) => {
|
|
|
26182
26183
|
required: newRequired,
|
|
26183
26184
|
additionalProperties: newAdditional,
|
|
26184
26185
|
enum: newEnum,
|
|
26186
|
+
items: newItems,
|
|
26185
26187
|
...newFixed
|
|
26186
26188
|
} = after;
|
|
26187
26189
|
if (canonicalContentHash(oldFixed) !== canonicalContentHash(newFixed)) return false;
|
|
26190
|
+
if (!acceptsPreviousSchema(oldItems ?? true, newItems ?? true)) return false;
|
|
26188
26191
|
if (newEnum && (!oldEnum || oldEnum.some((value) => !newEnum.some((candidate) => canonicalContentHash(candidate) === canonicalContentHash(value))))) return false;
|
|
26189
26192
|
if ((newRequired ?? []).some((key) => !(oldRequired ?? []).includes(key))) return false;
|
|
26190
26193
|
const oldExtra = oldAdditional ?? true;
|