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.
yardmapper
Advanced tools
Yardmapper is a react module that allows users to map lawn area polygons or enter lawn size manually. uses google maps api, react-google-maps, material-ui with a lottie as an instructional dialog.
Yardmapper is a react module that allows users to map lawn area polygons or enter lawn size manually. uses google maps api, react-google-maps, material-ui with a lottie as an instructional dialog.
You can install this directly in your project with npm
npm i yardmapper
This project can also be found / forked on github
Yardmapper component props
PROP | REQ | TYPE | DESCRIPTION |
---|---|---|---|
center | yes | Object | {lat: number, lng: number} - Map initial center geo point |
isMetric | no | boolean | To use metric units - default false |
maxSize | yes | number | in square feet, unless isMetric is true |
googleMapsApiKey | yes | string | Google Maps API key |
onComplete | yes | function | callback function called upon successful completion of mapping process. Will be called with onCompleteEvent object (see below) |
Upon successful completion of yard mapping process the onComplete function will be called with the resulting object:
{
isMetric: boolean,
size: number,
polygons: Array<features>,
manuallyEntered: boolean
}
Note: it is possible that the user will draw polygons and then manually enter their yard size, in this case the polygons drawn will still be included in the event and the
manuallyEntered
value will be true.
FAQs
Yardmapper is a react module that allows users to map lawn area polygons or enter lawn size manually. uses google maps api, react-google-maps, material-ui with a lottie as an instructional dialog.
We found that yardmapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.