Socket
Socket
Sign inDemoInstall

tcomb

Package Overview
Dependencies
0
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

8

CHANGELOG.md

@@ -10,5 +10,11 @@ # Changelog

> - [Polish]
> - [Experimental]
**Note**: Gaps between patch versions are faulty/broken releases.
## v2.0.1
- **Experimental**
- added `options.verbose` (default `true`) to handle messages (set `options.verbose = false` to improve performances in development)
## v2.0.0

@@ -28,3 +34,3 @@

- remove useless exports #104
- drop bower support #101
- drop bower support #101
- remove useless exports

@@ -31,0 +37,0 @@ * Type

'use strict';
exports.options = {
verbose: true
};
function stringify(x) {
// set options.verbose = false to improve performances in development
if (!exports.options.verbose) {
return String(x);
}
try { // handle "Converting circular structure to JSON" error

@@ -5,0 +13,0 @@ return JSON.stringify(x, null, 2);

4

package.json
{
"name": "tcomb",
"version": "2.0.0",
"description": "Type checking for JavaScript",
"version": "2.0.1",
"description": "Type checking and DDD for JavaScript",
"main": "index.js",

@@ -6,0 +6,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc