New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 2.1.2 to 2.1.3

10

dist/theme/helpers/type.js

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

function type() {
if (this instanceof types_1.ReferenceType && this.reflection) {
if (this instanceof types_1.ReferenceType && (this.reflection || this.name)) {
return getReferenceType(this);

@@ -31,9 +31,11 @@ }

}
return `\`${this}\``;
return this;
}
exports.type = type;
function getReferenceType(model) {
const reflection = [`[${model.reflection.name}](${relative_url_1.relativeUrl(model.reflection.url)})`];
const reflection = model.reflection
? [`[${model.reflection.name}](${relative_url_1.relativeUrl(model.reflection.url)})`]
: [model.name];
if (model.typeArguments) {
reflection.push(`‹${model.typeArguments.map(typeArgument => `*${type.call(typeArgument)}*`).join(', ')}›`);
reflection.push(`‹${model.typeArguments.map(typeArgument => `${type.call(typeArgument)}`).join(', ')}›`);
}

@@ -40,0 +42,0 @@ return reflection.join('');

2

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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