
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
react-native-football-lineup
Advanced tools
React Native library to generate a football field, with team training.
$ npm install react-native-football-lineup --save
import React, { Component } from 'react';
import { View, StyleSheet } from 'react-native';
import FootballField from 'react-native-football-lineup';
var home = {
name: 'POR',
module: '4-4-2',
team: [
[
{
number: 1,
name: 'Patricio',
},
],
[
{
number: 21,
name: 'Soares',
},
{
number: 3,
name: 'Pepe',
},
{
number: 6,
name: 'Fonte',
},
{
number: 5,
name: 'Guerriero',
},
],
[
{
number: 14,
name: 'Calvalho',
},
{
number: 8,
name: 'Mountinho',
},
{
number: 11,
name: 'Silva',
},
{
number: 17,
name: 'Guedes',
},
],
[
{
number: 16,
name: 'Fernandes',
},
{
number: 7,
name: 'Cristiano Ronaldo',
},
],
],
home_team_events: [
{
id: 203,
type_of_event: 'red-card',
player: 'Silva',
time: "3'",
},
{
id: 210,
type_of_event: 'yellow-card',
player: 'Fernandes',
time: "64'",
},
{
id: 210,
type_of_event: 'yellow-card',
player: 'Fonte',
time: "64'",
},
{
id: 206,
type_of_event: 'substitution-in',
player: 'Fonte',
time: "31'",
},
],
};
var away = {
name: 'SPA',
module: '4-2-3-1',
team: [
[
{
number: 1,
name: 'De Gea',
},
],
[
{
number: 18,
name: 'Alba',
},
{
number: 15,
name: 'Ramos',
},
{
number: 3,
name: 'Pique',
},
{
number: 4,
name: 'Nacho',
},
],
[
{
number: 8,
name: 'Koke',
},
{
number: 5,
name: 'Busquets',
},
],
[
{
number: 6,
name: 'Iniesta',
},
{
number: 22,
name: 'Isco',
},
{
number: 21,
name: 'Silva',
},
],
[
{
number: 19,
name: 'Costa',
},
],
],
away_team_events: [
{
id: 210,
type_of_event: 'yellow-card',
player: 'De Gea',
time: "12'",
},
{
id: 206,
type_of_event: 'substitution-in',
player: 'Iniesta',
time: "31'",
},
{
id: 206,
type_of_event: 'substitution-in',
player: 'Costa',
time: "32'",
},
{
id: 206,
type_of_event: 'red-card',
player: 'Silva',
time: "31'",
},
],
};
export default class App extends Component {
render() {
return (
<View style={styles.container}>
<FootballField home={home} away={away} />
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
padding: 35,
borderColor: '#fff',
backgroundColor: '#000',
},
});
Prop | Type | Default | Note |
---|---|---|---|
home | array | Football team playing at home. | |
away | array | Football team playing outside home. |
This library is provided under the Apache License.
FAQs
React Native library to generate a football field, with team training.
The npm package react-native-football-lineup receives a total of 8 weekly downloads. As such, react-native-football-lineup popularity was classified as not popular.
We found that react-native-football-lineup 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.