Comparing version 3.2.22 to 3.2.23
@@ -15,2 +15,7 @@ # Changelog | ||
# v3.2.23 | ||
- **Bug Fix** | ||
- declare: remove unnecessary limitation, fix #291 (@gcanti) | ||
# v3.2.22 | ||
@@ -17,0 +22,0 @@ |
@@ -34,3 +34,3 @@ var assert = require('./assert'); | ||
assert(isNil(type), function () { return 'Declare.define(type) can only be invoked once'; }); | ||
assert(isNil(spec.meta.name) && Object.keys(spec.prototype).length === 0, function () { return 'Invalid argument type ' + assert.stringify(spec) + ' supplied to define(type) (expected a fresh, unnamed type)'; }); | ||
// assert(isNil(spec.meta.name) && Object.keys(spec.prototype).length === 0, function () { return 'Invalid argument type ' + assert.stringify(spec) + ' supplied to define(type) (expected a fresh, unnamed type)'; }); | ||
} | ||
@@ -37,0 +37,0 @@ |
{ | ||
"name": "tcomb", | ||
"version": "3.2.22", | ||
"version": "3.2.23", | ||
"description": "Type checking and DDD for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -126,3 +126,3 @@ [![build status](https://img.shields.io/travis/gcanti/tcomb/master.svg?style=flat-square)](https://travis-ci.org/gcanti/tcomb) | ||
See [Updating immutable instances](docs/GUIDE.md#updating-immutable-instances) for details. | ||
See [Updating immutable instances](docs/API.md#updating-immutable-instances) for details. | ||
@@ -220,2 +220,3 @@ **Speed** | ||
* [tcomb-form-native](https://github.com/gcanti/tcomb-form-native) Forms library for react-native | ||
* [tcomb-generate](https://github.com/typeetfunc/tcomb-generate) Generates random data by tcomb type for property-based testing | ||
@@ -222,0 +223,0 @@ # Similar projects |
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
91340
237