better-sqlite3-multiple-ciphers 7.5.1-beta.3 → 7.5.2-beta.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 +8 -8
- package/deps/copy.js +26 -0
- package/deps/download.sh +111 -111
- package/deps/setup.ps1 +1 -1
- package/deps/sqlite3/sqlite3.c +361 -140
- package/deps/sqlite3/sqlite3.h +6 -6
- package/deps/sqlite3.gyp +4 -4
- package/package.json +1 -1
- package/deps/symlink.js +0 -19
package/deps/sqlite3/sqlite3.h
CHANGED
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
#define SQLITE3MC_VERSION_H_
|
|
31
31
|
|
|
32
32
|
#define SQLITE3MC_VERSION_MAJOR 1
|
|
33
|
-
#define SQLITE3MC_VERSION_MINOR
|
|
34
|
-
#define SQLITE3MC_VERSION_RELEASE
|
|
33
|
+
#define SQLITE3MC_VERSION_MINOR 4
|
|
34
|
+
#define SQLITE3MC_VERSION_RELEASE 2
|
|
35
35
|
#define SQLITE3MC_VERSION_SUBRELEASE 0
|
|
36
|
-
#define SQLITE3MC_VERSION_STRING "SQLite3 Multiple Ciphers 1.
|
|
36
|
+
#define SQLITE3MC_VERSION_STRING "SQLite3 Multiple Ciphers 1.4.2"
|
|
37
37
|
|
|
38
38
|
#endif /* SQLITE3MC_VERSION_H_ */
|
|
39
39
|
/*** End of #include "sqlite3mc_version.h" ***/
|
|
@@ -192,9 +192,9 @@ extern "C" {
|
|
|
192
192
|
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
|
|
193
193
|
** [sqlite_version()] and [sqlite_source_id()].
|
|
194
194
|
*/
|
|
195
|
-
#define SQLITE_VERSION "3.38.
|
|
196
|
-
#define SQLITE_VERSION_NUMBER
|
|
197
|
-
#define SQLITE_SOURCE_ID "2022-
|
|
195
|
+
#define SQLITE_VERSION "3.38.3"
|
|
196
|
+
#define SQLITE_VERSION_NUMBER 3038003
|
|
197
|
+
#define SQLITE_SOURCE_ID "2022-04-27 12:03:15 9547e2c38a1c6f751a77d4d796894dec4dc5d8f5d79b1cd39e1ffc50df7b3be4"
|
|
198
198
|
|
|
199
199
|
/*
|
|
200
200
|
** CAPI3REF: Run-Time Library Version Numbers
|
package/deps/sqlite3.gyp
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
'conditions': [
|
|
15
15
|
['sqlite3 == ""', {
|
|
16
16
|
'actions': [{
|
|
17
|
-
'action_name': '
|
|
17
|
+
'action_name': 'copy_builtin_sqlite3',
|
|
18
18
|
'inputs': [
|
|
19
19
|
'sqlite3/sqlite3.c',
|
|
20
20
|
'sqlite3/sqlite3.h',
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
'<(SHARED_INTERMEDIATE_DIR)/sqlite3/sqlite3.h',
|
|
26
26
|
'<(SHARED_INTERMEDIATE_DIR)/sqlite3/sqlite3ext.h',
|
|
27
27
|
],
|
|
28
|
-
'action': ['node', '
|
|
28
|
+
'action': ['node', 'copy.js', '<(SHARED_INTERMEDIATE_DIR)/sqlite3', '', 'sqlite3.c', 'sqlite3.h', 'sqlite3ext.h'],
|
|
29
29
|
}],
|
|
30
30
|
}, {
|
|
31
31
|
'actions': [{
|
|
32
|
-
'action_name': '
|
|
32
|
+
'action_name': 'copy_custom_sqlite3',
|
|
33
33
|
'inputs': [
|
|
34
34
|
'<(sqlite3)/sqlite3.c',
|
|
35
35
|
'<(sqlite3)/sqlite3.h',
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
'<(SHARED_INTERMEDIATE_DIR)/sqlite3/sqlite3.c',
|
|
39
39
|
'<(SHARED_INTERMEDIATE_DIR)/sqlite3/sqlite3.h',
|
|
40
40
|
],
|
|
41
|
-
'action': ['node', '
|
|
41
|
+
'action': ['node', 'copy.js', '<(SHARED_INTERMEDIATE_DIR)/sqlite3', '<(sqlite3)', 'sqlite3.c', 'sqlite3.h'],
|
|
42
42
|
}],
|
|
43
43
|
}],
|
|
44
44
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-sqlite3-multiple-ciphers",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.2-beta.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>",
|
package/deps/symlink.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
const path = require('path');
|
|
3
|
-
const fs = require('fs');
|
|
4
|
-
|
|
5
|
-
const dest = process.argv[2];
|
|
6
|
-
const source = path.resolve(path.sep, process.argv[3] || path.join(__dirname, 'sqlite3'));
|
|
7
|
-
const filenames = process.argv.slice(4).map(str => path.basename(str));
|
|
8
|
-
|
|
9
|
-
/*
|
|
10
|
-
This creates symlinks inside the <$2> directory, linking to files inside the
|
|
11
|
-
directory specified by the absolute path <$3>. If no path <$3> is provided,
|
|
12
|
-
the default path of "./deps/sqlite3" is used. The basenames of the files to
|
|
13
|
-
link are specified by <$4...>.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
for (const filename of filenames) {
|
|
17
|
-
fs.accessSync(path.join(source, filename));
|
|
18
|
-
fs.symlinkSync(path.join(source, filename), path.join(dest, filename), 'file');
|
|
19
|
-
}
|