@swagger-api/apidom-parser-adapter-yaml-1-2 0.83.0 → 0.84.0
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.
- package/CHANGELOG.md +4 -0
- package/cjs/syntactic-analysis/indirect/visitors/CstVisitor.cjs +0 -3
- package/dist/apidom-parser-adapter-yaml-1-2.browser.js +7993 -7804
- package/dist/apidom-parser-adapter-yaml1-2.browser.min.js +1 -1
- package/es/syntactic-analysis/indirect/visitors/CstVisitor.mjs +0 -3
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.84.0](https://github.com/swagger-api/apidom/compare/v0.83.0...v0.84.0) (2023-11-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-yaml-1-2
|
|
9
|
+
|
|
6
10
|
# [0.83.0](https://github.com/swagger-api/apidom/compare/v0.82.2...v0.83.0) (2023-11-07)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-yaml-1-2
|
|
@@ -50,8 +50,6 @@ const CstVisitor = (0, _stampit.default)({
|
|
|
50
50
|
tag: tagNode
|
|
51
51
|
} = node;
|
|
52
52
|
const explicitName = (tagNode == null ? void 0 : tagNode.text) || (node.type === 'plain_scalar' ? '?' : '!');
|
|
53
|
-
|
|
54
|
-
// eslint-disable-next-line no-nested-ternary
|
|
55
53
|
const kind = node.type.endsWith('mapping') ? _apidomAst.YamlNodeKind.Mapping : node.type.endsWith('sequence') ? _apidomAst.YamlNodeKind.Sequence : _apidomAst.YamlNodeKind.Scalar;
|
|
56
54
|
const position = tagNode ? toPosition(tagNode) : null;
|
|
57
55
|
return (0, _apidomAst.YamlTag)({
|
|
@@ -499,7 +497,6 @@ const CstVisitor = (0, _stampit.default)({
|
|
|
499
497
|
const position = toPosition(node);
|
|
500
498
|
const tag = kindNodeToYamlTag(node);
|
|
501
499
|
const anchor = kindNodeToYamlAnchor(node);
|
|
502
|
-
// eslint-disable-next-line no-nested-ternary
|
|
503
500
|
const style = node.text.startsWith('|') ? _apidomAst.YamlStyle.Literal : node.text.startsWith('>') ? _apidomAst.YamlStyle.Folded : null;
|
|
504
501
|
const scalarNode = (0, _apidomAst.YamlScalar)({
|
|
505
502
|
content: node.text,
|