better-sqlite3-multiple-ciphers 8.5.2 → 8.6.0

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 CHANGED
@@ -17,16 +17,16 @@ The fastest and simplest library for SQLite3 in Node.js. This particular fork su
17
17
  ## Current versions
18
18
 
19
19
  - ### Stable
20
- - **better-sqlite3-multiple-ciphers** - [`8.5.2`](https://github.com/m4heshd/better-sqlite3-multiple-ciphers/releases/tag/v8.5.2)
21
- - **better-sqlite3** - [`8.5.2`](https://github.com/JoshuaWise/better-sqlite3/releases/tag/v8.5.2)
22
- - **SQLite** - [`3.42.0`](https://www.sqlite.org/releaselog/3_42_0.html)
23
- - **SQLite3 Multiple Ciphers** - [`1.6.3`](https://github.com/utelle/SQLite3MultipleCiphers/releases/tag/v1.6.3)
20
+ - **better-sqlite3-multiple-ciphers** - [`8.6.0`](https://github.com/m4heshd/better-sqlite3-multiple-ciphers/releases/tag/v8.6.0)
21
+ - **better-sqlite3** - [`8.6.0`](https://github.com/JoshuaWise/better-sqlite3/releases/tag/v8.6.0)
22
+ - **SQLite** - [`3.43.0`](https://www.sqlite.org/releaselog/3_43_0.html)
23
+ - **SQLite3 Multiple Ciphers** - [`1.6.4`](https://github.com/utelle/SQLite3MultipleCiphers/releases/tag/v1.6.4)
24
24
 
25
25
  - ### Beta
26
- - **better-sqlite3-multiple-ciphers** - [`8.5.1-beta.1`](https://github.com/m4heshd/better-sqlite3-multiple-ciphers/releases/tag/v8.5.1-beta.1)
27
- - **better-sqlite3** - [`8.5.0`](https://github.com/JoshuaWise/better-sqlite3/releases/tag/v8.5.0)
28
- - **SQLite** - [`3.42.0`](https://www.sqlite.org/releaselog/3_42_0.html)
29
- - **SQLite3 Multiple Ciphers** - [`1.6.3`](https://github.com/utelle/SQLite3MultipleCiphers/releases/tag/v1.6.3)
26
+ - **better-sqlite3-multiple-ciphers** - [`8.5.3-beta.0`](https://github.com/m4heshd/better-sqlite3-multiple-ciphers/releases/tag/v8.5.3-beta.0)
27
+ - **better-sqlite3** - [`8.5.2`](https://github.com/JoshuaWise/better-sqlite3/releases/tag/v8.5.2)
28
+ - **SQLite** - [`3.43.0`](https://www.sqlite.org/releaselog/3_43_0.html)
29
+ - **SQLite3 Multiple Ciphers** - [`1.6.4`](https://github.com/utelle/SQLite3MultipleCiphers/releases/tag/v1.6.4)
30
30
 
31
31
  ## Help this project stay strong! 💪
32
32
 
package/deps/copy.js CHANGED
@@ -18,9 +18,14 @@ if (process.argv[3]) {
18
18
  }
19
19
 
20
20
  for (const { filename, optional } of files) {
21
- if (optional && !fs.existsSync(path.join(source, filename))) {
21
+ const sourceFilepath = path.join(source, filename);
22
+ const destFilepath = path.join(dest, filename);
23
+
24
+ if (optional && !fs.existsSync(sourceFilepath)) {
22
25
  continue;
23
26
  }
24
- fs.accessSync(path.join(source, filename));
25
- fs.copyFileSync(path.join(source, filename), path.join(dest, filename));
27
+
28
+ fs.accessSync(sourceFilepath);
29
+ fs.mkdirSync(path.dirname(destFilepath), { recursive: true });
30
+ fs.copyFileSync(sourceFilepath, destFilepath);
26
31
  }
package/deps/defines.gypi CHANGED
@@ -9,6 +9,7 @@
9
9
  'HAVE_UINT16_T=1',
10
10
  'HAVE_UINT32_T=1',
11
11
  'HAVE_UINT8_T=1',
12
+ 'HAVE_USLEEP=1',
12
13
  'SQLITE_DEFAULT_CACHE_SIZE=-16000',
13
14
  'SQLITE_DEFAULT_FOREIGN_KEYS=1',
14
15
  'SQLITE_DEFAULT_MEMSTATUS=0',
@@ -26,7 +27,6 @@
26
27
  'SQLITE_ENABLE_RTREE',
27
28
  'SQLITE_ENABLE_STAT4',
28
29
  'SQLITE_ENABLE_UPDATE_DELETE_LIMIT',
29
- 'SQLITE_INTROSPECTION_PRAGMAS',
30
30
  'SQLITE_LIKE_DOESNT_MATCH_BLOBS',
31
31
  'SQLITE_OMIT_DEPRECATED',
32
32
  'SQLITE_OMIT_GET_TABLE',
package/deps/download.sh CHANGED
@@ -47,7 +47,6 @@ SQLITE_ENABLE_MATH_FUNCTIONS
47
47
  SQLITE_ENABLE_RTREE
48
48
  SQLITE_ENABLE_STAT4
49
49
  SQLITE_ENABLE_UPDATE_DELETE_LIMIT
50
- SQLITE_INTROSPECTION_PRAGMAS
51
50
  SQLITE_LIKE_DOESNT_MATCH_BLOBS
52
51
  SQLITE_OMIT_DEPRECATED
53
52
  SQLITE_OMIT_GET_TABLE
package/deps/setup.ps1 CHANGED
@@ -2,7 +2,7 @@
2
2
  $ErrorActionPreference = "Stop"
3
3
 
4
4
  # SQLite Info
5
- $SQLITEMC_VER = "v1.6.3"
5
+ $SQLITEMC_VER = "v1.6.4"
6
6
  $API_URL = "https://api.github.com/repos/utelle/SQLite3MultipleCiphers/releases/tags/" + $SQLITEMC_VER
7
7
 
8
8
  # Paths