v2.0.0
·
131 commits
to main
since this release
2.0.0 (2021-10-15)
Features
- KeyValue: add discriminator for different KeyValue types and rename
value
tokey
(4cb9dd0) - KeyValue: enable labeled KeyValue results (576c2d8)
- traverse: use visitorKeys and sinon-chai for tests (8a98f9a)
BREAKING CHANGES
- KeyValue:
JsdocTypeKeyValue
results can have 2 different appearances. In one kind the key is aNonTerminalResult
, then it is namedleft
. The other kind has keys that are strings, this is the normal version. In this case the key was namedvalue
before and is now renamed tokey
to avoid confusion.
{
type: 'JsdocTypeKeyValue',
value: 'some-key',
// ...
}
is now
{
type: 'JsdocTypeKeyValue',
key: 'some-key',
// ...
}