aws-delivlib 13.6.4 → 13.7.2

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 (55) hide show
  1. package/.gitattributes +0 -1
  2. package/cdk.out/{asset.7820644cf1fdec7cec290ed6fdd561e35f4015d4dcf03a20f8035dda3c0ac88a → asset.66b99756ae087cd731a655763245d55e9435c1657dc62d0c5a421806e223e6b2}/watcher-handler.d.ts +0 -0
  3. package/cdk.out/asset.66b99756ae087cd731a655763245d55e9435c1657dc62d0c5a421806e223e6b2/watcher-handler.js +112 -0
  4. package/cdk.out/{asset.7820644cf1fdec7cec290ed6fdd561e35f4015d4dcf03a20f8035dda3c0ac88a → asset.66b99756ae087cd731a655763245d55e9435c1657dc62d0c5a421806e223e6b2}/watcher-handler.ts +0 -0
  5. package/cdk.out/{asset.0ff875115bf3a3ba9f32946b1f2b9b153553ecba0e511c42ac11bef064968c40 → asset.ca50c9b7760151d8e8ce6e39851032d4eff4836ea1ee806eaa944aaef110a353}/index.js +154 -120
  6. package/cdk.out/cdk.out +1 -1
  7. package/cdk.out/delivlib-test.assets.json +9 -9
  8. package/cdk.out/delivlib-test.template.json +7710 -7710
  9. package/cdk.out/manifest.json +1230 -1230
  10. package/cdk.out/tree.json +403 -403
  11. package/lib/change-control-lambda/disable-transition.js +6 -2
  12. package/lib/change-control-lambda/index.js +6 -2
  13. package/lib/change-controller.js +6 -2
  14. package/lib/chime-notifier/chime-notifier.js +6 -2
  15. package/lib/chime-notifier/handler/notifier-handler.js +6 -2
  16. package/lib/chime-notifier/index.js +6 -2
  17. package/lib/code-signing/certificate-signing-request.js +6 -2
  18. package/lib/code-signing/code-signing-certificate.js +6 -2
  19. package/lib/code-signing/index.js +6 -2
  20. package/lib/code-signing/private-key.js +6 -2
  21. package/lib/custom-resource-handlers/src/_cloud-formation.js +6 -2
  22. package/lib/custom-resource-handlers/src/_exec.js +6 -2
  23. package/lib/custom-resource-handlers/src/_rmrf.js +6 -2
  24. package/lib/custom-resource-handlers/src/certificate-signing-request.js +6 -2
  25. package/lib/custom-resource-handlers/src/certificate-signing-request.tsbuildinfo +1 -1
  26. package/lib/custom-resource-handlers/src/pgp-secret.js +6 -2
  27. package/lib/custom-resource-handlers/src/pgp-secret.tsbuildinfo +1 -1
  28. package/lib/custom-resource-handlers/src/private-key.js +6 -2
  29. package/lib/custom-resource-handlers/src/private-key.tsbuildinfo +1 -1
  30. package/lib/index.js +6 -2
  31. package/lib/open-pgp-key-pair.js +6 -2
  32. package/lib/package-integrity/handler/integrity.js +6 -2
  33. package/lib/package-integrity/handler/repository.js +6 -2
  34. package/lib/package-integrity/handler/validate.bundle.js +16255 -5395
  35. package/lib/package-integrity/index.js +6 -2
  36. package/lib/package-integrity/integrity.js +6 -2
  37. package/lib/pipeline-notifications/chime.js +6 -2
  38. package/lib/pipeline-notifications/index.js +6 -2
  39. package/lib/pipeline-notifications/slack.js +6 -2
  40. package/lib/pipeline-watcher/handler/watcher-handler.js +6 -2
  41. package/lib/pipeline-watcher/index.js +6 -2
  42. package/lib/pipeline-watcher/watcher.js +6 -2
  43. package/lib/pipeline.d.ts +1 -0
  44. package/lib/pipeline.js +12 -2
  45. package/lib/pipeline.ts +7 -0
  46. package/lib/publishing.js +6 -2
  47. package/lib/pull-request/bump.js +6 -2
  48. package/lib/pull-request/index.js +6 -2
  49. package/lib/pull-request/merge-back.js +6 -2
  50. package/lib/pull-request/pr.js +6 -2
  51. package/lib/registry-sync/index.js +6 -2
  52. package/lib/shellable.js +6 -2
  53. package/lib/util.js +6 -2
  54. package/package.json +20 -20
  55. package/cdk.out/asset.7820644cf1fdec7cec290ed6fdd561e35f4015d4dcf03a20f8035dda3c0ac88a/watcher-handler.js +0 -108
@@ -4,7 +4,6 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
7
  var __commonJS = (cb, mod) => function __require() {
9
8
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
9
  };
@@ -12,22 +11,16 @@ var __export = (target, all) => {
12
11
  for (var name in all)
13
12
  __defProp(target, name, { get: all[name], enumerable: true });
14
13
  };
15
- var __reExport = (target, module2, copyDefault, desc) => {
16
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
17
- for (let key of __getOwnPropNames(module2))
18
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
19
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
14
+ var __copyProps = (to, from, except, desc) => {
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from))
17
+ if (!__hasOwnProp.call(to, key) && key !== except)
18
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
20
19
  }
21
- return target;
20
+ return to;
22
21
  };
23
- var __toESM = (module2, isNodeMode) => {
24
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
25
- };
26
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
27
- return (module2, temp) => {
28
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
29
- };
30
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
23
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
31
24
 
32
25
  // node_modules/axios/lib/helpers/bind.js
33
26
  var require_bind = __commonJS({
@@ -52,7 +45,7 @@ var require_utils = __commonJS({
52
45
  var bind = require_bind();
53
46
  var toString = Object.prototype.toString;
54
47
  function isArray(val) {
55
- return toString.call(val) === "[object Array]";
48
+ return Array.isArray(val);
56
49
  }
57
50
  function isUndefined(val) {
58
51
  return typeof val === "undefined";
@@ -64,14 +57,14 @@ var require_utils = __commonJS({
64
57
  return toString.call(val) === "[object ArrayBuffer]";
65
58
  }
66
59
  function isFormData(val) {
67
- return typeof FormData !== "undefined" && val instanceof FormData;
60
+ return toString.call(val) === "[object FormData]";
68
61
  }
69
62
  function isArrayBufferView(val) {
70
63
  var result;
71
64
  if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
72
65
  result = ArrayBuffer.isView(val);
73
66
  } else {
74
- result = val && val.buffer && val.buffer instanceof ArrayBuffer;
67
+ result = val && val.buffer && isArrayBuffer(val.buffer);
75
68
  }
76
69
  return result;
77
70
  }
@@ -107,7 +100,7 @@ var require_utils = __commonJS({
107
100
  return isObject(val) && isFunction(val.pipe);
108
101
  }
109
102
  function isURLSearchParams(val) {
110
- return typeof URLSearchParams !== "undefined" && val instanceof URLSearchParams;
103
+ return toString.call(val) === "[object URLSearchParams]";
111
104
  }
112
105
  function trim(str) {
113
106
  return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, "");
@@ -330,6 +323,18 @@ var require_enhanceError = __commonJS({
330
323
  }
331
324
  });
332
325
 
326
+ // node_modules/axios/lib/defaults/transitional.js
327
+ var require_transitional = __commonJS({
328
+ "node_modules/axios/lib/defaults/transitional.js"(exports, module2) {
329
+ "use strict";
330
+ module2.exports = {
331
+ silentJSONParsing: true,
332
+ forcedJSONParsing: true,
333
+ clarifyTimeoutError: false
334
+ };
335
+ }
336
+ });
337
+
333
338
  // node_modules/axios/lib/core/createError.js
334
339
  var require_createError = __commonJS({
335
340
  "node_modules/axios/lib/core/createError.js"(exports, module2) {
@@ -409,7 +414,7 @@ var require_isAbsoluteURL = __commonJS({
409
414
  "node_modules/axios/lib/helpers/isAbsoluteURL.js"(exports, module2) {
410
415
  "use strict";
411
416
  module2.exports = function isAbsoluteURL(url) {
412
- return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
417
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
413
418
  };
414
419
  }
415
420
  });
@@ -558,7 +563,7 @@ var require_xhr = __commonJS({
558
563
  var parseHeaders = require_parseHeaders();
559
564
  var isURLSameOrigin = require_isURLSameOrigin();
560
565
  var createError = require_createError();
561
- var defaults = require_defaults();
566
+ var transitionalDefaults = require_transitional();
562
567
  var Cancel = require_Cancel();
563
568
  module2.exports = function xhrAdapter(config) {
564
569
  return new Promise(function dispatchXhrRequest(resolve, reject) {
@@ -635,7 +640,7 @@ var require_xhr = __commonJS({
635
640
  };
636
641
  request.ontimeout = function handleTimeout() {
637
642
  var timeoutErrorMessage = config.timeout ? "timeout of " + config.timeout + "ms exceeded" : "timeout exceeded";
638
- var transitional = config.transitional || defaults.transitional;
643
+ var transitional = config.transitional || transitionalDefaults;
639
644
  if (config.timeoutErrorMessage) {
640
645
  timeoutErrorMessage = config.timeoutErrorMessage;
641
646
  }
@@ -916,7 +921,7 @@ var require_common = __commonJS({
916
921
  }
917
922
  namespaces = split[i].replace(/\*/g, ".*?");
918
923
  if (namespaces[0] === "-") {
919
- createDebug.skips.push(new RegExp("^" + namespaces.substr(1) + "$"));
924
+ createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$"));
920
925
  } else {
921
926
  createDebug.names.push(new RegExp("^" + namespaces + "$"));
922
927
  }
@@ -1844,7 +1849,7 @@ var require_follow_redirects = __commonJS({
1844
1849
  var require_data = __commonJS({
1845
1850
  "node_modules/axios/lib/env/data.js"(exports, module2) {
1846
1851
  module2.exports = {
1847
- "version": "0.24.0"
1852
+ "version": "0.26.1"
1848
1853
  };
1849
1854
  }
1850
1855
  });
@@ -1866,7 +1871,7 @@ var require_http = __commonJS({
1866
1871
  var VERSION = require_data().version;
1867
1872
  var createError = require_createError();
1868
1873
  var enhanceError = require_enhanceError();
1869
- var defaults = require_defaults();
1874
+ var transitionalDefaults = require_transitional();
1870
1875
  var Cancel = require_Cancel();
1871
1876
  var isHttps = /https:?/;
1872
1877
  function setProxy(options, proxy, location) {
@@ -1898,8 +1903,10 @@ var require_http = __commonJS({
1898
1903
  done();
1899
1904
  resolvePromise(value);
1900
1905
  };
1906
+ var rejected = false;
1901
1907
  var reject = function reject2(value) {
1902
1908
  done();
1909
+ rejected = true;
1903
1910
  rejectPromise(value);
1904
1911
  };
1905
1912
  var data = config.data;
@@ -1924,6 +1931,9 @@ var require_http = __commonJS({
1924
1931
  } else {
1925
1932
  return reject(createError("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream", config));
1926
1933
  }
1934
+ if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
1935
+ return reject(createError("Request body larger than maxBodyLength limit", config));
1936
+ }
1927
1937
  if (!headerNames["content-length"]) {
1928
1938
  headers["Content-Length"] = data.length;
1929
1939
  }
@@ -1948,6 +1958,15 @@ var require_http = __commonJS({
1948
1958
  }
1949
1959
  var isHttpsRequest = isHttps.test(protocol);
1950
1960
  var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
1961
+ try {
1962
+ buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\?/, "");
1963
+ } catch (err) {
1964
+ var customErr = new Error(err.message);
1965
+ customErr.config = config;
1966
+ customErr.url = config.url;
1967
+ customErr.exists = true;
1968
+ reject(customErr);
1969
+ }
1951
1970
  var options = {
1952
1971
  path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\?/, ""),
1953
1972
  method: config.method.toUpperCase(),
@@ -2057,24 +2076,36 @@ var require_http = __commonJS({
2057
2076
  responseBuffer.push(chunk);
2058
2077
  totalResponseBytes += chunk.length;
2059
2078
  if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
2079
+ rejected = true;
2060
2080
  stream.destroy();
2061
2081
  reject(createError("maxContentLength size of " + config.maxContentLength + " exceeded", config, null, lastRequest));
2062
2082
  }
2063
2083
  });
2084
+ stream.on("aborted", function handlerStreamAborted() {
2085
+ if (rejected) {
2086
+ return;
2087
+ }
2088
+ stream.destroy();
2089
+ reject(createError("error request aborted", config, "ERR_REQUEST_ABORTED", lastRequest));
2090
+ });
2064
2091
  stream.on("error", function handleStreamError(err) {
2065
2092
  if (req.aborted)
2066
2093
  return;
2067
2094
  reject(enhanceError(err, config, null, lastRequest));
2068
2095
  });
2069
2096
  stream.on("end", function handleStreamEnd() {
2070
- var responseData = Buffer.concat(responseBuffer);
2071
- if (config.responseType !== "arraybuffer") {
2072
- responseData = responseData.toString(config.responseEncoding);
2073
- if (!config.responseEncoding || config.responseEncoding === "utf8") {
2074
- responseData = utils.stripBOM(responseData);
2097
+ try {
2098
+ var responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);
2099
+ if (config.responseType !== "arraybuffer") {
2100
+ responseData = responseData.toString(config.responseEncoding);
2101
+ if (!config.responseEncoding || config.responseEncoding === "utf8") {
2102
+ responseData = utils.stripBOM(responseData);
2103
+ }
2075
2104
  }
2105
+ response.data = responseData;
2106
+ } catch (err) {
2107
+ reject(enhanceError(err, config, err.code, response.request, response));
2076
2108
  }
2077
- response.data = responseData;
2078
2109
  settle(resolve, reject, response);
2079
2110
  });
2080
2111
  }
@@ -2084,6 +2115,9 @@ var require_http = __commonJS({
2084
2115
  return;
2085
2116
  reject(enhanceError(err, config, null, req));
2086
2117
  });
2118
+ req.on("socket", function handleRequestSocket(socket) {
2119
+ socket.setKeepAlive(true, 1e3 * 60);
2120
+ });
2087
2121
  if (config.timeout) {
2088
2122
  var timeout = parseInt(config.timeout, 10);
2089
2123
  if (isNaN(timeout)) {
@@ -2092,8 +2126,14 @@ var require_http = __commonJS({
2092
2126
  }
2093
2127
  req.setTimeout(timeout, function handleRequestTimeout() {
2094
2128
  req.abort();
2095
- var transitional = config.transitional || defaults.transitional;
2096
- reject(createError("timeout of " + timeout + "ms exceeded", config, transitional.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED", req));
2129
+ var timeoutErrorMessage = "";
2130
+ if (config.timeoutErrorMessage) {
2131
+ timeoutErrorMessage = config.timeoutErrorMessage;
2132
+ } else {
2133
+ timeoutErrorMessage = "timeout of " + config.timeout + "ms exceeded";
2134
+ }
2135
+ var transitional = config.transitional || transitionalDefaults;
2136
+ reject(createError(timeoutErrorMessage, config, transitional.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED", req));
2097
2137
  });
2098
2138
  }
2099
2139
  if (config.cancelToken || config.signal) {
@@ -2120,13 +2160,14 @@ var require_http = __commonJS({
2120
2160
  }
2121
2161
  });
2122
2162
 
2123
- // node_modules/axios/lib/defaults.js
2163
+ // node_modules/axios/lib/defaults/index.js
2124
2164
  var require_defaults = __commonJS({
2125
- "node_modules/axios/lib/defaults.js"(exports, module2) {
2165
+ "node_modules/axios/lib/defaults/index.js"(exports, module2) {
2126
2166
  "use strict";
2127
2167
  var utils = require_utils();
2128
2168
  var normalizeHeaderName = require_normalizeHeaderName();
2129
2169
  var enhanceError = require_enhanceError();
2170
+ var transitionalDefaults = require_transitional();
2130
2171
  var DEFAULT_CONTENT_TYPE = {
2131
2172
  "Content-Type": "application/x-www-form-urlencoded"
2132
2173
  };
@@ -2158,11 +2199,7 @@ var require_defaults = __commonJS({
2158
2199
  return (encoder || JSON.stringify)(rawValue);
2159
2200
  }
2160
2201
  var defaults = {
2161
- transitional: {
2162
- silentJSONParsing: true,
2163
- forcedJSONParsing: true,
2164
- clarifyTimeoutError: false
2165
- },
2202
+ transitional: transitionalDefaults,
2166
2203
  adapter: getDefaultAdapter(),
2167
2204
  transformRequest: [function transformRequest(data, headers) {
2168
2205
  normalizeHeaderName(headers, "Accept");
@@ -2451,12 +2488,12 @@ var require_Axios = __commonJS({
2451
2488
  response: new InterceptorManager()
2452
2489
  };
2453
2490
  }
2454
- Axios.prototype.request = function request(config) {
2455
- if (typeof config === "string") {
2456
- config = arguments[1] || {};
2457
- config.url = arguments[0];
2458
- } else {
2491
+ Axios.prototype.request = function request(configOrUrl, config) {
2492
+ if (typeof configOrUrl === "string") {
2459
2493
  config = config || {};
2494
+ config.url = configOrUrl;
2495
+ } else {
2496
+ config = configOrUrl || {};
2460
2497
  }
2461
2498
  config = mergeConfig(this.defaults, config);
2462
2499
  if (config.method) {
@@ -2643,8 +2680,9 @@ var require_spread = __commonJS({
2643
2680
  var require_isAxiosError = __commonJS({
2644
2681
  "node_modules/axios/lib/helpers/isAxiosError.js"(exports, module2) {
2645
2682
  "use strict";
2683
+ var utils = require_utils();
2646
2684
  module2.exports = function isAxiosError(payload) {
2647
- return typeof payload === "object" && payload.isAxiosError === true;
2685
+ return utils.isObject(payload) && payload.isAxiosError === true;
2648
2686
  };
2649
2687
  }
2650
2688
  });
@@ -2691,9 +2729,9 @@ var require_axios2 = __commonJS({
2691
2729
  }
2692
2730
  });
2693
2731
 
2694
- // node_modules/node-ical/node_modules/uuid/dist/rng.js
2732
+ // node_modules/uuid/dist/rng.js
2695
2733
  var require_rng = __commonJS({
2696
- "node_modules/node-ical/node_modules/uuid/dist/rng.js"(exports) {
2734
+ "node_modules/uuid/dist/rng.js"(exports) {
2697
2735
  "use strict";
2698
2736
  Object.defineProperty(exports, "__esModule", {
2699
2737
  value: true
@@ -2715,9 +2753,9 @@ var require_rng = __commonJS({
2715
2753
  }
2716
2754
  });
2717
2755
 
2718
- // node_modules/node-ical/node_modules/uuid/dist/regex.js
2756
+ // node_modules/uuid/dist/regex.js
2719
2757
  var require_regex = __commonJS({
2720
- "node_modules/node-ical/node_modules/uuid/dist/regex.js"(exports) {
2758
+ "node_modules/uuid/dist/regex.js"(exports) {
2721
2759
  "use strict";
2722
2760
  Object.defineProperty(exports, "__esModule", {
2723
2761
  value: true
@@ -2728,9 +2766,9 @@ var require_regex = __commonJS({
2728
2766
  }
2729
2767
  });
2730
2768
 
2731
- // node_modules/node-ical/node_modules/uuid/dist/validate.js
2769
+ // node_modules/uuid/dist/validate.js
2732
2770
  var require_validate = __commonJS({
2733
- "node_modules/node-ical/node_modules/uuid/dist/validate.js"(exports) {
2771
+ "node_modules/uuid/dist/validate.js"(exports) {
2734
2772
  "use strict";
2735
2773
  Object.defineProperty(exports, "__esModule", {
2736
2774
  value: true
@@ -2748,9 +2786,9 @@ var require_validate = __commonJS({
2748
2786
  }
2749
2787
  });
2750
2788
 
2751
- // node_modules/node-ical/node_modules/uuid/dist/stringify.js
2789
+ // node_modules/uuid/dist/stringify.js
2752
2790
  var require_stringify = __commonJS({
2753
- "node_modules/node-ical/node_modules/uuid/dist/stringify.js"(exports) {
2791
+ "node_modules/uuid/dist/stringify.js"(exports) {
2754
2792
  "use strict";
2755
2793
  Object.defineProperty(exports, "__esModule", {
2756
2794
  value: true
@@ -2776,9 +2814,9 @@ var require_stringify = __commonJS({
2776
2814
  }
2777
2815
  });
2778
2816
 
2779
- // node_modules/node-ical/node_modules/uuid/dist/v1.js
2817
+ // node_modules/uuid/dist/v1.js
2780
2818
  var require_v1 = __commonJS({
2781
- "node_modules/node-ical/node_modules/uuid/dist/v1.js"(exports) {
2819
+ "node_modules/uuid/dist/v1.js"(exports) {
2782
2820
  "use strict";
2783
2821
  Object.defineProperty(exports, "__esModule", {
2784
2822
  value: true
@@ -2846,9 +2884,9 @@ var require_v1 = __commonJS({
2846
2884
  }
2847
2885
  });
2848
2886
 
2849
- // node_modules/node-ical/node_modules/uuid/dist/parse.js
2887
+ // node_modules/uuid/dist/parse.js
2850
2888
  var require_parse = __commonJS({
2851
- "node_modules/node-ical/node_modules/uuid/dist/parse.js"(exports) {
2889
+ "node_modules/uuid/dist/parse.js"(exports) {
2852
2890
  "use strict";
2853
2891
  Object.defineProperty(exports, "__esModule", {
2854
2892
  value: true
@@ -2887,9 +2925,9 @@ var require_parse = __commonJS({
2887
2925
  }
2888
2926
  });
2889
2927
 
2890
- // node_modules/node-ical/node_modules/uuid/dist/v35.js
2928
+ // node_modules/uuid/dist/v35.js
2891
2929
  var require_v35 = __commonJS({
2892
- "node_modules/node-ical/node_modules/uuid/dist/v35.js"(exports) {
2930
+ "node_modules/uuid/dist/v35.js"(exports) {
2893
2931
  "use strict";
2894
2932
  Object.defineProperty(exports, "__esModule", {
2895
2933
  value: true
@@ -2950,9 +2988,9 @@ var require_v35 = __commonJS({
2950
2988
  }
2951
2989
  });
2952
2990
 
2953
- // node_modules/node-ical/node_modules/uuid/dist/md5.js
2991
+ // node_modules/uuid/dist/md5.js
2954
2992
  var require_md5 = __commonJS({
2955
- "node_modules/node-ical/node_modules/uuid/dist/md5.js"(exports) {
2993
+ "node_modules/uuid/dist/md5.js"(exports) {
2956
2994
  "use strict";
2957
2995
  Object.defineProperty(exports, "__esModule", {
2958
2996
  value: true
@@ -2975,9 +3013,9 @@ var require_md5 = __commonJS({
2975
3013
  }
2976
3014
  });
2977
3015
 
2978
- // node_modules/node-ical/node_modules/uuid/dist/v3.js
3016
+ // node_modules/uuid/dist/v3.js
2979
3017
  var require_v3 = __commonJS({
2980
- "node_modules/node-ical/node_modules/uuid/dist/v3.js"(exports) {
3018
+ "node_modules/uuid/dist/v3.js"(exports) {
2981
3019
  "use strict";
2982
3020
  Object.defineProperty(exports, "__esModule", {
2983
3021
  value: true
@@ -2994,9 +3032,9 @@ var require_v3 = __commonJS({
2994
3032
  }
2995
3033
  });
2996
3034
 
2997
- // node_modules/node-ical/node_modules/uuid/dist/v4.js
3035
+ // node_modules/uuid/dist/v4.js
2998
3036
  var require_v4 = __commonJS({
2999
- "node_modules/node-ical/node_modules/uuid/dist/v4.js"(exports) {
3037
+ "node_modules/uuid/dist/v4.js"(exports) {
3000
3038
  "use strict";
3001
3039
  Object.defineProperty(exports, "__esModule", {
3002
3040
  value: true
@@ -3026,9 +3064,9 @@ var require_v4 = __commonJS({
3026
3064
  }
3027
3065
  });
3028
3066
 
3029
- // node_modules/node-ical/node_modules/uuid/dist/sha1.js
3067
+ // node_modules/uuid/dist/sha1.js
3030
3068
  var require_sha1 = __commonJS({
3031
- "node_modules/node-ical/node_modules/uuid/dist/sha1.js"(exports) {
3069
+ "node_modules/uuid/dist/sha1.js"(exports) {
3032
3070
  "use strict";
3033
3071
  Object.defineProperty(exports, "__esModule", {
3034
3072
  value: true
@@ -3051,9 +3089,9 @@ var require_sha1 = __commonJS({
3051
3089
  }
3052
3090
  });
3053
3091
 
3054
- // node_modules/node-ical/node_modules/uuid/dist/v5.js
3092
+ // node_modules/uuid/dist/v5.js
3055
3093
  var require_v5 = __commonJS({
3056
- "node_modules/node-ical/node_modules/uuid/dist/v5.js"(exports) {
3094
+ "node_modules/uuid/dist/v5.js"(exports) {
3057
3095
  "use strict";
3058
3096
  Object.defineProperty(exports, "__esModule", {
3059
3097
  value: true
@@ -3070,9 +3108,9 @@ var require_v5 = __commonJS({
3070
3108
  }
3071
3109
  });
3072
3110
 
3073
- // node_modules/node-ical/node_modules/uuid/dist/nil.js
3111
+ // node_modules/uuid/dist/nil.js
3074
3112
  var require_nil = __commonJS({
3075
- "node_modules/node-ical/node_modules/uuid/dist/nil.js"(exports) {
3113
+ "node_modules/uuid/dist/nil.js"(exports) {
3076
3114
  "use strict";
3077
3115
  Object.defineProperty(exports, "__esModule", {
3078
3116
  value: true
@@ -3083,9 +3121,9 @@ var require_nil = __commonJS({
3083
3121
  }
3084
3122
  });
3085
3123
 
3086
- // node_modules/node-ical/node_modules/uuid/dist/version.js
3124
+ // node_modules/uuid/dist/version.js
3087
3125
  var require_version = __commonJS({
3088
- "node_modules/node-ical/node_modules/uuid/dist/version.js"(exports) {
3126
+ "node_modules/uuid/dist/version.js"(exports) {
3089
3127
  "use strict";
3090
3128
  Object.defineProperty(exports, "__esModule", {
3091
3129
  value: true
@@ -3106,9 +3144,9 @@ var require_version = __commonJS({
3106
3144
  }
3107
3145
  });
3108
3146
 
3109
- // node_modules/node-ical/node_modules/uuid/dist/index.js
3147
+ // node_modules/uuid/dist/index.js
3110
3148
  var require_dist = __commonJS({
3111
- "node_modules/node-ical/node_modules/uuid/dist/index.js"(exports) {
3149
+ "node_modules/uuid/dist/index.js"(exports) {
3112
3150
  "use strict";
3113
3151
  Object.defineProperty(exports, "__esModule", {
3114
3152
  value: true
@@ -3228,8 +3266,8 @@ var require_moment = __commonJS({
3228
3266
  return input instanceof Date || Object.prototype.toString.call(input) === "[object Date]";
3229
3267
  }
3230
3268
  function map(arr, fn) {
3231
- var res = [], i;
3232
- for (i = 0; i < arr.length; ++i) {
3269
+ var res = [], i, arrLen = arr.length;
3270
+ for (i = 0; i < arrLen; ++i) {
3233
3271
  res.push(fn(arr[i], i));
3234
3272
  }
3235
3273
  return res;
@@ -3318,7 +3356,7 @@ var require_moment = __commonJS({
3318
3356
  }
3319
3357
  var momentProperties = hooks.momentProperties = [], updateInProgress = false;
3320
3358
  function copyConfig(to2, from2) {
3321
- var i, prop, val;
3359
+ var i, prop, val, momentPropertiesLen = momentProperties.length;
3322
3360
  if (!isUndefined(from2._isAMomentObject)) {
3323
3361
  to2._isAMomentObject = from2._isAMomentObject;
3324
3362
  }
@@ -3349,8 +3387,8 @@ var require_moment = __commonJS({
3349
3387
  if (!isUndefined(from2._locale)) {
3350
3388
  to2._locale = from2._locale;
3351
3389
  }
3352
- if (momentProperties.length > 0) {
3353
- for (i = 0; i < momentProperties.length; i++) {
3390
+ if (momentPropertiesLen > 0) {
3391
+ for (i = 0; i < momentPropertiesLen; i++) {
3354
3392
  prop = momentProperties[i];
3355
3393
  val = from2[prop];
3356
3394
  if (!isUndefined(val)) {
@@ -3387,8 +3425,8 @@ var require_moment = __commonJS({
3387
3425
  hooks.deprecationHandler(null, msg);
3388
3426
  }
3389
3427
  if (firstTime) {
3390
- var args = [], arg, i, key;
3391
- for (i = 0; i < arguments.length; i++) {
3428
+ var args = [], arg, i, key, argLen = arguments.length;
3429
+ for (i = 0; i < argLen; i++) {
3392
3430
  arg = "";
3393
3431
  if (typeof arguments[i] === "object") {
3394
3432
  arg += "\n[" + i + "] ";
@@ -3704,8 +3742,8 @@ var require_moment = __commonJS({
3704
3742
  function stringSet(units, value) {
3705
3743
  if (typeof units === "object") {
3706
3744
  units = normalizeObjectUnits(units);
3707
- var prioritized = getPrioritizedUnits(units), i;
3708
- for (i = 0; i < prioritized.length; i++) {
3745
+ var prioritized = getPrioritizedUnits(units), i, prioritizedLen = prioritized.length;
3746
+ for (i = 0; i < prioritizedLen; i++) {
3709
3747
  this[prioritized[i].unit](units[prioritized[i].unit]);
3710
3748
  }
3711
3749
  } else {
@@ -3739,7 +3777,7 @@ var require_moment = __commonJS({
3739
3777
  }
3740
3778
  var tokens = {};
3741
3779
  function addParseToken(token2, callback) {
3742
- var i, func = callback;
3780
+ var i, func = callback, tokenLen;
3743
3781
  if (typeof token2 === "string") {
3744
3782
  token2 = [token2];
3745
3783
  }
@@ -3748,7 +3786,8 @@ var require_moment = __commonJS({
3748
3786
  array[callback] = toInt(input);
3749
3787
  };
3750
3788
  }
3751
- for (i = 0; i < token2.length; i++) {
3789
+ tokenLen = token2.length;
3790
+ for (i = 0; i < tokenLen; i++) {
3752
3791
  tokens[token2[i]] = func;
3753
3792
  }
3754
3793
  }
@@ -4549,9 +4588,12 @@ var require_moment = __commonJS({
4549
4588
  }
4550
4589
  return globalLocale;
4551
4590
  }
4591
+ function isLocaleNameSane(name) {
4592
+ return name.match("^[^/\\\\]*$") != null;
4593
+ }
4552
4594
  function loadLocale(name) {
4553
4595
  var oldLocale = null, aliasedRequire;
4554
- if (locales[name] === void 0 && typeof module2 !== "undefined" && module2 && module2.exports) {
4596
+ if (locales[name] === void 0 && typeof module2 !== "undefined" && module2 && module2.exports && isLocaleNameSane(name)) {
4555
4597
  try {
4556
4598
  oldLocale = globalLocale._abbr;
4557
4599
  aliasedRequire = require;
@@ -4727,10 +4769,10 @@ var require_moment = __commonJS({
4727
4769
  PST: -8 * 60
4728
4770
  };
4729
4771
  function configFromISO(config) {
4730
- var i, l, string = config._i, match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), allowTime, dateFormat, timeFormat, tzFormat;
4772
+ var i, l, string = config._i, match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), allowTime, dateFormat, timeFormat, tzFormat, isoDatesLen = isoDates.length, isoTimesLen = isoTimes.length;
4731
4773
  if (match) {
4732
4774
  getParsingFlags(config).iso = true;
4733
- for (i = 0, l = isoDates.length; i < l; i++) {
4775
+ for (i = 0, l = isoDatesLen; i < l; i++) {
4734
4776
  if (isoDates[i][1].exec(match[1])) {
4735
4777
  dateFormat = isoDates[i][0];
4736
4778
  allowTime = isoDates[i][2] !== false;
@@ -4742,7 +4784,7 @@ var require_moment = __commonJS({
4742
4784
  return;
4743
4785
  }
4744
4786
  if (match[3]) {
4745
- for (i = 0, l = isoTimes.length; i < l; i++) {
4787
+ for (i = 0, l = isoTimesLen; i < l; i++) {
4746
4788
  if (isoTimes[i][1].exec(match[3])) {
4747
4789
  timeFormat = (match[2] || " ") + isoTimes[i][0];
4748
4790
  break;
@@ -4977,9 +5019,10 @@ var require_moment = __commonJS({
4977
5019
  }
4978
5020
  config._a = [];
4979
5021
  getParsingFlags(config).empty = true;
4980
- var string = "" + config._i, i, parsedInput, tokens2, token2, skipped, stringLength = string.length, totalParsedInputLength = 0, era;
5022
+ var string = "" + config._i, i, parsedInput, tokens2, token2, skipped, stringLength = string.length, totalParsedInputLength = 0, era, tokenLen;
4981
5023
  tokens2 = expandFormat(config._f, config._locale).match(formattingTokens) || [];
4982
- for (i = 0; i < tokens2.length; i++) {
5024
+ tokenLen = tokens2.length;
5025
+ for (i = 0; i < tokenLen; i++) {
4983
5026
  token2 = tokens2[i];
4984
5027
  parsedInput = (string.match(getParseRegexForToken(token2, config)) || [])[0];
4985
5028
  if (parsedInput) {
@@ -5039,13 +5082,13 @@ var require_moment = __commonJS({
5039
5082
  }
5040
5083
  }
5041
5084
  function configFromStringAndArray(config) {
5042
- var tempConfig, bestMoment, scoreToBeat, i, currentScore, validFormatFound, bestFormatIsValid = false;
5043
- if (config._f.length === 0) {
5085
+ var tempConfig, bestMoment, scoreToBeat, i, currentScore, validFormatFound, bestFormatIsValid = false, configfLen = config._f.length;
5086
+ if (configfLen === 0) {
5044
5087
  getParsingFlags(config).invalidFormat = true;
5045
5088
  config._d = new Date(NaN);
5046
5089
  return;
5047
5090
  }
5048
- for (i = 0; i < config._f.length; i++) {
5091
+ for (i = 0; i < configfLen; i++) {
5049
5092
  currentScore = 0;
5050
5093
  validFormatFound = false;
5051
5094
  tempConfig = copyConfig({}, config);
@@ -5219,13 +5262,13 @@ var require_moment = __commonJS({
5219
5262
  "millisecond"
5220
5263
  ];
5221
5264
  function isDurationValid(m) {
5222
- var key, unitHasDecimal = false, i;
5265
+ var key, unitHasDecimal = false, i, orderLen = ordering.length;
5223
5266
  for (key in m) {
5224
5267
  if (hasOwnProp(m, key) && !(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) {
5225
5268
  return false;
5226
5269
  }
5227
5270
  }
5228
- for (i = 0; i < ordering.length; ++i) {
5271
+ for (i = 0; i < orderLen; ++i) {
5229
5272
  if (m[ordering[i]]) {
5230
5273
  if (unitHasDecimal) {
5231
5274
  return false;
@@ -5575,8 +5618,8 @@ var require_moment = __commonJS({
5575
5618
  "milliseconds",
5576
5619
  "millisecond",
5577
5620
  "ms"
5578
- ], i, property;
5579
- for (i = 0; i < properties.length; i += 1) {
5621
+ ], i, property, propertyLen = properties.length;
5622
+ for (i = 0; i < propertyLen; i += 1) {
5580
5623
  property = properties[i];
5581
5624
  propertyTest = propertyTest || hasOwnProp(input, property);
5582
5625
  }
@@ -6831,7 +6874,7 @@ var require_moment = __commonJS({
6831
6874
  addParseToken("x", function(input, array, config) {
6832
6875
  config._d = new Date(toInt(input));
6833
6876
  });
6834
- hooks.version = "2.29.1";
6877
+ hooks.version = "2.29.3";
6835
6878
  setHookCallback(createLocal);
6836
6879
  hooks.fn = proto;
6837
6880
  hooks.min = min;
@@ -15749,7 +15792,7 @@ var require_ical = __commonJS({
15749
15792
  };
15750
15793
  var storeParameter = function(name) {
15751
15794
  return function(value, parameters, curr) {
15752
- const data = parameters && parameters.length > 0 && !(parameters.length === 1 && parameters[0] === "CHARSET=utf-8") ? { params: parseParameters(parameters), val: text(value) } : text(value);
15795
+ const data = parameters && parameters.length > 0 && !(parameters.length === 1 && (parameters[0] === "CHARSET=utf-8" || parameters[0] === "VALUE=TEXT")) ? { params: parseParameters(parameters), val: text(value) } : text(value);
15753
15796
  return storeValueParameter(name)(data, curr);
15754
15797
  };
15755
15798
  };
@@ -15940,21 +15983,26 @@ var require_ical = __commonJS({
15940
15983
  if (component === "VCALENDAR") {
15941
15984
  let key;
15942
15985
  let object;
15986
+ const highLevel = {};
15943
15987
  for (key in curr2) {
15944
15988
  if (!{}.hasOwnProperty.call(curr2, key)) {
15945
15989
  continue;
15946
15990
  }
15947
15991
  object = curr2[key];
15948
15992
  if (typeof object === "string") {
15993
+ highLevel[key] = object;
15949
15994
  delete curr2[key];
15950
15995
  }
15951
15996
  }
15997
+ if (highLevel.type) {
15998
+ curr2[highLevel.type.toLowerCase()] = highLevel;
15999
+ }
15952
16000
  return curr2;
15953
16001
  }
15954
16002
  const par = stack2.pop();
15955
16003
  if (!curr2.end) {
15956
16004
  if (curr2.datetype === "date-time") {
15957
- curr2.end = curr2.start;
16005
+ curr2.end = new Date(curr2.start.getTime());
15958
16006
  } else if (curr2.duration === void 0) {
15959
16007
  curr2.end = moment.utc(curr2.start).add(1, "days").toDate();
15960
16008
  } else {
@@ -16148,22 +16196,8 @@ var require_ical = __commonJS({
16148
16196
  return ctx;
16149
16197
  }
16150
16198
  },
16151
- getLineBreakChar(string) {
16152
- const indexOfLF = string.indexOf("\n", 1);
16153
- if (indexOfLF === -1) {
16154
- if (string.includes("\r")) {
16155
- return "\r";
16156
- }
16157
- return "\n";
16158
- }
16159
- if (string[indexOfLF - 1] === "\r") {
16160
- return "\r?\n";
16161
- }
16162
- return "\n";
16163
- },
16164
16199
  parseICS(string, cb) {
16165
- const lineEndType = this.getLineBreakChar(string);
16166
- const lines = string.split(lineEndType === "\n" ? /\n/ : /\r?\n/);
16200
+ const lines = string.split(/\r?\n/);
16167
16201
  let ctx;
16168
16202
  if (cb) {
16169
16203
  this.parseLines(lines, 2e3, cb);
@@ -16282,6 +16316,7 @@ var change_control_lambda_exports = {};
16282
16316
  __export(change_control_lambda_exports, {
16283
16317
  handler: () => handler
16284
16318
  });
16319
+ module.exports = __toCommonJS(change_control_lambda_exports);
16285
16320
  var AWS2 = __toESM(require("aws-sdk"));
16286
16321
 
16287
16322
  // lib/change-control-lambda/disable-transition.ts
@@ -16417,7 +16452,6 @@ END:VCALENDAR
16417
16452
  throw e;
16418
16453
  }
16419
16454
  }
16420
- module.exports = __toCommonJS(change_control_lambda_exports);
16421
16455
  // Annotate the CommonJS export names for ESM import in node:
16422
16456
  0 && (module.exports = {
16423
16457
  handler
@@ -16468,4 +16502,4 @@ and limitations under the License.
16468
16502
  //! moment.js
16469
16503
  //! momentjs.com
16470
16504
  //! version : 0.5.34
16471
- //! version : 2.29.1
16505
+ //! version : 2.29.3