Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Javascript SDK based on React, OpenLayers and Redux.
For the previous version, please see the 1.x branch instead.
To run the examples,
First, clone the project: git clone https://github.com/planetfederal/sdk.git
Then change into directory of cloned project: cd sdk
Create a file with the name .env
in the root of your sdk directory and add your Mapbox API key in there:
MAPBOX_API_KEY=<your key here>
After this, run the following commands:
npm install
- install libraries
npm run build:examples
- build examples from templates
npm start
- start webpack-dev-server
The last command should open your browser to a page of examples: http://localhost:3000/build/examples
Please read DEVELOPING.md on how to create the SDK package and link to it locally.
If npm start
fails review node version, SDK targets v6.0 or greater. On OSX node install can be error prone, seems to work best when installed by Brew http://brewformulas.org/Node
The test suite will skip a number of tests unless the canvas
module has been installed.
For more details on installing canvas
and other important developer notes
please read DEVELOPING.md.
FAQs
Webmap SDK
The npm package webmap-sdk receives a total of 4 weekly downloads. As such, webmap-sdk popularity was classified as not popular.
We found that webmap-sdk 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.
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.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.