Skip to content

Commit 7400ee7

Browse files
committed
feat: bump jsdoctypeparser to 5.0.1
The update brings in: 1. feat: TypeScript key query (`keyof X`) types 2. feat: Preserve quote style: a. (single, double) for strings b. (single, double, or none) for `MemberName` (e.g., `owner.'Member'`), `RecordTypeExprEntryKey` (e.g., `{"keyOnly"}`), `FilePathExpr` (e.g., `module:"..."`), `ExternalNameExpr2` (e.g., `external:"..."`) 3. feat: changed `SyntaxError` export to `JSDocTypeSyntaxError` to avoid shadowing (not currently in use as such here) 4. feat: jsdoctypeparser binary is available (not currently in use here) 5. fix: allow optional `+` at beginning of decimal literals and optional `e` scientific notation at end, and decimal with no leading digit 6. fix: tighten unquoted `RecordTypeExprEntryKey` to disallow numbers followed by non-numbers (except as part of a decimal and/or scientific notation) 7. fix: allow quotes in `FilePathExpr` (for `module:"..."`) and `ExternalNameExpr` (for `external:"..."`) 8. fix: Disallow unescaped backslash before final quote and escaped backslash sequence before inside quote in `MemberName` (e.g., `owner."Mem.ber\\"`) and `RecordTypeExprEntryKey` (e.g., `{"key\\\\"Only"}`) 9. fix: Improvements in quoting/backslashes of strings 10. fix: accept `MemberName` in place of `NamepathExpr` ("external:..." should point to a (quotable) name, optionally with members, but not a name path with parenthesized literals, imports, etc.) 11. chore: update @types/node
1 parent aff7358 commit 7400ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"debug": "^4.1.1",
1010
"escape-regex-string": "^1.0.6",
1111
"flat-map-polyfill": "^0.3.8",
12-
"jsdoctypeparser": "4.0.0",
12+
"jsdoctypeparser": "5.0.1",
1313
"lodash": "^4.17.11"
1414
},
1515
"description": "JSDoc linting rules for ESLint.",

0 commit comments

Comments
 (0)