better-prop-types
Advanced tools
Comparing version 1.0.0-alpha.6 to 1.0.0-beta.1
@@ -0,1 +1,22 @@ | ||
# 1.0.0-beta.1 (2021-11-22) | ||
### Bug Fixes | ||
* add missing main field in package ([5657736](https://github.com/ivangabriele/better-prop-types/commit/5657736c40590853612f007910a284ccbd0bad5f)) | ||
* update isNotNull & isNullable types ([d783376](https://github.com/ivangabriele/better-prop-types/commit/d783376562926cbc51e2de505c68f40854289298)) | ||
### Features | ||
* add isNotNull & isNullable modifiers to primitive validators ([569e3e2](https://github.com/ivangabriele/better-prop-types/commit/569e3e2ef1a0562838f901ccabf3981a96b5c567)) | ||
* attach new modifiers to any validator ([968c05a](https://github.com/ivangabriele/better-prop-types/commit/968c05a2b49e8857e94650d2cf177395253e5e70)) | ||
* attach new modifiers to arrayOf & objectOf validators ([73fa84a](https://github.com/ivangabriele/better-prop-types/commit/73fa84ae752df3e95ee3367a7d13cc8fe467ee94)) | ||
* attach new modifiers to element & elementType validators ([c97aefd](https://github.com/ivangabriele/better-prop-types/commit/c97aefda6a32a8d10e1b5bcb78931cd741a5af0d)) | ||
* attach new modifiers to exact & shape validators ([c4a8b65](https://github.com/ivangabriele/better-prop-types/commit/c4a8b654fd14917ec61ea8f86229a858f32b9228)) | ||
* attach new modifiers to instanceOf validator ([6d97cc7](https://github.com/ivangabriele/better-prop-types/commit/6d97cc7661cd100314aef4cbde347b51cd947be3)) | ||
* attach new modifiers to node validator ([ebf5253](https://github.com/ivangabriele/better-prop-types/commit/ebf5253da787c0e726ef00686ab84e292befcf8f)) | ||
* attach new modifiers to oneOf() validator ([e4f9233](https://github.com/ivangabriele/better-prop-types/commit/e4f92339fab2f5b812103c326cb394427f2654c4)) | ||
* attach new modifiers to oneOfType validator ([4a41a6d](https://github.com/ivangabriele/better-prop-types/commit/4a41a6d900203d7adef312ed874d025f107cf1c4)) | ||
# [1.0.0-alpha.6](https://github.com/ivangabriele/better-prop-types/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2021-11-21) | ||
@@ -2,0 +23,0 @@ |
{ | ||
"name": "better-prop-types", | ||
"description": "Better PropTypes.", | ||
"version": "1.0.0-alpha.6", | ||
"version": "1.0.0-beta.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "type": "module", |
@@ -30,3 +30,3 @@ # better-prop-types | ||
```sh | ||
yarn add -E better-prop-types@alpha | ||
yarn add -E better-prop-types@beta | ||
``` | ||
@@ -37,3 +37,3 @@ | ||
```sh | ||
npm i -E better-prop-types@alpha | ||
npm i -E better-prop-types@beta | ||
``` | ||
@@ -61,4 +61,8 @@ | ||
You can also use them with all the functional validators: `objectOf(/* */).isRequiredButNullable`, `shape(/* */).isOptionalButNotNull`, etc. | ||
You can also use them with all the functional validators: | ||
- `objectOf(/* */).isRequiredButNullable` | ||
- `shape(/* */).isOptionalButNotNull` | ||
- etc | ||
## Roadmap | ||
@@ -73,10 +77,10 @@ | ||
[img-codecov]: https://img.shields.io/codecov/c/github/ivangabriele/better-prop-types/alpha?style=flat-square | ||
[img-github]: https://img.shields.io/github/workflow/status/ivangabriele/better-prop-types/Check/alpha?style=flat-square | ||
[img-codecov]: https://img.shields.io/codecov/c/github/ivangabriele/better-prop-types/beta?style=flat-square | ||
[img-github]: https://img.shields.io/github/workflow/status/ivangabriele/better-prop-types/Check/beta?style=flat-square | ||
[img-license]: https://img.shields.io/github/license/ivangabriele/better-prop-types?style=flat-square | ||
[img-npm]: https://img.shields.io/npm/v/better-prop-types/alpha?style=flat-square | ||
[lnk-codecov]: https://codecov.io/gh/ivangabriele/better-prop-types/branch/alpha | ||
[lnk-github]: https://github.com/ivangabriele/better-prop-types/actions?query=branch%3Aalpha++ | ||
[lnk-license]: https://github.com/ivangabriele/better-prop-types/blob/alpha/LICENSE | ||
[lnk-npm]: https://www.npmjs.com/package/better-prop-types/v/alpha | ||
[img-npm]: https://img.shields.io/npm/v/better-prop-types/beta?style=flat-square | ||
[lnk-codecov]: https://codecov.io/gh/ivangabriele/better-prop-types/branch/beta | ||
[lnk-github]: https://github.com/ivangabriele/better-prop-types/actions?query=branch%3Abeta++ | ||
[lnk-license]: https://github.com/ivangabriele/better-prop-types/blob/beta/LICENSE | ||
[lnk-npm]: https://www.npmjs.com/package/better-prop-types/v/beta | ||
[lnk-prop-types]: https://github.com/facebook/prop-types |
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
26050
83