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.1 to 2.1.2

images/logo.svg

7

CHANGELOG.md

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

<a name="0.1.1"></a>
### [2.1.2](https://www.github.com/Val-istar-Guo/rehype-prism/compare/v2.1.1...v2.1.2) (2022-04-07)
### Performance Improvements
* add support for different package versions ([6341ea5](https://www.github.com/Val-istar-Guo/rehype-prism/commit/6341ea546ba2d32069725b3424267ebd4c95d700))
### [2.1.1](https://www.github.com/Val-istar-Guo/rehype-prism/compare/v2.1.0...v2.1.1) (2022-03-21)

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

10

lib/package.json

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

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

@@ -88,9 +88,9 @@ "test": "tests"

"dependencies": {
"@types/node": "^14.14.31",
"@types/node": ">12",
"@types/prismjs": "^1.16.6",
"prismjs": "^1.24.1",
"rehype-parse": "^7.0.1",
"unist-util-is": "^4.1.0",
"unist-util-select": "^4.0.0",
"unist-util-visit": "^3.1.0"
"unist-util-is": "^4 || ^5",
"unist-util-select": "^4",
"unist-util-visit": "^3 || ^4"
},

@@ -97,0 +97,0 @@ "peerDependencies": {

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

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

@@ -88,9 +88,9 @@ "test": "tests"

"dependencies": {
"@types/node": "^14.14.31",
"@types/node": ">12",
"@types/prismjs": "^1.16.6",
"prismjs": "^1.24.1",
"rehype-parse": "^7.0.1",
"unist-util-is": "^4.1.0",
"unist-util-select": "^4.0.0",
"unist-util-visit": "^3.1.0"
"unist-util-is": "^4 || ^5",
"unist-util-select": "^4",
"unist-util-visit": "^3 || ^4"
},

@@ -97,0 +97,0 @@ "peerDependencies": {

@@ -1,3 +0,9 @@

# rehype-prism
<!-- title -->
<p align="center" style="padding-top: 40px">
<img src="./images/logo.svg?sanitize=true" alt="logo" />
</p>
<!-- <h1 align="center" style="text-align: center">REHYPE-PRISM</h1> -->
<!-- title -->
[![version](https://img.shields.io/npm/v/rehype-prism.svg?style=flat-square)](https://www.npmjs.com/package/rehype-prism)

@@ -18,3 +24,3 @@ [![downloads](https://img.shields.io/npm/dm/rehype-prism.svg?style=flat-square)](https://www.npmjs.com/package/rehype-prism)

<!-- usage -->
This package is ESM only: Node 12+ is needed to use it and it must be imported instead of required.
This package is ESM only: Node 12+ and [unified 10](https://www.npmjs.com/package/unified) is needed to use it and it must be imported instead of required.

@@ -21,0 +27,0 @@

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