Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to SQLite 3.44.0 #125

Merged
merged 2 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# dependencies

SQLITE_AMALGAMATION = sqlite-amalgamation-3430100
SQLITE_AMALGAMATION = sqlite-amalgamation-3440000
SQLITE_AMALGAMATION_ZIP_URL = https://www.sqlite.org/2023/${SQLITE_AMALGAMATION}.zip
SQLITE_AMALGAMATION_ZIP_SHA3 = 2110f85a90033016f5b5691812448e8dfa606fe407f4b2ebfec66dda2968fe3c
SQLITE_AMALGAMATION_ZIP_SHA3 = 91b5884ad3dd634f84a0096751d6c36812542e1e0042ad7b2ba059e639921d7e

EXTENSION_FUNCTIONS = extension-functions.c
EXTENSION_FUNCTIONS_URL = https://www.sqlite.org/contrib/download/extension-functions.c?get=25
Expand Down
2 changes: 1 addition & 1 deletion demo/file/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ class DatabaseSource {

async function check(code) {
if (await code !== VFS.SQLITE_OK) {
throw new Error(`Error code: ${code}`);
throw new Error(`Error code: ${await code}`);
}
}
Binary file modified dist/wa-sqlite-async.wasm
Binary file not shown.
Binary file modified dist/wa-sqlite.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wa-sqlite",
"version": "0.9.8",
"version": "0.9.9",
"type": "module",
"main": "src/sqlite-api.js",
"types": "src/types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion test/sqlite-api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { getSQLite, getSQLiteAsync } from './api-instances.js';
import * as SQLite from '../src/sqlite-api.js';
import sinon from '../.yarn/unplugged/sinon-npm-15.0.1-115ae39e4c/node_modules/sinon/pkg/sinon-esm.js';

const LIBVERSION = '3.43.1';
const LIBVERSION = '3.44.0';
const LIBVERSION_NUMBER = (function() {
const version = LIBVERSION.split('.');
return parseInt(version[0] + version[1].padStart(3, '0') + version[2].padStart(3, '0'));
Expand Down