Socket
Socket
Sign inDemoInstall

tcomb

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tcomb - npm Package Compare versions

Comparing version 3.2.22 to 3.2.23

5

CHANGELOG.md

@@ -15,2 +15,7 @@ # Changelog

# v3.2.23
- **Bug Fix**
- declare: remove unnecessary limitation, fix #291 (@gcanti)
# v3.2.22

@@ -17,0 +22,0 @@

2

lib/declare.js

@@ -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

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