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.2.0-beta-1 to 1.2.0

3

lib/instrument.js

@@ -109,3 +109,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

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

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

@@ -372,0 +373,0 @@ // iterate through actions

{
"name": "redux-devtools-instrument",
"version": "1.2.0-beta-1",
"version": "1.2.0",
"description": "Redux DevTools instrumentation",

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

@@ -94,3 +94,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

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

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

@@ -347,0 +353,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