remark-relative-links
Advanced tools
Comparing version 0.0.4 to 0.0.5
const visit = require('unist-util-visit'); | ||
module.exports = (options = {}) => { | ||
if (!options.domainRegex) { | ||
module.exports = function (options) { | ||
if (!options || !options.domainRegex) { | ||
throw Error('Missing required "domainRegex" option'); | ||
@@ -6,0 +6,0 @@ } |
{ | ||
"name": "remark-relative-links", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Rewrites absolute URLs to relative ones.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3259