Skip to content

Commit

Permalink
fix: include comment-parser patched version
Browse files Browse the repository at this point in the history
Should now completely fix problem if executing with older Node version as in Atom IDE. Also uses its own reexports now that available.
  • Loading branch information
brettz9 committed Jul 28, 2021
1 parent 0e15fe5 commit 0ace59d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -5,8 +5,8 @@
"url": "http://gajus.com"
},
"dependencies": {
"@es-joy/jsdoccomment": "0.10.6",
"comment-parser": "1.2.1",
"@es-joy/jsdoccomment": "0.10.7",
"comment-parser": "1.2.3",
"debug": "^4.3.2",
"esquery": "^1.4.0",
"jsdoc-type-pratt-parser": "^1.1.1",
Expand Down
8 changes: 3 additions & 5 deletions src/alignTransform.js
Expand Up @@ -4,17 +4,15 @@
* It contains some customizations to align based on the tags, and some custom options.
*/

import {

// `comment-parser/util` re-exports
rewireSource,
} from '@es-joy/jsdoccomment';
import {

// `comment-parser/primitives` export
Markers,
util,
} from 'comment-parser';

const {rewireSource} = util;

const zeroWidth = {
name: 0,
start: 0,
Expand Down
10 changes: 6 additions & 4 deletions src/iterateJsdoc.js
@@ -1,16 +1,18 @@
import {
getReducedASTNode, getJSDocComment, commentHandler, parseComment,

// `comment-parser/util` re-exports
rewireSpecs,
seedTokens,
} from '@es-joy/jsdoccomment';
import {
stringify as commentStringify,
util,
} from 'comment-parser';
import _ from 'lodash';
import jsdocUtils from './jsdocUtils';

const {
rewireSpecs,
seedTokens,
} = util;

/*
const {
align as commentAlign,
Expand Down

0 comments on commit 0ace59d

Please sign in to comment.