Socket
Socket
Sign inDemoInstall

dexie-encrypted

Package Overview
Dependencies
11
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.1 to 1.2.2

17

dist/index.js

@@ -131,3 +131,2 @@ 'use strict';

} else {
Object.assign(toEncrypt, entity);
const indices = table.schema.indexes.map(index => index.name);

@@ -257,18 +256,6 @@ const whitelist = rule.type === cryptoOptions.WHITELIST ? rule.fields : [];

});
table.hook('updating', function(
modifications,
primKey,
obj
) {
const decrypted = decryptWithRule(
{ ...obj },
newSetting
);
const updates = {
...decrypted,
...modifications,
};
table.hook('updating', function(modifications) {
const encrypted = encryptWithRule(
table,
updates,
{...this.value},
newSetting

@@ -275,0 +262,0 @@ );

2

package.json
{
"name": "dexie-encrypted",
"version": "1.2.1",
"version": "1.2.2",
"description": "Encryption middleware for Dexie",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc