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

rehype-ignore

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rehype-ignore - npm Package Compare versions

Comparing version 1.0.5 to 2.0.0

29

package.json
{
"name": "rehype-ignore",
"version": "1.0.5",
"version": "2.0.0",
"description": "Ignore content display via HTML comments, Shown in GitHub readme, excluded in HTML.",

@@ -10,3 +10,4 @@ "homepage": "https://jaywcjlove.github.io/rehype-ignore",

"type": "module",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"exports": "./lib/index.js",
"scripts": {

@@ -41,2 +42,6 @@ "prepack": "npm run build",

"jest": {
"extensionsToTreatAsEsm": [".ts"],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transformIgnorePatterns": [

@@ -47,17 +52,17 @@ "<rootDir>/node_modules/?!(.*)"

"engines": {
"node": "^14.13.1 || >=16.0.0"
"node": ">=16"
},
"dependencies": {
"unified": "^10.1.2",
"unist-util-visit": "^4.1.2",
"hast-util-select": "^5.0.5"
"unified": "^11.0.0",
"unist-util-visit": "^5.0.0",
"hast-util-select": "^6.0.0"
},
"devDependencies": {
"rehype": "^12.0.1",
"rehype-stringify": "^9.0.3",
"rehype-raw": "^6.1.1",
"remark-parse": "^10.0.1",
"remark-rehype": "^10.1.0",
"tsbb": "^4.1.3"
"rehype": "^13.0.0",
"rehype-stringify": "^10.0.0",
"rehype-raw": "^7.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.0.0",
"tsbb": "^4.2.3"
}
}

@@ -7,3 +7,3 @@ import { unified } from 'unified';

import stringify from 'rehype-stringify';
import rehypeIgnore from '..';
import rehypeIgnore from '../index.js';

@@ -10,0 +10,0 @@ it('rehypeIgnore markdown raw test case 1', async () => {

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