New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rehype-pre-language

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rehype-pre-language - npm Package Compare versions

Comparing version

to
1.1.2

22

package.json
{
"name": "rehype-pre-language",
"version": "1.1.1",
"version": "1.1.2",
"description": "Rehype plugin to add language information as a property to pre element",

@@ -50,12 +50,12 @@ "type": "module",

"devDependencies": {
"@eslint/js": "^9.20.0",
"@eslint/js": "^9.21.0",
"@types/dedent": "^0.7.2",
"@types/node": "^22.13.1",
"@vitest/coverage-v8": "^3.0.5",
"@vitest/eslint-plugin": "^1.1.26",
"@types/node": "^22.13.5",
"@vitest/coverage-v8": "^3.0.7",
"@vitest/eslint-plugin": "^1.1.36",
"dedent": "^1.5.3",
"eslint": "^9.20.0",
"eslint-config-prettier": "^10.0.1",
"eslint": "^9.21.0",
"eslint-config-prettier": "^10.0.2",
"eslint-plugin-prettier": "^5.2.3",
"prettier": "^3.4.2",
"prettier": "^3.5.2",
"rehype-highlight": "^7.0.2",

@@ -65,3 +65,3 @@ "rehype-parse": "^9.0.1",

"remark-flexible-code-titles": "^1.2.0",
"remark-gfm": "^4.0.0",
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",

@@ -72,6 +72,6 @@ "remark-rehype": "^11.1.1",

"typescript": "^5.7.3",
"typescript-eslint": "^8.23.0",
"typescript-eslint": "^8.25.0",
"unified": "^11.0.5",
"vfile": "^6.0.3",
"vitest": "^3.0.5"
"vitest": "^3.0.7"
},

@@ -78,0 +78,0 @@ "dependencies": {

@@ -160,2 +160,6 @@ # rehype-pre-language

– Recma plugin to change the `props` parameter into the `_props` in the `function _createMdxContent(props) {/* */}` in the compiled source in order to be able to use `{props.foo}` like expressions. It is useful for the `next-mdx-remote` or `next-mdx-remote-client` users in `nextjs` applications.
- [`recma-mdx-change-imports`](https://www.npmjs.com/package/recma-mdx-change-imports)
– Recma plugin to convert import declarations for assets and media with relative links into variable declarations with string URLs, enabling direct asset URL resolution in compiled MDX.
- [`recma-mdx-import-media`](https://www.npmjs.com/package/recma-mdx-import-media)
– Recma plugin to turn media relative paths into import declarations for both markdown and html syntax in MDX.

@@ -180,3 +184,2 @@ ## License

[badge-license]: https://img.shields.io/github/license/ipikuka/rehype-pre-language

@@ -183,0 +186,0 @@ [url-license]: https://github.com/ipikuka/rehype-pre-language/blob/main/LICENSE