@swagger-api/apidom-parser-adapter-asyncapi-yaml-3 1.8.0 → 1.10.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.10.0](https://github.com/swagger-api/apidom/compare/v1.9.0...v1.10.0) (2026-04-01)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-yaml-3
9
+
10
+ # [1.9.0](https://github.com/swagger-api/apidom/compare/v1.8.0...v1.9.0) (2026-03-30)
11
+
12
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-yaml-3
13
+
6
14
  # [1.8.0](https://github.com/swagger-api/apidom/compare/v1.7.0...v1.8.0) (2026-03-20)
7
15
 
8
16
  **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-yaml-3
@@ -19807,7 +19807,8 @@
19807
19807
 
19808
19808
  let parser = null;
19809
19809
  let parserInitLock = null;
19810
- let currentTree = null;
19810
+ const activeTrees = new Set();
19811
+ const MAX_ACTIVE_TREES = 5;
19811
19812
  const createAnalyze = treeSitterYaml => async source => {
19812
19813
  if (parser === null && parserInitLock === null) {
19813
19814
  // acquire lock
@@ -19827,9 +19828,28 @@
19827
19828
  if (parser === null) {
19828
19829
  throw new ApiDOMError('Error while initializing web-tree-sitter and loading tree-sitter-yaml grammar.');
19829
19830
  }
19830
- currentTree = parser.parse(source);
19831
+
19832
+ // prevent WASM OOM during concurrency spikes by evicting oldest trees
19833
+ // when the pool exceeds threshold; tree.delete() is idempotent so
19834
+ // callers that still hold a reference can safely call delete() again
19835
+ if (activeTrees.size >= MAX_ACTIVE_TREES) {
19836
+ const treesToEvict = [...activeTrees];
19837
+ activeTrees.clear();
19838
+ for (const oldTree of treesToEvict) {
19839
+ oldTree.delete();
19840
+ }
19841
+ }
19842
+ const tree = parser.parse(source);
19843
+ activeTrees.add(tree);
19844
+
19845
+ // remove from tracking when caller deletes
19846
+ const originalDelete = tree.delete;
19847
+ tree.delete = function deleteAndUntrack() {
19848
+ activeTrees.delete(this);
19849
+ originalDelete.call(this);
19850
+ };
19831
19851
  parser.reset();
19832
- return currentTree;
19852
+ return tree;
19833
19853
  };
19834
19854
 
19835
19855
  /**
@@ -20690,13 +20710,16 @@
20690
20710
  * @public
20691
20711
  */
20692
20712
  const detect$1 = async source => {
20713
+ let cst = null;
20693
20714
  try {
20694
- const cst = await analyze$1(source);
20695
- const isError = !cst.rootNode.isError;
20696
- cst.delete();
20697
- return isError;
20715
+ cst = await analyze$1(source);
20716
+ return !cst.rootNode.isError;
20698
20717
  } catch {
20699
20718
  return false;
20719
+ } finally {
20720
+ if (cst !== null) {
20721
+ cst.delete();
20722
+ }
20700
20723
  }
20701
20724
  };
20702
20725
 
@@ -20714,12 +20737,17 @@
20714
20737
  const parse$1 = async (source, {
20715
20738
  sourceMap = false
20716
20739
  } = {}) => {
20717
- const cst = await analyze$1(source);
20718
- const syntacticAnalysisResult = analyze(cst, {
20719
- sourceMap
20720
- });
20721
- cst.delete();
20722
- return syntacticAnalysisResult;
20740
+ let cst = null;
20741
+ try {
20742
+ cst = await analyze$1(source);
20743
+ return analyze(cst, {
20744
+ sourceMap
20745
+ });
20746
+ } finally {
20747
+ if (cst !== null) {
20748
+ cst.delete();
20749
+ }
20750
+ }
20723
20751
  };
20724
20752
 
20725
20753
  /**
@@ -25030,6 +25058,12 @@
25030
25058
  set headers(headers) {
25031
25059
  this.set('headers', headers);
25032
25060
  }
25061
+ get statusCode() {
25062
+ return this.get('statusCode');
25063
+ }
25064
+ set statusCode(statusCode) {
25065
+ this.set('statusCode', statusCode);
25066
+ }
25033
25067
  get bindingVersion() {
25034
25068
  return this.get('bindingVersion');
25035
25069
  }
@@ -25233,6 +25267,24 @@
25233
25267
  this.element = 'jmsChannelBinding';
25234
25268
  this.classes.push('channel-binding');
25235
25269
  }
25270
+ get destination() {
25271
+ return this.get('destination');
25272
+ }
25273
+ set destination(destination) {
25274
+ this.set('destination', destination);
25275
+ }
25276
+ get destinationType() {
25277
+ return this.get('destinationType');
25278
+ }
25279
+ set destinationType(destinationType) {
25280
+ this.set('destinationType', destinationType);
25281
+ }
25282
+ get bindingVersion() {
25283
+ return this.get('bindingVersion');
25284
+ }
25285
+ set bindingVersion(bindingVersion) {
25286
+ this.set('bindingVersion', bindingVersion);
25287
+ }
25236
25288
  };
25237
25289
 
25238
25290
  /**
@@ -25244,6 +25296,18 @@
25244
25296
  this.element = 'jmsMessageBinding';
25245
25297
  this.classes.push('message-binding');
25246
25298
  }
25299
+ get headers() {
25300
+ return this.get('headers');
25301
+ }
25302
+ set headers(headers) {
25303
+ this.set('headers', headers);
25304
+ }
25305
+ get bindingVersion() {
25306
+ return this.get('bindingVersion');
25307
+ }
25308
+ set bindingVersion(bindingVersion) {
25309
+ this.set('bindingVersion', bindingVersion);
25310
+ }
25247
25311
  };
25248
25312
 
25249
25313
  /**
@@ -25266,6 +25330,30 @@
25266
25330
  this.element = 'jmsServerBinding';
25267
25331
  this.classes.push('server-binding');
25268
25332
  }
25333
+ get jmsConnectionFactory() {
25334
+ return this.get('jmsConnectionFactory');
25335
+ }
25336
+ set jmsConnectionFactory(jmsConnectionFactory) {
25337
+ this.set('jmsConnectionFactory', jmsConnectionFactory);
25338
+ }
25339
+ get properties() {
25340
+ return this.get('properties');
25341
+ }
25342
+ set properties(properties) {
25343
+ this.set('properties', properties);
25344
+ }
25345
+ get clientID() {
25346
+ return this.get('clientID');
25347
+ }
25348
+ set clientID(clientID) {
25349
+ this.set('clientID', clientID);
25350
+ }
25351
+ get bindingVersion() {
25352
+ return this.get('bindingVersion');
25353
+ }
25354
+ set bindingVersion(bindingVersion) {
25355
+ this.set('bindingVersion', bindingVersion);
25356
+ }
25269
25357
  };
25270
25358
 
25271
25359
  /**
@@ -25295,6 +25383,12 @@
25295
25383
  set replicas(replicas) {
25296
25384
  this.set('replicas', replicas);
25297
25385
  }
25386
+ get topicConfiguration() {
25387
+ return this.get('topicConfiguration');
25388
+ }
25389
+ set topicConfiguration(topicConfiguration) {
25390
+ this.set('topicConfiguration', topicConfiguration);
25391
+ }
25298
25392
  get bindingVersion() {
25299
25393
  return this.get('bindingVersion');
25300
25394
  }
@@ -25466,6 +25560,30 @@
25466
25560
  this.element = 'mqttMessageBinding';
25467
25561
  this.classes.push('message-binding');
25468
25562
  }
25563
+ get payloadFormatIndicator() {
25564
+ return this.get('payloadFormatIndicator');
25565
+ }
25566
+ set payloadFormatIndicator(payloadFormatIndicator) {
25567
+ this.set('payloadFormatIndicator', payloadFormatIndicator);
25568
+ }
25569
+ get correlationData() {
25570
+ return this.get('correlationData');
25571
+ }
25572
+ set correlationData(correlationData) {
25573
+ this.set('correlationData', correlationData);
25574
+ }
25575
+ get contentType() {
25576
+ return this.get('contentType');
25577
+ }
25578
+ set contentType(contentType) {
25579
+ this.set('contentType', contentType);
25580
+ }
25581
+ get responseTopic() {
25582
+ return this.get('responseTopic');
25583
+ }
25584
+ set responseTopic(responseTopic) {
25585
+ this.set('responseTopic', responseTopic);
25586
+ }
25469
25587
  get bindingVersion() {
25470
25588
  return this.get('bindingVersion');
25471
25589
  }
@@ -25495,6 +25613,12 @@
25495
25613
  set retain(retain) {
25496
25614
  this.set('retain', retain);
25497
25615
  }
25616
+ get messageExpiryInterval() {
25617
+ return this.get('messageExpiryInterval');
25618
+ }
25619
+ set messageExpiryInterval(messageExpiryInterval) {
25620
+ this.set('messageExpiryInterval', messageExpiryInterval);
25621
+ }
25498
25622
  get bindingVersion() {
25499
25623
  return this.get('bindingVersion');
25500
25624
  }
@@ -25536,6 +25660,18 @@
25536
25660
  set keepAlive(keepAlive) {
25537
25661
  this.set('keepAlive', keepAlive);
25538
25662
  }
25663
+ get sessionExpiryInterval() {
25664
+ return this.get('sessionExpiryInterval');
25665
+ }
25666
+ set sessionExpiryInterval(sessionExpiryInterval) {
25667
+ this.set('sessionExpiryInterval', sessionExpiryInterval);
25668
+ }
25669
+ get maximumPacketSize() {
25670
+ return this.get('maximumPacketSize');
25671
+ }
25672
+ set maximumPacketSize(maximumPacketSize) {
25673
+ this.set('maximumPacketSize', maximumPacketSize);
25674
+ }
25539
25675
  get bindingVersion() {
25540
25676
  return this.get('bindingVersion');
25541
25677
  }
@@ -25813,6 +25949,36 @@
25813
25949
  this.element = 'snsChannelBinding';
25814
25950
  this.classes.push('channel-binding');
25815
25951
  }
25952
+ get name() {
25953
+ return this.get('name');
25954
+ }
25955
+ set name(name) {
25956
+ this.set('name', name);
25957
+ }
25958
+ get ordering() {
25959
+ return this.get('ordering');
25960
+ }
25961
+ set ordering(ordering) {
25962
+ this.set('ordering', ordering);
25963
+ }
25964
+ get policy() {
25965
+ return this.get('policy');
25966
+ }
25967
+ set policy(policy) {
25968
+ this.set('policy', policy);
25969
+ }
25970
+ get tags() {
25971
+ return this.get('tags');
25972
+ }
25973
+ set tags(tags) {
25974
+ this.set('tags', tags);
25975
+ }
25976
+ get bindingVersion() {
25977
+ return this.get('bindingVersion');
25978
+ }
25979
+ set bindingVersion(bindingVersion) {
25980
+ this.set('bindingVersion', bindingVersion);
25981
+ }
25816
25982
  };
25817
25983
 
25818
25984
  /**
@@ -25835,6 +26001,30 @@
25835
26001
  this.element = 'snsOperationBinding';
25836
26002
  this.classes.push('operation-binding');
25837
26003
  }
26004
+ get topic() {
26005
+ return this.get('topic');
26006
+ }
26007
+ set topic(topic) {
26008
+ this.set('topic', topic);
26009
+ }
26010
+ get consumers() {
26011
+ return this.get('consumers');
26012
+ }
26013
+ set consumers(consumers) {
26014
+ this.set('consumers', consumers);
26015
+ }
26016
+ get deliveryPolicy() {
26017
+ return this.get('deliveryPolicy');
26018
+ }
26019
+ set deliveryPolicy(deliveryPolicy) {
26020
+ this.set('deliveryPolicy', deliveryPolicy);
26021
+ }
26022
+ get bindingVersion() {
26023
+ return this.get('bindingVersion');
26024
+ }
26025
+ set bindingVersion(bindingVersion) {
26026
+ this.set('bindingVersion', bindingVersion);
26027
+ }
25838
26028
  };
25839
26029
 
25840
26030
  /**
@@ -25891,6 +26081,24 @@
25891
26081
  set destinations(destinations) {
25892
26082
  this.set('destinations', destinations);
25893
26083
  }
26084
+ get timeToLive() {
26085
+ return this.get('timeToLive');
26086
+ }
26087
+ set timeToLive(timeToLive) {
26088
+ this.set('timeToLive', timeToLive);
26089
+ }
26090
+ get priority() {
26091
+ return this.get('priority');
26092
+ }
26093
+ set priority(priority) {
26094
+ this.set('priority', priority);
26095
+ }
26096
+ get dmqEligible() {
26097
+ return this.get('dmqEligible');
26098
+ }
26099
+ set dmqEligible(dmqEligible) {
26100
+ this.set('dmqEligible', dmqEligible);
26101
+ }
25894
26102
  };
25895
26103
 
25896
26104
  /**
@@ -25914,6 +26122,12 @@
25914
26122
  set msgVpn(msgVpn) {
25915
26123
  this.set('msgVpn', msgVpn);
25916
26124
  }
26125
+ get clientName() {
26126
+ return this.get('clientName');
26127
+ }
26128
+ set clientName(clientName) {
26129
+ this.set('clientName', clientName);
26130
+ }
25917
26131
  };
25918
26132
 
25919
26133
  /**
@@ -25925,6 +26139,24 @@
25925
26139
  this.element = 'sqsChannelBinding';
25926
26140
  this.classes.push('channel-binding');
25927
26141
  }
26142
+ get queue() {
26143
+ return this.get('queue');
26144
+ }
26145
+ set queue(queue) {
26146
+ this.set('queue', queue);
26147
+ }
26148
+ get deadLetterQueue() {
26149
+ return this.get('deadLetterQueue');
26150
+ }
26151
+ set deadLetterQueue(deadLetterQueue) {
26152
+ this.set('deadLetterQueue', deadLetterQueue);
26153
+ }
26154
+ get bindingVersion() {
26155
+ return this.get('bindingVersion');
26156
+ }
26157
+ set bindingVersion(bindingVersion) {
26158
+ this.set('bindingVersion', bindingVersion);
26159
+ }
25928
26160
  };
25929
26161
 
25930
26162
  /**
@@ -25947,6 +26179,18 @@
25947
26179
  this.element = 'sqsOperationBinding';
25948
26180
  this.classes.push('operation-binding');
25949
26181
  }
26182
+ get queues() {
26183
+ return this.get('queues');
26184
+ }
26185
+ set queues(queues) {
26186
+ this.set('queues', queues);
26187
+ }
26188
+ get bindingVersion() {
26189
+ return this.get('bindingVersion');
26190
+ }
26191
+ set bindingVersion(bindingVersion) {
26192
+ this.set('bindingVersion', bindingVersion);
26193
+ }
25950
26194
  };
25951
26195
 
25952
26196
  /**
@@ -30638,6 +30882,9 @@
30638
30882
  $visitor: HttpMessageBindingVisitor,
30639
30883
  fixedFields: {
30640
30884
  headers: SchemaOrReferenceVisitor,
30885
+ statusCode: {
30886
+ $ref: '#/visitors/value'
30887
+ },
30641
30888
  bindingVersion: {
30642
30889
  $ref: '#/visitors/value'
30643
30890
  }
@@ -30695,6 +30942,9 @@
30695
30942
  replicas: {
30696
30943
  $ref: '#/visitors/value'
30697
30944
  },
30945
+ topicConfiguration: {
30946
+ $ref: '#/visitors/value'
30947
+ },
30698
30948
  bindingVersion: {
30699
30949
  $ref: '#/visitors/value'
30700
30950
  }
@@ -30864,6 +31114,8 @@
30864
31114
  keepAlive: {
30865
31115
  $ref: '#/visitors/value'
30866
31116
  },
31117
+ sessionExpiryInterval: SchemaOrReferenceVisitor,
31118
+ maximumPacketSize: SchemaOrReferenceVisitor,
30867
31119
  bindingVersion: {
30868
31120
  $ref: '#/visitors/value'
30869
31121
  }
@@ -30881,6 +31133,7 @@
30881
31133
  retain: {
30882
31134
  $ref: '#/visitors/value'
30883
31135
  },
31136
+ messageExpiryInterval: SchemaOrReferenceVisitor,
30884
31137
  bindingVersion: {
30885
31138
  $ref: '#/visitors/value'
30886
31139
  }
@@ -30889,6 +31142,14 @@
30889
31142
  MessageBinding: {
30890
31143
  $visitor: MqttMessageBindingVisitor,
30891
31144
  fixedFields: {
31145
+ payloadFormatIndicator: {
31146
+ $ref: '#/visitors/value'
31147
+ },
31148
+ correlationData: SchemaOrReferenceVisitor,
31149
+ contentType: {
31150
+ $ref: '#/visitors/value'
31151
+ },
31152
+ responseTopic: SchemaOrReferenceVisitor,
30892
31153
  bindingVersion: {
30893
31154
  $ref: '#/visitors/value'
30894
31155
  }
@@ -30987,16 +31248,47 @@
30987
31248
  },
30988
31249
  jms: {
30989
31250
  ServerBinding: {
30990
- $visitor: JmsServerBindingVisitor
31251
+ $visitor: JmsServerBindingVisitor,
31252
+ fixedFields: {
31253
+ jmsConnectionFactory: {
31254
+ $ref: '#/visitors/value'
31255
+ },
31256
+ properties: {
31257
+ $ref: '#/visitors/value'
31258
+ },
31259
+ clientID: {
31260
+ $ref: '#/visitors/value'
31261
+ },
31262
+ bindingVersion: {
31263
+ $ref: '#/visitors/value'
31264
+ }
31265
+ }
30991
31266
  },
30992
31267
  ChannelBinding: {
30993
- $visitor: JmsChannelBindingVisitor
31268
+ $visitor: JmsChannelBindingVisitor,
31269
+ fixedFields: {
31270
+ destination: {
31271
+ $ref: '#/visitors/value'
31272
+ },
31273
+ destinationType: {
31274
+ $ref: '#/visitors/value'
31275
+ },
31276
+ bindingVersion: {
31277
+ $ref: '#/visitors/value'
31278
+ }
31279
+ }
30994
31280
  },
30995
31281
  OperationBinding: {
30996
31282
  $visitor: JmsOperationBindingVisitor
30997
31283
  },
30998
31284
  MessageBinding: {
30999
- $visitor: JmsMessageBindingVisitor
31285
+ $visitor: JmsMessageBindingVisitor,
31286
+ fixedFields: {
31287
+ headers: SchemaVisitor$1,
31288
+ bindingVersion: {
31289
+ $ref: '#/visitors/value'
31290
+ }
31291
+ }
31000
31292
  }
31001
31293
  },
31002
31294
  sns: {
@@ -31004,10 +31296,41 @@
31004
31296
  $visitor: SnsServerBindingVisitor
31005
31297
  },
31006
31298
  ChannelBinding: {
31007
- $visitor: SnsChannelBindingVisitor
31299
+ $visitor: SnsChannelBindingVisitor,
31300
+ fixedFields: {
31301
+ name: {
31302
+ $ref: '#/visitors/value'
31303
+ },
31304
+ ordering: {
31305
+ $ref: '#/visitors/value'
31306
+ },
31307
+ policy: {
31308
+ $ref: '#/visitors/value'
31309
+ },
31310
+ tags: {
31311
+ $ref: '#/visitors/value'
31312
+ },
31313
+ bindingVersion: {
31314
+ $ref: '#/visitors/value'
31315
+ }
31316
+ }
31008
31317
  },
31009
31318
  OperationBinding: {
31010
- $visitor: SnsOperationBindingVisitor
31319
+ $visitor: SnsOperationBindingVisitor,
31320
+ fixedFields: {
31321
+ topic: {
31322
+ $ref: '#/visitors/value'
31323
+ },
31324
+ consumers: {
31325
+ $ref: '#/visitors/value'
31326
+ },
31327
+ deliveryPolicy: {
31328
+ $ref: '#/visitors/value'
31329
+ },
31330
+ bindingVersion: {
31331
+ $ref: '#/visitors/value'
31332
+ }
31333
+ }
31011
31334
  },
31012
31335
  MessageBinding: {
31013
31336
  $visitor: SnsMessageBindingVisitor
@@ -31022,6 +31345,9 @@
31022
31345
  },
31023
31346
  msgVpn: {
31024
31347
  $ref: '#/visitors/value'
31348
+ },
31349
+ clientName: {
31350
+ $ref: '#/visitors/value'
31025
31351
  }
31026
31352
  }
31027
31353
  },
@@ -31036,6 +31362,11 @@
31036
31362
  },
31037
31363
  destinations: {
31038
31364
  $ref: '#/visitors/value'
31365
+ },
31366
+ timeToLive: SchemaOrReferenceVisitor,
31367
+ priority: SchemaOrReferenceVisitor,
31368
+ dmqEligible: {
31369
+ $ref: '#/visitors/value'
31039
31370
  }
31040
31371
  }
31041
31372
  },
@@ -31048,10 +31379,29 @@
31048
31379
  $visitor: SqsServerBindingVisitor
31049
31380
  },
31050
31381
  ChannelBinding: {
31051
- $visitor: SqsChannelBindingVisitor
31382
+ $visitor: SqsChannelBindingVisitor,
31383
+ fixedFields: {
31384
+ queue: {
31385
+ $ref: '#/visitors/value'
31386
+ },
31387
+ deadLetterQueue: {
31388
+ $ref: '#/visitors/value'
31389
+ },
31390
+ bindingVersion: {
31391
+ $ref: '#/visitors/value'
31392
+ }
31393
+ }
31052
31394
  },
31053
31395
  OperationBinding: {
31054
- $visitor: SqsOperationBindingVisitor
31396
+ $visitor: SqsOperationBindingVisitor,
31397
+ fixedFields: {
31398
+ queues: {
31399
+ $ref: '#/visitors/value'
31400
+ },
31401
+ bindingVersion: {
31402
+ $ref: '#/visitors/value'
31403
+ }
31404
+ }
31055
31405
  },
31056
31406
  MessageBinding: {
31057
31407
  $visitor: SqsMessageBindingVisitor