remark-validate-links
Advanced tools
Comparing version 9.2.0 to 10.0.0
@@ -223,6 +223,3 @@ 'use strict' | ||
// Currently, we’re ignoring this and just not supporting branches. | ||
value = value | ||
.split(slash) | ||
.slice(1) | ||
.join(slash) | ||
value = value.split(slash).slice(1).join(slash) | ||
@@ -229,0 +226,0 @@ return normalize(path.resolve(config.root, value + url.hash), config) |
@@ -8,5 +8,2 @@ 'use strict' | ||
module.exports = trough() | ||
.use(findRepo) | ||
.use(config) | ||
.use(find) | ||
module.exports = trough().use(findRepo).use(config).use(find) |
@@ -45,5 +45,5 @@ 'use strict' | ||
// Check all references and landmarks. | ||
check.run({files: files}, function(err) { | ||
check.run({files: files}, function (err) { | ||
next(err) | ||
}) | ||
} |
{ | ||
"name": "remark-validate-links", | ||
"version": "9.2.0", | ||
"version": "10.0.0", | ||
"description": "remark plugin to validate links to headings and files", | ||
@@ -9,2 +9,3 @@ "license": "MIT", | ||
"remark", | ||
"remark-plugin", | ||
"plugin", | ||
@@ -44,9 +45,9 @@ "mdast", | ||
"dependencies": { | ||
"github-slugger": "^1.2.0", | ||
"hosted-git-info": "^2.5.0", | ||
"mdast-util-to-string": "^1.0.4", | ||
"github-slugger": "^1.0.0", | ||
"hosted-git-info": "^3.0.0", | ||
"mdast-util-to-string": "^1.0.0", | ||
"propose": "0.0.5", | ||
"to-vfile": "^6.0.0", | ||
"trough": "^1.0.0", | ||
"unist-util-visit": "^1.0.0", | ||
"unist-util-visit": "^2.0.0", | ||
"xtend": "^4.0.0" | ||
@@ -56,3 +57,3 @@ }, | ||
"nyc": "^15.0.0", | ||
"prettier": "^1.0.0", | ||
"prettier": "^2.0.0", | ||
"remark": "^11.0.0", | ||
@@ -65,3 +66,3 @@ "remark-cli": "^7.0.0", | ||
"vfile-sort": "^2.0.0", | ||
"xo": "^0.25.0" | ||
"xo": "^0.28.0" | ||
}, | ||
@@ -68,0 +69,0 @@ "scripts": { |
@@ -239,4 +239,4 @@ # remark-validate-links | ||
This project has a [Code of Conduct][coc]. | ||
By interacting with this repository, organisation, or community you agree to | ||
This project has a [code of conduct][coc]. | ||
By interacting with this repository, organization, or community you agree to | ||
abide by its terms. | ||
@@ -272,3 +272,3 @@ | ||
[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg | ||
[chat-badge]: https://img.shields.io/badge/chat-spectrum-7b16ff.svg | ||
@@ -275,0 +275,0 @@ [chat]: https://spectrum.chat/unified/remark |
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
28570
589
+ Addedhosted-git-info@3.0.8(transitive)
+ Addedlru-cache@6.0.0(transitive)
+ Addedunist-util-is@4.1.0(transitive)
+ Addedunist-util-visit@2.0.3(transitive)
+ Addedunist-util-visit-parents@3.1.1(transitive)
+ Addedyallist@4.0.0(transitive)
- Removedhosted-git-info@2.8.9(transitive)
- Removedunist-util-is@3.0.0(transitive)
- Removedunist-util-visit@1.4.1(transitive)
- Removedunist-util-visit-parents@2.1.2(transitive)
Updatedgithub-slugger@^1.0.0
Updatedhosted-git-info@^3.0.0
Updatedmdast-util-to-string@^1.0.0
Updatedunist-util-visit@^2.0.0