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

@ronin/syntax

Package Overview
Dependencies
Maintainers
0
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ronin/syntax - npm Package Compare versions

Comparing version 0.2.5-corny-ron-1099-experimental-56 to 0.2.5-corny-ron-1099-experimental-57

dist/chunk-JIORX4QF.js

2

dist/queries.d.ts

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

export { c as PromiseTuple, S as SyntaxItem, d as getBatchProxy, e as getProperty, g as getSyntaxProxy, s as setProperty } from './queries-B5GYrcJV.js';
export { c as PromiseTuple, S as SyntaxItem, d as getBatchProxy, e as getProperty, g as getSyntaxProxy, s as setProperty } from './queries-BtQ_UZTX.js';

@@ -6,3 +6,3 @@ import {

setProperty
} from "./chunk-KNGCH4OY.js";
} from "./chunk-JIORX4QF.js";
export {

@@ -9,0 +9,0 @@ getBatchProxy,

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

import { P as PublicModel, M as ModelIndex, a as ModelField, b as ModelTrigger, G as GetInstructions, W as WithInstruction, S as SyntaxItem } from './queries-B5GYrcJV.js';
import { P as PublicModel, M as ModelIndex, a as ModelField, b as ModelTrigger, G as GetInstructions, W as WithInstruction, S as SyntaxItem } from './queries-BtQ_UZTX.js';

@@ -13,3 +13,3 @@ interface RoninFields {

}
type Primitives = ReturnType<typeof link> | ReturnType<typeof string> | ReturnType<typeof boolean> | ReturnType<typeof number> | ReturnType<typeof json> | ReturnType<typeof date> | ReturnType<typeof blob> | NestedFieldsPrimitives;
type Primitives = ReturnType<typeof link> | ReturnType<typeof string> | ReturnType<typeof boolean> | ReturnType<typeof number> | ReturnType<typeof json> | ReturnType<typeof date> | ReturnType<typeof blob> | Chain<FieldOutput<'string' | 'number' | 'boolean' | 'link' | 'json' | 'date' | 'blob'>, 'name' | 'displayAs' | 'unique' | 'required' | 'defaultValue' | 'computedAs' | 'check'> | NestedFieldsPrimitives;
interface NestedFieldsPrimitives {

@@ -75,3 +75,3 @@ [key: string]: Primitives;

/** A utility type that maps an attribute's type to a function signature. */
type AttributeSignature<T> = T extends boolean ? () => any : T extends boolean ? never : (value: string) => any;
type AttributeSignature<T, Attribute> = T extends boolean ? () => any : Attribute extends keyof Omit<ModelField, 'type' | 'slug'> ? (value: ModelField[Attribute]) => any : never;
/**

@@ -87,3 +87,3 @@ * Represents a chain of field attributes in the form of a function chain.

type Chain<Attrs, Used extends keyof Attrs = never> = {
[K in Exclude<keyof Attrs, Used | 'type'>]: (...args: Parameters<AttributeSignature<Attrs[K]>>) => Chain<Attrs, Used | K>;
[K in Exclude<keyof Attrs, Used | 'type'>]: (...args: Parameters<AttributeSignature<Attrs[K], K>>) => Chain<Attrs, Used | K>;
} & ('type' extends keyof Attrs ? {

@@ -294,2 +294,2 @@ readonly type: Attrs['type'];

export { type SyntaxField, blob, boolean, date, json, link, model, number, string };
export { type Chain, type FieldOutput, type SyntaxField, blob, boolean, date, json, link, model, number, string };

@@ -10,3 +10,3 @@ import {

string
} from "./chunk-KNGCH4OY.js";
} from "./chunk-JIORX4QF.js";
export {

@@ -13,0 +13,0 @@ blob,

{
"name": "@ronin/syntax",
"version": "0.2.5-corny-ron-1099-experimental-56",
"version": "0.2.5-corny-ron-1099-experimental-57",
"type": "module",

@@ -44,3 +44,3 @@ "description": "Allows for defining RONIN queries and schemas in code.",

"@biomejs/biome": "1.9.4",
"@ronin/compiler": "0.13.10",
"@ronin/compiler": "0.14.0",
"@types/bun": "1.1.16",

@@ -47,0 +47,0 @@ "tsup": "8.3.5",

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