better-sqlite3
Advanced tools
Comparing version 7.4.1 to 7.4.2
@@ -37,3 +37,3 @@ # Custom configuration | ||
By default, this distribution currently uses SQLite3 **version 3.35.2** with the following [compilation options](https://www.sqlite.org/compile.html): | ||
By default, this distribution currently uses SQLite3 **version 3.36.0** with the following [compilation options](https://www.sqlite.org/compile.html): | ||
@@ -55,2 +55,3 @@ ``` | ||
SQLITE_DEFAULT_WAL_SYNCHRONOUS=1 | ||
SQLITE_ENABLE_MATH_FUNCTIONS | ||
SQLITE_ENABLE_DESERIALIZE | ||
@@ -57,0 +58,0 @@ SQLITE_ENABLE_COLUMN_METADATA |
@@ -7,3 +7,3 @@ # Troubleshooting installation | ||
2. Make sure you have [`node-gyp`](https://github.com/nodejs/node-gyp#installation) globally installed, including all of [its dependencies](https://github.com/nodejs/node-gyp#on-unix). On Windows you may need to [configure some things manually](https://github.com/nodejs/node-gyp#on-windows). Use `npm ls node-gyp` to make sure none of your local packages installs an outdated version of `node-gyp` that is used over the global one. | ||
2. Make sure you have [`node-gyp`](https://github.com/nodejs/node-gyp#installation) globally installed, including all of [its dependencies](https://github.com/nodejs/node-gyp#on-unix). On Windows you may need to [configure some things manually](https://github.com/nodejs/node-gyp#on-windows). Use `npm ls node-gyp` to make sure none of your local packages installed an outdated version of `node-gyp` that is used over the global one. | ||
@@ -10,0 +10,0 @@ 3. If you're using [Electron](https://github.com/electron/electron), try running [`electron-rebuild`](https://www.npmjs.com/package/electron-rebuild) |
{ | ||
"name": "better-sqlite3", | ||
"version": "7.4.1", | ||
"version": "7.4.2", | ||
"description": "The fastest and simplest library for SQLite3 in Node.js.", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/JoshuaWise/better-sqlite3", |
@@ -188,10 +188,8 @@ 'use strict'; | ||
.to.be.undefined; | ||
expect(calls.splice(0)).to.deep.equal([[10, 5]]); | ||
expect(calls.splice(0)).to.deep.equal([]); | ||
expect(this.db.prepare('SELECT * FROM vtab WHERE "$2" = ? AND "$2" = ? AND "$1" = ?').get(9, 5, 10)) | ||
.to.be.undefined; | ||
expect(calls.splice(0)).to.deep.equal([[10, 9]]); | ||
expect(calls.splice(0)).to.deep.equal([]); | ||
}); | ||
it.skip('should correctly handle arguments that are constrained to other arguments', function () { | ||
// This test case fails due to a bug in SQLite (as of May 2021): | ||
// https://sqlite.org/forum/forumpost/830d37b928 | ||
it('should correctly handle arguments that are constrained to other arguments', function () { | ||
const calls = []; | ||
@@ -216,6 +214,6 @@ this.db.table('vtab', { | ||
.to.be.undefined; | ||
expect(calls.splice(0)).to.deep.equal([[10, 5]]); | ||
expect(calls.splice(0)).to.deep.equal([]); | ||
expect(this.db.prepare('SELECT * FROM vtab WHERE "$2" = "$1" AND "$2" = ? AND "$1" = ?').get(5, 10)) | ||
.to.be.undefined; | ||
expect(calls.splice(0)).to.deep.equal([[10, 10]]); | ||
expect(calls.splice(0)).to.deep.equal([]); | ||
}); | ||
@@ -222,0 +220,0 @@ it('should throw an exception if the database is busy', function () { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2859520
4975