@gammarers/aws-sns-slack-message-lambda-subscription 0.2.11 → 0.2.13

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
@@ -3682,7 +3682,7 @@
3682
3682
  "stability": "stable"
3683
3683
  },
3684
3684
  "homepage": "https://github.com/gammarers/aws-sns-slack-message-lambda-subscription.git",
3685
- "jsiiVersion": "5.7.5 (build eb860fb)",
3685
+ "jsiiVersion": "5.7.7 (build 79515e6)",
3686
3686
  "keywords": [
3687
3687
  "aws",
3688
3688
  "aws-cdk",
@@ -3903,6 +3903,6 @@
3903
3903
  "symbolId": "src/index:SNSSlackMessageLambdaSubscriptionProps"
3904
3904
  }
3905
3905
  },
3906
- "version": "0.2.11",
3907
- "fingerprint": "FuwbNPyix7SeRIA42Ady8MIeILV0VPQax0dS86D+wic="
3906
+ "version": "0.2.13",
3907
+ "fingerprint": "+zaxb6RLbxZHHwJAGiYD9ZbHaHSt3/U9r4J+3XbYRdo="
3908
3908
  }
@@ -9684,6 +9684,7 @@ var require_get_intrinsic = __commonJS({
9684
9684
  "%eval%": eval,
9685
9685
  // eslint-disable-line no-eval
9686
9686
  "%EvalError%": $EvalError,
9687
+ "%Float16Array%": typeof Float16Array === "undefined" ? undefined2 : Float16Array,
9687
9688
  "%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
9688
9689
  "%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
9689
9690
  "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
@@ -11671,6 +11672,7 @@ var require_axios = __commonJS({
11671
11672
  "node_modules/axios/dist/node/axios.cjs"(exports2, module2) {
11672
11673
  "use strict";
11673
11674
  var FormData$1 = require_form_data();
11675
+ var crypto2 = require("crypto");
11674
11676
  var url2 = require("url");
11675
11677
  var proxyFromEnv2 = require_proxy_from_env();
11676
11678
  var http2 = require("http");
@@ -11684,6 +11686,7 @@ var require_axios = __commonJS({
11684
11686
  return e && typeof e === "object" && "default" in e ? e : { "default": e };
11685
11687
  }
11686
11688
  var FormData__default = /* @__PURE__ */ _interopDefaultLegacy(FormData$1);
11689
+ var crypto__default = /* @__PURE__ */ _interopDefaultLegacy(crypto2);
11687
11690
  var url__default = /* @__PURE__ */ _interopDefaultLegacy(url2);
11688
11691
  var proxyFromEnv__default = /* @__PURE__ */ _interopDefaultLegacy(proxyFromEnv2);
11689
11692
  var http__default = /* @__PURE__ */ _interopDefaultLegacy(http2);
@@ -11952,21 +11955,6 @@ var require_axios = __commonJS({
11952
11955
  var toFiniteNumber2 = (value, defaultValue) => {
11953
11956
  return value != null && Number.isFinite(value = +value) ? value : defaultValue;
11954
11957
  };
11955
- var ALPHA2 = "abcdefghijklmnopqrstuvwxyz";
11956
- var DIGIT2 = "0123456789";
11957
- var ALPHABET2 = {
11958
- DIGIT: DIGIT2,
11959
- ALPHA: ALPHA2,
11960
- ALPHA_DIGIT: ALPHA2 + ALPHA2.toUpperCase() + DIGIT2
11961
- };
11962
- var generateString2 = (size = 16, alphabet = ALPHABET2.ALPHA_DIGIT) => {
11963
- let str = "";
11964
- const { length } = alphabet;
11965
- while (size--) {
11966
- str += alphabet[Math.random() * length | 0];
11967
- }
11968
- return str;
11969
- };
11970
11958
  function isSpecCompliantForm2(thing) {
11971
11959
  return !!(thing && isFunction2(thing.append) && thing[Symbol.toStringTag] === "FormData" && thing[Symbol.iterator]);
11972
11960
  }
@@ -12065,8 +12053,6 @@ var require_axios = __commonJS({
12065
12053
  findKey: findKey2,
12066
12054
  global: _global2,
12067
12055
  isContextDefined: isContextDefined2,
12068
- ALPHABET: ALPHABET2,
12069
- generateString: generateString2,
12070
12056
  isSpecCompliantForm: isSpecCompliantForm2,
12071
12057
  toJSONObject: toJSONObject2,
12072
12058
  isAsyncFn: isAsyncFn2,
@@ -12382,6 +12368,23 @@ var require_axios = __commonJS({
12382
12368
  clarifyTimeoutError: false
12383
12369
  };
12384
12370
  var URLSearchParams = url__default["default"].URLSearchParams;
12371
+ var ALPHA2 = "abcdefghijklmnopqrstuvwxyz";
12372
+ var DIGIT2 = "0123456789";
12373
+ var ALPHABET2 = {
12374
+ DIGIT: DIGIT2,
12375
+ ALPHA: ALPHA2,
12376
+ ALPHA_DIGIT: ALPHA2 + ALPHA2.toUpperCase() + DIGIT2
12377
+ };
12378
+ var generateString2 = (size = 16, alphabet = ALPHABET2.ALPHA_DIGIT) => {
12379
+ let str = "";
12380
+ const { length } = alphabet;
12381
+ const randomValues = new Uint32Array(size);
12382
+ crypto__default["default"].randomFillSync(randomValues);
12383
+ for (let i = 0; i < size; i++) {
12384
+ str += alphabet[randomValues[i] % length];
12385
+ }
12386
+ return str;
12387
+ };
12385
12388
  var platform$1 = {
12386
12389
  isNode: true,
12387
12390
  classes: {
@@ -12389,6 +12392,8 @@ var require_axios = __commonJS({
12389
12392
  FormData: FormData__default["default"],
12390
12393
  Blob: typeof Blob !== "undefined" && Blob || null
12391
12394
  },
12395
+ ALPHABET: ALPHABET2,
12396
+ generateString: generateString2,
12392
12397
  protocols: ["http", "https", "file", "data"]
12393
12398
  };
12394
12399
  var hasBrowserEnv2 = typeof window !== "undefined" && typeof document !== "undefined";
@@ -12882,13 +12887,14 @@ var require_axios = __commonJS({
12882
12887
  function combineURLs2(baseURL, relativeURL) {
12883
12888
  return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
12884
12889
  }
12885
- function buildFullPath2(baseURL, requestedURL) {
12886
- if (baseURL && !isAbsoluteURL2(requestedURL)) {
12890
+ function buildFullPath2(baseURL, requestedURL, allowAbsoluteUrls) {
12891
+ let isRelativeUrl = !isAbsoluteURL2(requestedURL);
12892
+ if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
12887
12893
  return combineURLs2(baseURL, requestedURL);
12888
12894
  }
12889
12895
  return requestedURL;
12890
12896
  }
12891
- var VERSION3 = "1.7.9";
12897
+ var VERSION3 = "1.8.1";
12892
12898
  function parseProtocol2(url3) {
12893
12899
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url3);
12894
12900
  return match && match[1] || "";
@@ -13045,7 +13051,7 @@ var require_axios = __commonJS({
13045
13051
  }
13046
13052
  };
13047
13053
  var readBlob$1 = readBlob2;
13048
- var BOUNDARY_ALPHABET2 = utils$1.ALPHABET.ALPHA_DIGIT + "-_";
13054
+ var BOUNDARY_ALPHABET2 = platform.ALPHABET.ALPHA_DIGIT + "-_";
13049
13055
  var textEncoder2 = typeof TextEncoder === "function" ? new TextEncoder() : new util__default["default"].TextEncoder();
13050
13056
  var CRLF2 = "\r\n";
13051
13057
  var CRLF_BYTES2 = textEncoder2.encode(CRLF2);
@@ -13088,7 +13094,7 @@ var require_axios = __commonJS({
13088
13094
  const {
13089
13095
  tag = "form-data-boundary",
13090
13096
  size = 25,
13091
- boundary = tag + "-" + utils$1.generateString(size, BOUNDARY_ALPHABET2)
13097
+ boundary = tag + "-" + platform.generateString(size, BOUNDARY_ALPHABET2)
13092
13098
  } = options || {};
13093
13099
  if (!utils$1.isFormData(form)) {
13094
13100
  throw TypeError("FormData instance required");
@@ -14516,6 +14522,12 @@ var require_axios = __commonJS({
14516
14522
  }, true);
14517
14523
  }
14518
14524
  }
14525
+ if (config.allowAbsoluteUrls !== void 0) ;
14526
+ else if (this.defaults.allowAbsoluteUrls !== void 0) {
14527
+ config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
14528
+ } else {
14529
+ config.allowAbsoluteUrls = true;
14530
+ }
14519
14531
  validator.assertOptions(config, {
14520
14532
  baseUrl: validators3.spelling("baseURL"),
14521
14533
  withXsrfToken: validators3.spelling("withXSRFToken")
@@ -14586,7 +14598,7 @@ var require_axios = __commonJS({
14586
14598
  }
14587
14599
  getUri(config) {
14588
14600
  config = mergeConfig3(this.defaults, config);
14589
- const fullPath = buildFullPath2(config.baseURL, config.url);
14601
+ const fullPath = buildFullPath2(config.baseURL, config.url, config.allowAbsoluteUrls);
14590
14602
  return buildURL2(fullPath, config.params, config.paramsSerializer);
14591
14603
  }
14592
14604
  };
@@ -15322,21 +15334,6 @@ var noop = () => {
15322
15334
  var toFiniteNumber = (value, defaultValue) => {
15323
15335
  return value != null && Number.isFinite(value = +value) ? value : defaultValue;
15324
15336
  };
15325
- var ALPHA = "abcdefghijklmnopqrstuvwxyz";
15326
- var DIGIT = "0123456789";
15327
- var ALPHABET = {
15328
- DIGIT,
15329
- ALPHA,
15330
- ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
15331
- };
15332
- var generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
15333
- let str = "";
15334
- const { length } = alphabet;
15335
- while (size--) {
15336
- str += alphabet[Math.random() * length | 0];
15337
- }
15338
- return str;
15339
- };
15340
15337
  function isSpecCompliantForm(thing) {
15341
15338
  return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === "FormData" && thing[Symbol.iterator]);
15342
15339
  }
@@ -15435,8 +15432,6 @@ var utils_default = {
15435
15432
  findKey,
15436
15433
  global: _global,
15437
15434
  isContextDefined,
15438
- ALPHABET,
15439
- generateString,
15440
15435
  isSpecCompliantForm,
15441
15436
  toJSONObject,
15442
15437
  isAsyncFn,
@@ -15771,11 +15766,31 @@ var transitional_default = {
15771
15766
  clarifyTimeoutError: false
15772
15767
  };
15773
15768
 
15769
+ // node_modules/axios/lib/platform/node/index.js
15770
+ var import_crypto = __toESM(require("crypto"), 1);
15771
+
15774
15772
  // node_modules/axios/lib/platform/node/classes/URLSearchParams.js
15775
15773
  var import_url = __toESM(require("url"), 1);
15776
15774
  var URLSearchParams_default = import_url.default.URLSearchParams;
15777
15775
 
15778
15776
  // node_modules/axios/lib/platform/node/index.js
15777
+ var ALPHA = "abcdefghijklmnopqrstuvwxyz";
15778
+ var DIGIT = "0123456789";
15779
+ var ALPHABET = {
15780
+ DIGIT,
15781
+ ALPHA,
15782
+ ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
15783
+ };
15784
+ var generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
15785
+ let str = "";
15786
+ const { length } = alphabet;
15787
+ const randomValues = new Uint32Array(size);
15788
+ import_crypto.default.randomFillSync(randomValues);
15789
+ for (let i = 0; i < size; i++) {
15790
+ str += alphabet[randomValues[i] % length];
15791
+ }
15792
+ return str;
15793
+ };
15779
15794
  var node_default = {
15780
15795
  isNode: true,
15781
15796
  classes: {
@@ -15783,6 +15798,8 @@ var node_default = {
15783
15798
  FormData: FormData_default,
15784
15799
  Blob: typeof Blob !== "undefined" && Blob || null
15785
15800
  },
15801
+ ALPHABET,
15802
+ generateString,
15786
15803
  protocols: ["http", "https", "file", "data"]
15787
15804
  };
15788
15805
 
@@ -16306,8 +16323,9 @@ function combineURLs(baseURL, relativeURL) {
16306
16323
  }
16307
16324
 
16308
16325
  // node_modules/axios/lib/core/buildFullPath.js
16309
- function buildFullPath(baseURL, requestedURL) {
16310
- if (baseURL && !isAbsoluteURL(requestedURL)) {
16326
+ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
16327
+ let isRelativeUrl = !isAbsoluteURL(requestedURL);
16328
+ if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
16311
16329
  return combineURLs(baseURL, requestedURL);
16312
16330
  }
16313
16331
  return requestedURL;
@@ -16322,7 +16340,7 @@ var import_follow_redirects = __toESM(require_follow_redirects(), 1);
16322
16340
  var import_zlib = __toESM(require("zlib"), 1);
16323
16341
 
16324
16342
  // node_modules/axios/lib/env/data.js
16325
- var VERSION = "1.7.9";
16343
+ var VERSION = "1.8.1";
16326
16344
 
16327
16345
  // node_modules/axios/lib/helpers/parseProtocol.js
16328
16346
  function parseProtocol(url2) {
@@ -16500,7 +16518,7 @@ var readBlob = async function* (blob) {
16500
16518
  var readBlob_default = readBlob;
16501
16519
 
16502
16520
  // node_modules/axios/lib/helpers/formDataToStream.js
16503
- var BOUNDARY_ALPHABET = utils_default.ALPHABET.ALPHA_DIGIT + "-_";
16521
+ var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
16504
16522
  var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
16505
16523
  var CRLF = "\r\n";
16506
16524
  var CRLF_BYTES = textEncoder.encode(CRLF);
@@ -16543,7 +16561,7 @@ var formDataToStream = (form, headersHandler, options) => {
16543
16561
  const {
16544
16562
  tag = "form-data-boundary",
16545
16563
  size = 25,
16546
- boundary = tag + "-" + utils_default.generateString(size, BOUNDARY_ALPHABET)
16564
+ boundary = tag + "-" + platform_default.generateString(size, BOUNDARY_ALPHABET)
16547
16565
  } = options || {};
16548
16566
  if (!utils_default.isFormData(form)) {
16549
16567
  throw TypeError("FormData instance required");
@@ -18010,6 +18028,12 @@ var Axios = class {
18010
18028
  }, true);
18011
18029
  }
18012
18030
  }
18031
+ if (config.allowAbsoluteUrls !== void 0) {
18032
+ } else if (this.defaults.allowAbsoluteUrls !== void 0) {
18033
+ config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
18034
+ } else {
18035
+ config.allowAbsoluteUrls = true;
18036
+ }
18013
18037
  validator_default.assertOptions(config, {
18014
18038
  baseUrl: validators2.spelling("baseURL"),
18015
18039
  withXsrfToken: validators2.spelling("withXSRFToken")
@@ -18080,7 +18104,7 @@ var Axios = class {
18080
18104
  }
18081
18105
  getUri(config) {
18082
18106
  config = mergeConfig(this.defaults, config);
18083
- const fullPath = buildFullPath(config.baseURL, config.url);
18107
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
18084
18108
  return buildURL(fullPath, config.params, config.paramsSerializer);
18085
18109
  }
18086
18110
  };
@@ -18408,5 +18432,8 @@ mime-types/index.js:
18408
18432
  * Copyright(c) 2015 Douglas Christopher Wilson
18409
18433
  * MIT Licensed
18410
18434
  *)
18435
+
18436
+ axios/dist/node/axios.cjs:
18437
+ (*! Axios v1.8.1 Copyright (c) 2025 Matt Zabriskie and contributors *)
18411
18438
  */
18412
18439
  //# sourceMappingURL=index.js.map