mongorito-tcomb
Advanced tools
Comparing version 0.7.0 to 0.9.0
{ | ||
"name": "mongorito-tcomb", | ||
"version": "0.7.0", | ||
"version": "0.9.0", | ||
"description": "Bring schema validation to Mongorito thanks to tcomb", | ||
"main": "./lib/index.js", | ||
"scripts": { | ||
"build": "./node_modules/coffee-script/bin/coffee -o ./lib/index.js -c src/index.coffee", | ||
"test": "nyc ava --serial tests.js", | ||
"build": "./node_modules/coffee-script/bin/coffee -o lib -c src", | ||
"test": "nyc ava tests.js", | ||
"coveralls": "nyc report --reporter=text-lcov | coveralls", | ||
@@ -32,4 +32,6 @@ "prepublish": "npm run build" | ||
"colors": "^1.1.2", | ||
"get-value": "^2.0.3", | ||
"kerberos": "0.0.18", | ||
"mongorito": "^1.4.6", | ||
"tcomb": "^2.7.0", | ||
"tcomb-validation": "^2.3.0" | ||
@@ -36,0 +38,0 @@ }, |
@@ -61,1 +61,15 @@ # mongorito-tcomb [![Build Status](https://travis-ci.org/xouabita/mongorito-tcomb.svg?branch=master)](https://travis-ci.org/xouabita/mongorito-tcomb) [![Dependency Status](https://david-dm.org/xouabita/mongorito-tcomb.svg)](https://david-dm.org/xouabita/mongorito-tcomb) [![devDependency Status](https://david-dm.org/alanshaw/david/dev-status.svg)](https://david-dm.org/alanshaw/david#info=devDependencies) [![Coverage Status](https://coveralls.io/repos/github/xouabita/mongorito-tcomb/badge.svg?branch=master)](https://coveralls.io/github/xouabita/mongorito-tcomb?branch=master) | ||
extend it then return the extended class. | ||
TODOS | ||
----- | ||
- [x] Add t.ID for validating ID | ||
- [x] Add t.unique for unique index creation | ||
- [x] Add tests for t.unique | ||
- [x] More efficient indexing | ||
- [x] More efficient ID validation | ||
- [x] Add tests for t.ID | ||
- [x] Add example for t.unique | ||
- [ ] Add example for t.ID | ||
- [ ] Add docs for t.ID/t.unique | ||
- [ ] Find recursively t.ID/t.unique |
import 'coffee-script/register' | ||
require('./tests.coffee').call(this) | ||
require('./tests/index.coffee').call(this); | ||
require('./tests/get_path_for_type.coffee').call(this); |
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
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
19785
13
207
75
6
1
+ Addedget-value@^2.0.3
+ Addedtcomb@^2.7.0