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.5 to 2.0.6

5

CHANGELOG.md

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

# 2.0.6
- **Bug Fix**
- whitelist `window` in `UnknownRecord`, fix #413 (@gcanti)
# 2.0.5

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

5

es6/index.js

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

function AnyDictionaryType() {
var _this = _super.call(this, 'UnknownRecord', function (u) { return Object.prototype.toString.call(u) === '[object Object]'; }, function (u, c) { return (_this.is(u) ? success(u) : failure(u, c)); }, identity) || this;
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;
_this._tag = 'AnyDictionaryType';

@@ -276,0 +279,0 @@ return _this;

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

function AnyDictionaryType() {
var _this = _super.call(this, 'UnknownRecord', function (u) { return Object.prototype.toString.call(u) === '[object Object]'; }, function (u, c) { return (_this.is(u) ? exports.success(u) : exports.failure(u, c)); }, exports.identity) || this;
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) ? exports.success(u) : exports.failure(u, c)); }, exports.identity) || this;
_this._tag = 'AnyDictionaryType';

@@ -282,0 +285,0 @@ return _this;

2

package.json
{
"name": "io-ts",
"version": "2.0.5",
"version": "2.0.6",
"description": "TypeScript compatible runtime type system for IO validation",

@@ -5,0 +5,0 @@ "files": [

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