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

@djockey/linkmapper-typedoc

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@djockey/linkmapper-typedoc - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

LICENSE

1

index.d.ts

@@ -5,4 +5,5 @@ #!/usr/bin/env node

relativeURL: string;
defaultLabel: string;
};
export declare function getURLs(projectReflectionJSON: unknown): Promise<LinkMapping[]>;
export {};

@@ -59,6 +59,15 @@ #!/usr/bin/env node

const urls = new Array();
const seenDestinationURLPairs = new Set();
function visit(model) {
if (model.url) {
for (const alias of getAliases(model)) {
urls.push({ linkDestination: alias, relativeURL: model.url });
const destURLPair = `${alias}:::${model.url}`;
if (seenDestinationURLPairs.has(destURLPair))
continue;
seenDestinationURLPairs.add(destURLPair);
urls.push({
linkDestination: alias,
relativeURL: model.url,
defaultLabel: model.name,
});
}

@@ -65,0 +74,0 @@ }

@@ -18,2 +18,3 @@ #!/usr/bin/env node

relativeURL: string;
defaultLabel: string;
};

@@ -89,6 +90,15 @@

const seenDestinationURLPairs = new Set<string>();
function visit(model: any) {
if (model.url) {
for (const alias of getAliases(model)) {
urls.push({ linkDestination: alias, relativeURL: model.url });
const destURLPair = `${alias}:::${model.url}`;
if (seenDestinationURLPairs.has(destURLPair)) continue;
seenDestinationURLPairs.add(destURLPair);
urls.push({
linkDestination: alias,
relativeURL: model.url,
defaultLabel: model.name,
});
}

@@ -95,0 +105,0 @@ }

3

package.json
{
"name": "@djockey/linkmapper-typedoc",
"license": "MIT",
"bin": "index.js",
"version": "0.0.5",
"version": "0.0.6",
"prepublish": "tsc -p .",

@@ -6,0 +7,0 @@ "scripts": {

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