Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@highlightjs/cdn-assets
Advanced tools
Syntax highlighting with language autodetection. (pre-compiled CDN assets)
This package contains only the CDN build assets of highlight.js.
This may be what you want if you'd like to install the pre-built distributable highlight.js client-side assets via NPM. If you're wanting to use highlight.js mainly on the server-side you likely want the highlight.js package instead.
To access these files via CDN:
https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/
If you just want a single .js file with the common languages built-in: https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/highlight.min.js
Highlight.js is a syntax highlighter written in JavaScript. It works in the browser as well as on the server. It works with pretty much any markup, doesn’t depend on any framework, and has automatic language detection.
If you'd like to read the full README:
https://github.com/highlightjs/highlight.js/blob/main/README.md
Highlight.js is released under the BSD License. See LICENSE file for details.
The official site for the library is at https://highlightjs.org/.
The Github project may be found at: https://github.com/highlightjs/highlight.js
Further in-depth documentation for the API and other topics is at http://highlightjs.readthedocs.io/.
A list of the Core Team and contributors can be found in the CONTRIBUTORS.md file.
Version 11.10.0
CAVEATS / POTENTIALLY BREAKING CHANGES
Core Grammars:
satisfies
operator [Kisaragi Hiu][]or
conflicts with string highlighting [Mohamed Ali][]self
variable [Lee Falin][]goto
to be recognized as a keyword in Java [Alvin Joy][]sudo
[Alvin Joy][]new
keyword without capturing it within variables/class names [Cameron Taylor][]_
separators, add hex p exponents [Lisa Ugray][]justify-items
and justify-self
attributes [Vasily Polovnyov][]accent-color
, appearance
, color-scheme
, rotate
, scale
and translate
attributes [Carl Räfting][]select
, option
, optgroup
, picture
and source
to list of known tags [Vasily Polovnyov][]inset
, inset-*
, border-start-*-radius
and border-end-*-radius
attributes [Vasily Polovnyov][]text-decoration-skip-ink
, text-decoration-thickness
and text-underline-offset
attributes [Vasily Polovnyov][]when
to be recognized as a keyword in Java [Chiel van de Steeg][]New Grammars:
Developer Tool:
highlight
API [Misha Kaletsky][]Themes:
1c-light
theme a like in the IDE 1C:Enterprise 8 (for 1c) [Vitaly Barilko][]FAQs
Syntax highlighting with language autodetection. (pre-compiled CDN assets)
We found that @highlightjs/cdn-assets demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.