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 3.1.6 to 3.1.7

yarn.lock

6

index.d.ts
declare class RootSiblings {
constructor(el: JSX.Element, callback?: Function, store?: Object);
constructor(el: JSX.Element, callback?: () => void, store?: object);
update(el: JSX.Element, callback?: Function, store?: Object): void;
update(el: JSX.Element, callback?: () => void, store?: object): void;
destroy(callback?: Function): void;
destroy(callback?: () => void): void;
}
export = RootSiblings;
import React, { Component } from 'react';
import { StyleSheet, View, AppRegistry } from 'react-native';
import StaticContainer from 'static-container';
import PropTypes from 'prop-types';

@@ -12,2 +13,10 @@ const styles = StyleSheet.create({

class Provider extends Component {
static childContextTypes = {
store: PropTypes.shape({
subscribe: PropTypes.func.isRequired,
dispatch: PropTypes.func.isRequired,
getState: PropTypes.func.isRequired,
}),
};
getChildContext() {

@@ -14,0 +23,0 @@ return { store: this.props.store };

{
"version": "3.1.6",
"version": "3.1.7",
"name": "react-native-root-siblings",

@@ -11,2 +11,3 @@ "repository": {

"dependencies": {
"prop-types": "^15.6.2",
"static-container": "^1.0.0"

@@ -13,0 +14,0 @@ },

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