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

rehype-prism

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rehype-prism - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

7

CHANGELOG.md

@@ -6,2 +6,9 @@ # Change Log

<a name="0.1.1"></a>
### [2.1.1](https://www.github.com/Val-istar-Guo/rehype-prism/compare/v2.1.0...v2.1.1) (2022-03-21)
### Bug Fixes
* syntax error of esm dynamic import plugins([#14](https://www.github.com/Val-istar-Guo/rehype-prism/issues/14)) ([43166de](https://www.github.com/Val-istar-Guo/rehype-prism/commit/43166de3bf5fbf50b3b633e5a5200f9c5f7909ea))
## [2.1.0](https://www.github.com/Val-istar-Guo/rehype-prism/compare/v2.0.0...v2.1.0) (2022-03-20)

@@ -8,0 +15,0 @@

2

lib/package.json

@@ -30,3 +30,3 @@ {

"description": "The unified plugin used to highlight code block in html with Prism",
"version": "2.1.0",
"version": "2.1.1",
"directories": {

@@ -33,0 +33,0 @@ "test": "tests"

@@ -43,3 +43,3 @@ import Prism from 'prismjs';

for (const plugin of options.plugins) {
require(`prismjs/plugins/line-numbers/prism-${plugin}`);
import(`prismjs/plugins/${plugin}/prism-${plugin}.js`);
}

@@ -46,0 +46,0 @@ }

@@ -30,3 +30,3 @@ {

"description": "The unified plugin used to highlight code block in html with Prism",
"version": "2.1.0",
"version": "2.1.1",
"directories": {

@@ -33,0 +33,0 @@ "test": "tests"

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