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.
This package installs a new lexer for pygmentize to syntax highlight mkgmap_ style files. You can then use pygmentize (or the API) with the lexer 'mkgmap' to highlight style files.
.. _mkgmap: http://www.mkgmap.org.uk
Installing this package will install pygments if it not already installed::
pip install mkgmap-pygments
To just display a file to the terminal::
pygmentize -l mkgmap lines
To create a complete html file::
pygmentize -l mkgmap -f html -Ofull=true -o output.html lines
The package also includes a pygments style named mkgmap
.
You might prefer it to the default style as it will be used in the mkgmap manual and website.
To create a complete html file using the mkgmap style::
pygmentize -l mkgmap -f html -Ofull=true,style=mkgmap -o output.html lines
FAQs
A pygments lexer and style for mkgmap style files
We found that mkgmap-pygments demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
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.