@purescraps/purehtml 0.1.5 → 0.1.6

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/dist/src/index.js CHANGED
@@ -7408,14 +7408,12 @@ var oneOf = [
7408
7408
  then: { properties: { type: { const: "array" } } }
7409
7409
  },
7410
7410
  {
7411
- $comment: 'when the "type" is "array", then the "properties" MUST be defined.',
7411
+ $comment: 'when the "type" is "array", then the "items" MUST be defined.',
7412
7412
  if: {
7413
7413
  properties: { type: { const: "array" } },
7414
7414
  required: ["type"]
7415
7415
  },
7416
- then: {
7417
- oneOf: [{ required: ["items"] }, { required: ["transform"] }]
7418
- }
7416
+ then: { required: ["items"] }
7419
7417
  }
7420
7418
  ]
7421
7419
  },