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

@react-navigation/devtools

Package Overview
Dependencies
Maintainers
7
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-navigation/devtools - npm Package Compare versions

Comparing version 7.0.0-rc.14 to 7.0.0-rc.15

6

lib/commonjs/useDevToolsBase.js

@@ -7,3 +7,3 @@ "use strict";

exports.useDevToolsBase = useDevToolsBase;
var _deepEqual = _interopRequireDefault(require("deep-equal"));
var _fastDeepEqual = _interopRequireDefault(require("fast-deep-equal"));
var React = _interopRequireWildcard(require("react"));

@@ -111,3 +111,3 @@ var _parseErrorStack = require("./parseErrorStack.js");

// Don't show the action in dev tools if the state is what we sent to reset earlier
if (lastResetRef.current && (0, _deepEqual.default)(lastResetRef.current, e.data.state)) {
if (lastResetRef.current && (0, _fastDeepEqual.default)(lastResetRef.current, e.data.state)) {
lastStateRef.current = undefined;

@@ -123,3 +123,3 @@ return;

// If we don't have an action and the state didn't change, then it's probably extraneous
if (lastChange === undefined && (0, _deepEqual.default)(state, lastState)) {
if (lastChange === undefined && (0, _fastDeepEqual.default)(state, lastState)) {
return;

@@ -126,0 +126,0 @@ }

"use strict";
import deepEqual from 'deep-equal';
import deepEqual from 'fast-deep-equal';
import * as React from 'react';

@@ -5,0 +5,0 @@ import { parseErrorStack } from "./parseErrorStack.js";

{
"name": "@react-navigation/devtools",
"description": "Developer tools for React Navigation",
"version": "7.0.0-rc.14",
"version": "7.0.0-rc.15",
"keywords": [

@@ -50,3 +50,3 @@ "react",

"dependencies": {
"deep-equal": "^2.2.3",
"fast-deep-equal": "^3.1.3",
"nanoid": "3.3.7",

@@ -56,4 +56,3 @@ "stacktrace-parser": "^0.1.10"

"devDependencies": {
"@react-navigation/core": "^7.0.0-rc.14",
"@types/deep-equal": "^1.0.4",
"@react-navigation/core": "^7.0.0-rc.15",
"@types/react": "~18.2.79",

@@ -93,3 +92,3 @@ "del-cli": "^5.1.0",

},
"gitHead": "25a59bc3307ae0b2d93b58bd3d331e56a278757b"
"gitHead": "1ad42666923bd76dd9e7dd731ba39cc31dd27317"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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