@kubb/agent 4.33.5 → 4.34.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.
Files changed (59) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/server/chunks/nitro/nitro.mjs +22 -4176
  3. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  4. package/.output/server/chunks/routes/api/health.get.mjs +1 -0
  5. package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
  6. package/.output/server/index.mjs +1 -0
  7. package/.output/server/index.mjs.map +1 -1
  8. package/.output/server/node_modules/@stoplight/ordered-object-literal/package.json +53 -0
  9. package/.output/server/node_modules/@stoplight/ordered-object-literal/src/index.cjs +221 -0
  10. package/.output/server/node_modules/@stoplight/types/dist/index.js +129 -0
  11. package/.output/server/node_modules/@stoplight/types/package.json +81 -0
  12. package/.output/server/node_modules/@stoplight/yaml/buildJsonPath.js +41 -0
  13. package/.output/server/node_modules/@stoplight/yaml/dereferenceAnchor.js +38 -0
  14. package/.output/server/node_modules/@stoplight/yaml/getJsonPathForPosition.js +98 -0
  15. package/.output/server/node_modules/@stoplight/yaml/getLocationForJsonPath.js +145 -0
  16. package/.output/server/node_modules/@stoplight/yaml/index.js +16 -0
  17. package/.output/server/node_modules/@stoplight/yaml/lineForPosition.js +31 -0
  18. package/.output/server/node_modules/@stoplight/yaml/package.json +33 -0
  19. package/.output/server/node_modules/@stoplight/yaml/parse.js +5 -0
  20. package/.output/server/node_modules/@stoplight/yaml/parseWithPointers.js +456 -0
  21. package/.output/server/node_modules/@stoplight/yaml/safeStringify.js +5 -0
  22. package/.output/server/node_modules/@stoplight/yaml/trapAccess.js +11 -0
  23. package/.output/server/node_modules/@stoplight/yaml/types.js +6 -0
  24. package/.output/server/node_modules/@stoplight/yaml/utils.js +4 -0
  25. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/common.js +45 -0
  26. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/dumper.js +710 -0
  27. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/exception.js +35 -0
  28. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/index.js +22 -0
  29. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/loader.js +1414 -0
  30. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/mark.js +58 -0
  31. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/scalarInference.js +90 -0
  32. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/core.js +8 -0
  33. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_full.js +14 -0
  34. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_safe.js +19 -0
  35. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/failsafe.js +10 -0
  36. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/json.js +14 -0
  37. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema.js +77 -0
  38. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/binary.js +92 -0
  39. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/bool.js +32 -0
  40. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/float.js +94 -0
  41. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/int.js +159 -0
  42. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/regexp.js +64 -0
  43. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/undefined.js +22 -0
  44. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/map.js +7 -0
  45. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/merge.js +10 -0
  46. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/null.js +30 -0
  47. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/omap.js +46 -0
  48. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/pairs.js +55 -0
  49. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/seq.js +7 -0
  50. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/set.js +22 -0
  51. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/str.js +7 -0
  52. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/timestamp.js +70 -0
  53. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type.js +53 -0
  54. package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/yamlAST.js +81 -0
  55. package/.output/server/node_modules/@stoplight/yaml-ast-parser/package.json +38 -0
  56. package/.output/server/node_modules/tslib/package.json +47 -0
  57. package/.output/server/node_modules/tslib/tslib.js +484 -0
  58. package/.output/server/package.json +6 -1
  59. package/package.json +16 -16
@@ -0,0 +1,35 @@
1
+ 'use strict';
2
+ class YAMLException {
3
+ constructor(reason, mark = null, isWarning = false) {
4
+ this.name = 'YAMLException';
5
+ this.reason = reason;
6
+ this.mark = mark;
7
+ this.message = this.toString(false);
8
+ this.isWarning = isWarning;
9
+ }
10
+ static isInstance(instance) {
11
+ if (instance != null && instance.getClassIdentifier
12
+ && typeof (instance.getClassIdentifier) == "function") {
13
+ for (let currentIdentifier of instance.getClassIdentifier()) {
14
+ if (currentIdentifier == YAMLException.CLASS_IDENTIFIER)
15
+ return true;
16
+ }
17
+ }
18
+ return false;
19
+ }
20
+ getClassIdentifier() {
21
+ var superIdentifiers = [];
22
+ return superIdentifiers.concat(YAMLException.CLASS_IDENTIFIER);
23
+ }
24
+ toString(compact = false) {
25
+ var result;
26
+ result = 'JS-YAML: ' + (this.reason || '(unknown reason)');
27
+ if (!compact && this.mark) {
28
+ result += ' ' + this.mark.toString();
29
+ }
30
+ return result;
31
+ }
32
+ }
33
+ YAMLException.CLASS_IDENTIFIER = "yaml-ast-parser.YAMLException";
34
+ module.exports = YAMLException;
35
+ //# sourceMappingURL=exception.js.map
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ function __export(m) {
3
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
+ }
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var loader_1 = require("./loader");
7
+ exports.load = loader_1.load;
8
+ exports.loadAll = loader_1.loadAll;
9
+ exports.safeLoad = loader_1.safeLoad;
10
+ exports.safeLoadAll = loader_1.safeLoadAll;
11
+ var dumper_1 = require("./dumper");
12
+ exports.dump = dumper_1.dump;
13
+ exports.safeDump = dumper_1.safeDump;
14
+ exports.YAMLException = require("./exception");
15
+ __export(require("./yamlAST"));
16
+ function deprecated(name) {
17
+ return function () {
18
+ throw new Error('Function ' + name + ' is deprecated and cannot be used.');
19
+ };
20
+ }
21
+ __export(require("./scalarInference"));
22
+ //# sourceMappingURL=index.js.map