- fix .prettierignore
- add source trasformation example
- ESM compatibility improvements; fixes #159, #161
- allow for valid empty jsdoc; fixes #128
- add support for custom block markers
- reverting engine constraint back to ^12.0.0
- publishing missing fix: point package's main to .cjs file
- re-export ./util on the top-level for compatibility with older Node
- point package's main to .cjs file
- bump
enginesperexportsissues in earlier Node versions
- keep and handle appropriately CR line endings
- process CRs as a separate .lineEnd toke
- ESM/CJS compatibility fixes
- support native ESM
- keep original CR line endings
- allow to normalize line endings with
crlftransform
- drop unused variables
- add .editorconfig
bugfixfix unsynced lib/
- export primitive type on the top level: Markers, Block, Spec, Line, Tokens, Problem
bugfixAllow to build nested tags fromname.subnameeven ifnamewasn't dbugfixPreserve indentation when extracting comments
- add helpers for rewiring Spec.source <-> Spec.tags.source
- split tokenizers into separate modules
- allow multiline {type} definitions - issue #109
- allow using "=>" in [name=default] defaults – issue #112
- allow using "=" in quoted [name=default] defaults – issue #112
- add tokenizers usage example - issue #111
- complete rewrite in TS with more flexible API
- distinct non-critical errors by providing
err.warning
- name parsing fixes
- node 8 backward compatibility fixes
- make stringify result more close to the source
- make stringify to start each line with * in multiline comments
- ensure non-space characters after asterisk are included in source
- allow fenced blocks in tag description, see opts.fence
- document TypeScript definitions
- adjust strigifier indentation
- soft-drop node@6 support
- migrate to ES6 syntax
- allow to generate comments out of parsed data
- allow loose tag names, e.g. @.tag, @-tag
- allow quoted literal names, e.g.
@tag "My Var" description
- corrected TypeScript definitions
- added TypeScript definitions
- removed
readable-streamdependency
- Support for tab as separator between tag components.
- Docs: Indicate when
optionalistrue;defaultproperty
- line wrapping control with
opts.join
- tolerate inconsistent lines alignment within block
- refactored parsing, allow to not start lines with "* " inside block
- fix RegExp for
descriptionextraction to allow $ char
- use
readable-streamfro Node 0.8 comatibility - allow to pass optional parameters to
parse.file(path [,opts], done) - allow
parse.streamto work with Buffers in addition to strings
featureallow to use custom parsersfeaturealways include source, noraw_valueoption neededbugfixalways provideoptionaltag propertyrefactorclean up tests
bugfixAccept/** one line */commentsrefactorGet rid oflodashto avoid unnecessary extra size when bundled
featureallow spaces in default values@my-tag {my.type} [name=John Doe]
refactormake line pasing mechanism more tolerable
featureinclude source line numbers in parsed datafeatureoptionally prevent dotten names expanding
bugfixAllow to build nested tags fromname.subnameeven ifnamewasn't dbugfixPreserve indentation when extracting comments
improvementparse(source)returns array of all blocks found in source or an empty arraybugfixfixed indented blocks parsing
Initial implementation