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

@aomex/validator

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aomex/validator - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

6

CHANGELOG.md
# @aomex/validator
## 0.0.16
### Patch Changes
- [`9ec29cd`](https://github.com/aomex/aomex/commit/9ec29cd492014431b12f542d487a1ae282fe473f) Thanks [@geekact](https://github.com/geekact)! - fix(validator): enum rule doesn't accept readonly array
## 0.0.15

@@ -4,0 +10,0 @@

4

dist/index.d.ts

@@ -549,4 +549,4 @@ import { OpenAPI } from '@aomex/openapi-type';

email(): EmailValidator<string>;
enum<T extends string | number | boolean>(ranges: [T]): EnumValidator<T>;
enum<T extends string | number | boolean, T1 extends string | number | boolean>(ranges: [T, ...T1[]]): EnumValidator<T | T1>;
enum<T extends string | number | boolean>(ranges: T[]): EnumValidator<T>;
enum<T extends readonly (string | number | boolean)[]>(ranges: T): EnumValidator<T[number]>;
hash(algorithm: HashValidator.Algorithm): HashValidator<string>;

@@ -553,0 +553,0 @@ /**

{
"name": "@aomex/validator",
"version": "0.0.15",
"version": "0.0.16",
"description": "",

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

Sorry, the diff of this file is not supported yet

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