@qraft/asyncapi-plugin 1.0.0-beta.6 → 1.0.0-beta.8

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.
Files changed (74) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/_vendor/@stoplight/json-ref-resolver/crawler.js +1 -1
  3. package/dist/_vendor/@stoplight/json-ref-resolver/runner.js +2 -2
  4. package/dist/_vendor/@stoplight/spectral-core/_vendor/brace-expansion/index.js +13 -10
  5. package/dist/_vendor/@stoplight/spectral-core/_vendor/brace-expansion/index.js.map +1 -1
  6. package/dist/_vendor/@stoplight/spectral-core/_vendor/minimatch/minimatch.js +160 -102
  7. package/dist/_vendor/@stoplight/spectral-core/_vendor/minimatch/minimatch.js.map +1 -1
  8. package/dist/_vendor/@stoplight/spectral-core/dist/document.js +2 -2
  9. package/dist/_vendor/@stoplight/spectral-core/dist/documentInventory.js +2 -2
  10. package/dist/_vendor/@stoplight/spectral-core/dist/ruleset/rule.js +2 -2
  11. package/dist/_vendor/@stoplight/spectral-core/dist/ruleset/ruleset.js +2 -2
  12. package/dist/_vendor/@stoplight/spectral-core/dist/ruleset/utils/guards.js +1 -1
  13. package/dist/_vendor/@stoplight/spectral-core/dist/ruleset/validation/assertions.js +1 -1
  14. package/dist/_vendor/@stoplight/spectral-core/dist/ruleset/validation/validators/alias.js +1 -1
  15. package/dist/_vendor/@stoplight/spectral-core/dist/runner/runner.js +1 -1
  16. package/dist/_vendor/@stoplight/spectral-core/dist/spectral.js +1 -1
  17. package/dist/_vendor/@stoplight/spectral-formats/dist/arazzo.js +1 -1
  18. package/dist/_vendor/@stoplight/spectral-formats/dist/asyncapi.js +1 -1
  19. package/dist/_vendor/@stoplight/spectral-formats/dist/jsonSchema.js +1 -1
  20. package/dist/_vendor/@stoplight/spectral-formats/dist/openapi.js +1 -1
  21. package/dist/_vendor/@stoplight/spectral-functions/dist/length.js +1 -1
  22. package/dist/_vendor/@stoplight/spectral-functions/dist/unreferencedReusableObject.js +1 -1
  23. package/dist/_vendor/@stoplight/spectral-parsers/dist/json.js +1 -1
  24. package/dist/_vendor/@stoplight/spectral-runtime/dist/reader.js +1 -1
  25. package/dist/_vendor/@stoplight/spectral-runtime/dist/utils/decodeSegmentFragment.js +1 -1
  26. package/dist/_vendor/@stoplight/spectral-runtime/dist/utils/index.js +1 -1
  27. package/dist/_vendor/@stoplight/spectral-runtime/dist/utils/printPath.js +1 -1
  28. package/dist/_vendor/@stoplight/spectral-runtime/dist/utils/printValue.js +1 -1
  29. package/dist/_vendor/@stoplight/spectral-runtime/dist/utils/refs.js +2 -2
  30. package/dist/_vendor/@stoplight/yaml/index.js +1 -1
  31. package/dist/_vendor/ajv/dist/refs/json-schema-2020-12/index.js +1 -1
  32. package/dist/_vendor/ajv/dist/vocabularies/applicator/index.js +1 -1
  33. package/dist/_vendor/ajv/dist/vocabularies/core/index.js +1 -1
  34. package/dist/_vendor/ajv/dist/vocabularies/dynamic/index.js +1 -1
  35. package/dist/_vendor/ajv/dist/vocabularies/format/index.js +1 -1
  36. package/dist/_vendor/ajv/dist/vocabularies/unevaluated/index.js +1 -1
  37. package/dist/_vendor/ajv/dist/vocabularies/validation/index.js +1 -1
  38. package/dist/_vendor/fast-uri/index.js +180 -83
  39. package/dist/_vendor/fast-uri/index.js.map +1 -1
  40. package/dist/_vendor/fast-uri/lib/schemes.js +163 -82
  41. package/dist/_vendor/fast-uri/lib/schemes.js.map +1 -1
  42. package/dist/_vendor/fast-uri/lib/utils.js +327 -128
  43. package/dist/_vendor/fast-uri/lib/utils.js.map +1 -1
  44. package/dist/_vendor/lodash/lodash.js +38 -27
  45. package/dist/_vendor/lodash/lodash.js.map +1 -1
  46. package/dist/_vendor/nimma/dist/legacy/cjs/codegen/fast-paths/index.js +1 -1
  47. package/dist/_vendor/nimma/dist/legacy/cjs/codegen/optimizer/index.js +1 -1
  48. package/dist/_vendor/safe-stable-stringify/index.js.map +1 -0
  49. package/dist/_vendor/safe-stable-stringify/stable.js.map +1 -0
  50. package/dist/_virtual/index.es.js +3 -3
  51. package/dist/_virtual/index.es2.js +3 -3
  52. package/dist/_virtual/index25.js +2 -2
  53. package/dist/_virtual/index26.js +2 -2
  54. package/dist/_virtual/index27.js +2 -2
  55. package/dist/_virtual/index28.js +2 -2
  56. package/dist/_virtual/index29.js +1 -1
  57. package/dist/_virtual/index38.js +2 -2
  58. package/dist/_virtual/index39.js +2 -2
  59. package/dist/_virtual/index54.js +2 -2
  60. package/dist/_virtual/index55.js +2 -2
  61. package/dist/_virtual/index56.js +2 -2
  62. package/dist/_virtual/index57.js +2 -2
  63. package/dist/_virtual/index59.js +2 -2
  64. package/dist/packageVersion.d.ts +1 -1
  65. package/dist/packageVersion.js +1 -1
  66. package/dist/packageVersion.js.map +1 -1
  67. package/package.json +4 -4
  68. package/src/packageVersion.ts +1 -1
  69. package/dist/_vendor/@stoplight/json/_vendor/safe-stable-stringify/index.js.map +0 -1
  70. package/dist/_vendor/@stoplight/json/_vendor/safe-stable-stringify/stable.js.map +0 -1
  71. package/dist/_vendor/fast-uri/lib/scopedChars.js +0 -40
  72. package/dist/_vendor/fast-uri/lib/scopedChars.js.map +0 -1
  73. /package/dist/_vendor/{@stoplight/json/_vendor/safe-stable-stringify → safe-stable-stringify}/index.js +0 -0
  74. /package/dist/_vendor/{@stoplight/json/_vendor/safe-stable-stringify → safe-stable-stringify}/stable.js +0 -0
@@ -23,7 +23,7 @@ function requireLodash () {
23
23
  var undefined$1;
24
24
 
25
25
  /** Used as the semantic version number. */
26
- var VERSION = '4.17.23';
26
+ var VERSION = '4.18.1';
27
27
 
28
28
  /** Used as the size to enable large array optimizations. */
29
29
  var LARGE_ARRAY_SIZE = 200;
@@ -31,7 +31,8 @@ function requireLodash () {
31
31
  /** Error message constants. */
32
32
  var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',
33
33
  FUNC_ERROR_TEXT = 'Expected a function',
34
- INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';
34
+ INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`',
35
+ INVALID_TEMPL_IMPORTS_ERROR_TEXT = 'Invalid `imports` option passed into `_.template`';
35
36
 
36
37
  /** Used to stand-in for `undefined` hash values. */
37
38
  var HASH_UNDEFINED = '__lodash_hash_undefined__';
@@ -1763,6 +1764,10 @@ function requireLodash () {
1763
1764
  * embedded Ruby (ERB) as well as ES2015 template strings. Change the
1764
1765
  * following template settings to use alternative delimiters.
1765
1766
  *
1767
+ * **Security:** See
1768
+ * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md)
1769
+ * — `_.template` is insecure and will be removed in v5.
1770
+ *
1766
1771
  * @static
1767
1772
  * @memberOf _
1768
1773
  * @type {Object}
@@ -2311,7 +2316,7 @@ function requireLodash () {
2311
2316
  * @name has
2312
2317
  * @memberOf SetCache
2313
2318
  * @param {*} value The value to search for.
2314
- * @returns {number} Returns `true` if `value` is found, else `false`.
2319
+ * @returns {boolean} Returns `true` if `value` is found, else `false`.
2315
2320
  */
2316
2321
  function setCacheHas(value) {
2317
2322
  return this.__data__.has(value);
@@ -4382,7 +4387,9 @@ function requireLodash () {
4382
4387
  function baseUnset(object, path) {
4383
4388
  path = castPath(path, object);
4384
4389
 
4385
- // Prevent prototype pollution, see: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
4390
+ // Prevent prototype pollution:
4391
+ // https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
4392
+ // https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
4386
4393
  var index = -1,
4387
4394
  length = path.length;
4388
4395
 
@@ -4390,32 +4397,17 @@ function requireLodash () {
4390
4397
  return true;
4391
4398
  }
4392
4399
 
4393
- var isRootPrimitive = object == null || (typeof object !== 'object' && typeof object !== 'function');
4394
-
4395
4400
  while (++index < length) {
4396
- var key = path[index];
4397
-
4398
- // skip non-string keys (e.g., Symbols, numbers)
4399
- if (typeof key !== 'string') {
4400
- continue;
4401
- }
4401
+ var key = toKey(path[index]);
4402
4402
 
4403
4403
  // Always block "__proto__" anywhere in the path if it's not expected
4404
4404
  if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
4405
4405
  return false;
4406
4406
  }
4407
4407
 
4408
- // Block "constructor.prototype" chains
4409
- if (key === 'constructor' &&
4410
- (index + 1) < length &&
4411
- typeof path[index + 1] === 'string' &&
4412
- path[index + 1] === 'prototype') {
4413
-
4414
- // Allow ONLY when the path starts at a primitive root, e.g., _.unset(0, 'constructor.prototype.a')
4415
- if (isRootPrimitive && index === 0) {
4416
- continue;
4417
- }
4418
-
4408
+ // Block constructor/prototype as non-terminal traversal keys to prevent
4409
+ // escaping the object graph into built-in constructors and prototypes.
4410
+ if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
4419
4411
  return false;
4420
4412
  }
4421
4413
  }
@@ -6972,7 +6964,7 @@ function requireLodash () {
6972
6964
 
6973
6965
  /**
6974
6966
  * Creates an array with all falsey values removed. The values `false`, `null`,
6975
- * `0`, `""`, `undefined`, and `NaN` are falsey.
6967
+ * `0`, `-0`, `0n`, `""`, `undefined`, and `NaN` are falsy.
6976
6968
  *
6977
6969
  * @static
6978
6970
  * @memberOf _
@@ -7511,7 +7503,7 @@ function requireLodash () {
7511
7503
 
7512
7504
  while (++index < length) {
7513
7505
  var pair = pairs[index];
7514
- result[pair[0]] = pair[1];
7506
+ baseAssignValue(result, pair[0], pair[1]);
7515
7507
  }
7516
7508
  return result;
7517
7509
  }
@@ -14171,6 +14163,8 @@ function requireLodash () {
14171
14163
  * **Note:** JavaScript follows the IEEE-754 standard for resolving
14172
14164
  * floating-point values which can produce unexpected results.
14173
14165
  *
14166
+ * **Note:** If `lower` is greater than `upper`, the values are swapped.
14167
+ *
14174
14168
  * @static
14175
14169
  * @memberOf _
14176
14170
  * @since 0.7.0
@@ -14184,9 +14178,16 @@ function requireLodash () {
14184
14178
  * _.random(0, 5);
14185
14179
  * // => an integer between 0 and 5
14186
14180
  *
14181
+ * // when lower is greater than upper the values are swapped
14182
+ * _.random(5, 0);
14183
+ * // => an integer between 0 and 5
14184
+ *
14187
14185
  * _.random(5);
14188
14186
  * // => also an integer between 0 and 5
14189
14187
  *
14188
+ * _.random(-5);
14189
+ * // => an integer between -5 and 0
14190
+ *
14190
14191
  * _.random(5, true);
14191
14192
  * // => a floating-point number between 0 and 5
14192
14193
  *
@@ -14788,6 +14789,10 @@ function requireLodash () {
14788
14789
  * properties may be accessed as free variables in the template. If a setting
14789
14790
  * object is given, it takes precedence over `_.templateSettings` values.
14790
14791
  *
14792
+ * **Security:** `_.template` is insecure and should not be used. It will be
14793
+ * removed in Lodash v5. Avoid untrusted input. See
14794
+ * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md).
14795
+ *
14791
14796
  * **Note:** In the development build `_.template` utilizes
14792
14797
  * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
14793
14798
  * for easier debugging.
@@ -14895,12 +14900,18 @@ function requireLodash () {
14895
14900
  options = undefined$1;
14896
14901
  }
14897
14902
  string = toString(string);
14898
- options = assignInWith({}, options, settings, customDefaultsAssignIn);
14903
+ options = assignWith({}, options, settings, customDefaultsAssignIn);
14899
14904
 
14900
- var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn),
14905
+ var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn),
14901
14906
  importsKeys = keys(imports),
14902
14907
  importsValues = baseValues(imports, importsKeys);
14903
14908
 
14909
+ arrayEach(importsKeys, function(key) {
14910
+ if (reForbiddenIdentifierChars.test(key)) {
14911
+ throw new Error(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
14912
+ }
14913
+ });
14914
+
14904
14915
  var isEscaping,
14905
14916
  isEvaluating,
14906
14917
  index = 0,