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 2.0.3 to 2.0.4

5

CHANGELOG.md

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

# 2.0.4
- **Bug Fix**
- remove getters, fix #404 (@gcanti)
# 2.0.3

@@ -19,0 +24,0 @@

4

es6/index.d.ts

@@ -413,6 +413,6 @@ /**

export declare class RecursiveType<C extends Any, A = any, O = A, I = unknown> extends Type<A, O, I> {
private runDefinition;
runDefinition: () => C;
readonly _tag: 'RecursiveType';
constructor(name: string, is: RecursiveType<C, A, O, I>['is'], validate: RecursiveType<C, A, O, I>['validate'], encode: RecursiveType<C, A, O, I>['encode'], runDefinition: () => C);
get type(): C;
readonly type: C;
}

@@ -419,0 +419,0 @@ /**

@@ -392,12 +392,12 @@ var __extends = (this && this.__extends) || (function () {

}
Object.defineProperty(RecursiveType.prototype, "type", {
get: function () {
return this.runDefinition();
},
enumerable: true,
configurable: true
});
return RecursiveType;
}(Type));
export { RecursiveType };
Object.defineProperty(RecursiveType.prototype, 'type', {
get: function () {
return this.runDefinition();
},
enumerable: true,
configurable: true
});
/**

@@ -404,0 +404,0 @@ * @since 1.0.0

@@ -413,6 +413,6 @@ /**

export declare class RecursiveType<C extends Any, A = any, O = A, I = unknown> extends Type<A, O, I> {
private runDefinition;
runDefinition: () => C;
readonly _tag: 'RecursiveType';
constructor(name: string, is: RecursiveType<C, A, O, I>['is'], validate: RecursiveType<C, A, O, I>['validate'], encode: RecursiveType<C, A, O, I>['encode'], runDefinition: () => C);
get type(): C;
readonly type: C;
}

@@ -419,0 +419,0 @@ /**

@@ -398,12 +398,12 @@ "use strict";

}
Object.defineProperty(RecursiveType.prototype, "type", {
get: function () {
return this.runDefinition();
},
enumerable: true,
configurable: true
});
return RecursiveType;
}(Type));
exports.RecursiveType = RecursiveType;
Object.defineProperty(RecursiveType.prototype, 'type', {
get: function () {
return this.runDefinition();
},
enumerable: true,
configurable: true
});
/**

@@ -410,0 +410,0 @@ * @since 1.0.0

{
"name": "io-ts",
"version": "2.0.3",
"version": "2.0.4",
"description": "TypeScript compatible runtime type system for IO validation",

@@ -61,3 +61,3 @@ "files": [

"tslint-config-standard": "^8.0.1",
"typescript": "^3.7.2"
"typescript": "^3.7.4"
},

@@ -64,0 +64,0 @@ "tags": [

@@ -542,13 +542,13 @@ [![build status](https://img.shields.io/travis/gcanti/io-ts/master.svg?style=flat-square)](https://travis-ci.org/gcanti/io-ts)

# Community
- `io-ts@1.x`
- `io-ts@2.x`
- [io-ts-types](https://github.com/gcanti/io-ts-types) - A collection of codecs and combinators for use with
io-ts
- [io-ts-reporters](https://github.com/OliverJAsh/io-ts-reporters) - Error reporters for io-ts
- [io-ts-promise](https://github.com/aeirola/io-ts-promise) - Convenience library for using io-ts with promise-based APIs
- `io-ts@1.x`
- [geojson-iots](https://github.com/pierremarc/geojson-iots) - codecs for GeoJSON as defined in rfc7946 made with
io-ts
- [graphql-to-io-ts](https://github.com/micimize/graphql-to-io-ts) - Generate typescript and corresponding io-ts types from a graphql
schema
- [io-ts-promise](https://github.com/aeirola/io-ts-promise) - Convenience library for using io-ts with promise-based APIs
- [graphql-to-io-ts](https://github.com/micimize/graphql-to-io-ts) - Generate typescript and corresponding io-ts types from a graphql schema
# Tips and Tricks

@@ -555,0 +555,0 @@

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