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

typedoc-gitlab-wiki-theme

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedoc-gitlab-wiki-theme - npm Package Compare versions

Comparing version

to
2.0.1

4

dist/index.js

@@ -56,4 +56,4 @@ "use strict";

app.renderer.on(typedoc_plugin_markdown_1.MarkdownPageEvent.END, (page) => {
page.contents = page.contents?.replace(/\[([^\]]+)\]\((?!https?:|\/|\.)([^)]+)\)/g, (match, text, url) => {
let relativeUrl = url?.replace(/(.*).md/, '$1');
page.contents = page.contents?.replace(/\[([^\]]+)\]\((?!https?:)([^)]+)\)/g, (match, text, url) => {
let relativeUrl = url?.replace(/\.md/g, '');
if (!relativeUrl.startsWith('.') && !relativeUrl.startsWith('/')) {

@@ -60,0 +60,0 @@ relativeUrl = './' + relativeUrl;

{
"name": "typedoc-gitlab-wiki-theme",
"version": "2.0.0",
"version": "2.0.1",
"description": "A TypeDoc ( + typedoc-plugin-markdown ) theme that generates Markdown compatible with Gitlab Wiki.",

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

@@ -5,3 +5,3 @@ # typedoc-gitlab-wiki-theme

> A TypeDoc ( + typedoc-plugin-markdown ) theme that generates docs compatible with Gitlab Wiki.
> A TypeDoc ( + typedoc-plugin-markdown ) theme that generates Markdown compatible with Gitlab Wiki.

@@ -8,0 +8,0 @@ ## Installation