Socket
Socket
Sign inDemoInstall

better-sqlite-pool

Package Overview
Dependencies
13
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.2.0

2

index.d.ts

@@ -53,2 +53,2 @@ import { EventEmitter } from "events";

export default Pool;
export default Pool;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -107,2 +108,2 @@ const EventEmitter = require("events").EventEmitter;

}
exports.default = exports.Pool = Pool;
exports.default = exports.Pool = Pool;
{
"name": "better-sqlite-pool",
"version": "0.1.2",
"version": "0.2.0",
"description": "A connection pool for better-sqlite3.",

@@ -25,8 +25,8 @@ "main": "index.js",

"dependencies": {
"@types/better-sqlite3": "^3.1.3",
"better-sqlite3": "^4.1.1"
"@types/better-sqlite3": "^5.2.1",
"better-sqlite3": "^5.2.1"
},
"engines": {
"node": ">=6.0"
"node": ">=8.0"
}
}

@@ -59,3 +59,3 @@ # Better-SQLite-Pool

The only argument pass to the callback of `Promise.then()` is the database connection retrieved.
The only argument passed to the callback of `Promise.then()` is the database connection acquired.

@@ -66,3 +66,3 @@ ### `pool.close()`

## Issues
## Potential Issues

@@ -78,4 +78,4 @@ ### `node-gyp` error

Another problem you may face is your computer throw an error that tells you
Another problem you may face is your computer throwing an error that tells you
the `VCBulid.exe` file is missing. This is probably you don't have a Visual
Studio installed, install one with VC++ support, that will fix the problem.
Studio installed, install one with VC++ support, that will fix the problem.

@@ -32,6 +32,6 @@ "use strict";

var res2 = con.prepare("select * from `users` where `id` = ?").get(res.lastInsertROWID);
var res2 = con.prepare("select * from `users` where `id` = ?").get(res.lastInsertRowid);
assert.deepStrictEqual(res2, {
id: res.lastInsertROWID,
id: res.lastInsertRowid,
name: "Ayon Lee",

@@ -38,0 +38,0 @@ email: "i@hyurl.com"

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc