Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-interface-checker

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-interface-checker - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

1

dist/index.d.ts

@@ -7,2 +7,3 @@ import { ITypeSuite, TType } from "./types";

export { TArray, TEnumType, TEnumLiteral, TFunc, TIface, TLiteral, TName, TOptional, TParam, TParamList, TProp, TTuple, TType, TUnion, TIntersection, array, enumlit, enumtype, func, iface, lit, name, opt, param, tuple, union, intersection, BasicType, ITypeSuite, } from "./types";
export { VError, IErrorDetail } from './util';
export interface ICheckerSuite {

@@ -9,0 +10,0 @@ [name: string]: Checker;

@@ -37,2 +37,4 @@ "use strict";

exports.BasicType = types_2.BasicType;
var util_2 = require("./util");
exports.VError = util_2.VError;
/**

@@ -39,0 +41,0 @@ * Takes one of more type suites (e.g. a module generated by `ts-interface-builder`), and combines

@@ -22,2 +22,4 @@ "use strict";

_this.path = path;
// See https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work for info about this workaround.
Object.setPrototypeOf(_this, VError.prototype);
return _this;

@@ -24,0 +26,0 @@ }

6

package.json
{
"name": "ts-interface-checker",
"version": "0.1.11",
"version": "0.1.12",
"description": "Runtime library to validate data against TypeScript interfaces",

@@ -53,4 +53,4 @@ "main": "dist/index",

"coveralls": "^3.0.0",
"mocha": "^3.5.3",
"nyc": "^11.4.1",
"mocha": "^7.1.2",
"nyc": "^15.0.1",
"protobufjs": "^6.8.3",

@@ -57,0 +57,0 @@ "source-map-support": "^0.5.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