Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mapbox/rehype-prism

Package Overview
Dependencies
Maintainers
28
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mapbox/rehype-prism - npm Package Versions

0.9.0

Diff

Changelog

Source

0.9.0

  • Update dependencies
mapbox-npm
published 0.8.0 •

Changelog

Source

0.8.0

  • Add alias option to support aliases in refractor.
mapbox-npm-08
published 0.7.0 •

Changelog

Source

0.7.0

  • Update dependencies: refractor@3.4.0, eslint, jest, and prettier.
mapbox-npm-07
published 0.6.0 •

Changelog

Source

0.6.0

  • Update dependencies.
mapbox-npm-01
published 0.5.0 •

Changelog

Source

0.5.0

  • Update dependencies.
mapbox-npm-08
published 0.4.0 •

Changelog

Source

0.4.0

  • Update snapshot, use Node 10, remove yarn in favor of package-lock.json, update Jest to fix security alerts.
mapbox-npm
published 0.3.1 •

Changelog

Source

0.3.1

  • Allow uppercase language names in the language-* class (e.g. language-CSS).
mapbox-npm
published 0.3.0 •

Changelog

Source

0.3.0

  • Add language-* class to the <pre> tag of the output, because many Prism themes rely on this undocumented pattern.
davidtheclark
published 0.2.0 •

Changelog

Source

0.2.0

  • Breaking: Add options.ignoreMissing which defaults to false. If you are relying on silent failures to highlight when the language is not defined, you'll need to use this option.
  • Breaking: Remove support for nohighlight and no-highlight classes. You can skip highlighting for any given <code> by not putting a language-* class on it.
  • Under the hood, use refractor instead of Parse5 and PrismJS directly.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc