Skip to content

Commit eb3fcbf

Browse files
committed
Release 3.45.0
1 parent beff9fe commit eb3fcbf

File tree

9 files changed

+59
-29
lines changed

9 files changed

+59
-29
lines changed

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sqlite.org/sqlite-wasm",
3-
"version": "3.44.2-build3",
3+
"version": "3.45.0-build1",
44
"description": "SQLite Wasm conveniently wrapped as an ES Module.",
55
"keywords": [
66
"sqlite",
@@ -57,7 +57,7 @@
5757
"http-server": "github:vapier/http-server",
5858
"module-workers-polyfill": "^0.3.2",
5959
"node-fetch": "^3.3.2",
60-
"prettier": "^3.1.1",
60+
"prettier": "^3.2.4",
6161
"publint": "^0.2.7",
6262
"prettier-plugin-jsdoc": "^1.3.0",
6363
"shx": "^0.3.4"

sqlite-wasm/jswasm/sqlite3-bundler-friendly.mjs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4938,6 +4938,12 @@ var sqlite3InitModule = (() => {
49384938
Module['asm']['sqlite3_collation_needed']).apply(null, arguments);
49394939
});
49404940

4941+
var _sqlite3_get_autocommit = (Module['_sqlite3_get_autocommit'] =
4942+
function () {
4943+
return (_sqlite3_get_autocommit = Module['_sqlite3_get_autocommit'] =
4944+
Module['asm']['sqlite3_get_autocommit']).apply(null, arguments);
4945+
});
4946+
49414947
var _sqlite3_table_column_metadata = (Module[
49424948
'_sqlite3_table_column_metadata'
49434949
] = function () {
@@ -8747,6 +8753,7 @@ var sqlite3InitModule = (() => {
87478753
['sqlite3_file_control', 'int', 'sqlite3*', 'string', 'int', '*'],
87488754
['sqlite3_finalize', 'int', 'sqlite3_stmt*'],
87498755
['sqlite3_free', undefined, '*'],
8756+
['sqlite3_get_autocommit', 'int', 'sqlite3*'],
87508757
['sqlite3_get_auxdata', '*', 'sqlite3_context*', 'int'],
87518758
['sqlite3_initialize', undefined],
87528759

@@ -10524,11 +10531,11 @@ var sqlite3InitModule = (() => {
1052410531

1052510532
globalThis.sqlite3ApiBootstrap.initializers.push(function (sqlite3) {
1052610533
sqlite3.version = {
10527-
libVersion: '3.44.2',
10528-
libVersionNumber: 3044002,
10534+
libVersion: '3.45.0',
10535+
libVersionNumber: 3045000,
1052910536
sourceId:
10530-
'2023-11-24 11:41:44 ebead0e7230cd33bcec9f95d2183069565b9e709bf745c9b5db65cc0cbf92c0f',
10531-
downloadVersion: 3440200,
10537+
'2024-01-15 17:01:13 1066602b2b1976fe58b5150777cced894af17c803e068f5918390d6915b46e1d',
10538+
downloadVersion: 3450000,
1053210539
};
1053310540
});
1053410541

sqlite-wasm/jswasm/sqlite3-node.mjs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4983,6 +4983,12 @@ var sqlite3InitModule = (() => {
49834983
Module['asm']['sqlite3_collation_needed']).apply(null, arguments);
49844984
});
49854985

4986+
var _sqlite3_get_autocommit = (Module['_sqlite3_get_autocommit'] =
4987+
function () {
4988+
return (_sqlite3_get_autocommit = Module['_sqlite3_get_autocommit'] =
4989+
Module['asm']['sqlite3_get_autocommit']).apply(null, arguments);
4990+
});
4991+
49864992
var _sqlite3_table_column_metadata = (Module[
49874993
'_sqlite3_table_column_metadata'
49884994
] = function () {
@@ -8792,6 +8798,7 @@ var sqlite3InitModule = (() => {
87928798
['sqlite3_file_control', 'int', 'sqlite3*', 'string', 'int', '*'],
87938799
['sqlite3_finalize', 'int', 'sqlite3_stmt*'],
87948800
['sqlite3_free', undefined, '*'],
8801+
['sqlite3_get_autocommit', 'int', 'sqlite3*'],
87958802
['sqlite3_get_auxdata', '*', 'sqlite3_context*', 'int'],
87968803
['sqlite3_initialize', undefined],
87978804

@@ -10569,11 +10576,11 @@ var sqlite3InitModule = (() => {
1056910576

1057010577
globalThis.sqlite3ApiBootstrap.initializers.push(function (sqlite3) {
1057110578
sqlite3.version = {
10572-
libVersion: '3.44.2',
10573-
libVersionNumber: 3044002,
10579+
libVersion: '3.45.0',
10580+
libVersionNumber: 3045000,
1057410581
sourceId:
10575-
'2023-11-24 11:41:44 ebead0e7230cd33bcec9f95d2183069565b9e709bf745c9b5db65cc0cbf92c0f',
10576-
downloadVersion: 3440200,
10582+
'2024-01-15 17:01:13 1066602b2b1976fe58b5150777cced894af17c803e068f5918390d6915b46e1d',
10583+
downloadVersion: 3450000,
1057710584
};
1057810585
});
1057910586

sqlite-wasm/jswasm/sqlite3-worker1-promiser-bundler-friendly.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,11 @@ globalThis.sqlite3Worker1Promiser = function callee(
9797
msg = Object.create(null);
9898
msg.type = arguments[0];
9999
msg.args = arguments[1];
100+
msg.dbId = msg.args.dbId;
100101
} else {
101102
toss('Invalid arugments for sqlite3Worker1Promiser()-created factory.');
102103
}
103-
if (!msg.dbId) msg.dbId = dbId;
104+
if (!msg.dbId && msg.type !== 'open') msg.dbId = dbId;
104105
msg.messageId = genMsgId(msg);
105106
msg.departureTime = performance.now();
106107
const proxy = Object.create(null);

sqlite-wasm/jswasm/sqlite3-worker1-promiser.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,11 @@ globalThis.sqlite3Worker1Promiser = function callee(
9797
msg = Object.create(null);
9898
msg.type = arguments[0];
9999
msg.args = arguments[1];
100+
msg.dbId = msg.args.dbId;
100101
} else {
101102
toss('Invalid arugments for sqlite3Worker1Promiser()-created factory.');
102103
}
103-
if (!msg.dbId) msg.dbId = dbId;
104+
if (!msg.dbId && msg.type !== 'open') msg.dbId = dbId;
104105
msg.messageId = genMsgId(msg);
105106
msg.departureTime = performance.now();
106107
const proxy = Object.create(null);

sqlite-wasm/jswasm/sqlite3.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4966,6 +4966,12 @@ var sqlite3InitModule = (() => {
49664966
Module['asm']['sqlite3_collation_needed']).apply(null, arguments);
49674967
});
49684968

4969+
var _sqlite3_get_autocommit = (Module['_sqlite3_get_autocommit'] =
4970+
function () {
4971+
return (_sqlite3_get_autocommit = Module['_sqlite3_get_autocommit'] =
4972+
Module['asm']['sqlite3_get_autocommit']).apply(null, arguments);
4973+
});
4974+
49694975
var _sqlite3_table_column_metadata = (Module[
49704976
'_sqlite3_table_column_metadata'
49714977
] = function () {
@@ -8775,6 +8781,7 @@ var sqlite3InitModule = (() => {
87758781
['sqlite3_file_control', 'int', 'sqlite3*', 'string', 'int', '*'],
87768782
['sqlite3_finalize', 'int', 'sqlite3_stmt*'],
87778783
['sqlite3_free', undefined, '*'],
8784+
['sqlite3_get_autocommit', 'int', 'sqlite3*'],
87788785
['sqlite3_get_auxdata', '*', 'sqlite3_context*', 'int'],
87798786
['sqlite3_initialize', undefined],
87808787

@@ -10552,11 +10559,11 @@ var sqlite3InitModule = (() => {
1055210559

1055310560
globalThis.sqlite3ApiBootstrap.initializers.push(function (sqlite3) {
1055410561
sqlite3.version = {
10555-
libVersion: '3.44.2',
10556-
libVersionNumber: 3044002,
10562+
libVersion: '3.45.0',
10563+
libVersionNumber: 3045000,
1055710564
sourceId:
10558-
'2023-11-24 11:41:44 ebead0e7230cd33bcec9f95d2183069565b9e709bf745c9b5db65cc0cbf92c0f',
10559-
downloadVersion: 3440200,
10565+
'2024-01-15 17:01:13 1066602b2b1976fe58b5150777cced894af17c803e068f5918390d6915b46e1d',
10566+
downloadVersion: 3450000,
1056010567
};
1056110568
});
1056210569

sqlite-wasm/jswasm/sqlite3.mjs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4942,6 +4942,12 @@ var sqlite3InitModule = (() => {
49424942
Module['asm']['sqlite3_collation_needed']).apply(null, arguments);
49434943
});
49444944

4945+
var _sqlite3_get_autocommit = (Module['_sqlite3_get_autocommit'] =
4946+
function () {
4947+
return (_sqlite3_get_autocommit = Module['_sqlite3_get_autocommit'] =
4948+
Module['asm']['sqlite3_get_autocommit']).apply(null, arguments);
4949+
});
4950+
49454951
var _sqlite3_table_column_metadata = (Module[
49464952
'_sqlite3_table_column_metadata'
49474953
] = function () {
@@ -8751,6 +8757,7 @@ var sqlite3InitModule = (() => {
87518757
['sqlite3_file_control', 'int', 'sqlite3*', 'string', 'int', '*'],
87528758
['sqlite3_finalize', 'int', 'sqlite3_stmt*'],
87538759
['sqlite3_free', undefined, '*'],
8760+
['sqlite3_get_autocommit', 'int', 'sqlite3*'],
87548761
['sqlite3_get_auxdata', '*', 'sqlite3_context*', 'int'],
87558762
['sqlite3_initialize', undefined],
87568763

@@ -10528,11 +10535,11 @@ var sqlite3InitModule = (() => {
1052810535

1052910536
globalThis.sqlite3ApiBootstrap.initializers.push(function (sqlite3) {
1053010537
sqlite3.version = {
10531-
libVersion: '3.44.2',
10532-
libVersionNumber: 3044002,
10538+
libVersion: '3.45.0',
10539+
libVersionNumber: 3045000,
1053310540
sourceId:
10534-
'2023-11-24 11:41:44 ebead0e7230cd33bcec9f95d2183069565b9e709bf745c9b5db65cc0cbf92c0f',
10535-
downloadVersion: 3440200,
10541+
'2024-01-15 17:01:13 1066602b2b1976fe58b5150777cced894af17c803e068f5918390d6915b46e1d',
10542+
downloadVersion: 3450000,
1053610543
};
1053710544
});
1053810545

sqlite-wasm/jswasm/sqlite3.wasm

12.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)