@swagger-api/apidom-parser-adapter-asyncapi-yaml-3 1.7.0 → 1.9.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,14 @@
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.9.0](https://github.com/swagger-api/apidom/compare/v1.8.0...v1.9.0) (2026-03-30)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-yaml-3
9
+
10
+ # [1.8.0](https://github.com/swagger-api/apidom/compare/v1.7.0...v1.8.0) (2026-03-20)
11
+
12
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-yaml-3
13
+
6
14
  # [1.7.0](https://github.com/swagger-api/apidom/compare/v1.6.0...v1.7.0) (2026-03-17)
7
15
 
8
16
  ### Reverts
@@ -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,14 +19823,28 @@
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
  }
19830
+ if (currentTree !== null) {
19831
+ currentTree.delete();
19832
+ }
19838
19833
  currentTree = parser.parse(source);
19839
19834
  parser.reset();
19840
19835
  return currentTree;
19841
19836
  };
19842
19837
 
19838
+ /**
19839
+ * Lexical Analysis of source string using WebTreeSitter.
19840
+ * This is WebAssembly version of TreeSitters Lexical Analysis.
19841
+ *
19842
+ * Given JavaScript doesn't support true parallelism, this
19843
+ * code should be as lazy as possible and temporal safety should be fine.
19844
+ * @public
19845
+ */
19846
+ const analyze$1 = createAnalyze(treeSitterYaml);
19847
+
19843
19848
  class TreeCursorSyntaxNode {
19844
19849
  type;
19845
19850
  startPositionRow;
@@ -25231,6 +25236,24 @@
25231
25236
  this.element = 'jmsChannelBinding';
25232
25237
  this.classes.push('channel-binding');
25233
25238
  }
25239
+ get destination() {
25240
+ return this.get('destination');
25241
+ }
25242
+ set destination(destination) {
25243
+ this.set('destination', destination);
25244
+ }
25245
+ get destinationType() {
25246
+ return this.get('destinationType');
25247
+ }
25248
+ set destinationType(destinationType) {
25249
+ this.set('destinationType', destinationType);
25250
+ }
25251
+ get bindingVersion() {
25252
+ return this.get('bindingVersion');
25253
+ }
25254
+ set bindingVersion(bindingVersion) {
25255
+ this.set('bindingVersion', bindingVersion);
25256
+ }
25234
25257
  };
25235
25258
 
25236
25259
  /**
@@ -25242,6 +25265,18 @@
25242
25265
  this.element = 'jmsMessageBinding';
25243
25266
  this.classes.push('message-binding');
25244
25267
  }
25268
+ get headers() {
25269
+ return this.get('headers');
25270
+ }
25271
+ set headers(headers) {
25272
+ this.set('headers', headers);
25273
+ }
25274
+ get bindingVersion() {
25275
+ return this.get('bindingVersion');
25276
+ }
25277
+ set bindingVersion(bindingVersion) {
25278
+ this.set('bindingVersion', bindingVersion);
25279
+ }
25245
25280
  };
25246
25281
 
25247
25282
  /**
@@ -25264,6 +25299,30 @@
25264
25299
  this.element = 'jmsServerBinding';
25265
25300
  this.classes.push('server-binding');
25266
25301
  }
25302
+ get jmsConnectionFactory() {
25303
+ return this.get('jmsConnectionFactory');
25304
+ }
25305
+ set jmsConnectionFactory(jmsConnectionFactory) {
25306
+ this.set('jmsConnectionFactory', jmsConnectionFactory);
25307
+ }
25308
+ get properties() {
25309
+ return this.get('properties');
25310
+ }
25311
+ set properties(properties) {
25312
+ this.set('properties', properties);
25313
+ }
25314
+ get clientID() {
25315
+ return this.get('clientID');
25316
+ }
25317
+ set clientID(clientID) {
25318
+ this.set('clientID', clientID);
25319
+ }
25320
+ get bindingVersion() {
25321
+ return this.get('bindingVersion');
25322
+ }
25323
+ set bindingVersion(bindingVersion) {
25324
+ this.set('bindingVersion', bindingVersion);
25325
+ }
25267
25326
  };
25268
25327
 
25269
25328
  /**
@@ -25889,6 +25948,24 @@
25889
25948
  set destinations(destinations) {
25890
25949
  this.set('destinations', destinations);
25891
25950
  }
25951
+ get timeToLive() {
25952
+ return this.get('timeToLive');
25953
+ }
25954
+ set timeToLive(timeToLive) {
25955
+ this.set('timeToLive', timeToLive);
25956
+ }
25957
+ get priority() {
25958
+ return this.get('priority');
25959
+ }
25960
+ set priority(priority) {
25961
+ this.set('priority', priority);
25962
+ }
25963
+ get dmqEligible() {
25964
+ return this.get('dmqEligible');
25965
+ }
25966
+ set dmqEligible(dmqEligible) {
25967
+ this.set('dmqEligible', dmqEligible);
25968
+ }
25892
25969
  };
25893
25970
 
25894
25971
  /**
@@ -25912,6 +25989,12 @@
25912
25989
  set msgVpn(msgVpn) {
25913
25990
  this.set('msgVpn', msgVpn);
25914
25991
  }
25992
+ get clientName() {
25993
+ return this.get('clientName');
25994
+ }
25995
+ set clientName(clientName) {
25996
+ this.set('clientName', clientName);
25997
+ }
25915
25998
  };
25916
25999
 
25917
26000
  /**
@@ -25923,6 +26006,24 @@
25923
26006
  this.element = 'sqsChannelBinding';
25924
26007
  this.classes.push('channel-binding');
25925
26008
  }
26009
+ get queue() {
26010
+ return this.get('queue');
26011
+ }
26012
+ set queue(queue) {
26013
+ this.set('queue', queue);
26014
+ }
26015
+ get deadLetterQueue() {
26016
+ return this.get('deadLetterQueue');
26017
+ }
26018
+ set deadLetterQueue(deadLetterQueue) {
26019
+ this.set('deadLetterQueue', deadLetterQueue);
26020
+ }
26021
+ get bindingVersion() {
26022
+ return this.get('bindingVersion');
26023
+ }
26024
+ set bindingVersion(bindingVersion) {
26025
+ this.set('bindingVersion', bindingVersion);
26026
+ }
25926
26027
  };
25927
26028
 
25928
26029
  /**
@@ -25945,6 +26046,18 @@
25945
26046
  this.element = 'sqsOperationBinding';
25946
26047
  this.classes.push('operation-binding');
25947
26048
  }
26049
+ get queues() {
26050
+ return this.get('queues');
26051
+ }
26052
+ set queues(queues) {
26053
+ this.set('queues', queues);
26054
+ }
26055
+ get bindingVersion() {
26056
+ return this.get('bindingVersion');
26057
+ }
26058
+ set bindingVersion(bindingVersion) {
26059
+ this.set('bindingVersion', bindingVersion);
26060
+ }
25948
26061
  };
25949
26062
 
25950
26063
  /**
@@ -30985,16 +31098,47 @@
30985
31098
  },
30986
31099
  jms: {
30987
31100
  ServerBinding: {
30988
- $visitor: JmsServerBindingVisitor
31101
+ $visitor: JmsServerBindingVisitor,
31102
+ fixedFields: {
31103
+ jmsConnectionFactory: {
31104
+ $ref: '#/visitors/value'
31105
+ },
31106
+ properties: {
31107
+ $ref: '#/visitors/value'
31108
+ },
31109
+ clientID: {
31110
+ $ref: '#/visitors/value'
31111
+ },
31112
+ bindingVersion: {
31113
+ $ref: '#/visitors/value'
31114
+ }
31115
+ }
30989
31116
  },
30990
31117
  ChannelBinding: {
30991
- $visitor: JmsChannelBindingVisitor
31118
+ $visitor: JmsChannelBindingVisitor,
31119
+ fixedFields: {
31120
+ destination: {
31121
+ $ref: '#/visitors/value'
31122
+ },
31123
+ destinationType: {
31124
+ $ref: '#/visitors/value'
31125
+ },
31126
+ bindingVersion: {
31127
+ $ref: '#/visitors/value'
31128
+ }
31129
+ }
30992
31130
  },
30993
31131
  OperationBinding: {
30994
31132
  $visitor: JmsOperationBindingVisitor
30995
31133
  },
30996
31134
  MessageBinding: {
30997
- $visitor: JmsMessageBindingVisitor
31135
+ $visitor: JmsMessageBindingVisitor,
31136
+ fixedFields: {
31137
+ headers: SchemaVisitor$1,
31138
+ bindingVersion: {
31139
+ $ref: '#/visitors/value'
31140
+ }
31141
+ }
30998
31142
  }
30999
31143
  },
31000
31144
  sns: {
@@ -31020,6 +31164,9 @@
31020
31164
  },
31021
31165
  msgVpn: {
31022
31166
  $ref: '#/visitors/value'
31167
+ },
31168
+ clientName: {
31169
+ $ref: '#/visitors/value'
31023
31170
  }
31024
31171
  }
31025
31172
  },
@@ -31034,6 +31181,11 @@
31034
31181
  },
31035
31182
  destinations: {
31036
31183
  $ref: '#/visitors/value'
31184
+ },
31185
+ timeToLive: SchemaOrReferenceVisitor,
31186
+ priority: SchemaOrReferenceVisitor,
31187
+ dmqEligible: {
31188
+ $ref: '#/visitors/value'
31037
31189
  }
31038
31190
  }
31039
31191
  },
@@ -31046,10 +31198,29 @@
31046
31198
  $visitor: SqsServerBindingVisitor
31047
31199
  },
31048
31200
  ChannelBinding: {
31049
- $visitor: SqsChannelBindingVisitor
31201
+ $visitor: SqsChannelBindingVisitor,
31202
+ fixedFields: {
31203
+ queue: {
31204
+ $ref: '#/visitors/value'
31205
+ },
31206
+ deadLetterQueue: {
31207
+ $ref: '#/visitors/value'
31208
+ },
31209
+ bindingVersion: {
31210
+ $ref: '#/visitors/value'
31211
+ }
31212
+ }
31050
31213
  },
31051
31214
  OperationBinding: {
31052
- $visitor: SqsOperationBindingVisitor
31215
+ $visitor: SqsOperationBindingVisitor,
31216
+ fixedFields: {
31217
+ queues: {
31218
+ $ref: '#/visitors/value'
31219
+ },
31220
+ bindingVersion: {
31221
+ $ref: '#/visitors/value'
31222
+ }
31223
+ }
31053
31224
  },
31054
31225
  MessageBinding: {
31055
31226
  $visitor: SqsMessageBindingVisitor