Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-popover-view

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-popover-view - npm Package Compare versions

Comparing version 0.6.6 to 0.6.7

9

check-rn.js
const fs = require('fs')
if (!fs.existsSync('../node_modules/react-navigation')) {
console.log("React-navigation not included in project")
fs.rename('./src/index.js', './src/index-rn.js', err => {
console.warn("Testing")
if (fs.existsSync('../node_modules/react-navigation')) {
console.log("React-navigation included in project")
fs.rename('./src/index.js', './src/index-no-rn.js', err => {
if (!err)
fs.rename('./src/index-no-rn.js', './src/index.js', err => {
fs.rename('./src/index-rn.js', './src/index.js', err => {
if (err) console.error(err)

@@ -8,0 +9,0 @@ })

{
"name": "react-native-popover-view",
"version": "0.6.6",
"version": "0.6.7",
"description": "A <Popover /> component for react-native",

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

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