Skip to content

Commit

Permalink
feat: re-export jsdoc-type-pratt-parser
Browse files Browse the repository at this point in the history
Also updates `jsdoc-type-pratt-parser` to 2.2.1 and allows patch updates
  • Loading branch information
brettz9 committed Jan 9, 2022
1 parent 9056299 commit c0b0bd1
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 21 deletions.
13 changes: 13 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# CHANGES for `@es-joy/jsdoccomment`

## 0.17.0

### User-impacting

- Enhancement: Re-export `jsdoc-type-pratt-parser`
- Update: `jsdoc-type-pratt-parser` to 2.2.1

### Dev-impacting

- npm: Update devDeps.

## 0.16.0

### User-impacting

- Update: `jsdoc-type-pratt-parser` to 2.2.0
Expand Down
6 changes: 6 additions & 0 deletions dist/index.cjs.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -538,3 +538,9 @@ exports.hasSeeWithLink = hasSeeWithLink;
exports.jsdocVisitorKeys = jsdocVisitorKeys;
exports.parseComment = parseComment;
exports.toCamelCase = toCamelCase;
Object.keys(jsdocTypePrattParser).forEach(function (k) {
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
enumerable: true,
get: function () { return jsdocTypePrattParser[k]; }
});
});
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@es-joy/jsdoccomment",
"version": "0.16.0",
"version": "0.17.0",
"author": "Brett Zamir <brettz9@yahoo.com>",
"contributors": [],
"description": "Maintained replacement for ESLint's deprecated SourceCode#getJSDocComment along with other jsdoc utilities",
Expand Down Expand Up @@ -48,7 +48,7 @@
"dependencies": {
"comment-parser": "1.3.0",
"esquery": "^1.4.0",
"jsdoc-type-pratt-parser": "2.2.0"
"jsdoc-type-pratt-parser": "~2.2.1"
},
"devDependencies": {
"@babel/core": "^7.16.7",
Expand All @@ -66,7 +66,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsdoc": "^37.5.2",
"eslint-plugin-jsdoc": "^37.6.0",
"eslint-plugin-markdown": "^2.2.1",
"eslint-plugin-no-unsanitized": "^4.0.1",
"eslint-plugin-no-use-extend-native": "^0.5.0",
Expand Down
36 changes: 18 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export {visitorKeys as jsdocTypeVisitorKeys} from 'jsdoc-type-pratt-parser';

export * from 'jsdoc-type-pratt-parser';

export {default as commentHandler} from './commentHandler.js';

export {default as toCamelCase} from './toCamelCase.js';
Expand Down

0 comments on commit c0b0bd1

Please sign in to comment.