New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typedconverter

Package Overview
Dependencies
Maintainers
1
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedconverter - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

jest.config.debug.js
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node'
//testEnvironment: 'node'
};

@@ -9,80 +9,80 @@ import validatorJs from "validator";

date?: string;
}): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function alpha(opt?: Opt & {
locale?: validatorJs.AlphaLocale;
}): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function alphanumeric(opt?: Opt & {
locale?: validatorJs.AlphaLocale;
}): (target: any, name: string, index?: any) => void;
function ascii(opt?: Opt): (target: any, name: string, index?: any) => void;
function base64(opt?: Opt): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function ascii(opt?: Opt): import("tinspector").PropertyDecorator;
function base64(opt?: Opt): import("tinspector").PropertyDecorator;
function before(opt?: Opt & {
date?: string;
}): (target: any, name: string, index?: any) => void;
function byteLength(opt: Opt & validatorJs.IsByteLengthOptions): (target: any, name: string, index?: any) => void;
function creditCard(opt?: Opt): (target: any, name: string, index?: any) => void;
function currency(opt?: Opt & validatorJs.IsCurrencyOptions): (target: any, name: string, index?: any) => void;
function dataURI(opt?: Opt): (target: any, name: string, index?: any) => void;
function decimal(opt?: Opt & validatorJs.IsDecimalOptions): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function byteLength(opt: Opt & validatorJs.IsByteLengthOptions): import("tinspector").PropertyDecorator;
function creditCard(opt?: Opt): import("tinspector").PropertyDecorator;
function currency(opt?: Opt & validatorJs.IsCurrencyOptions): import("tinspector").PropertyDecorator;
function dataURI(opt?: Opt): import("tinspector").PropertyDecorator;
function decimal(opt?: Opt & validatorJs.IsDecimalOptions): import("tinspector").PropertyDecorator;
function divisibleBy(opt: Opt & {
num: number;
}): (target: any, name: string, index?: any) => void;
function email(opt?: Opt & validatorJs.IsEmailOptions): (target: any, name: string, index?: any) => void;
function fqdn(opt?: Opt & validatorJs.IsFQDNOptions): (target: any, name: string, index?: any) => void;
function float(opt?: Opt & validatorJs.IsFloatOptions): (target: any, name: string, index?: any) => void;
function fullWidth(opt?: Opt): (target: any, name: string, index?: any) => void;
function halfWidth(opt?: Opt): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function email(opt?: Opt & validatorJs.IsEmailOptions): import("tinspector").PropertyDecorator;
function fqdn(opt?: Opt & validatorJs.IsFQDNOptions): import("tinspector").PropertyDecorator;
function float(opt?: Opt & validatorJs.IsFloatOptions): import("tinspector").PropertyDecorator;
function fullWidth(opt?: Opt): import("tinspector").PropertyDecorator;
function halfWidth(opt?: Opt): import("tinspector").PropertyDecorator;
function hash(opt: Opt & {
algorithm: validatorJs.HashAlgorithm;
}): (target: any, name: string, index?: any) => void;
function hexColor(opt?: Opt): (target: any, name: string, index?: any) => void;
function hexadecimal(opt?: Opt): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function hexColor(opt?: Opt): import("tinspector").PropertyDecorator;
function hexadecimal(opt?: Opt): import("tinspector").PropertyDecorator;
function ip(opt?: Opt & {
version?: "4" | "6";
}): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function isbn(opt?: Opt & {
version?: "10" | "13";
}): (target: any, name: string, index?: any) => void;
function isin(opt?: Opt): (target: any, name: string, index?: any) => void;
function iso31661Alpha2(opt?: Opt): (target: any, name: string, index?: any) => void;
function iso8601(opt?: Opt): (target: any, name: string, index?: any) => void;
function isrc(opt?: Opt): (target: any, name: string, index?: any) => void;
function issn(opt?: Opt & validatorJs.IsISSNOptions): (target: any, name: string, index?: any) => void;
function int(opt?: Opt & validatorJs.IsIntOptions): (target: any, name: string, index?: any) => void;
function json(opt?: Opt): (target: any, name: string, index?: any) => void;
function latLong(opt?: Opt): (target: any, name: string, index?: any) => void;
function length(opt: Opt & validatorJs.IsLengthOptions): (target: any, name: string, index?: any) => void;
function lowerCase(opt?: Opt): (target: any, name: string, index?: any) => void;
function macAddress(opt?: Opt): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function isin(opt?: Opt): import("tinspector").PropertyDecorator;
function iso31661Alpha2(opt?: Opt): import("tinspector").PropertyDecorator;
function iso8601(opt?: Opt): import("tinspector").PropertyDecorator;
function isrc(opt?: Opt): import("tinspector").PropertyDecorator;
function issn(opt?: Opt & validatorJs.IsISSNOptions): import("tinspector").PropertyDecorator;
function int(opt?: Opt & validatorJs.IsIntOptions): import("tinspector").PropertyDecorator;
function json(opt?: Opt): import("tinspector").PropertyDecorator;
function latLong(opt?: Opt): import("tinspector").PropertyDecorator;
function length(opt: Opt & validatorJs.IsLengthOptions): import("tinspector").PropertyDecorator;
function lowerCase(opt?: Opt): import("tinspector").PropertyDecorator;
function macAddress(opt?: Opt): import("tinspector").PropertyDecorator;
function matches(opt: Opt & {
pattern: string;
modifier?: string;
}): (target: any, name: string, index?: any) => void;
function md5(opt?: Opt): (target: any, name: string, index?: any) => void;
function mimeType(opt?: Opt): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function md5(opt?: Opt): import("tinspector").PropertyDecorator;
function mimeType(opt?: Opt): import("tinspector").PropertyDecorator;
function mobilePhone(opt?: Opt & {
locale?: validatorJs.MobilePhoneLocale;
options?: validatorJs.IsMobilePhoneOptions;
}): (target: any, name: string, index?: any) => void;
function mongoId(opt?: Opt): (target: any, name: string, index?: any) => void;
function multibyte(opt?: Opt): (target: any, name: string, index?: any) => void;
function numeric(opt?: Opt & validatorJs.IsNumericOptions): (target: any, name: string, index?: any) => void;
function port(opt?: Opt): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function mongoId(opt?: Opt): import("tinspector").PropertyDecorator;
function multibyte(opt?: Opt): import("tinspector").PropertyDecorator;
function numeric(opt?: Opt & validatorJs.IsNumericOptions): import("tinspector").PropertyDecorator;
function port(opt?: Opt): import("tinspector").PropertyDecorator;
function postalCode(opt?: Opt & {
locale?: validatorJs.PostalCodeLocale;
}): (target: any, name: string, index?: any) => void;
function slug(opt?: Opt): (target: any, name: string, index?: any) => void;
function surrogatePair(opt?: Opt): (target: any, name: string, index?: any) => void;
function url(opt?: Opt & validatorJs.IsURLOptions): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function slug(opt?: Opt): import("tinspector").PropertyDecorator;
function surrogatePair(opt?: Opt): import("tinspector").PropertyDecorator;
function url(opt?: Opt & validatorJs.IsURLOptions): import("tinspector").PropertyDecorator;
function UUID(opt?: Opt & {
version?: 3 | 4 | 5 | "3" | "4" | "5" | "all";
}): (target: any, name: string, index?: any) => void;
function uppercase(opt?: Opt): (target: any, name: string, index?: any) => void;
function variableWidth(opt?: Opt): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function uppercase(opt?: Opt): import("tinspector").PropertyDecorator;
function variableWidth(opt?: Opt): import("tinspector").PropertyDecorator;
function whiteListed(opt: Opt & {
chars: string | string[];
}): (target: any, name: string, index?: any) => void;
function required(): (target: any, name: string, index?: any) => void;
}): import("tinspector").PropertyDecorator;
function required(): import("tinspector").PropertyDecorator;
function partial(typ: Class): (...args: any[]) => void;
}
export { val, Opt };

@@ -11,6 +11,6 @@ import { VisitorInvocation } from './invocation';

}
declare function createValidation(validator: Validator | string | symbol): (target: any, name: string, index?: any) => void;
declare function required(): (target: any, name: string, index?: any) => void;
declare function createValidation(validator: Validator | string | symbol): import("tinspector").PropertyDecorator;
declare function required(): import("tinspector").PropertyDecorator;
declare function partial(type: Class): (...args: any[]) => void;
declare function validatorVisitor(i: VisitorInvocation): Result;
export { createValidation, required, partial, validatorVisitor, Validator, ValidatorDecorator, PartialValidator, RequiredValidator };
{
"name": "typedconverter",
"version": "2.2.0",
"version": "2.2.1",
"description": "Convert object into classes match with TypeScript type annotation",

@@ -22,17 +22,17 @@ "main": "lib/index.js",

"@types/validator": "^12.0.1",
"tinspector": "^2.2.10",
"tslib": "^1.10.0",
"tinspector": "^2.3.1",
"tslib": "^1.11.1",
"validator": "^12.2.0"
},
"devDependencies": {
"@types/ejs": "^3.0.0",
"@types/jest": "^24.0.25",
"@types/ejs": "^3.0.1",
"@types/jest": "^25.1.4",
"@types/joi": "^14.3.4",
"coveralls": "^3.0.9",
"ejs": "^3.0.1",
"jest": "^24.9.0",
"jest": "^25.1.0",
"joi": "^14.3.1",
"ts-jest": "^24.3.0",
"ts-jest": "^25.2.1",
"ts-node": "^8.6.2",
"typescript": "^3.7.5"
"typescript": "^3.8.3"
},

@@ -39,0 +39,0 @@ "bugs": {

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