Socket
Socket
Sign inDemoInstall

io-ts

Package Overview
Dependencies
1
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.0 to 0.5.1

5

CHANGELOG.md

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

# 0.5.1
- **Bug Fix**
- export and rename `interfaceType` to `_interface`, fix #57 (@gcanti)
# 0.5.0

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

4

lib/index.d.ts

@@ -128,3 +128,3 @@ import { Either } from 'fp-ts/lib/Either';

}
declare function interfaceType<P extends Props>(props: P, name?: string): InterfaceType<P>;
export declare function _interface<P extends Props>(props: P, name?: string): InterfaceType<P>;
export declare type PartialOf<P extends Props> = {

@@ -186,2 +186,2 @@ [K in keyof P]?: TypeOf<P[K]>;

export declare function readonlyArray<RT extends Any>(type: RT, name?: string): ReadonlyArrayType<RT>;
export { nullType as null, undefinedType as undefined, arrayType as Array, functionType as Function, interfaceType as interface };
export { nullType as null, undefinedType as undefined, arrayType as Array, functionType as Function, _interface as interface };

@@ -206,3 +206,3 @@ "use strict";

exports.array = array;
function interfaceType(props, name) {
function _interface(props, name) {
return {

@@ -235,3 +235,4 @@ _A: exports._A,

}
exports.interface = interfaceType;
exports._interface = _interface;
exports.interface = _interface;
function partial(props, name) {

@@ -242,3 +243,3 @@ var partials = {};

}
var type = interfaceType(partials);
var type = _interface(partials);
return {

@@ -245,0 +246,0 @@ _A: exports._A,

{
"name": "io-ts",
"version": "0.5.0",
"version": "0.5.1",
"description": "TypeScript compatible runtime type system for IO validation",
"files": [
"lib"
],
"files": ["lib"],
"main": "lib/index.js",

@@ -36,23 +34,11 @@ "typings": "lib/index.d.ts",

"mocha": "3.2.0",
"prettier": "^1.4.2",
"prettier": "1.5.2",
"ts-node": "2.0.0",
"tslint": "4.4.2",
"tslint-config-standard": "4.0.0",
"typescript": "^2.2.0",
"typescript": "2.4.0",
"typings-checker": "1.1.2"
},
"tags": [
"typescript",
"validation",
"inference",
"types",
"runtime"
],
"keywords": [
"typescript",
"validation",
"inference",
"types",
"runtime"
]
"tags": ["typescript", "validation", "inference", "types", "runtime"],
"keywords": ["typescript", "validation", "inference", "types", "runtime"]
}

Sorry, the diff of this file is not supported yet

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