koa-fluent-validation
Advanced tools
Comparing version 0.12.0 to 0.12.1
{ | ||
"name": "koa-fluent-validation", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"main": "dist/index.js", | ||
@@ -21,6 +21,2 @@ "types": "dist/index.d.ts", | ||
}, | ||
"files": [ | ||
"package.json", | ||
"dist" | ||
], | ||
"engines": { | ||
@@ -27,0 +23,0 @@ "node": ">= 7.6" |
# koa-fluent-validation | ||
[![NPM version][npm-image]][npm-url] | ||
[![npm](https://img.shields.io/npm/v/koa-fluent-validation.svg?style=for-the-badge)](https://npmjs.com/package/koa-fluent-validation) | ||
[![Travis (.org)](https://img.shields.io/travis/technicallyjosh/koa-fluent-validation.svg?style=for-the-badge)](https://travis-ci.org/technicallyjosh/koa-fluent-validation) | ||
[![David](https://img.shields.io/david/technicallyjosh/koa-fluent-validation.svg?style=for-the-badge)](https://david-dm.org/technicallyjosh/koa-fluent-validation) | ||
@@ -9,6 +11,4 @@ Fluent, functional, and extendable validation for Koa 2 body, params, and query. Built on [validator](https://github.com/chriso/validator.js/) for base validations and filters. | ||
```bash | ||
yarn add koa-fluent-validation | ||
# OR | ||
npm i koa-fluent-validation | ||
```console | ||
$ npm i koa-fluent-validation | ||
``` | ||
@@ -62,8 +62,8 @@ | ||
.required() | ||
.string() | ||
.string(), | ||
}, | ||
{ | ||
firstName: f().trim(), | ||
lastName: f().trim() | ||
} | ||
lastName: f().trim(), | ||
}, | ||
); | ||
@@ -81,8 +81,4 @@ | ||
[npm-url]: https://npmjs.org/package/koa-fluent-validation | ||
[npm-image]: http://img.shields.io/npm/v/koa-fluent-validation.svg?style=plastic | ||
## TODO | ||
- [] Filter Tests | ||
- [] Automate build via Travis |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3566
1
82