Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

browser-redux-sync

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-redux-sync - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

.npmignore

3

index.js
var constants = require('redux-persist/constants')
var matches = require('lodash/utility/matches')
var keyPrefix = constants.keyPrefix

@@ -13,3 +14,3 @@

var key = Object.keys(e)[0];
if(key.indexOf(keyPrefix) === 0 && e[key].newValue !== chrome.storage.local._lastData){
if(key.indexOf(keyPrefix) === 0 && (!chrome.storage.local._lastData || !matches(e[key].newValue)(chrome.storage.local._lastData))){
var keyspace = key.substr(keyPrefix.length);

@@ -16,0 +17,0 @@ if(whitelist && whitelist.indexOf(keyspace) === -1){ return }

{
"name": "browser-redux-sync",
"version": "0.1.1",
"version": "0.2.0",
"description": "Keep redux state in sync for browser extensions and apps.",

@@ -25,3 +25,6 @@ "main": "index.js",

"author": "zalmoxisus <zalmoxisus@gmail.com>, rt2zz <zack@root-two.com>",
"license": "MIT"
"license": "MIT",
"dependencies": {
"lodash": "^3.10.1"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc