Socket
Socket
Sign inDemoInstall

react-native-snow

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-snow - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

2

package.json
{
"name": "react-native-snow",
"version": "0.1.5",
"version": "0.1.6",
"description": "Fullscreen snow overlay component for react native",

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

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

shakeDelay: props.shakeDelay || 0,
offset: this._toNumber(props.offset) || 0,
offset: props.offset || 0,
translateY: new Animated.Value(0),

@@ -41,7 +41,2 @@ translateX: new Animated.Value(0),

// Added to support older versions of react native
_toNumber = (percentString) => {
return +percentString.slice(0, -1) / 100;
}
_handleAppStateChange = (nextAppState) => {

@@ -48,0 +43,0 @@ if (this.state.appState.match(/inactive|background/) && nextAppState === 'active') {

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