Socket
Socket
Sign inDemoInstall

better-sqlite3

Package Overview
Dependencies
37
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.6.2 to 8.0.0

10

package.json
{
"name": "better-sqlite3",
"version": "7.6.2",
"version": "8.0.0",
"description": "The fastest and simplest library for SQLite3 in Node.js.",

@@ -27,2 +27,3 @@ "homepage": "http://github.com/WiseLibs/better-sqlite3",

"mocha": "^8.3.2",
"node-gyp": "8.4.1",
"nodemark": "^0.3.0",

@@ -33,4 +34,9 @@ "prebuild": "^11.0.4",

},
"overrides": {
"prebuild": {
"node-gyp": "$node-gyp"
}
},
"scripts": {
"install": "prebuild-install || npm run build-release",
"install": "prebuild-install || node-gyp rebuild --release",
"build-release": "node-gyp rebuild --release",

@@ -37,0 +43,0 @@ "build-debug": "node-gyp rebuild --debug",

@@ -46,2 +46,8 @@ # better-sqlite3 [![Build Status](https://github.com/JoshuaWise/better-sqlite3/actions/workflows/build.yml/badge.svg)](https://github.com/JoshuaWise/better-sqlite3/actions/workflows/build.yml?query=branch%3Amaster)

Though not required, [it is generally important to set the WAL pragma for performance reasons](https://github.com/WiseLibs/better-sqlite3/blob/master/docs/performance.md).
```js
db.pragma('journal_mode = WAL');
```
##### In ES6 module notation:

@@ -52,2 +58,3 @@

const db = new Database('foobar.db', options);
db.pragma('journal_mode = WAL');
```

@@ -54,0 +61,0 @@

binding.gyp

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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