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

@travetto/model

Package Overview
Dependencies
Maintainers
1
Versions
371
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/model - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

2

package.json

@@ -23,3 +23,3 @@ {

},
"version": "0.0.16"
"version": "0.0.17"
}

@@ -1,4 +0,1 @@

import { ModelCore } from '../model';
import { Class } from '@travetto/registry';
export type Point = [number, number];

@@ -5,0 +2,0 @@

@@ -50,3 +50,3 @@ import { RetainFields, Point, FieldType } from './common';

type _MatchQuery<T> = {
[P in keyof T]?: T[P] extends (Date | number | string | (infer U)[] | Point | Function) ? FieldQuery<T[P]> : _MatchQuery<T[P]>
[P in keyof T]?: T[P] extends object ? _MatchQuery<T[P]> : FieldQuery<T[P]>;
} & { $and?: never, $or?: never, $not?: never };

@@ -62,3 +62,3 @@

export type MatchQuery<T> = _MatchQuery<T>;
export type WhereClause<T> = _WhereClause<T> | _MatchQuery<T>;
export type MatchQuery<T> = _MatchQuery<RetainFields<T>>;
export type WhereClause<T> = _WhereClause<RetainFields<T>> | _MatchQuery<RetainFields<T>>;

@@ -10,3 +10,3 @@ import { Suite, Test, BeforeAll } from '@travetto/test';

size: number;
language: string;
language?: string;
}

@@ -36,2 +36,3 @@

where: {
id: 5,
prefs: {

@@ -38,0 +39,0 @@ language: {

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