Socket
Socket
Sign inDemoInstall

io-ts

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io-ts - npm Package Compare versions

Comparing version 2.2.18 to 2.2.19

5

CHANGELOG.md

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

# 2.2.19
- **Bug Fix**
- allow `Error` to be decoded with `UnknownRecord`, #664 (@mlegenhausen)
# 2.2.18

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

5

es6/index.js

@@ -728,6 +728,3 @@ var __extends = (this && this.__extends) || (function () {

function AnyDictionaryType() {
var _this = _super.call(this, 'UnknownRecord', function (u) {
var s = Object.prototype.toString.call(u);
return s === '[object Object]' || s === '[object Window]';
}, function (u, c) { return (_this.is(u) ? success(u) : failure(u, c)); }, identity) || this;
var _this = _super.call(this, 'UnknownRecord', function (u) { return u !== null && typeof u === 'object' && !Array.isArray(u); }, function (u, c) { return (_this.is(u) ? success(u) : failure(u, c)); }, identity) || this;
/**

@@ -734,0 +731,0 @@ * @since 1.0.0

@@ -745,6 +745,3 @@ "use strict";

function AnyDictionaryType() {
var _this = _super.call(this, 'UnknownRecord', function (u) {
var s = Object.prototype.toString.call(u);
return s === '[object Object]' || s === '[object Window]';
}, function (u, c) { return (_this.is(u) ? (0, exports.success)(u) : (0, exports.failure)(u, c)); }, exports.identity) || this;
var _this = _super.call(this, 'UnknownRecord', function (u) { return u !== null && typeof u === 'object' && !Array.isArray(u); }, function (u, c) { return (_this.is(u) ? (0, exports.success)(u) : (0, exports.failure)(u, c)); }, exports.identity) || this;
/**

@@ -751,0 +748,0 @@ * @since 1.0.0

2

package.json
{
"name": "io-ts",
"version": "2.2.18",
"version": "2.2.19",
"description": "TypeScript runtime type system for IO decoding/encoding",

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

[![build status](https://img.shields.io/travis/gcanti/io-ts/master.svg?style=flat-square)](https://travis-ci.org/gcanti/io-ts)
[![dependency status](https://img.shields.io/david/gcanti/io-ts.svg?style=flat-square)](https://david-dm.org/gcanti/io-ts)
![npm downloads](https://img.shields.io/npm/dm/io-ts.svg)

@@ -4,0 +3,0 @@

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