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

ignite-dev-screens

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ignite-dev-screens - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

2

package.json
{
"name": "ignite-dev-screens",
"version": "2.2.0",
"version": "2.3.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "files": [

@@ -45,7 +45,7 @@ // An All Components Screen is a great way to dev and quick-test components

componentDidMount () {
NetInfo.isConnected.addEventListener('change', this.setConnected)
NetInfo.isConnected.addEventListener('connectionChange', this.setConnected)
NetInfo.isConnected.fetch().done(this.setConnected)
NetInfo.addEventListener('change', this.setConnectionInfo)
NetInfo.fetch().done(this.setConnectionInfo)
NetInfo.addEventListener('change', this.updateConnectionInfoHistory)
NetInfo.addEventListener('connectionChange', this.setConnectionInfo)
NetInfo.getConnectionInfo().done(this.setConnectionInfo)
NetInfo.addEventListener('connectionChange', this.updateConnectionInfoHistory)

@@ -65,5 +65,5 @@ // an example of how to display a custom Reactotron message

componentWillUnmount () {
NetInfo.isConnected.removeEventListener('change', this.setConnected)
NetInfo.removeEventListener('change', this.setConnectionInfo)
NetInfo.removeEventListener('change', this.updateConnectionInfoHistory)
NetInfo.isConnected.removeEventListener('connectionChange', this.setConnected)
NetInfo.removeEventListener('connectionChange', this.setConnectionInfo)
NetInfo.removeEventListener('connectionChange', this.updateConnectionInfoHistory)
}

@@ -88,3 +88,3 @@

{title: 'Connection', info: (this.state.isConnected ? 'Online' : 'Offline')},
{title: 'Connection Info', info: this.state.connectionInfo},
{title: 'Connection Info', info: JSON.stringify(this.state.connectionInfo)},
{title: 'Connection Info History', info: JSON.stringify(this.state.connectionInfoHistory)}

@@ -91,0 +91,0 @@ ])

@@ -7,3 +7,3 @@ // An All Components Screen is a great way to dev and quick-test components

class ComponentExamplesScreen extends React.Component {
class FaqScreen extends React.Component {
render () {

@@ -60,2 +60,2 @@ return (

export default ComponentExamplesScreen
export default FaqScreen
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