Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@amsterdam/arm-core
Advanced tools
Part of Amsterdam React Maps library.
This is the link to the story book demo site with examples
Add this package to your project by running:
npm install --save @amsterdam/arm-core
import 'leaflet/dist/leaflet.css' // make sure this is always included!
import { Map, BaseLayer, GeoJSON, ViewerContainer, Zoom } from '@amsterdam/arm-core'
const json = {
type: 'Feature',
properties: {
name: 'Amsterdam',
},
geometry: {
type: 'Point',
coordinates: [52, 4],
},
}
const MyComponent = () => (
<Map fullScreen>
<GeoJSON args={[json]} />
<ViewerContainer bottomRight={<Zoom />} />
<BaseLayer />
</Map>
)
export default MyComponent
And when you want to use mapInstance in a different component:
...
import { useMapInstance } from '@amsterdam/arm-core';
const Search = () => (
const mapInstance = useMapInstance();
useEffect(() => {
mapInstance.flyTo(x,y)
}, [mapInstance])
)
export default Search
AMSTERDAM_MAPS_OPTIONS = {
center: [52.3731081, 4.8932945],
zoom: 10,
maxZoom: 16,
minZoom: 3,
zoomControl: false,
crs: getCrsRd(),
maxBounds: [
[52.25168, 4.64034],
[52.50536, 5.10737],
],
}
[1.0.0]
@amsterdam/arm-cluster
@amsterdam/arm-core
@amsterdam/arm-nontiled
FAQs
Part of Amsterdam React Maps library.
The npm package @amsterdam/arm-core receives a total of 107 weekly downloads. As such, @amsterdam/arm-core popularity was classified as not popular.
We found that @amsterdam/arm-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.