New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

remark-relative-links

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-relative-links - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

3

index.js

@@ -15,4 +15,3 @@ const visit = require('unist-util-visit');

function transform(tree) {
visit(tree, 'link', visitor);
visit(tree, 'linkReference', visitor);
visit(tree, ['link', 'linkReference'], visitor);
}

@@ -19,0 +18,0 @@

{
"name": "remark-relative-links",
"version": "0.0.3",
"version": "0.0.4",
"description": "Rewrites absolute URLs to relative ones.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -43,3 +43,3 @@ # remark-relative-links

###### `options.domainRegex`
###### `options.domainRegex` **Required**

@@ -46,0 +46,0 @@ Regex used to decipher what domain to "relative-ize". The example provided should handle most cases.

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