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

typedoc-plugin-typescript-declaration

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedoc-plugin-typescript-declaration - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

14

dist/index.js

@@ -1300,3 +1300,9 @@ 'use strict';

// get unique list of types from remapped types
mapped = mapped.filter((type, index, array) => array.findIndex(item => type.equals(item)) === index);
const unique = [];
mapped.forEach(item => {
if (!unique.find(type => this.equalsWorkaround(item, type))) {
unique.push(item);
}
});
mapped = unique;
if (mapped.length === 1) {

@@ -1341,2 +1347,8 @@ return mapped[0];

}
equalsWorkaround(type1, type2) {
var _a, _b;
return type1.equals(type2)
&& (type1 instanceof models.ReferenceType && type2 instanceof models.ReferenceType
&& ((_a = type1.reflection, (_a !== null && _a !== void 0 ? _a : type1.symbolFullyQualifiedName)) === (_b = type2.reflection, (_b !== null && _b !== void 0 ? _b : type2.symbolFullyQualifiedName))));
}
}

@@ -1343,0 +1355,0 @@

2

package.json
{
"name": "typedoc-plugin-typescript-declaration",
"version": "0.4.1",
"version": "0.4.2",
"description": "Typedoc plugin to render to typescript declaration file",

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

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