Socket
Socket
Sign inDemoInstall

redux-devtools-instrument

Package Overview
Dependencies
2
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

3

lib/instrument.js

@@ -105,3 +105,3 @@ 'use strict';

nextError = err.toString();
if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && typeof window.chrome !== 'undefined') {
if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && (typeof window.chrome !== 'undefined' || typeof window.process !== 'undefined' && window.process.type === 'renderer')) {
// In Chrome, rethrowing provides better source map support

@@ -360,2 +360,3 @@ setTimeout(function () {

computedStates = [];
committedState = liftedAction.preloadedState;
minInvalidatedStateIndex = 0;

@@ -362,0 +363,0 @@ // iterate through actions

{
"name": "redux-devtools-instrument",
"version": "1.1.2",
"version": "1.1.3",
"description": "Redux DevTools instrumentation",

@@ -5,0 +5,0 @@ "main": "lib/instrument.js",

@@ -89,3 +89,8 @@ import difference from 'lodash/difference';

nextError = err.toString();
if (typeof window === 'object' && typeof window.chrome !== 'undefined') {
if (
typeof window === 'object' && (
typeof window.chrome !== 'undefined' ||
typeof window.process !== 'undefined' &&
window.process.type === 'renderer'
)) {
// In Chrome, rethrowing provides better source map support

@@ -334,2 +339,3 @@ setTimeout(() => { throw err; });

computedStates = [];
committedState = liftedAction.preloadedState;
minInvalidatedStateIndex = 0;

@@ -336,0 +342,0 @@ // iterate through actions

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