marked-mangle
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "marked-mangle", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "marked mangle extension", | ||
@@ -43,26 +43,26 @@ "main": "./lib/index.cjs", | ||
"peerDependencies": { | ||
"marked": "^4 || ^5" | ||
"marked": "^4 || ^5 || ^6" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.22.5", | ||
"@babel/preset-env": "^7.22.5", | ||
"@babel/core": "^7.22.9", | ||
"@babel/preset-env": "^7.22.9", | ||
"@semantic-release/changelog": "^6.0.3", | ||
"@semantic-release/commit-analyzer": "^10.0.1", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/github": "^9.0.3", | ||
"@semantic-release/github": "^9.0.4", | ||
"@semantic-release/npm": "^10.0.4", | ||
"@semantic-release/release-notes-generator": "^11.0.3", | ||
"@types/marked": "^5.0.0", | ||
"babel-jest": "^29.5.0", | ||
"eslint": "^8.43.0", | ||
"@semantic-release/release-notes-generator": "^11.0.4", | ||
"@types/marked": "^5.0.1", | ||
"babel-jest": "^29.6.1", | ||
"eslint": "^8.46.0", | ||
"eslint-config-standard": "^17.1.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-import": "^2.28.0", | ||
"eslint-plugin-n": "^16.0.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"jest-cli": "^29.5.0", | ||
"marked": "^5.0.4", | ||
"rollup": "^3.25.2", | ||
"semantic-release": "^21.0.5", | ||
"jest-cli": "^29.6.2", | ||
"marked": "^6.0.0", | ||
"rollup": "^3.27.0", | ||
"semantic-release": "^21.0.7", | ||
"tsd": "^0.28.1" | ||
} | ||
} |
@@ -5,2 +5,4 @@ # marked-mangle | ||
Mangling mailto links in this way is useful when you want to prevent email harvesting bots from collecting email addresses from your website, in the case that the Markdown is server-rendered. It's also useful for preventing the browser from automatically opening the user's default email client when clicking on a mailto link. | ||
# Usage | ||
@@ -7,0 +9,0 @@ |
@@ -1,2 +0,3 @@ | ||
import type { marked } from "marked" | ||
import type { marked } from 'marked'; | ||
import type { MarkedExtension } from 'marked'; | ||
@@ -6,4 +7,4 @@ /** | ||
* | ||
* @returns A {@link marked.MarkedExtension | MarkedExtension} to be passed to {@link marked.use | `marked.use()`} | ||
* @returns A {@link MarkedExtension | MarkedExtension} to be passed to {@link marked.use | `marked.use()`} | ||
*/ | ||
export function mangle(): marked.MarkedExtension; | ||
export function mangle(): MarkedExtension; |
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
7252
122
22