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

typal

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typal - npm Package Compare versions

Comparing version 1.24.17 to 1.24.18

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 21 December 2019
### [1.24.18](https://github.com/artdecocode/typal/compare/v1.24.17...v1.24.18)
- [fix] Fix the order when flattening.
## 20 December 2019

@@ -2,0 +8,0 @@

2

compile/bin/typal.js

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

let {link:k, type:{description:l}} = d;
k = g(d);
e && ((b = b.find(({fullName:h}) => h == a)) && b.link && (k = b.link), !l && b.description && (l = b.description), "function" == typeof e && e(a));
d.link == k && (k = g(d));
b = f ? f(c) : c;

@@ -1142,0 +1142,0 @@ return l ? `<a href="${k}" title="${l.replace(/"/g, "&quot;")}">${b}</a>` : `[${b}](${k})`;

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

let {link:l, type:{description:h}} = d;
l = f(d);
e && ((b = b.find(({fullName:m}) => m == a)) && b.link && (l = b.link), !h && b.description && (h = b.description), "function" == typeof e && e(a));
d.link == l && (l = f(d));
b = g ? g(c) : c;

@@ -519,0 +519,0 @@ return h ? `<a href="${l}" title="${h.replace(/"/g, "&quot;")}">${b}</a>` : `[${b}](${l})`;

{
"name": "typal",
"version": "1.24.17",
"version": "1.24.18",
"description": "Organises TypeDefs By Placing Them Into Types.Xml File To Be Embedded Into Source Code Compatible With VSCode And Google Closure Compiler, Generates Externs And Allows To Place Documentation In README Markdown.",

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

@@ -115,3 +115,4 @@ import parse from '@typedefs/parser'

let { link, type: { description } } = l
link = linkFn(l)
// flatten should just become default now
if (flatten) {

@@ -125,2 +126,4 @@ const found = allTypes.find(({ fullName }) => fullName == type)

}
if (l.link == link) link = linkFn(l) // not flattened
const nn = nameProcess ? nameProcess(n) : n

@@ -127,0 +130,0 @@ if (!description) return `[${nn}](${link})`

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