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

typedoc-plugin-markdown

Package Overview
Dependencies
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedoc-plugin-markdown - npm Package Compare versions

Comparing version 3.16.0 to 3.17.0

2

dist/resources/helpers/declaration-title.js

@@ -46,3 +46,3 @@ "use strict";

if (this instanceof typedoc_1.DeclarationReflection && this.typeParameters) {
md.push(`<${this.typeParameters
md.push(`\\<${this.typeParameters
.map((typeParameter) => `\`${typeParameter.name}\``)

@@ -49,0 +49,0 @@ .join(', ')}\\>`);

@@ -45,3 +45,3 @@ "use strict";

.join(', ');
title.push(`<${typeParameters}${shouldEscape ? '\\>' : '>'}`);
title.push(`${shouldEscape ? '\\<' : '<'}${typeParameters}${shouldEscape ? '\\>' : '>'}`);
}

@@ -48,0 +48,0 @@ }

@@ -46,3 +46,3 @@ "use strict";

if (this.typeParameters) {
md.push(`<${this.typeParameters
md.push(`\\<${this.typeParameters
.map((typeParameter) => `\`${typeParameter.name}\``)

@@ -49,0 +49,0 @@ .join(', ')}\\>`);

@@ -116,3 +116,3 @@ "use strict";

});
return `{ ${indexSignature ? indexSignature : ''}${types ? types.join('; ') : ''} }${model.defaultValue && model.defaultValue !== '...'
return `\\{ ${indexSignature ? indexSignature : ''}${types ? types.join('; ') : ''} }${model.defaultValue && model.defaultValue !== '...'
? `= ${(0, utils_1.escapeChars)(model.defaultValue)}`

@@ -126,3 +126,3 @@ : ''}`;

const typeParams = fn.typeParameters
? `<${fn.typeParameters
? `\\<${fn.typeParameters
.map((typeParameter) => typeParameter.name)

@@ -155,3 +155,3 @@ .join(', ')}\\>`

if (model.typeArguments && model.typeArguments.length > 0) {
reflection.push(`<${model.typeArguments
reflection.push(`\\<${model.typeArguments
.map((typeArgument) => Handlebars.helpers.type.call(typeArgument))

@@ -158,0 +158,0 @@ .join(', ')}\\>`);

@@ -14,6 +14,8 @@ "use strict";

return str
.replace(/</g, '\\<')
.replace(/>/g, '\\>')
.replace(/_/g, '\\_')
.replace(/`/g, '\\`')
.replace(/\|/g, '\\|');
.replace(/\|/g, '\\|')
.replace(/{/g, '\\{');
}

@@ -20,0 +22,0 @@ exports.escapeChars = escapeChars;

{
"name": "typedoc-plugin-markdown",
"version": "3.16.0",
"version": "3.17.0",
"description": "A plugin for TypeDoc that enables TypeScript API documentation to be generated in Markdown.",

@@ -11,4 +11,7 @@ "main": "dist/index.js",

"lint": "eslint ./src --ext .ts",
"markdownlint": "yarn run docs:md && markdownlint ./docs/md",
"prepublishOnly": "yarn run lint && yarn run build",
"prelint:docs": "yarn run docs:md",
"lint:md": "yarn run lint:markdown && yarn run lint:mdx",
"lint:markdown": " markdownlint ./docs/md",
"lint:mdx": "node ./lint.mdx.mjs",
"prepublishOnly": "yarn run lint && yarn run build && yarn run test",
"build": "rm -rf dist && tsc && copyfiles --up 1 ./src/**/*.hbs ./dist/",

@@ -15,0 +18,0 @@ "test": "jest",

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