yaml 1.10.1 → 1.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1767,7 +1767,7 @@ var ParseContext = /*#__PURE__*/function () {
1767
1767
 
1768
1768
  var indentDiff = inEnd - (lineStart + this.indent);
1769
1769
  var noIndicatorAsIndent = parent.type === Type.SEQ_ITEM && parent.context.atLineStart;
1770
- if (!Node.nextNodeIsIndented(src[inEnd], indentDiff, !noIndicatorAsIndent)) break;
1770
+ if (src[inEnd] !== '#' && !Node.nextNodeIsIndented(src[inEnd], indentDiff, !noIndicatorAsIndent)) break;
1771
1771
  this.atLineStart = true;
1772
1772
  this.lineStart = lineStart;
1773
1773
  lineHasProps = false;
package/dist/parse-cst.js CHANGED
@@ -1660,7 +1660,7 @@ class ParseContext {
1660
1660
 
1661
1661
  const indentDiff = inEnd - (lineStart + this.indent);
1662
1662
  const noIndicatorAsIndent = parent.type === PlainValue.Type.SEQ_ITEM && parent.context.atLineStart;
1663
- if (!PlainValue.Node.nextNodeIsIndented(src[inEnd], indentDiff, !noIndicatorAsIndent)) break;
1663
+ if (src[inEnd] !== '#' && !PlainValue.Node.nextNodeIsIndented(src[inEnd], indentDiff, !noIndicatorAsIndent)) break;
1664
1664
  this.atLineStart = true;
1665
1665
  this.lineStart = lineStart;
1666
1666
  lineHasProps = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yaml",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
4
4
  "license": "ISC",
5
5
  "author": "Eemeli Aro <eemeli@gmail.com>",
6
6
  "repository": "github:eemeli/yaml",