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.25 to 3.2.26

6

CHANGELOG.md

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

# v3.2.26
- **Bug Fix**
- struct typescript extend signature, #317 (@lramel)
- defaultProps missing from StructOptions, #317 (@lramel)
# v3.2.25

@@ -17,0 +23,0 @@

6

index.d.ts

@@ -94,5 +94,6 @@ type Predicate<T> = (x: T) => boolean;

strict: boolean;
defaultProps: object;
};
update: Update<T>;
extend<E extends T>(mixins: StructMixin | Array<StructMixin>, name?: string): Struct<E>;
extend<E extends T>(mixins: StructMixin | Array<StructMixin>, name?: string | StructOptions): Struct<E>;
}

@@ -102,3 +103,4 @@

name?: string,
strict?: boolean
strict?: boolean,
defaultProps? object
};

@@ -105,0 +107,0 @@

{
"name": "tcomb",
"version": "3.2.25",
"version": "3.2.26",
"description": "Type checking and DDD for JavaScript",

@@ -5,0 +5,0 @@ "main": "index.js",

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