Comparing version 2.0.0-2 to 2.0.0
# Changelog | ||
# 2.0.0 | ||
# 2.0.0 - 2018-01-30 | ||
@@ -31,2 +31,3 @@ #### 💥 Breaking | ||
- Added a `predicates` export from the index, which is an object of all builder factory functions. | ||
- TS: Also added a `Predicates` type representing this shape. | ||
- Added a `loose` option to `instance()`, so cross-realm instance checks work (compares constructor | ||
@@ -37,2 +38,6 @@ name). | ||
#### 🛠 Internal | ||
- TS: Removed `Struct` type. | ||
# 1.2.0 - 2018-12-29 | ||
@@ -39,0 +44,0 @@ |
@@ -30,3 +30,4 @@ /** | ||
export { Builder, ArrayBuilder, InstanceBuilder, NumberBuilder, ObjectBuilder, ShapeBuilder, StringBuilder, UnionBuilder, }; | ||
export declare type Predicates = typeof predicates; | ||
export * from './types'; | ||
export default optimal; |
{ | ||
"name": "optimal", | ||
"version": "2.0.0-2", | ||
"version": "2.0.0", | ||
"description": "A system for building and validating defined object structures.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
101056
2437
0