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

ronin

Package Overview
Dependencies
Maintainers
3
Versions
1895
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ronin - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

18

dist/index.d.ts

@@ -165,7 +165,7 @@ type RecursivePartial<T> = {

interface AllSubFilters<T> {
is: T | null;
isNot: T | null;
contains: string | Exclude<T, null>;
endsWith: string | Exclude<T, null>;
startsWith: string | Exclude<T, null>;
is: T | Array<T> | null;
isNot: T | Array<T> | null;
contains: string | Exclude<T | Array<T>, null>;
endsWith: string | Exclude<T | Array<T>, null>;
startsWith: string | Exclude<T | Array<T>, null>;
isGreaterThan: number | Date;

@@ -176,6 +176,6 @@ isLessThan: number | Date;

type Where<TSchema extends Record<string, any>> = {
[TKey in keyof TSchema]: SubFilter<TSchema[TKey]>;
[TKey in keyof TSchema]: SubFilter<TSchema[TKey]> | Array<SubFilter<TSchema[TKey]>>;
};
type With<TSchema extends Record<string, any>> = {
[TKey in keyof TSchema]: TSchema[TKey];
[TKey in keyof TSchema]: TSchema[TKey] | Array<TSchema[TKey]>;
};

@@ -194,5 +194,5 @@ type AllFields<TSchema> = `ronin.${keyof RoninMetadata}` | Exclude<keyof TSchema, 'ronin'>;

/** Perform specific matching actions (such as "is", "contains", or "startsWith") on the fields of a record. */
where: Partial<Where<RecursiveNullish<TSchema>>>;
where: Partial<Where<RecursiveNullish<TSchema>>> | Array<Partial<Where<RecursiveNullish<TSchema>>>>;
/** Perform "is" matching actions on the fields of a record. */
with: Partial<With<RecursiveNullish<TSchema>>>;
with: Partial<With<RecursiveNullish<TSchema>>> | Array<Partial<With<RecursiveNullish<TSchema>>>>;
/** Order the resulting records using a specific field. */

@@ -199,0 +199,0 @@ orderedBy: Partial<OrderedBy<TSchema>>;

{
"version": "1.0.11",
"version": "1.0.12",
"name": "ronin",

@@ -4,0 +4,0 @@ "scripts": {

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