Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

better-prop-types

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

better-prop-types - npm Package Compare versions

Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2

CONTRIBUTING.md

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [1.0.0-alpha.2](https://github.com/ivangabriele/better-prop-types/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2021-11-20)
### Bug Fixes
* update isNotNull & isNullable types ([d783376](https://github.com/ivangabriele/better-prop-types/commit/d783376562926cbc51e2de505c68f40854289298))
# 1.0.0-alpha.1 (2021-11-20)

@@ -2,0 +9,0 @@

6

dist/src/types.d.ts
import { Requireable, Validator } from 'prop-types';
export interface Isable<T> extends Requireable<T> {
isNotNull: Validator<NonNullable<T>>;
isNullable: Validator<NonNullable<T>>;
export interface Isable<T> extends Requireable<T | undefined | null> {
isNotNull: Validator<T | undefined>;
isNullable: Validator<T | null>;
}
{
"name": "better-prop-types",
"description": "Better PropTypes.",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"license": "MIT",

@@ -6,0 +6,0 @@ "type": "module",

@@ -61,6 +61,6 @@ # better-prop-types

[img-license]: https://img.shields.io/github/license/ivangabriele/better-prop-types?style=flat-square
[img-npm]: https://img.shields.io/npm/v/@ivangabriele/better-prop-types?style=flat-square
[img-npm]: https://img.shields.io/npm/v/better-prop-types?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/@ivangabriele/better-prop-types
[lnk-npm]: https://www.npmjs.com/package/better-prop-types
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc