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

electron-redux

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-redux - npm Package Compare versions

Comparing version 2.0.0-alpha.3 to 2.0.0-alpha.4

6

es/electron-redux.js

@@ -108,4 +108,4 @@ import { ipcMain, webContents, ipcRenderer } from 'electron';

webContents.getAllWebContents().forEach(contents => {
// Ignore the renderer that sent the action
if (contents.id !== event.sender.id) {
// Ignore the renderer that sent the action and chromium devtools
if (contents.id !== event.sender.id && !contents.getURL().startsWith('devtools://')) {
contents.send('electron-redux.ACTION', localAction);

@@ -118,2 +118,4 @@ }

webContents.getAllWebContents().forEach(contents => {
// Ignore chromium devtools
if (contents.getURL().startsWith('devtools://')) return;
contents.send('electron-redux.ACTION', action);

@@ -120,0 +122,0 @@ });

@@ -117,4 +117,4 @@ 'use strict';

electron.webContents.getAllWebContents().forEach(contents => {
// Ignore the renderer that sent the action
if (contents.id !== event.sender.id) {
// Ignore the renderer that sent the action and chromium devtools
if (contents.id !== event.sender.id && !contents.getURL().startsWith('devtools://')) {
contents.send('electron-redux.ACTION', localAction);

@@ -127,2 +127,4 @@ }

electron.webContents.getAllWebContents().forEach(contents => {
// Ignore chromium devtools
if (contents.getURL().startsWith('devtools://')) return;
contents.send('electron-redux.ACTION', action);

@@ -129,0 +131,0 @@ });

{
"name": "electron-redux",
"version": "2.0.0-alpha.3",
"version": "2.0.0-alpha.4",
"description": "Redux & Electron: Make sure all your stores are on the same page",

@@ -5,0 +5,0 @@ "repository": "https://github.com/klarna/electron-redux.git",

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