Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
mapbox-gl-style-spec
Advanced tools
GL style spec, validation, and migration scripts for mapbox-gl-js and mapbox-gl-native.
npm install -g mapbox-gl-style-spec
Provides the utilities:
gl-style-migrate
gl-style-format
gl-style-validate
$ gl-style-validate style.json
Will validate the given style JSON and print errors to stdout. Provide a
--json
flag to get JSON output.
This repo contains scripts for migrating GL styles of any version to the latest version (currently v8). Migrate a style like this:
$ gl-style-migrate bright-v7.json > bright-v8.json
To migrate a file in place, you can use the sponge
utility from the moreutils
package:
$ brew install moreutils
$ gl-style-migrate bright.json | sponge bright.json
To run tests:
npm install
npm test
To update test fixtures
UPDATE=true npm test
docs/_generate/index.html
and can be edited directly.To update the docs, run:
$ npm run docs
This will generate a Jekyll site in the docs
directory.
To view the documentation, start a Jekyll server (in the project's root directory)
jekyll serve -w
and open the served page
open http://127.0.0.1:4000/mapbox-gl-style-spec
FAQs
a specification for mapbox gl styles
The npm package mapbox-gl-style-spec receives a total of 69 weekly downloads. As such, mapbox-gl-style-spec popularity was classified as not popular.
We found that mapbox-gl-style-spec demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 50 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.