
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
react-native-marquee-label
Advanced tools
A marquee label for react-native
npm install react-native-marquee-label --save
Drag RCTMarqueeLabel.xcodeproj to your project on Xcode. Click on your main project file (the one that represents the .xcodeproj) select Build Phases and drag libRCTMarqueeLabel.a from the Products folder inside the RCTRefreshControl.xcodeproj.
come soon
'use strict';
var React = require('react-native');
var {
StyleSheet,
View
} = React;
var MarqueeLabel = require('react-native-marquee-label');
module.exports = React.createClass({
render: function() {
return (
<View style={styles.container}>
<MarqueeLabel style={styles.marqueeLabel}
text="fangyunjiang is a good developer"
marqueeType="MLContinuous"
scrollDuration={3.0}
fadeLength={0.0}
leadingBuffer={0.0}
trailingBuffer={50}
textColor='red'
font={{fontSize:80, fontWeight: 0.4}}
/>
</View>
);
}
});
var styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
marqueeLabel: {
backgroundColor: '#FFFFE0',
width:200,
height:140
}
});
text : PropTypes.string.isRequired
marqueeType : PropTypes.number
scrollDuration : PropTypes.number
fadeLength : PropTypes.number
leadingBuffer : PropTypes.number
trailingBuffer : PropTypes.number
textColor : PropTypes.string
font: PropTypes.string
FAQs
A marquee label for react-native
The npm package react-native-marquee-label receives a total of 14 weekly downloads. As such, react-native-marquee-label popularity was classified as not popular.
We found that react-native-marquee-label 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.