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

@minatojs/driver-sqlite

Package Overview
Dependencies
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@minatojs/driver-sqlite - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

lib/index.cjs

23

lib/index.d.ts

@@ -1,4 +0,19 @@

import { Driver, Eval, Selection, z } from 'minato';
import { Builder } from '@minatojs/sql-utils';
import { Dict } from 'cosmokit';
import { Field, Model, Driver, Eval, Selection, z } from 'minato';
import init from '@minatojs/sql.js';
import { SQLiteBuilder } from './builder';
export class SQLiteBuilder extends Builder {
protected escapeMap: {
"'": string;
};
constructor(tables?: Dict<Model>);
escape(value: any, field?: Field): string;
protected createElementQuery(key: string, value: any): string;
protected jsonLength(value: string): string;
protected jsonContains(obj: string, value: string): string;
protected jsonUnquote(value: string, pure?: boolean): string;
protected createAggr(expr: any, aggr: (value: string) => string, nonaggr?: (value: string) => string): string;
protected groupArray(value: string): string;
protected transformJsonField(obj: string, path: string): string;
}
export interface SQLiteFieldInfo {

@@ -12,3 +27,3 @@ cid: number;

}
export declare class SQLiteDriver extends Driver<SQLiteDriver.Config> {
export class SQLiteDriver extends Driver<SQLiteDriver.Config> {
#private;

@@ -44,3 +59,3 @@ static name: string;

}
export declare namespace SQLiteDriver {
export namespace SQLiteDriver {
interface Config {

@@ -47,0 +62,0 @@ path: string;

21

package.json
{
"name": "@minatojs/driver-sqlite",
"version": "4.0.0",
"version": "4.0.1",
"description": "SQLite Driver 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": [

@@ -29,9 +40,9 @@ "lib",

"peerDependencies": {
"minato": "^3.0.0"
"minato": "^3.0.1"
},
"devDependencies": {
"@minatojs/tests": "^2.0.0"
"@minatojs/tests": "^2.0.1"
},
"dependencies": {
"@minatojs/sql-utils": "^5.0.0",
"@minatojs/sql-utils": "^5.0.1",
"@minatojs/sql.js": "^3.1.0",

@@ -38,0 +49,0 @@ "cosmokit": "^1.5.2"

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