@ark/schema
Advanced tools
Comparing version 0.19.0 to 0.20.0
@@ -122,3 +122,5 @@ import { flatMorph, hasDomain, isEmptyObject, isKeyOf, throwParseError } from "@ark/util"; | ||
return r; | ||
const basis = l.basis ? intersectOrPipeNodes(l.basis, r, ctx) : r; | ||
const { domain, proto, ...lInnerConstraints } = l.inner; | ||
const lBasis = proto ?? domain; | ||
const basis = lBasis ? intersectOrPipeNodes(lBasis, r, ctx) : r; | ||
return (basis instanceof Disjoint ? basis | ||
@@ -130,3 +132,3 @@ : l?.basis?.equals(basis) ? | ||
// be an intersection with the new basis result integrated | ||
: l.$.node("intersection", { ...l.inner, [basis.kind]: basis }, { prereduced: true })); | ||
: l.$.node("intersection", { ...lInnerConstraints, [basis.kind]: basis }, { prereduced: true })); | ||
}) | ||
@@ -133,0 +135,0 @@ } |
{ | ||
"name": "@ark/schema", | ||
"version": "0.19.0", | ||
"version": "0.20.0", | ||
"license": "MIT", | ||
@@ -32,3 +32,3 @@ "author": { | ||
"dependencies": { | ||
"@ark/util": "0.18.0" | ||
"@ark/util": "0.19.0" | ||
}, | ||
@@ -35,0 +35,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
354367
8295
+ Added@ark/util@0.19.0(transitive)
- Removed@ark/util@0.18.0(transitive)
Updated@ark/util@0.19.0