Socket
Socket
Sign inDemoInstall

better-sqlite3-multiple-ciphers

Package Overview
Dependencies
37
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.1.0 to 8.1.1-beta.0

2

lib/database.js

@@ -79,2 +79,4 @@ 'use strict';

Database.prototype.exec = wrappers.exec;
Database.prototype.key = wrappers.key;
Database.prototype.rekey = wrappers.rekey;
Database.prototype.close = wrappers.close;

@@ -81,0 +83,0 @@ Database.prototype.defaultSafeIntegers = wrappers.defaultSafeIntegers;

@@ -8,2 +8,12 @@ 'use strict';

exports.key = function key(key) {
if (!Buffer.isBuffer(key)) throw new TypeError('Expected first argument to be a Buffer');
return this[cppdb].key(key, key.length);
};
exports.rekey = function rekey(key) {
if (!Buffer.isBuffer(key)) throw new TypeError('Expected first argument to be a Buffer');
return this[cppdb].rekey(key, key.length);
};
exports.exec = function exec(sql) {

@@ -10,0 +20,0 @@ this[cppdb].exec(sql);

3

package.json
{
"name": "better-sqlite3-multiple-ciphers",
"version": "8.1.0",
"version": "8.1.1-beta.0",
"description": "better-sqlite3 with multiple-cipher encryption support",

@@ -47,2 +47,3 @@ "homepage": "https://github.com/m4heshd/better-sqlite3-multiple-ciphers",

"test": "mocha --exit --slow=75 --timeout=30000",
"test:container": "docker-compose up --detach --build",
"benchmark": "node benchmark",

@@ -49,0 +50,0 @@ "download": "bash ./deps/download.sh",

@@ -26,6 +26,6 @@ # better-sqlite3-multiple-ciphers

- ### Beta
- **better-sqlite3-multiple-ciphers** - [`8.0.2-beta.1`](https://github.com/m4heshd/better-sqlite3-multiple-ciphers/releases/tag/v8.0.2-beta.1)
- **better-sqlite3** - [`8.0.1`](https://github.com/JoshuaWise/better-sqlite3/releases/tag/v8.0.1)
- **SQLite** - [`3.40.1`](https://www.sqlite.org/releaselog/3_40_1.html)
- **SQLite3 Multiple Ciphers** - [`1.5.5`](https://github.com/utelle/SQLite3MultipleCiphers/releases/tag/v1.5.5)
- **better-sqlite3-multiple-ciphers** - [`8.0.2-beta.1`](https://github.com/m4heshd/better-sqlite3-multiple-ciphers/releases/tag/v8.1.1-beta.0)
- **better-sqlite3** - [`8.1.0`](https://github.com/JoshuaWise/better-sqlite3/releases/tag/v8.1.0)
- **SQLite** - [`3.41.0`](https://www.sqlite.org/releaselog/3_41_0.html)
- **SQLite3 Multiple Ciphers** - [`1.6.0`](https://github.com/utelle/SQLite3MultipleCiphers/releases/tag/v1.6.0)

@@ -130,2 +130,4 @@ ## Help this project stay strong! 💪

You can also use [`key()`](https://github.com/m4heshd/better-sqlite3-multiple-ciphers/blob/master/docs/api.md#keybuffer---number) and [`rekey()`](https://github.com/m4heshd/better-sqlite3-multiple-ciphers/blob/master/docs/api.md#rekeybuffer---number) functions for encryption and decryption tasks.
### Read more about encryption at [SQLite3MultipleCiphers documentation](https://utelle.github.io/SQLite3MultipleCiphers/).

@@ -132,0 +134,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc