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

react-native-offline

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-offline - npm Package Compare versions

Comparing version 3.15.0 to 3.15.1

2

package.json
{
"name": "react-native-offline",
"version": "3.15.0",
"version": "3.15.1",
"description": "Handy toolbelt to deal with offline mode in React Native applications. Cross-platform, provides a smooth redux integration.",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

# react-native-offline
[![All Contributors](https://img.shields.io/badge/all_contributors-24-orange.svg?style=flat-square)](#contributors)
[![All Contributors](https://img.shields.io/badge/all_contributors-25-orange.svg?style=flat-square)](#contributors)
[![CircleCI](https://circleci.com/gh/rgommezz/react-native-offline.svg?style=shield)](https://circleci.com/gh/rgommezz/react-native-offline) [![npm version](https://badge.fury.io/js/react-native-offline.svg)](https://badge.fury.io/js/react-native-offline) [![Coverage Status](https://coveralls.io/repos/github/rauliyohmc/react-native-offline/badge.svg?branch=master)](https://coveralls.io/github/rauliyohmc/react-native-offline?branch=master)

@@ -673,5 +673,5 @@ [![npm](https://img.shields.io/npm/dm/react-native-offline.svg)]()

| [<img src="https://avatars0.githubusercontent.com/u/1212381?v=4" width="100px;"/><br /><sub><b>Can OMUR</b></sub>](https://github.com/comur)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=comur "Code") | [<img src="https://avatars3.githubusercontent.com/u/5470392?v=4" width="100px;"/><br /><sub><b>Mark van Lagen</b></sub>](http://nijhuisenvanlagen.nl)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=markvl91 "Code") | [<img src="https://avatars2.githubusercontent.com/u/2320535?v=4" width="100px;"/><br /><sub><b>George Farro</b></sub>](https://github.com/gtfargo)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=gtfargo "Code") | [<img src="https://avatars2.githubusercontent.com/u/444063?v=4" width="100px;"/><br /><sub><b>Mickaël Leduque</b></sub>](https://github.com/mleduque)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=mleduque "Code") | [<img src="https://avatars3.githubusercontent.com/u/1901827?v=4" width="100px;"/><br /><sub><b>Florent Roques</b></sub>](https://stackoverflow.com/users/1152843/florent-roques?tab=profile)<br />[📖](https://github.com/rgommezz/react-native-offline/commits?author=florentroques "Documentation") | [<img src="https://avatars2.githubusercontent.com/u/6444719?v=4" width="100px;"/><br /><sub><b>Krzysztof Borowy</b></sub>](https://github.com/Krizzu)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=Krizzu "Code") [📖](https://github.com/rgommezz/react-native-offline/commits?author=Krizzu "Documentation") | [<img src="https://avatars2.githubusercontent.com/u/1548421?v=4" width="100px;"/><br /><sub><b>Thomas Deconinck</b></sub>](http://www.thomasdeconinck.fr)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=DCKT "Code") [📖](https://github.com/rgommezz/react-native-offline/commits?author=DCKT "Documentation") |
| [<img src="https://avatars2.githubusercontent.com/u/5106466?v=4" width="100px;"/><br /><sub><b>Michał Pierzchała</b></sub>](https://buymeacoff.ee/thymikee)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=thymikee "Code") | [<img src="https://avatars3.githubusercontent.com/u/119142?v=4" width="100px;"/><br /><sub><b>Ian Graham</b></sub>](https://github.com/imartingraham)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=imartingraham "Code") | [<img src="https://avatars2.githubusercontent.com/u/1244867?v=4" width="100px;"/><br /><sub><b>Petter Samuelsen</b></sub>](http://www.pettersamuelsen.com)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=pettersamuelsen "Code") |
| [<img src="https://avatars2.githubusercontent.com/u/5106466?v=4" width="100px;"/><br /><sub><b>Michał Pierzchała</b></sub>](https://buymeacoff.ee/thymikee)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=thymikee "Code") | [<img src="https://avatars3.githubusercontent.com/u/119142?v=4" width="100px;"/><br /><sub><b>Ian Graham</b></sub>](https://github.com/imartingraham)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=imartingraham "Code") | [<img src="https://avatars2.githubusercontent.com/u/1244867?v=4" width="100px;"/><br /><sub><b>Petter Samuelsen</b></sub>](http://www.pettersamuelsen.com)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=pettersamuelsen "Code") | [<img src="https://avatars1.githubusercontent.com/u/5339061?v=4" width="100px;"/><br /><sub><b>Lukas Kurucz</b></sub>](https://github.com/usrbowe)<br />[💻](https://github.com/rgommezz/react-native-offline/commits?author=usrbowe "Code") |
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!

@@ -86,3 +86,9 @@ /* @flow */

setupConnectivityCheckInterval(() => {
if (this.state.isConnected && checkIntervalOfflineOnly) {
const { store } = this.context;
let isConnected = this.state.isConnected;
// When using redux integration, use store state for connection status
if (withRedux && store) {
isConnected = store.getState().network.isConnected;
}
if (isConnected && checkIntervalOfflineOnly) {
return;

@@ -89,0 +95,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