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

react-native-websocket

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-websocket - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.js

@@ -47,3 +47,3 @@ /* global WebSocket */

ws.onerror = (error) => { this.props.onError && this.props.onError(error) }
ws.onclose = () => this.reconnect ? this._handleWebsocketSetup() : (this.props.onClose && this.props.onClose())
ws.onclose = () => this.reconnect ? this._handleWebSocketSetup() : (this.props.onClose && this.props.onClose())
this.setState({ws})

@@ -50,0 +50,0 @@ }

{
"name": "react-native-websocket",
"version": "1.0.0",
"version": "1.0.1",
"description": "WebSocket API wrapped as a component for React Native",

@@ -5,0 +5,0 @@ "license": "MIT",

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