@minatojs/sql-utils
Advanced tools
Comparing version 5.0.0 to 5.0.1
import { Dict } from 'cosmokit'; | ||
import { Eval, Field, Model, Modifier, Query, Selection } from 'minato'; | ||
export declare function escapeId(value: string): string; | ||
export declare function isBracketed(value: string): boolean; | ||
export function escapeId(value: string): string; | ||
export function isBracketed(value: string): boolean; | ||
export type QueryOperators = { | ||
@@ -20,3 +20,3 @@ [K in keyof Query.FieldExpr]?: (key: string, value: NonNullable<Query.FieldExpr[K]>) => string; | ||
type SQLType = 'raw' | 'json' | 'list' | 'date' | 'time' | 'timestamp'; | ||
interface State { | ||
declare interface State { | ||
sqlType?: SQLType; | ||
@@ -30,3 +30,3 @@ sqlTypes?: Dict<SQLType>; | ||
} | ||
export declare class Builder { | ||
export class Builder { | ||
protected escapeMap: {}; | ||
@@ -82,2 +82,1 @@ protected escapeRegExp?: RegExp; | ||
} | ||
export {}; |
{ | ||
"name": "@minatojs/sql-utils", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "SQL Utilities for Minato", | ||
"main": "lib/index.js", | ||
"type": "module", | ||
"main": "lib/index.cjs", | ||
"module": "lib/index.mjs", | ||
"typings": "lib/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./lib/index.mjs", | ||
"require": "./lib/index.cjs", | ||
"types": "./lib/index.d.ts" | ||
}, | ||
"./src/*": "./src/*", | ||
"./package.json": "./package.json" | ||
}, | ||
"files": [ | ||
@@ -33,3 +44,3 @@ "lib", | ||
"peerDependencies": { | ||
"minato": "^3.0.0" | ||
"minato": "^3.0.1" | ||
}, | ||
@@ -36,0 +47,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
139281
10
2205
Yes