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

react-native-root-siblings

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-root-siblings - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

1

lib/RootSiblingsManager.d.ts

@@ -5,2 +5,3 @@ import { ReactNode } from 'react';

private id;
private manager;
constructor(element: ReactNode, callback?: () => void);

@@ -7,0 +8,0 @@ update(element: ReactNode, callback?: () => void): void;

7

lib/RootSiblingsManager.js

@@ -34,10 +34,11 @@ import React, { useEffect, useState } from 'react';

this.id = `root-sibling-${uuid + 1}`;
getActiveManager().update(this.id, element, callback);
this.manager = getActiveManager();
this.manager.update(this.id, element, callback);
uuid++;
}
update(element, callback) {
getActiveManager().update(this.id, element, callback);
this.manager.update(this.id, element, callback);
}
destroy(callback) {
getActiveManager().destroy(this.id, callback);
this.manager.destroy(this.id, callback);
}

@@ -44,0 +45,0 @@ }

{
"version": "4.0.2",
"version": "4.0.3",
"name": "react-native-root-siblings",

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

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