@delali/sirannon-sqlite-win32-x64 0.3.5 → 0.3.6-next.78

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/NOTICE CHANGED
@@ -38,9 +38,25 @@ This product includes code from these projects:
38
38
  2017 Node.js API collaborators, licensed under the MIT License. Each
39
39
  @delali/sirannon-sqlite-<platform> package contains code compiled from
40
40
  node-addon-api's headers.
41
+ - SQLite3 Multiple Ciphers
42
+ (https://github.com/utelle/SQLite3MultipleCiphers), Copyright (c) 2006-2026
43
+ Ulrich Telle, licensed under the MIT License. Each
44
+ @delali/sirannon-sqlite-<platform> package contains SQLite3 Multiple
45
+ Ciphers compiled from its amalgamation, with the patches in
46
+ native/sqlite/patches/sqlite applied. That amalgamation also contains the
47
+ code in the next three entries.
48
+ - The AEGIS library, Copyright (c) 2023-2024 Frank Denis, licensed under the
49
+ MIT License, which SQLite3 Multiple Ciphers carries for its AEGIS cipher.
50
+ - The FIPS 180-2 SHA-224/256/384/512 implementation, Copyright (C) 2005, 2007
51
+ Olivier Gay, licensed under the BSD 3-Clause License.
52
+ - The Argon2 reference implementation, Copyright 2015 Daniel Dinu, Dmitry
53
+ Khovratovich, Jean-Philippe Aumasson, and Samuel Neves, which its authors
54
+ offer under CC0 1.0 or the Apache License, Version 2.0. Sirannon uses it
55
+ under the Apache License, Version 2.0.
41
56
 
42
57
  The MIT License grants the following permission for libSQL, node-gyp,
43
- better-sqlite3, and node-addon-api:
58
+ better-sqlite3, node-addon-api, SQLite3 Multiple Ciphers, and the AEGIS
59
+ library:
44
60
 
45
61
  Permission is hereby granted, free of charge, to any person obtaining a copy
46
62
  of this software and associated documentation files (the "Software"), to deal
@@ -59,3 +75,33 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
59
75
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
60
76
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
61
77
  SOFTWARE.
78
+
79
+ The BSD 3-Clause License grants the following permission for the FIPS 180-2
80
+ SHA-224/256/384/512 implementation:
81
+
82
+ Copyright (C) 2005, 2007 Olivier Gay <olivier.gay@a3.epfl.ch>
83
+ All rights reserved.
84
+
85
+ Redistribution and use in source and binary forms, with or without
86
+ modification, are permitted provided that the following conditions
87
+ are met:
88
+ 1. Redistributions of source code must retain the above copyright
89
+ notice, this list of conditions and the following disclaimer.
90
+ 2. Redistributions in binary form must reproduce the above copyright
91
+ notice, this list of conditions and the following disclaimer in the
92
+ documentation and/or other materials provided with the distribution.
93
+ 3. Neither the name of the project nor the names of its contributors
94
+ may be used to endorse or promote products derived from this software
95
+ without specific prior written permission.
96
+
97
+ THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
98
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
99
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
100
+ ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
101
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
102
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
103
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
104
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
105
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
106
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
107
+ SUCH DAMAGE.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm](https://img.shields.io/npm/v/@delali/sirannon-sqlite-win32-x64)](https://www.npmjs.com/package/@delali/sirannon-sqlite-win32-x64)
4
4
  [![license](https://img.shields.io/npm/l/@delali/sirannon-sqlite-win32-x64)](https://github.com/assetcorp/sirannon-db/blob/main/LICENSE)
5
5
 
6
- This package contains better-sqlite3's native module, built for Windows on x86-64 against Sirannon's build of SQLite, which counts the rows that each statement reads and writes.
6
+ This package contains better-sqlite3's native module, built for Windows on x86-64 against Sirannon's build of SQLite, which is SQLite3 Multiple Ciphers with a patch that counts the rows that each statement reads and writes.
7
7
 
8
8
  ## Install
9
9
 
@@ -19,8 +19,10 @@ pnpm add -E @delali/sirannon-db @delali/sirannon-sqlite
19
19
 
20
20
  When you pass `rowCounts: true`, Sirannon's better-sqlite3 driver loads this module and reports the rows that each statement reads and writes through `onQueryComplete`. The counting rules are in the [core engine guide](https://github.com/assetcorp/sirannon-db/blob/main/docs/core.md#rows-read-and-rows-written).
21
21
 
22
+ When you create the driver with `betterSqlite3({ encryption: true })`, the driver loads this module and keeps every page of a database that you open with the `encryption` option as ciphertext. SQLite3 Multiple Ciphers encrypts each page with AEGIS-256, from code that is compiled into this module. The key rules are in the [encryption guide](https://github.com/assetcorp/sirannon-db/blob/main/docs/encryption.md).
23
+
22
24
  The module looks up Node's functions in the process that loads it, so it loads under a Node executable of any file name.
23
25
 
24
26
  ## Licence
25
27
 
26
- The Apache-2.0 and MIT licences cover this package. Each project whose code is in this package has its name and licence in the package's `NOTICE` file, and the patches, the build script, and the tests are in [assetcorp/sirannon-db](https://github.com/assetcorp/sirannon-db).
28
+ The Apache-2.0, MIT, and BSD-3-Clause licences cover this package. Each project whose code is in this package has its name and licence in the package's `NOTICE` file, and the patches, the build script, and the tests are in [assetcorp/sirannon-db](https://github.com/assetcorp/sirannon-db).
Binary file
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@delali/sirannon-sqlite-win32-x64",
3
- "version": "0.3.5",
3
+ "version": "0.3.6-next.78",
4
4
  "description": "better-sqlite3 compiled against Sirannon's build of SQLite, for Windows on x86-64.",
5
- "license": "Apache-2.0 AND MIT",
5
+ "license": "Apache-2.0 AND MIT AND BSD-3-Clause",
6
6
  "author": "Delali (https://sondelali.com)",
7
7
  "homepage": "https://github.com/assetcorp/sirannon-db",
8
8
  "repository": {