@types/yaml
1.9.7 · 23 Apr 2020MIT119.4k / weekRepositorynpmAtom feed
12 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
1.9.2
23 Apr 2020Reading the note…
1.9.1
23 Apr 2020Add
onAnchorcallback arg todoc.toJSON()Use a Map for anchors in
doc.toJSON()
Add
onAnchorcallback arg todoc.toJSON()Use a Map for anchors in
doc.toJSON()
1.9.0
23 Apr 2020Reading the note…
1.2.0
7 Oct 2019Support blank lines
Add missing YAML 1.1 collections:
!!omap,!!pairs, and!!setAdd
tagargument forcreateNode(), along with its refactored schema-specific implementation
New Features
Support blank lines
Add
BLANK_LINEnodes to the CSTAdd a boolean property
spaceBeforefor all AST nodescst: Assign comments & blank lines at end of collection to parent unless sufficiently indented
Always separate document comments from the rest by a blank line
Add missing YAML 1.1 collections:
!!omap,!!pairs, and!!setAdd
tagargument forcreateNode(), along with its refactored schema-specific implementationAdd optional
createNodeandnodeClassproperties to tag objects (bcb8d9c, 3ae63bc)Add property based tests using fast-check, thanks to @dubzzz
Bugfixes
Fix parsing of minimal strings: '', '-', '?', ':'
Revert earlier fix for #48, which is now properly handled thanks to the fix for #57
cst/ParseContext: Stop advancing node.range.end past newline
cst/PlainValue: Limit
valueRange.endto actual value endcst: Stop breaking the spec by allowing tab indents for map values
Stop aliasing Pair comment to the comment of its value (9b49ddb, 6d3cb36):
key: # this is now a pair comment value
Render maps with all null values as
? a\n? b\nor{ a, b }
1.0.2
14 Feb 2019setOrigRanges: Add missing props
1.0.1
15 Nov 2018Reading the note…
1.0.0
21 Sep 2018Drop the need for
.defaultwhen usingrequire('yaml')Fix for the bug part of #28, now always putting collection comments on their own line
Fix setOrigRanges() for flow collections, adding
origOffsetto FlowChar objects (Fixes #40)
Whoa. It's like, ready? Just one minor bug has been reported in the last month, so now's as good a time as any to officially release this thing. A few small changes compared to the last RC:
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.