@swagger-api/apidom-parser-adapter-asyncapi-yaml-3 1.6.0 → 1.8.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 CHANGED
@@ -3,6 +3,16 @@
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
+ # [1.8.0](https://github.com/swagger-api/apidom/compare/v1.7.0...v1.8.0) (2026-03-20)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-yaml-3
9
+
10
+ # [1.7.0](https://github.com/swagger-api/apidom/compare/v1.6.0...v1.7.0) (2026-03-17)
11
+
12
+ ### Reverts
13
+
14
+ - Revert "chore(release): cut the v1.7.0 release [skip ci]" ([1d0010f](https://github.com/swagger-api/apidom/commit/1d0010f034f88e3d72096ed2689accffdd0a490b))
15
+
6
16
  # [1.6.0](https://github.com/swagger-api/apidom/compare/v1.5.1...v1.6.0) (2026-02-27)
7
17
 
8
18
  **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-yaml-3
@@ -16569,6 +16569,8 @@
16569
16569
  };
16570
16570
  }
16571
16571
 
16572
+ const treeSitterYaml = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/77eb67fad227c765659b848dfcc82388.wasm').href : new URL('77eb67fad227c765659b848dfcc82388.wasm', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || document.baseURI).href);
16573
+
16572
16574
  var treeSitter = {exports: {}};
16573
16575
 
16574
16576
  var hasRequiredTreeSitter;
@@ -19803,26 +19805,15 @@
19803
19805
  var treeSitterExports = requireTreeSitter();
19804
19806
  const Parser = /*@__PURE__*/getDefaultExportFromCjs(treeSitterExports);
19805
19807
 
19806
- const treeSitterYaml = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/9341421b411b868e3994f2d852da162b.wasm').href : new URL('9341421b411b868e3994f2d852da162b.wasm', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || document.baseURI).href);
19807
-
19808
19808
  let parser = null;
19809
19809
  let parserInitLock = null;
19810
19810
  let currentTree = null;
19811
-
19812
- /**
19813
- * Lexical Analysis of source string using WebTreeSitter.
19814
- * This is WebAssembly version of TreeSitters Lexical Analysis.
19815
- *
19816
- * Given JavaScript doesn't support true parallelism, this
19817
- * code should be as lazy as possible and temporal safety should be fine.
19818
- * @public
19819
- */
19820
- const analyze$1 = async source => {
19811
+ const createAnalyze = treeSitterYaml => async source => {
19821
19812
  if (parser === null && parserInitLock === null) {
19822
19813
  // acquire lock
19823
- parserInitLock = Parser.init().then(() => Parser.Language.load(treeSitterYaml)).then(jsonLanguage => {
19814
+ parserInitLock = Parser.init().then(() => Parser.Language.load(treeSitterYaml)).then(yamlLanguage => {
19824
19815
  const parserInstance = new Parser();
19825
- parserInstance.setLanguage(jsonLanguage);
19816
+ parserInstance.setLanguage(yamlLanguage);
19826
19817
  return parserInstance;
19827
19818
  }).finally(() => {
19828
19819
  // release lock
@@ -19832,7 +19823,8 @@
19832
19823
  } else if (parser === null && parserInitLock !== null) {
19833
19824
  // await for lock to be released if there is one
19834
19825
  parser = await parserInitLock;
19835
- } else if (parser === null) {
19826
+ }
19827
+ if (parser === null) {
19836
19828
  throw new ApiDOMError('Error while initializing web-tree-sitter and loading tree-sitter-yaml grammar.');
19837
19829
  }
19838
19830
  currentTree = parser.parse(source);
@@ -19840,6 +19832,16 @@
19840
19832
  return currentTree;
19841
19833
  };
19842
19834
 
19835
+ /**
19836
+ * Lexical Analysis of source string using WebTreeSitter.
19837
+ * This is WebAssembly version of TreeSitters Lexical Analysis.
19838
+ *
19839
+ * Given JavaScript doesn't support true parallelism, this
19840
+ * code should be as lazy as possible and temporal safety should be fine.
19841
+ * @public
19842
+ */
19843
+ const analyze$1 = createAnalyze(treeSitterYaml);
19844
+
19843
19845
  class TreeCursorSyntaxNode {
19844
19846
  type;
19845
19847
  startPositionRow;
@@ -25584,6 +25586,18 @@
25584
25586
  this.element = 'mqtt5ServerBinding';
25585
25587
  this.classes.push('server-binding');
25586
25588
  }
25589
+ get sessionExpiryInterval() {
25590
+ return this.get('sessionExpiryInterval');
25591
+ }
25592
+ set sessionExpiryInterval(sessionExpiryInterval) {
25593
+ this.set('sessionExpiryInterval', sessionExpiryInterval);
25594
+ }
25595
+ get bindingVersion() {
25596
+ return this.get('bindingVersion');
25597
+ }
25598
+ set bindingVersion(bindingVersion) {
25599
+ this.set('bindingVersion', bindingVersion);
25600
+ }
25587
25601
  };
25588
25602
 
25589
25603
  /**
@@ -30883,7 +30897,13 @@
30883
30897
  },
30884
30898
  mqtt5: {
30885
30899
  ServerBinding: {
30886
- $visitor: Mqtt5ServerBindingVisitor
30900
+ $visitor: Mqtt5ServerBindingVisitor,
30901
+ fixedFields: {
30902
+ sessionExpiryInterval: SchemaOrReferenceVisitor,
30903
+ bindingVersion: {
30904
+ $ref: '#/visitors/value'
30905
+ }
30906
+ }
30887
30907
  },
30888
30908
  ChannelBinding: {
30889
30909
  $visitor: Mqtt5ChannelBindingVisitor