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

@travetto/schema

Package Overview
Dependencies
Maintainers
1
Versions
329
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/schema - npm Package Compare versions

Comparing version 0.3.0 to 0.3.2

src/bind-util.ts

6

extension/faker.ts

@@ -5,6 +5,6 @@ import * as faker from 'faker';

import { CommonRegExp } from '../src/service/validator/regexp';
import { CommonRegExp } from '../src/service/regexp';
import { FieldConfig } from '../src/types';
import { SchemaRegistry } from '../src/service/registry';
import { BindUtil } from '../src/util';
import { SchemaRegistry } from '../src/registry';
import { BindUtil } from '../src/bind-util';

@@ -11,0 +11,0 @@ const DAY_IN_MS = 24 * 60 * 60 * 1000;

@@ -5,3 +5,3 @@ import { ControllerRegistry, AppError, ParamConfig, Filter, EndpointDecorator, Response, Request } from '@travetto/rest';

import { SchemaRegistry, BindUtil, SchemaValidator, ValidationErrors } from '@travetto/schema/src';
import { SchemaRegistry, BindUtil, SchemaValidator, ValidationErrors } from '..';

@@ -8,0 +8,0 @@ // tslint:disable:no-invalid-this

@@ -1,1 +0,12 @@

export * from './src';
/// <reference path="./src/typings.d.ts" />
export * from './src/decorator/field';
export * from './src/decorator/schema';
export * from './src/decorator/common';
export * from './src/service/changes';
export * from './src/service/messages';
export * from './src/service/regexp';
export * from './src/service/validator';
export * from './src/registry';
export * from './src/bind-util';
export * from './src/types';

@@ -7,8 +7,8 @@ {

"dependencies": {
"@travetto/config": "^0.3.0",
"@travetto/registry": "^0.3.0"
"@travetto/config": "^0.3.2",
"@travetto/registry": "^0.3.2"
},
"description": "Data type registry for runtime validation, reflection and binding. ",
"devDependencies": {
"@travetto/test": "^0.3.0"
"@travetto/test": "^0.3.2"
},

@@ -36,4 +36,4 @@ "optionalExtensionDependencies": {

},
"version": "0.3.0",
"gitHead": "fb6bd5439f7491a7b8446bd3717c3ba35d8dbd4a"
"version": "0.3.2",
"gitHead": "54e9adaef1897a7f971f399c8f7dd86cbab90665"
}
import { DescriableConfig } from '../types';
import { SchemaRegistry } from '../service';
import { SchemaRegistry } from '../registry';

@@ -4,0 +4,0 @@ export function Describe(config: Partial<DescriableConfig>) {

@@ -1,2 +0,3 @@

import { CommonRegExp, SchemaRegistry } from '../service';
import { SchemaRegistry } from '../registry';
import { CommonRegExp } from '../service/regexp';
import { ClassList, FieldConfig } from '../types';

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

@@ -0,3 +1,5 @@

/// <reference path="../typings.d.ts" />
import { Class } from '@travetto/registry';
import { SchemaRegistry } from '../service';
import { SchemaRegistry } from '../registry';
import { ValidatorFn } from '../types';

@@ -4,0 +6,0 @@

type DeepPartial<T> = {
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P]
} & {
[key: string]: any;
};
[key: string]: any;
};

@@ -7,0 +7,0 @@ declare interface Function {

const proto = (Function as any)['__proto__'];
function from(this: any, data: any, view?: string) {
const { BindUtil } = require('../src/util/bind');
const { BindUtil } = require('../src/bind-util');
// tslint:disable-next-line:no-invalid-this

@@ -6,0 +6,0 @@ return BindUtil.bindSchema(this, new this(), data, view);

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