rehype-ignore
Advanced tools
Comparing version 1.0.5 to 2.0.0
{ | ||
"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 () => { |
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
15891
+ Added@types/hast@3.0.4(transitive)
+ Added@types/unist@3.0.3(transitive)
+ Addedcss-selector-parser@3.0.5(transitive)
+ Addeddequal@2.0.3(transitive)
+ Addeddevlop@1.1.0(transitive)
+ Addedhast-util-has-property@3.0.0(transitive)
+ Addedhast-util-select@6.0.3(transitive)
+ Addedhast-util-to-string@3.0.1(transitive)
+ Addedhast-util-whitespace@3.0.0(transitive)
+ Addedunified@11.0.5(transitive)
+ Addedunist-util-is@6.0.0(transitive)
+ Addedunist-util-stringify-position@4.0.0(transitive)
+ Addedunist-util-visit@5.0.0(transitive)
+ Addedunist-util-visit-parents@6.0.1(transitive)
+ Addedvfile@6.0.3(transitive)
+ Addedvfile-message@4.0.2(transitive)
- Removed@types/hast@2.3.10(transitive)
- Removed@types/unist@2.0.11(transitive)
- Removedcss-selector-parser@1.4.1(transitive)
- Removedhast-util-has-property@2.0.1(transitive)
- Removedhast-util-select@5.0.5(transitive)
- Removedhast-util-to-string@2.0.0(transitive)
- Removedhast-util-whitespace@2.0.1(transitive)
- Removedis-buffer@2.0.5(transitive)
- Removednot@0.1.0(transitive)
- Removedunified@10.1.2(transitive)
- Removedunist-util-is@5.2.1(transitive)
- Removedunist-util-stringify-position@3.0.3(transitive)
- Removedunist-util-visit@4.1.2(transitive)
- Removedunist-util-visit-parents@5.1.3(transitive)
- Removedvfile@5.3.7(transitive)
- Removedvfile-message@3.1.4(transitive)
Updatedhast-util-select@^6.0.0
Updatedunified@^11.0.0
Updatedunist-util-visit@^5.0.0