
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
react-native-mauron85-countdown
Advanced tools
currently Android only

npm i react-native-mauron85-countdown --save
react-native link react-native-mauron85-countdown
Append to android/app/build.gradle:
repositories {
flatDir {
dirs "../../node_modules/react-native-mauron85-countdown/lib/libs"
}
}
dependencies {
...
compile(name: 'richpath-release', ext:'aar')
}
import React, { Component } from 'react';
import { StyleSheet, View, Button } from 'react-native';
import CountDownView from 'react-native-mauron85-countdown';
export default class CountDown extends Component {
constructor(props) {
super(props);
this.onPress = this.onPress.bind(this);
this.onFinish = this.onFinish.bind(this);
this.state = { isStarted: false };
}
onPress() {
const { isStarted } = this.state;
if (isStarted) {
this.countDown.stop();
} else {
this.countDown.start();
}
this.setState({ isStarted: !isStarted });
}
onFinish() {
this.setState({ isStarted: false });
}
render() {
return (
<View style={styles.container}>
<CountDownView
style={styles.countdown}
millisInFuture={3014000}
intervalMillis={1000}
secondColor="#f57df5"
secondColorDim="#aaaaaa"
minuteColor="#00bfff"
minuteColorDim="#cccccc"
textColor="#ffffff"
textSize={30}
onFinish={this.onFinish}
ref={(component) => { this.countDown = component; }}
/>
<Button
onPress={this.onPress}
title={this.state.isStarted ? 'Stop' : 'Start'}
color="#841584"
accessibilityLabel="Starts countdown"
/>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#333336',
},
countdown: {
width: 300,
height: 300,
marginBottom: 20,
}
});
More examples can be found in examples directory.
FAQs
currently Android only
We found that react-native-mauron85-countdown demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.