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 5.0.0 to 5.0.1

lib/index.cjs

9

lib/index.d.ts
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": {

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