remark-validate-links
Advanced tools
Comparing version 8.0.0 to 8.0.1
@@ -223,3 +223,3 @@ 'use strict' | ||
if ((real === undefined || real === null) && !hash && fs) { | ||
real = fs.existsSync(reference) | ||
real = fs.existsSync(path.join(file.cwd, decodeURI(reference))) | ||
references[reference] = real | ||
@@ -241,3 +241,3 @@ } | ||
} else { | ||
warning = 'Link to unknown file: `' + reference + '`' | ||
warning = 'Link to unknown file: `' + decodeURI(reference) + '`' | ||
ruleId = fileRuleId | ||
@@ -244,0 +244,0 @@ } |
{ | ||
"name": "remark-validate-links", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "Validate links to headings and files in markdown", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -10,4 +10,4 @@ # remark-validate-links | ||
[**remark**][remark] plugin to validate if internal links or images to headings | ||
and files in markdown point to existing things. | ||
[**remark**][remark] plugin to validate that Markdown links and images | ||
reference existing local files and headings. | ||
It does not check external URLs (see [`remark-lint-no-dead-urls`][no-dead-urls] | ||
@@ -14,0 +14,0 @@ for that). |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
18534
1