Socket
Socket
Sign inDemoInstall

@react-native-community/netinfo

Package Overview
Dependencies
Maintainers
1
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-community/netinfo - npm Package Compare versions

Comparing version 11.0.0 to 11.0.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [11.0.1](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.0.0...v11.0.1) (2023-11-07)
### Bug Fixes
* **types:** fix type error on new headers feature ([#694](https://github.com/react-native-netinfo/react-native-netinfo/issues/694)) ([270be4f](https://github.com/react-native-netinfo/react-native-netinfo/commit/270be4f))
# [11.0.0](https://github.com/react-native-netinfo/react-native-netinfo/compare/v10.0.0...v11.0.0) (2023-11-04)

@@ -2,0 +9,0 @@

2

lib/typescript/src/internal/types.d.ts

@@ -83,3 +83,3 @@ /**

reachabilityMethod?: NetInfoMethodType;
reachabilityHeaders?: HeadersInit;
reachabilityHeaders?: Record<string, string>;
reachabilityTest: (response: Response) => Promise<boolean>;

@@ -86,0 +86,0 @@ reachabilityLongTimeout: number;

{
"name": "@react-native-community/netinfo",
"version": "11.0.0",
"version": "11.0.1",
"description": "React Native Network Info API for iOS & Android",

@@ -5,0 +5,0 @@ "react-native": "src/index.ts",

@@ -120,3 +120,3 @@ /**

reachabilityMethod?: NetInfoMethodType;
reachabilityHeaders?: HeadersInit;
reachabilityHeaders?: Record<string, string>;
reachabilityTest: (response: Response) => Promise<boolean>;

@@ -123,0 +123,0 @@ reachabilityLongTimeout: number;

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