@effect/schema
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -623,3 +623,3 @@ "use strict"; | ||
case "Transform": | ||
return partial(ast.to); | ||
throw new Error("`partial` cannot handle refinements or transformations"); | ||
default: | ||
@@ -897,4 +897,5 @@ return ast; | ||
case "Refinement": | ||
return _getPropertySignatures(ast.from); | ||
case "Transform": | ||
return _getPropertySignatures(ast.to); | ||
throw new Error("cannot compute property signatures for transformations"); | ||
default: | ||
@@ -901,0 +902,0 @@ return []; |
{ | ||
"name": "@effect/schema", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"license": "MIT", | ||
@@ -10,4 +10,4 @@ "repository": { | ||
"dependencies": { | ||
"@effect/data": "^0.6.0", | ||
"@effect/io": "^0.13.0", | ||
"@effect/data": "^0.7.1", | ||
"@effect/io": "^0.14.1", | ||
"fast-check": "^3.7.1" | ||
@@ -14,0 +14,0 @@ }, |
@@ -1023,3 +1023,3 @@ /** | ||
case "Transform": | ||
return partial(ast.to) | ||
throw new Error("`partial` cannot handle refinements or transformations") | ||
default: | ||
@@ -1348,4 +1348,5 @@ return ast | ||
case "Refinement": | ||
return _getPropertySignatures(ast.from) | ||
case "Transform": | ||
return _getPropertySignatures(ast.to) | ||
throw new Error("cannot compute property signatures for transformations") | ||
default: | ||
@@ -1352,0 +1353,0 @@ return [] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
833619
15918
+ Added@effect/data@0.7.4(transitive)
+ Added@effect/io@0.14.1(transitive)
- Removed@effect/data@0.6.0(transitive)
- Removed@effect/io@0.13.0(transitive)
Updated@effect/data@^0.7.1
Updated@effect/io@^0.14.1