better-sqlite3-multiple-ciphers 13.0.4-beta.0 → 13.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/deps/sqlite3/sqlite3.c +16980 -6362
- package/deps/sqlite3/sqlite3.h +1062 -32
- package/deps/sqlite3/sqlite3ext.h +14 -8
- package/deps/update-sqlite3mc.sh +2 -2
- package/package.json +2 -2
- package/prebuilds/darwin-arm64.node +0 -0
- package/prebuilds/darwin-x64.node +0 -0
- package/prebuilds/linux-arm64.node +0 -0
- package/prebuilds/linux-x64.node +0 -0
- package/prebuilds/linuxmusl-arm64.node +0 -0
- package/prebuilds/linuxmusl-x64.node +0 -0
- package/prebuilds/win32-arm64.node +0 -0
- package/prebuilds/win32-x64.node +0 -0
|
@@ -109,7 +109,7 @@ struct sqlite3_api_routines {
|
|
|
109
109
|
const char * (*libversion)(void);
|
|
110
110
|
int (*libversion_number)(void);
|
|
111
111
|
void *(*malloc)(int);
|
|
112
|
-
char *
|
|
112
|
+
char *(SQLITE_CDECL*mprintf)(const char*,...);
|
|
113
113
|
int (*open)(const char*,sqlite3**);
|
|
114
114
|
int (*open16)(const void*,sqlite3**);
|
|
115
115
|
int (*prepare)(sqlite3*,const char*,int,sqlite3_stmt**,const char**);
|
|
@@ -130,11 +130,11 @@ struct sqlite3_api_routines {
|
|
|
130
130
|
void (*result_text16be)(sqlite3_context*,const void*,int,void(*)(void*));
|
|
131
131
|
void (*result_text16le)(sqlite3_context*,const void*,int,void(*)(void*));
|
|
132
132
|
void (*result_value)(sqlite3_context*,sqlite3_value*);
|
|
133
|
-
void *
|
|
133
|
+
void *(*rollback_hook)(sqlite3*,void(*)(void*),void*);
|
|
134
134
|
int (*set_authorizer)(sqlite3*,int(*)(void*,int,const char*,const char*,
|
|
135
135
|
const char*,const char*),void*);
|
|
136
136
|
void (*set_auxdata)(sqlite3_context*,int,void*,void (*)(void*));
|
|
137
|
-
char *
|
|
137
|
+
char *(SQLITE_CDECL*xsnprintf)(int,char*,const char*,...);
|
|
138
138
|
int (*step)(sqlite3_stmt*);
|
|
139
139
|
int (*table_column_metadata)(sqlite3*,const char*,const char*,const char*,
|
|
140
140
|
char const**,char const**,int*,int*,int*);
|
|
@@ -198,7 +198,7 @@ struct sqlite3_api_routines {
|
|
|
198
198
|
int (*xthreadsafe)(void);
|
|
199
199
|
void (*result_zeroblob)(sqlite3_context*,int);
|
|
200
200
|
void (*result_error_code)(sqlite3_context*,int);
|
|
201
|
-
int (*test_control)(int, ...);
|
|
201
|
+
int (SQLITE_CDECL*test_control)(int, ...);
|
|
202
202
|
void (*randomness)(int,void*);
|
|
203
203
|
sqlite3 *(*context_db_handle)(sqlite3_context*);
|
|
204
204
|
int (*extended_result_codes)(sqlite3*,int);
|
|
@@ -218,11 +218,11 @@ struct sqlite3_api_routines {
|
|
|
218
218
|
void (*xStep)(sqlite3_context*,int,sqlite3_value**),
|
|
219
219
|
void (*xFinal)(sqlite3_context*),
|
|
220
220
|
void(*xDestroy)(void*));
|
|
221
|
-
int (*db_config)(sqlite3*,int,...);
|
|
221
|
+
int (SQLITE_CDECL*db_config)(sqlite3*,int,...);
|
|
222
222
|
sqlite3_mutex *(*db_mutex)(sqlite3*);
|
|
223
223
|
int (*db_status)(sqlite3*,int,int*,int*,int);
|
|
224
224
|
int (*extended_errcode)(sqlite3*);
|
|
225
|
-
void (*log)(int,const char*,...);
|
|
225
|
+
void (SQLITE_CDECL*log)(int,const char*,...);
|
|
226
226
|
sqlite3_int64 (*soft_heap_limit64)(sqlite3_int64);
|
|
227
227
|
const char *(*sourceid)(void);
|
|
228
228
|
int (*stmt_status)(sqlite3_stmt*,int,int);
|
|
@@ -232,7 +232,7 @@ struct sqlite3_api_routines {
|
|
|
232
232
|
int (*wal_checkpoint)(sqlite3*,const char*);
|
|
233
233
|
void *(*wal_hook)(sqlite3*,int(*)(void*,sqlite3*,const char*,int),void*);
|
|
234
234
|
int (*blob_reopen)(sqlite3_blob*,sqlite3_int64);
|
|
235
|
-
int (*vtab_config)(sqlite3*,int op,...);
|
|
235
|
+
int (SQLITE_CDECL*vtab_config)(sqlite3*,int op,...);
|
|
236
236
|
int (*vtab_on_conflict)(sqlite3*);
|
|
237
237
|
/* Version 3.7.16 and later */
|
|
238
238
|
int (*close_v2)(sqlite3*);
|
|
@@ -301,7 +301,7 @@ struct sqlite3_api_routines {
|
|
|
301
301
|
int (*keyword_check)(const char*,int);
|
|
302
302
|
sqlite3_str *(*str_new)(sqlite3*);
|
|
303
303
|
char *(*str_finish)(sqlite3_str*);
|
|
304
|
-
void (*str_appendf)(sqlite3_str*, const char *zFormat, ...);
|
|
304
|
+
void (SQLITE_CDECL*str_appendf)(sqlite3_str*, const char *zFormat, ...);
|
|
305
305
|
void (*str_vappendf)(sqlite3_str*, const char *zFormat, va_list);
|
|
306
306
|
void (*str_append)(sqlite3_str*, const char *zIn, int N);
|
|
307
307
|
void (*str_appendall)(sqlite3_str*, const char *zIn);
|
|
@@ -376,6 +376,9 @@ struct sqlite3_api_routines {
|
|
|
376
376
|
void (*str_free)(sqlite3_str*);
|
|
377
377
|
int (*carray_bind)(sqlite3_stmt*,int,void*,int,int,void(*)(void*));
|
|
378
378
|
int (*carray_bind_v2)(sqlite3_stmt*,int,void*,int,int,void(*)(void*),void*);
|
|
379
|
+
/* Version 3.54.0 and later */
|
|
380
|
+
sqlite3_int64 (*incomplete)(const char*);
|
|
381
|
+
void (*result_str)(sqlite3_context*,sqlite3_str*,int);
|
|
379
382
|
};
|
|
380
383
|
|
|
381
384
|
/*
|
|
@@ -719,6 +722,9 @@ typedef int (*sqlite3_loadext_entry)(
|
|
|
719
722
|
#define sqlite3_str_free sqlite3_api->str_free
|
|
720
723
|
#define sqlite3_carray_bind sqlite3_api->carray_bind
|
|
721
724
|
#define sqlite3_carray_bind_v2 sqlite3_api->carray_bind_v2
|
|
725
|
+
/* Version 3.54.0 and later */
|
|
726
|
+
#define sqlite3_incomplete sqlite3_api->incomplete
|
|
727
|
+
#define sqlite3_result_str sqlite3_api->result_str
|
|
722
728
|
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
|
|
723
729
|
|
|
724
730
|
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)
|
package/deps/update-sqlite3mc.sh
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-sqlite3-multiple-ciphers",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.1.1",
|
|
4
4
|
"description": "better-sqlite3 with multiple-cipher encryption support",
|
|
5
5
|
"homepage": "https://github.com/m4heshd/better-sqlite3-multiple-ciphers",
|
|
6
6
|
"author": "Mahesh Bandara Wijerathna (m4heshd) <m4heshd@gmail.com>",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"cli-color": "^2.0.3",
|
|
47
47
|
"fs-extra": "^11.1.1",
|
|
48
48
|
"mocha": "^11.7.5",
|
|
49
|
-
"node-gyp": "^
|
|
49
|
+
"node-gyp": "^13.1.0",
|
|
50
50
|
"nodemark": "^0.3.0",
|
|
51
51
|
"sqlite": "^5.0.1",
|
|
52
52
|
"sqlite3": "^5.1.6"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/prebuilds/linux-x64.node
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/prebuilds/win32-x64.node
CHANGED
|
Binary file
|