
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
mapnik-xml-to-mapbox-gl-json
Advanced tools
Converts Mapnik XML styles into the Mapbox GL JSON format
$ npm install -g mapnik-xml-to-mapbox-gl-json
Or download source and run
$ npm install
mapnik-xml-to-mapbox-gl-json [settings file] [input XML file] [output JSON file]
$ ./bin/mapnik-xml-to-mapbox-gl-json bin/settings.json files/input.xml files/output.json
-v Validates generated JSON using mapbox-gl-style-lint
-c Adds an 'paint.hide-*' class to all layers where the asterix is the layers 'source-layer'
The converter does not support all Mapnik XML rules. Below are the rules that are converted to a corresponding Mapbox GL JSON style property:
Notice that all of the existing Mapnik XML parameters for these rules are not converted due to the lack of corresponding Mapbox GL JSON counterparts, or to the fact that they was not needed for our use case. Some parts are specific for our use case and needs modification to suit different Mapnik XMLs.
FAQs
Transform Mapnik XML to Mapbox GL JSON
We found that mapnik-xml-to-mapbox-gl-json demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.