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

@minatojs/sql-utils

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@minatojs/sql-utils - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

12

lib/index.d.ts
import { Dict } from 'cosmokit';
import { Eval, Field, Model, Modifier, Query, Selection } from '@minatojs/core';
export * from './utils';
export declare type QueryOperators = {
[K in keyof Query.FieldExpr]?: (key: string, value: Query.FieldExpr[K]) => string;
export type QueryOperators = {
[K in keyof Query.FieldExpr]?: (key: string, value: NonNullable<Query.FieldExpr[K]>) => string;
};
export declare type ExtractUnary<T> = T extends [infer U] ? U : T;
export declare type EvalOperators = {
export type ExtractUnary<T> = T extends [infer U] ? U : T;
export type EvalOperators = {
[K in keyof Eval.Static as `$${K}`]?: (expr: ExtractUnary<Parameters<Eval.Static[K]>>) => string;

@@ -15,4 +15,4 @@ } & {

types: Field.Type<S>[];
dump: (value: S) => T;
load: (value: T, initial?: S) => S;
dump: (value: S) => T | null;
load: (value: T, initial?: S) => S | null;
}

@@ -19,0 +19,0 @@ export declare class Builder {

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

"use strict";
var __defProp = Object.defineProperty;

@@ -2,0 +3,0 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;

{
"name": "@minatojs/sql-utils",
"version": "2.0.0",
"version": "2.0.1",
"description": "SQL Utilities for Minato",

@@ -32,7 +32,7 @@ "main": "lib/index.js",

"peerDependencies": {
"@minatojs/core": "^2.0.0"
"@minatojs/core": "^2.0.2"
},
"dependencies": {
"cosmokit": "^1.3.3"
"cosmokit": "^1.3.4"
}
}

Sorry, the diff of this file is not supported yet

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