New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 3.0.4 to 3.1.0

2

lib/index.d.ts

@@ -31,3 +31,3 @@ /// <reference types="node" />

stop(): Promise<void>;
drop(): Promise<void>;
drop(table?: string): Promise<any>;
stats(): Promise<{

@@ -34,0 +34,0 @@ size: number;

@@ -216,6 +216,8 @@ "use strict";

}
async drop() {
async drop(table) {
if (table)
return __privateMethod(this, _run, run_fn).call(this, `DROP TABLE ${(0, import_sql_utils.escapeId)(table)}`);
const tables = Object.keys(this.database.tables);
for (const table of tables) {
__privateMethod(this, _run, run_fn).call(this, `DROP TABLE ${(0, import_sql_utils.escapeId)(table)}`);
for (const table2 of tables) {
__privateMethod(this, _run, run_fn).call(this, `DROP TABLE ${(0, import_sql_utils.escapeId)(table2)}`);
}

@@ -222,0 +224,0 @@ }

{
"name": "@minatojs/driver-sqlite",
"version": "3.0.4",
"version": "3.1.0",
"description": "SQLite Driver for Minato",

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

"peerDependencies": {
"@minatojs/core": "^2.0.3"
"@minatojs/core": "^2.1.0"
},

@@ -38,5 +38,5 @@ "devDependencies": {

"sqlstring-sqlite": "^0.1.1",
"cosmokit": "^1.3.6",
"reggol": "^1.3.3"
"cosmokit": "^1.4.0",
"reggol": "^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