Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@cricket-australia/play-cricket-react-ui
Advanced tools
This is a react UI/components library intended for the Play Cricket site.
This is a react UI/components library intended for the Play Cricket site.
Include this script tag in the Play Cricket site:
<script src="https://unpkg.com/play-cricket-react-components@latest" crossorigin></script>
<body onload="setup()">
<script>
function setup() {
renderComponent({type: 'Heading', props: { text: 'Hello world', color: 'white' }, elementId: 'react-test'});
}
</script>
...
This library will expose the
renderComponent({})
function which takes in an object {} with these properties as an arg:
type
stringprops
objectelementId
stringThe following snippet will render the <Heading />
component within a <div id="club-heading"></div>
element in the Play Cricket site, outputting the message 'Hello World!'.
renderComponent({type: 'Heading', props: { text: 'Hello World!' }, elementId: 'club-heading'})
To be updated
npm install
FAQs
This is a react UI/components library intended for the Play Cricket site.
The npm package @cricket-australia/play-cricket-react-ui receives a total of 3 weekly downloads. As such, @cricket-australia/play-cricket-react-ui popularity was classified as not popular.
We found that @cricket-australia/play-cricket-react-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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 malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.