Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

Commit d808e57

Browse filesBrowse files
committed
Bumped bundled SQLite from 3.45.0 to 3.52.0
Two years of upstream improvements including bug fixes, performance enhancements, and security hardening. The extract script now removes the VERSION file that SQLite >= 3.49 ships, which conflicts with the C++20 <version> header on case-insensitive filesystems (macOS/Windows).
1 parent a962b72 commit d808e57
Copy full SHA for d808e57

5 files changed

+11-2Lines changed: 11 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Asynchronous, non-blocking [SQLite3](https://sqlite.org/) bindings for [Node.js]
2020
- [Extension support](https://github.com/TryGhost/node-sqlite3/wiki/API#databaseloadextensionpath-callback), including bundled support for the [json1 extension](https://www.sqlite.org/json1.html)
2121
- Big test suite
2222
- Written in modern C++ and tested for memory leaks
23-
- Bundles SQLite v3.45.0, or you can build using a local SQLite
23+
- Bundles SQLite v3.52.0, or you can build using a local SQLite
2424

2525
# Installing
2626

Collapse file

‎deps/common-sqlite.gypi‎

Copy file name to clipboardExpand all lines: deps/common-sqlite.gypi
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
'variables': {
3-
'sqlite_version%':'3450000',
3+
'sqlite_version%':'3520000',
44
"toolset%":'',
55
},
66
'target_defaults': {
Collapse file

‎deps/extract.js‎

Copy file name to clipboardExpand all lines: deps/extract.js
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const tar = require("tar");
2+
const fs = require("fs");
23
const path = require("path");
34
const tarball = path.resolve(process.argv[2]);
45
const dirname = path.resolve(process.argv[3]);
@@ -8,3 +9,11 @@ tar.extract({
89
file: tarball,
910
cwd: dirname,
1011
});
12+
13+
// SQLite >= 3.49 ships a VERSION file that conflicts with the C++20 <version>
14+
// header on case-insensitive filesystems (macOS/Windows).
15+
const base = path.basename(tarball, ".tar.gz");
16+
const versionFile = path.join(dirname, base, "VERSION");
17+
if (fs.existsSync(versionFile)) {
18+
fs.unlinkSync(versionFile);
19+
}
Collapse file
-3.08 MB
Binary file not shown.
Collapse file
3.11 MB
Binary file not shown.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.