rehype-prism
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -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 @@ |
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29572
18
94
+ Added@types/node@22.9.1(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addedunist-util-visit@4.1.2(transitive)
+ Addedunist-util-visit-parents@5.1.3(transitive)
- Removed@types/node@14.18.63(transitive)
- Removedunist-util-is@4.1.0(transitive)
- Removedunist-util-visit@3.1.0(transitive)
- Removedunist-util-visit-parents@4.1.1(transitive)
Updated@types/node@>12
Updatedunist-util-is@^4 || ^5
Updatedunist-util-select@^4
Updatedunist-util-visit@^3 || ^4