🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-native-safe-area-view

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-safe-area-view - npm Package Compare versions

Comparing version

to
0.14.9

5

index.js

@@ -192,3 +192,6 @@ import React, { Component } from 'react';

this.view.getNode().measureInWindow((winX, winY, winWidth, winHeight) => {
// getNode() is not necessary in newer versions of React Native
const node = typeof this.view.measureInWindow === 'function' ? this.view : this.view.getNode();
node.measureInWindow((winX, winY, winWidth, winHeight) => {
if (!this.view) {

@@ -195,0 +198,0 @@ return;

2

package.json
{
"name": "react-native-safe-area-view",
"version": "0.14.8",
"version": "0.14.9",
"description": "JS only version of SafeAreaView for supporting iPhone X safe area insets.",

@@ -5,0 +5,0 @@ "main": "index",