@epilot/sdk 2.20.7-alpha.0 → 2.20.7

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/dist/bin/cli.js CHANGED
@@ -22,7 +22,7 @@ Examples:
22
22
  };
23
23
  var isYamlFile = (filePath) => filePath.endsWith(".yaml") || filePath.endsWith(".yml");
24
24
  var parseYaml = async (content) => {
25
- const { load } = await import("../js-yaml-UPZKYVRY.js");
25
+ const { load } = await import("../js-yaml-DLCVPJ7G.js");
26
26
  return load(content);
27
27
  };
28
28
  var readOverrides = () => {
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // ../../node_modules/js-yaml/dist/js-yaml.mjs
3
+ // ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/dist/js-yaml.mjs
4
4
  function isNothing(subject) {
5
5
  return typeof subject === "undefined" || subject === null;
6
6
  }
@@ -864,6 +864,18 @@ function charFromCodepoint(c) {
864
864
  (c - 65536 & 1023) + 56320
865
865
  );
866
866
  }
867
+ function setProperty(object, key, value) {
868
+ if (key === "__proto__") {
869
+ Object.defineProperty(object, key, {
870
+ configurable: true,
871
+ enumerable: true,
872
+ writable: true,
873
+ value
874
+ });
875
+ } else {
876
+ object[key] = value;
877
+ }
878
+ }
867
879
  var simpleEscapeCheck = new Array(256);
868
880
  var simpleEscapeMap = new Array(256);
869
881
  for (i = 0; i < 256; i++) {
@@ -983,7 +995,7 @@ function mergeMappings(state, destination, source, overridableKeys) {
983
995
  for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
984
996
  key = sourceKeys[index];
985
997
  if (!_hasOwnProperty$1.call(destination, key)) {
986
- destination[key] = source[key];
998
+ setProperty(destination, key, source[key]);
987
999
  overridableKeys[key] = true;
988
1000
  }
989
1001
  }
@@ -1023,16 +1035,7 @@ function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valu
1023
1035
  state.position = startPos || state.position;
1024
1036
  throwError(state, "duplicated mapping key");
1025
1037
  }
1026
- if (keyNode === "__proto__") {
1027
- Object.defineProperty(_result, keyNode, {
1028
- configurable: true,
1029
- enumerable: true,
1030
- writable: true,
1031
- value: valueNode
1032
- });
1033
- } else {
1034
- _result[keyNode] = valueNode;
1035
- }
1038
+ setProperty(_result, keyNode, valueNode);
1036
1039
  delete overridableKeys[keyNode];
1037
1040
  }
1038
1041
  return _result;
@@ -2620,7 +2623,6 @@ var jsYaml = {
2620
2623
  safeLoadAll,
2621
2624
  safeDump
2622
2625
  };
2623
- var js_yaml_default = jsYaml;
2624
2626
  export {
2625
2627
  CORE_SCHEMA,
2626
2628
  DEFAULT_SCHEMA,
@@ -2629,7 +2631,7 @@ export {
2629
2631
  Schema,
2630
2632
  Type,
2631
2633
  YAMLException,
2632
- js_yaml_default as default,
2634
+ jsYaml as default,
2633
2635
  dump,
2634
2636
  load,
2635
2637
  loadAll,
@@ -2641,5 +2643,5 @@ export {
2641
2643
  /*! Bundled license information:
2642
2644
 
2643
2645
  js-yaml/dist/js-yaml.mjs:
2644
- (*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
2646
+ (*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
2645
2647
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.20.7-alpha.0",
3
+ "version": "2.20.7",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",