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.14 to 1.24.15

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## 19 December 2019
### [1.24.15](https://github.com/artdecocode/typal/compare/v1.24.14...v1.24.15)
- [feature] Add the `return` property to the _Property_.
- [doc] Update `schema` to include examples.
## 18 December 2019

@@ -2,0 +9,0 @@

4

compile/bin/typal.js

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

b && (c += `: ${b}`);
return {W:{...g, async:d}, H:c};
return {W:{...g, async:d, return:b}, H:c};
};

@@ -1052,2 +1052,3 @@ function Q(a, b) {

this.isConstructor = this.async = !1;
this.return = "";
}

@@ -1058,2 +1059,3 @@ b(a, b) {

this.async = b.async;
this.return = b.return;
}

@@ -1060,0 +1062,0 @@ }

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

b && (c += `: ${b}`);
return {F:{...f, async:d}, o:c};
return {F:{...f, async:d, return:b}, o:c};
};

@@ -429,2 +429,3 @@ function H(a, b) {

this.isConstructor = this.async = !1;
this.return = "";
}

@@ -435,2 +436,3 @@ b(a, b) {

this.async = b.async;
this.return = b.return;
}

@@ -437,0 +439,0 @@ }

{
"name": "typal",
"version": "1.24.14",
"version": "1.24.15",
"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",

@@ -18,2 +18,6 @@ import Property from './Property'

this.isConstructor = false
/**
* The return type.
*/
this.return = ''
}

@@ -26,3 +30,4 @@ fromXML(content, props) {

this.async = props.async
this.return = props.return
}
}

@@ -157,3 +157,3 @@ import { resolve, dirname } from 'path'

if (r) fnType += `: ${r}`
return { rest: { ...rest, async }, fnType }
return { rest: { ...rest, async, return: r }, fnType }
}

@@ -160,0 +160,0 @@

@@ -11,2 +11,3 @@ /**

* A representation of a type.
* Constructor method.
* @interface

@@ -142,2 +143,3 @@ */

* A representation of a type.
* Constructor method.
* @extends {_typal.Type}

@@ -166,2 +168,3 @@ * @interface

* A property of a type.
* Constructor method.
* @interface

@@ -240,2 +243,3 @@ */

* This is a property of a constructor/interface which is a function.
* Constructor method.
* @extends {_typal.Property}

@@ -255,2 +259,7 @@ * @interface

_typal.Fn.prototype.async
/**
* The return of the function. Default `''`.
* @type {string}
*/
_typal.Fn.prototype.return

@@ -287,2 +296,3 @@ /* typal types/Arg.xml externs */

* A representation of an import.
* Constructor method.
* @extends {_typal.Type}

@@ -289,0 +299,0 @@ * @interface

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