@es-joy/jsdoccomment
Advanced tools
Comparing version 0.10.2 to 0.10.3
# CHANGES for `@es-joy/jsdoccomment` | ||
## 0.10.3 | ||
- npm: Avoid exporting nested subpaths for sake of older Node versions | ||
## 0.10.2 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "@es-joy/jsdoccomment", | ||
"version": "0.10.2", | ||
"version": "0.10.3", | ||
"author": "Brett Zamir <brettz9@yahoo.com>", | ||
@@ -5,0 +5,0 @@ "contributors": [], |
/* eslint-disable prefer-named-capture-group -- Temporary */ | ||
import { | ||
// eslint-disable-next-line import/no-named-default -- Both together | ||
default as descriptionTokenizer, | ||
getJoiner | ||
} from 'comment-parser/parser/tokenizers/description'; | ||
import { | ||
seedBlock, | ||
seedTokens | ||
} from 'comment-parser/util'; | ||
import {parse as commentParser} from 'comment-parser'; | ||
import nameTokenizer from 'comment-parser/parser/tokenizers/name'; | ||
import tagTokenizer from 'comment-parser/parser/tokenizers/tag'; | ||
import typeTokenizer from 'comment-parser/parser/tokenizers/type'; | ||
import { | ||
parse as commentParser, | ||
tokenizers | ||
} from 'comment-parser'; | ||
const { | ||
name: nameTokenizer, | ||
tag: tagTokenizer, | ||
type: typeTokenizer, | ||
description: descriptionTokenizer | ||
} = tokenizers; | ||
export const hasSeeWithLink = (spec) => { | ||
@@ -87,3 +89,3 @@ return spec.tag === 'see' && (/\{@link.+?\}/u).test(spec.source[0].source); | ||
(spec) => { | ||
return descriptionTokenizer(getJoiner('preserve'))(spec); | ||
return descriptionTokenizer('preserve')(spec); | ||
} | ||
@@ -90,0 +92,0 @@ ]; |
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
44063
997