Comparing version 1.22.4 to 1.22.5
## 6 September 2019 | ||
### [1.22.5](https://github.com/artdecocode/typal/compare/v1.22.4...v1.22.5) | ||
- [fix] Fix _JSDoc_ regex to pickup descriptions over multiple lines. | ||
### [1.22.4](https://github.com/artdecocode/typal/compare/v1.22.3...v1.22.4) | ||
@@ -4,0 +8,0 @@ |
@@ -1459,3 +1459,3 @@ #!/usr/bin/env node | ||
}, Vb = / \*\/\n\/\*\*\n \* @typedef/g; | ||
const Xb = {re:/( *) \* @param {(.+?)} (\[)?([^\s\]]+)\]?(?: .+)?((?:\n(?: +)\* @param {(?:.+?)} \[?\4\]?.*)*)/gm, replacement:Wb}; | ||
const Xb = {re:/( *) \* @param {(.+?)} (\[)?([^\s\]]+)\]?(?: .+)?((?:\n(?: +)\* @param {(?:.+?)} \[?\4\]?(?:(?!\n\s*\*(?:\/|\s*@))[\s\S])*)*)/gm, replacement:Wb}; | ||
function Wb(a, b, c, d, e, g, f) { | ||
@@ -1462,0 +1462,0 @@ const {v:h, C:k} = this.g; |
{ | ||
"name": "typal", | ||
"version": "1.22.4", | ||
"version": "1.22.5", | ||
"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", |
@@ -6,6 +6,6 @@ import parser from '@typedefs/parser' | ||
* _JSDoc regex_ detects the ` * @param {Type}` declaration above functions, and the _JSDoc rule_ updates them according to existing types that were detected with the `typedefRule` rule. | ||
* https://regexr.com/4kicd | ||
*/ | ||
export const jsDocRe = /( *) \* @param {(.+?)} (\[)?([^\s\]]+)\]?(?: .+)?((?:\n(?: +)\* @param {(?:.+?)} \[?\4\]?(?:(?!\n\s*\*(?:\/|\s*@))[\s\S])*)*)/gm | ||
export const jsDocRe = /( *) \* @param {(.+?)} (\[)?([^\s\]]+)\]?(?: .+)?((?:\n(?: +)\* @param {(?:.+?)} \[?\4\]?.*)*)/gm | ||
/** | ||
@@ -12,0 +12,0 @@ * @type {_restream.Rule} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
423642
5358