New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-navigators

Package Overview
Dependencies
Maintainers
4
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-navigators - npm Package Compare versions

Comparing version 0.3.0-0 to 1.0.0-alpha.1

.idea/codeStyles/codeStyleConfig.xml

3

lib/NativeNavigators.js

@@ -47,2 +47,3 @@ import React, { PureComponent } from 'react';

static getDerivedStateFromProps(props, state) {
var _a;
const { navigation, screenProps } = props;

@@ -63,3 +64,3 @@ if (navigation.state.routes === state.propRoutes &&

const nextFocusedRoute = routes[routes.length - 1];
if (closingRouteKey === (previousFocusedRoute === null || previousFocusedRoute === void 0 ? void 0 : previousFocusedRoute.key)) {
if (closingRouteKey === ((_a = previousFocusedRoute) === null || _a === void 0 ? void 0 : _a.key)) {
// During a closing transition, just update the routes state.

@@ -66,0 +67,0 @@ routes = [...routes, previousFocusedRoute];

{
"version": "0.3.0-0",
"version": "1.0.0-alpha.1",
"name": "react-native-navigators",

@@ -4,0 +4,0 @@ "repository": {

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