@gammarers/aws-daily-cost-usage-report-stack 2.0.26 → 2.0.28

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/.jsii CHANGED
@@ -4139,6 +4139,6 @@
4139
4139
  "symbolId": "src/index:DailyCostUsageReportStackProps"
4140
4140
  }
4141
4141
  },
4142
- "version": "2.0.26",
4143
- "fingerprint": "L99cQhE+EXKqHe1pKMM2Z4d7zB1leAxSI+Ec98lkDxQ="
4142
+ "version": "2.0.28",
4143
+ "fingerprint": "bYf0d0SIQQTTIApRHaKWXVZeBWDEJDHu11xfjDN5VRA="
4144
4144
  }
package/API.md CHANGED
@@ -460,7 +460,7 @@ Convert an object, potentially containing tokens, to a YAML string.
460
460
 
461
461
  ---
462
462
 
463
- ##### ~~`isConstruct`~~ <a name="isConstruct" id="@gammarers/aws-daily-cost-usage-report-stack.DailyCostUsageReportStack.isConstruct"></a>
463
+ ##### `isConstruct` <a name="isConstruct" id="@gammarers/aws-daily-cost-usage-report-stack.DailyCostUsageReportStack.isConstruct"></a>
464
464
 
465
465
  ```typescript
466
466
  import { DailyCostUsageReportStack } from '@gammarers/aws-daily-cost-usage-report-stack'
@@ -470,6 +470,20 @@ DailyCostUsageReportStack.isConstruct(x: any)
470
470
 
471
471
  Checks if `x` is a construct.
472
472
 
473
+ Use this method instead of `instanceof` to properly detect `Construct`
474
+ instances, even when the construct library is symlinked.
475
+
476
+ Explanation: in JavaScript, multiple copies of the `constructs` library on
477
+ disk are seen as independent, completely different libraries. As a
478
+ consequence, the class `Construct` in each copy of the `constructs` library
479
+ is seen as a different class, and an instance of one class will not test as
480
+ `instanceof` the other class. `npm install` will not create installations
481
+ like this, but users may manually symlink construct libraries together or
482
+ use a monorepo tool: in those cases, multiple copies of the `constructs`
483
+ library can be accidentally installed, and `instanceof` will behave
484
+ unpredictably. It is safest to avoid using `instanceof`, and using
485
+ this type-testing method instead.
486
+
473
487
  ###### `x`<sup>Required</sup> <a name="x" id="@gammarers/aws-daily-cost-usage-report-stack.DailyCostUsageReportStack.isConstruct.parameter.x"></a>
474
488
 
475
489
  - *Type:* any
@@ -12575,6 +12575,7 @@ var require_axios = __commonJS({
12575
12575
  var proxyFromEnv = require_proxy_from_env();
12576
12576
  var http = require("http");
12577
12577
  var https = require("https");
12578
+ var http2 = require("http2");
12578
12579
  var util = require("util");
12579
12580
  var followRedirects = require_follow_redirects();
12580
12581
  var zlib = require("zlib");
@@ -12589,6 +12590,7 @@ var require_axios = __commonJS({
12589
12590
  var proxyFromEnv__default = /* @__PURE__ */ _interopDefaultLegacy(proxyFromEnv);
12590
12591
  var http__default = /* @__PURE__ */ _interopDefaultLegacy(http);
12591
12592
  var https__default = /* @__PURE__ */ _interopDefaultLegacy(https);
12593
+ var http2__default = /* @__PURE__ */ _interopDefaultLegacy(http2);
12592
12594
  var util__default = /* @__PURE__ */ _interopDefaultLegacy(util);
12593
12595
  var followRedirects__default = /* @__PURE__ */ _interopDefaultLegacy(followRedirects);
12594
12596
  var zlib__default = /* @__PURE__ */ _interopDefaultLegacy(zlib);
@@ -13254,7 +13256,7 @@ var require_axios = __commonJS({
13254
13256
  *
13255
13257
  * @param {Number} id The ID that was returned by `use`
13256
13258
  *
13257
- * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
13259
+ * @returns {void}
13258
13260
  */
13259
13261
  eject(id) {
13260
13262
  if (this.handlers[id]) {
@@ -13831,7 +13833,7 @@ var require_axios = __commonJS({
13831
13833
  }
13832
13834
  return requestedURL;
13833
13835
  }
13834
- var VERSION = "1.12.2";
13836
+ var VERSION = "1.13.2";
13835
13837
  function parseProtocol(url2) {
13836
13838
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
13837
13839
  return match && match[1] || "";
@@ -14262,6 +14264,76 @@ var require_axios = __commonJS({
14262
14264
  stream2.on("end", flush).on("error", flush);
14263
14265
  return throttled;
14264
14266
  };
14267
+ var Http2Sessions = class {
14268
+ constructor() {
14269
+ this.sessions = /* @__PURE__ */ Object.create(null);
14270
+ }
14271
+ getSession(authority, options) {
14272
+ options = Object.assign({
14273
+ sessionTimeout: 1e3
14274
+ }, options);
14275
+ let authoritySessions = this.sessions[authority];
14276
+ if (authoritySessions) {
14277
+ let len = authoritySessions.length;
14278
+ for (let i = 0; i < len; i++) {
14279
+ const [sessionHandle, sessionOptions] = authoritySessions[i];
14280
+ if (!sessionHandle.destroyed && !sessionHandle.closed && util__default["default"].isDeepStrictEqual(sessionOptions, options)) {
14281
+ return sessionHandle;
14282
+ }
14283
+ }
14284
+ }
14285
+ const session = http2__default["default"].connect(authority, options);
14286
+ let removed;
14287
+ const removeSession = () => {
14288
+ if (removed) {
14289
+ return;
14290
+ }
14291
+ removed = true;
14292
+ let entries = authoritySessions, len = entries.length, i = len;
14293
+ while (i--) {
14294
+ if (entries[i][0] === session) {
14295
+ if (len === 1) {
14296
+ delete this.sessions[authority];
14297
+ } else {
14298
+ entries.splice(i, 1);
14299
+ }
14300
+ return;
14301
+ }
14302
+ }
14303
+ };
14304
+ const originalRequestFn = session.request;
14305
+ const { sessionTimeout } = options;
14306
+ if (sessionTimeout != null) {
14307
+ let timer;
14308
+ let streamsCount = 0;
14309
+ session.request = function() {
14310
+ const stream2 = originalRequestFn.apply(this, arguments);
14311
+ streamsCount++;
14312
+ if (timer) {
14313
+ clearTimeout(timer);
14314
+ timer = null;
14315
+ }
14316
+ stream2.once("close", () => {
14317
+ if (!--streamsCount) {
14318
+ timer = setTimeout(() => {
14319
+ timer = null;
14320
+ removeSession();
14321
+ }, sessionTimeout);
14322
+ }
14323
+ });
14324
+ return stream2;
14325
+ };
14326
+ }
14327
+ session.once("close", removeSession);
14328
+ let entry = [
14329
+ session,
14330
+ options
14331
+ ];
14332
+ authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry];
14333
+ return session;
14334
+ }
14335
+ };
14336
+ var http2Sessions = new Http2Sessions();
14265
14337
  function dispatchBeforeRedirect(options, responseDetails) {
14266
14338
  if (options.beforeRedirects.proxy) {
14267
14339
  options.beforeRedirects.proxy(options);
@@ -14334,14 +14406,54 @@ var require_axios = __commonJS({
14334
14406
  };
14335
14407
  };
14336
14408
  var buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : { address, family });
14409
+ var http2Transport = {
14410
+ request(options, cb) {
14411
+ const authority = options.protocol + "//" + options.hostname + ":" + (options.port || 80);
14412
+ const { http2Options, headers } = options;
14413
+ const session = http2Sessions.getSession(authority, http2Options);
14414
+ const {
14415
+ HTTP2_HEADER_SCHEME,
14416
+ HTTP2_HEADER_METHOD,
14417
+ HTTP2_HEADER_PATH,
14418
+ HTTP2_HEADER_STATUS
14419
+ } = http2__default["default"].constants;
14420
+ const http2Headers = {
14421
+ [HTTP2_HEADER_SCHEME]: options.protocol.replace(":", ""),
14422
+ [HTTP2_HEADER_METHOD]: options.method,
14423
+ [HTTP2_HEADER_PATH]: options.path
14424
+ };
14425
+ utils$1.forEach(headers, (header, name) => {
14426
+ name.charAt(0) !== ":" && (http2Headers[name] = header);
14427
+ });
14428
+ const req = session.request(http2Headers);
14429
+ req.once("response", (responseHeaders) => {
14430
+ const response = req;
14431
+ responseHeaders = Object.assign({}, responseHeaders);
14432
+ const status = responseHeaders[HTTP2_HEADER_STATUS];
14433
+ delete responseHeaders[HTTP2_HEADER_STATUS];
14434
+ response.headers = responseHeaders;
14435
+ response.statusCode = +status;
14436
+ cb(response);
14437
+ });
14438
+ return req;
14439
+ }
14440
+ };
14337
14441
  var httpAdapter = isHttpAdapterSupported && function httpAdapter2(config) {
14338
14442
  return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
14339
- let { data, lookup, family } = config;
14443
+ let { data, lookup, family, httpVersion = 1, http2Options } = config;
14340
14444
  const { responseType, responseEncoding } = config;
14341
14445
  const method = config.method.toUpperCase();
14342
14446
  let isDone;
14343
14447
  let rejected = false;
14344
14448
  let req;
14449
+ httpVersion = +httpVersion;
14450
+ if (Number.isNaN(httpVersion)) {
14451
+ throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
14452
+ }
14453
+ if (httpVersion !== 1 && httpVersion !== 2) {
14454
+ throw TypeError(`Unsupported protocol version '${httpVersion}'`);
14455
+ }
14456
+ const isHttp2 = httpVersion === 2;
14345
14457
  if (lookup) {
14346
14458
  const _lookup = callbackify$1(lookup, (value) => utils$1.isArray(value) ? value : [value]);
14347
14459
  lookup = (hostname, opt, cb) => {
@@ -14354,7 +14466,15 @@ var require_axios = __commonJS({
14354
14466
  });
14355
14467
  };
14356
14468
  }
14357
- const emitter = new events.EventEmitter();
14469
+ const abortEmitter = new events.EventEmitter();
14470
+ function abort(reason) {
14471
+ try {
14472
+ abortEmitter.emit("abort", !reason || reason.type ? new CanceledError(null, config, req) : reason);
14473
+ } catch (err) {
14474
+ console.warn("emit error", err);
14475
+ }
14476
+ }
14477
+ abortEmitter.once("abort", reject);
14358
14478
  const onFinished = () => {
14359
14479
  if (config.cancelToken) {
14360
14480
  config.cancelToken.unsubscribe(abort);
@@ -14362,25 +14482,31 @@ var require_axios = __commonJS({
14362
14482
  if (config.signal) {
14363
14483
  config.signal.removeEventListener("abort", abort);
14364
14484
  }
14365
- emitter.removeAllListeners();
14485
+ abortEmitter.removeAllListeners();
14366
14486
  };
14367
- onDone((value, isRejected) => {
14368
- isDone = true;
14369
- if (isRejected) {
14370
- rejected = true;
14371
- onFinished();
14372
- }
14373
- });
14374
- function abort(reason) {
14375
- emitter.emit("abort", !reason || reason.type ? new CanceledError(null, config, req) : reason);
14376
- }
14377
- emitter.once("abort", reject);
14378
14487
  if (config.cancelToken || config.signal) {
14379
14488
  config.cancelToken && config.cancelToken.subscribe(abort);
14380
14489
  if (config.signal) {
14381
14490
  config.signal.aborted ? abort() : config.signal.addEventListener("abort", abort);
14382
14491
  }
14383
14492
  }
14493
+ onDone((response, isRejected) => {
14494
+ isDone = true;
14495
+ if (isRejected) {
14496
+ rejected = true;
14497
+ onFinished();
14498
+ return;
14499
+ }
14500
+ const { data: data2 } = response;
14501
+ if (data2 instanceof stream__default["default"].Readable || data2 instanceof stream__default["default"].Duplex) {
14502
+ const offListeners = stream__default["default"].finished(data2, () => {
14503
+ offListeners();
14504
+ onFinished();
14505
+ });
14506
+ } else {
14507
+ onFinished();
14508
+ }
14509
+ });
14384
14510
  const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
14385
14511
  const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : void 0);
14386
14512
  const protocol = parsed.protocol || supportedProtocols[0];
@@ -14546,7 +14672,8 @@ var require_axios = __commonJS({
14546
14672
  protocol,
14547
14673
  family,
14548
14674
  beforeRedirect: dispatchBeforeRedirect,
14549
- beforeRedirects: {}
14675
+ beforeRedirects: {},
14676
+ http2Options
14550
14677
  };
14551
14678
  !utils$1.isUndefined(lookup) && (options.lookup = lookup);
14552
14679
  if (config.socketPath) {
@@ -14559,18 +14686,22 @@ var require_axios = __commonJS({
14559
14686
  let transport;
14560
14687
  const isHttpsRequest = isHttps.test(options.protocol);
14561
14688
  options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
14562
- if (config.transport) {
14563
- transport = config.transport;
14564
- } else if (config.maxRedirects === 0) {
14565
- transport = isHttpsRequest ? https__default["default"] : http__default["default"];
14689
+ if (isHttp2) {
14690
+ transport = http2Transport;
14566
14691
  } else {
14567
- if (config.maxRedirects) {
14568
- options.maxRedirects = config.maxRedirects;
14569
- }
14570
- if (config.beforeRedirect) {
14571
- options.beforeRedirects.config = config.beforeRedirect;
14692
+ if (config.transport) {
14693
+ transport = config.transport;
14694
+ } else if (config.maxRedirects === 0) {
14695
+ transport = isHttpsRequest ? https__default["default"] : http__default["default"];
14696
+ } else {
14697
+ if (config.maxRedirects) {
14698
+ options.maxRedirects = config.maxRedirects;
14699
+ }
14700
+ if (config.beforeRedirect) {
14701
+ options.beforeRedirects.config = config.beforeRedirect;
14702
+ }
14703
+ transport = isHttpsRequest ? httpsFollow : httpFollow;
14572
14704
  }
14573
- transport = isHttpsRequest ? httpsFollow : httpFollow;
14574
14705
  }
14575
14706
  if (config.maxBodyLength > -1) {
14576
14707
  options.maxBodyLength = config.maxBodyLength;
@@ -14583,7 +14714,7 @@ var require_axios = __commonJS({
14583
14714
  req = transport.request(options, function handleResponse(res) {
14584
14715
  if (req.destroyed) return;
14585
14716
  const streams = [res];
14586
- const responseLength = +res.headers["content-length"];
14717
+ const responseLength = utils$1.toFiniteNumber(res.headers["content-length"]);
14587
14718
  if (onDownloadProgress || maxDownloadRate) {
14588
14719
  const transformStream = new AxiosTransformStream$1({
14589
14720
  maxRate: utils$1.toFiniteNumber(maxDownloadRate)
@@ -14625,10 +14756,6 @@ var require_axios = __commonJS({
14625
14756
  }
14626
14757
  }
14627
14758
  responseStream = streams.length > 1 ? stream__default["default"].pipeline(streams, utils$1.noop) : streams[0];
14628
- const offListeners = stream__default["default"].finished(responseStream, () => {
14629
- offListeners();
14630
- onFinished();
14631
- });
14632
14759
  const response = {
14633
14760
  status: res.statusCode,
14634
14761
  statusText: res.statusMessage,
@@ -14648,7 +14775,7 @@ var require_axios = __commonJS({
14648
14775
  if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
14649
14776
  rejected = true;
14650
14777
  responseStream.destroy();
14651
- reject(new AxiosError(
14778
+ abort(new AxiosError(
14652
14779
  "maxContentLength size of " + config.maxContentLength + " exceeded",
14653
14780
  AxiosError.ERR_BAD_RESPONSE,
14654
14781
  config,
@@ -14689,16 +14816,19 @@ var require_axios = __commonJS({
14689
14816
  settle(resolve, reject, response);
14690
14817
  });
14691
14818
  }
14692
- emitter.once("abort", (err) => {
14819
+ abortEmitter.once("abort", (err) => {
14693
14820
  if (!responseStream.destroyed) {
14694
14821
  responseStream.emit("error", err);
14695
14822
  responseStream.destroy();
14696
14823
  }
14697
14824
  });
14698
14825
  });
14699
- emitter.once("abort", (err) => {
14700
- reject(err);
14701
- req.destroy(err);
14826
+ abortEmitter.once("abort", (err) => {
14827
+ if (req.close) {
14828
+ req.close();
14829
+ } else {
14830
+ req.destroy(err);
14831
+ }
14702
14832
  });
14703
14833
  req.on("error", function handleRequestError(err) {
14704
14834
  reject(AxiosError.from(err, null, config, req));
@@ -14709,7 +14839,7 @@ var require_axios = __commonJS({
14709
14839
  if (config.timeout) {
14710
14840
  const timeout = parseInt(config.timeout, 10);
14711
14841
  if (Number.isNaN(timeout)) {
14712
- reject(new AxiosError(
14842
+ abort(new AxiosError(
14713
14843
  "error trying to parse `config.timeout` to int",
14714
14844
  AxiosError.ERR_BAD_OPTION_VALUE,
14715
14845
  config,
@@ -14724,14 +14854,15 @@ var require_axios = __commonJS({
14724
14854
  if (config.timeoutErrorMessage) {
14725
14855
  timeoutErrorMessage = config.timeoutErrorMessage;
14726
14856
  }
14727
- reject(new AxiosError(
14857
+ abort(new AxiosError(
14728
14858
  timeoutErrorMessage,
14729
14859
  transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
14730
14860
  config,
14731
14861
  req
14732
14862
  ));
14733
- abort();
14734
14863
  });
14864
+ } else {
14865
+ req.setTimeout(0);
14735
14866
  }
14736
14867
  if (utils$1.isStream(data)) {
14737
14868
  let ended = false;
@@ -14750,7 +14881,8 @@ var require_axios = __commonJS({
14750
14881
  });
14751
14882
  data.pipe(req);
14752
14883
  } else {
14753
- req.end(data);
14884
+ data && req.write(data);
14885
+ req.end();
14754
14886
  }
14755
14887
  });
14756
14888
  };
@@ -14764,20 +14896,33 @@ var require_axios = __commonJS({
14764
14896
  var cookies = platform.hasStandardBrowserEnv ? (
14765
14897
  // Standard browser envs support document.cookie
14766
14898
  {
14767
- write(name, value, expires, path, domain, secure) {
14768
- const cookie = [name + "=" + encodeURIComponent(value)];
14769
- utils$1.isNumber(expires) && cookie.push("expires=" + new Date(expires).toGMTString());
14770
- utils$1.isString(path) && cookie.push("path=" + path);
14771
- utils$1.isString(domain) && cookie.push("domain=" + domain);
14772
- secure === true && cookie.push("secure");
14899
+ write(name, value, expires, path, domain, secure, sameSite) {
14900
+ if (typeof document === "undefined") return;
14901
+ const cookie = [`${name}=${encodeURIComponent(value)}`];
14902
+ if (utils$1.isNumber(expires)) {
14903
+ cookie.push(`expires=${new Date(expires).toUTCString()}`);
14904
+ }
14905
+ if (utils$1.isString(path)) {
14906
+ cookie.push(`path=${path}`);
14907
+ }
14908
+ if (utils$1.isString(domain)) {
14909
+ cookie.push(`domain=${domain}`);
14910
+ }
14911
+ if (secure === true) {
14912
+ cookie.push("secure");
14913
+ }
14914
+ if (utils$1.isString(sameSite)) {
14915
+ cookie.push(`SameSite=${sameSite}`);
14916
+ }
14773
14917
  document.cookie = cookie.join("; ");
14774
14918
  },
14775
14919
  read(name) {
14776
- const match = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
14777
- return match ? decodeURIComponent(match[3]) : null;
14920
+ if (typeof document === "undefined") return null;
14921
+ const match = document.cookie.match(new RegExp("(?:^|; )" + name + "=([^;]*)"));
14922
+ return match ? decodeURIComponent(match[1]) : null;
14778
14923
  },
14779
14924
  remove(name) {
14780
- this.write(name, "", Date.now() - 864e5);
14925
+ this.write(name, "", Date.now() - 864e5, "/");
14781
14926
  }
14782
14927
  }
14783
14928
  ) : (
@@ -15332,7 +15477,7 @@ var require_axios = __commonJS({
15332
15477
  };
15333
15478
  var seedCache = /* @__PURE__ */ new Map();
15334
15479
  var getFetch = (config) => {
15335
- let env = config ? config.env : {};
15480
+ let env = config && config.env || {};
15336
15481
  const { fetch: fetch2, Request, Response } = env;
15337
15482
  const seeds = [
15338
15483
  Request,
@@ -15367,40 +15512,49 @@ var require_axios = __commonJS({
15367
15512
  });
15368
15513
  var renderReason = (reason) => `- ${reason}`;
15369
15514
  var isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
15370
- var adapters = {
15371
- getAdapter: (adapters2, config) => {
15372
- adapters2 = utils$1.isArray(adapters2) ? adapters2 : [adapters2];
15373
- const { length } = adapters2;
15374
- let nameOrAdapter;
15375
- let adapter;
15376
- const rejectedReasons = {};
15377
- for (let i = 0; i < length; i++) {
15378
- nameOrAdapter = adapters2[i];
15379
- let id;
15380
- adapter = nameOrAdapter;
15381
- if (!isResolvedHandle(nameOrAdapter)) {
15382
- adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
15383
- if (adapter === void 0) {
15384
- throw new AxiosError(`Unknown adapter '${id}'`);
15385
- }
15515
+ function getAdapter(adapters2, config) {
15516
+ adapters2 = utils$1.isArray(adapters2) ? adapters2 : [adapters2];
15517
+ const { length } = adapters2;
15518
+ let nameOrAdapter;
15519
+ let adapter;
15520
+ const rejectedReasons = {};
15521
+ for (let i = 0; i < length; i++) {
15522
+ nameOrAdapter = adapters2[i];
15523
+ let id;
15524
+ adapter = nameOrAdapter;
15525
+ if (!isResolvedHandle(nameOrAdapter)) {
15526
+ adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
15527
+ if (adapter === void 0) {
15528
+ throw new AxiosError(`Unknown adapter '${id}'`);
15386
15529
  }
15387
- if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
15388
- break;
15389
- }
15390
- rejectedReasons[id || "#" + i] = adapter;
15391
15530
  }
15392
- if (!adapter) {
15393
- const reasons = Object.entries(rejectedReasons).map(
15394
- ([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
15395
- );
15396
- let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
15397
- throw new AxiosError(
15398
- `There is no suitable adapter to dispatch the request ` + s,
15399
- "ERR_NOT_SUPPORT"
15400
- );
15531
+ if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
15532
+ break;
15401
15533
  }
15402
- return adapter;
15403
- },
15534
+ rejectedReasons[id || "#" + i] = adapter;
15535
+ }
15536
+ if (!adapter) {
15537
+ const reasons = Object.entries(rejectedReasons).map(
15538
+ ([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
15539
+ );
15540
+ let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
15541
+ throw new AxiosError(
15542
+ `There is no suitable adapter to dispatch the request ` + s,
15543
+ "ERR_NOT_SUPPORT"
15544
+ );
15545
+ }
15546
+ return adapter;
15547
+ }
15548
+ var adapters = {
15549
+ /**
15550
+ * Resolve an adapter from a list of adapter names or functions.
15551
+ * @type {Function}
15552
+ */
15553
+ getAdapter,
15554
+ /**
15555
+ * Exposes all known adapters
15556
+ * @type {Object<string, Function|Object>}
15557
+ */
15404
15558
  adapters: knownAdapters
15405
15559
  };
15406
15560
  function throwIfCancellationRequested(config) {
@@ -15845,7 +15999,13 @@ var require_axios = __commonJS({
15845
15999
  InsufficientStorage: 507,
15846
16000
  LoopDetected: 508,
15847
16001
  NotExtended: 510,
15848
- NetworkAuthenticationRequired: 511
16002
+ NetworkAuthenticationRequired: 511,
16003
+ WebServerIsDown: 521,
16004
+ ConnectionTimedOut: 522,
16005
+ OriginIsUnreachable: 523,
16006
+ TimeoutOccurred: 524,
16007
+ SslHandshakeFailed: 525,
16008
+ InvalidSslCertificate: 526
15849
16009
  };
15850
16010
  Object.entries(HttpStatusCode).forEach(([key, value]) => {
15851
16011
  HttpStatusCode[value] = key;
@@ -16770,6 +16930,27 @@ var require_message_metadata2 = __commonJS({
16770
16930
  "node_modules/@slack/types/dist/message-metadata.js"(exports2) {
16771
16931
  "use strict";
16772
16932
  Object.defineProperty(exports2, "__esModule", { value: true });
16933
+ exports2.CustomFieldType = exports2.EntityType = void 0;
16934
+ var EntityType;
16935
+ (function(EntityType2) {
16936
+ EntityType2["Task"] = "slack#/entities/task";
16937
+ EntityType2["File"] = "slack#/entities/file";
16938
+ EntityType2["Item"] = "slack#/entities/item";
16939
+ EntityType2["Incident"] = "slack#/entities/incident";
16940
+ EntityType2["ContentItem"] = "slack#/entities/content_item";
16941
+ })(EntityType || (exports2.EntityType = EntityType = {}));
16942
+ var CustomFieldType;
16943
+ (function(CustomFieldType2) {
16944
+ CustomFieldType2["Integer"] = "integer";
16945
+ CustomFieldType2["String"] = "string";
16946
+ CustomFieldType2["Array"] = "array";
16947
+ CustomFieldType2["Date"] = "slack#/types/date";
16948
+ CustomFieldType2["Timestamp"] = "slack#/types/timestamp";
16949
+ CustomFieldType2["Image"] = "slack#/types/image";
16950
+ CustomFieldType2["ChannelId"] = "slack#/types/channel_id";
16951
+ CustomFieldType2["User"] = "slack#/types/user";
16952
+ CustomFieldType2["EntityRef"] = "slack#/types/entity_ref";
16953
+ })(CustomFieldType || (exports2.CustomFieldType = CustomFieldType = {}));
16773
16954
  }
16774
16955
  });
16775
16956
 
@@ -18986,7 +19167,7 @@ mime-types/index.js:
18986
19167
  *)
18987
19168
 
18988
19169
  axios/dist/node/axios.cjs:
18989
- (*! Axios v1.12.2 Copyright (c) 2025 Matt Zabriskie and contributors *)
19170
+ (*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors *)
18990
19171
 
18991
19172
  safe-buffer/index.js:
18992
19173
  (*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)