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

remark-validate-links

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-validate-links - npm Package Compare versions

Comparing version 9.2.0 to 10.0.0

5

lib/find/find.js

@@ -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)

2

lib/index.js

@@ -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

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