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 3.0.0 to 3.0.1

lib/.DS_Store

4

lib/index.d.ts

@@ -21,2 +21,3 @@ import { Dict } from 'cosmokit';

protected escapeMap: {};
protected escapeRegExp?: RegExp;
protected types: Dict<Transformer>;

@@ -26,7 +27,6 @@ protected createEqualQuery: (key: string, value: any) => string;

protected evalOperators: EvalOperators;
private escapeRegExp?;
constructor(tables: Dict<Model>);
protected createNullQuery(key: string, value: boolean): string;
protected createMemberQuery(key: string, value: any[], notStr?: string): string;
protected createRegExpQuery(key: string, value: RegExp): string;
protected createRegExpQuery(key: string, value: string | RegExp): string;
protected createElementQuery(key: string, value: any): string;

@@ -33,0 +33,0 @@ protected comparator(operator: string): (key: string, value: any) => string;

@@ -107,3 +107,3 @@ "use strict";

createRegExpQuery(key, value) {
return `${key} regexp ${this.escape(value.source)}`;
return `${key} regexp ${this.escape(typeof value === "string" ? value : value.source)}`;
}

@@ -110,0 +110,0 @@ createElementQuery(key, value) {

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

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

"peerDependencies": {
"@minatojs/core": "^2.1.1"
"@minatojs/core": "^2.1.2"
},

@@ -35,0 +35,0 @@ "dependencies": {

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