@gammarers/aws-sns-slack-message-lambda-subscription 1.0.7 → 1.0.9
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
|
@@ -3971,7 +3971,7 @@
|
|
|
3971
3971
|
"stability": "stable"
|
|
3972
3972
|
},
|
|
3973
3973
|
"homepage": "https://github.com/gammarers/aws-sns-slack-message-lambda-subscription.git",
|
|
3974
|
-
"jsiiVersion": "5.8.
|
|
3974
|
+
"jsiiVersion": "5.8.16 (build 1632665)",
|
|
3975
3975
|
"keywords": [
|
|
3976
3976
|
"aws",
|
|
3977
3977
|
"aws-cdk",
|
|
@@ -4192,6 +4192,6 @@
|
|
|
4192
4192
|
"symbolId": "src/index:SNSSlackMessageLambdaSubscriptionProps"
|
|
4193
4193
|
}
|
|
4194
4194
|
},
|
|
4195
|
-
"version": "1.0.
|
|
4196
|
-
"fingerprint": "
|
|
4195
|
+
"version": "1.0.9",
|
|
4196
|
+
"fingerprint": "xSOfZ57ngRI5iNpzbnvZvFuB8QyZlhhRp7div867TUE="
|
|
4197
4197
|
}
|
|
@@ -10005,6 +10005,7 @@ var require_form_data = __commonJS({
|
|
|
10005
10005
|
var parseUrl = require("url").parse;
|
|
10006
10006
|
var fs = require("fs");
|
|
10007
10007
|
var Stream = require("stream").Stream;
|
|
10008
|
+
var crypto2 = require("crypto");
|
|
10008
10009
|
var mime = require_mime_types();
|
|
10009
10010
|
var asynckit = require_asynckit();
|
|
10010
10011
|
var setToStringTag = require_es_set_tostringtag();
|
|
@@ -10210,11 +10211,7 @@ var require_form_data = __commonJS({
|
|
|
10210
10211
|
return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]);
|
|
10211
10212
|
};
|
|
10212
10213
|
FormData3.prototype._generateBoundary = function() {
|
|
10213
|
-
|
|
10214
|
-
for (var i = 0; i < 24; i++) {
|
|
10215
|
-
boundary += Math.floor(Math.random() * 10).toString(16);
|
|
10216
|
-
}
|
|
10217
|
-
this._boundary = boundary;
|
|
10214
|
+
this._boundary = "--------------------------" + crypto2.randomBytes(12).toString("hex");
|
|
10218
10215
|
};
|
|
10219
10216
|
FormData3.prototype.getLengthSync = function() {
|
|
10220
10217
|
var knownLength = this._overheadLength + this._valueLength;
|
|
@@ -11743,6 +11740,16 @@ var require_axios = __commonJS({
|
|
|
11743
11740
|
const prototype4 = getPrototypeOf2(val);
|
|
11744
11741
|
return (prototype4 === null || prototype4 === Object.prototype || Object.getPrototypeOf(prototype4) === null) && !(toStringTag2 in val) && !(iterator2 in val);
|
|
11745
11742
|
};
|
|
11743
|
+
var isEmptyObject2 = (val) => {
|
|
11744
|
+
if (!isObject2(val) || isBuffer2(val)) {
|
|
11745
|
+
return false;
|
|
11746
|
+
}
|
|
11747
|
+
try {
|
|
11748
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
11749
|
+
} catch (e) {
|
|
11750
|
+
return false;
|
|
11751
|
+
}
|
|
11752
|
+
};
|
|
11746
11753
|
var isDate2 = kindOfTest2("Date");
|
|
11747
11754
|
var isFile2 = kindOfTest2("File");
|
|
11748
11755
|
var isBlob2 = kindOfTest2("Blob");
|
|
@@ -11770,6 +11777,9 @@ var require_axios = __commonJS({
|
|
|
11770
11777
|
fn.call(null, obj[i], i, obj);
|
|
11771
11778
|
}
|
|
11772
11779
|
} else {
|
|
11780
|
+
if (isBuffer2(obj)) {
|
|
11781
|
+
return;
|
|
11782
|
+
}
|
|
11773
11783
|
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
11774
11784
|
const len = keys.length;
|
|
11775
11785
|
let key;
|
|
@@ -11780,6 +11790,9 @@ var require_axios = __commonJS({
|
|
|
11780
11790
|
}
|
|
11781
11791
|
}
|
|
11782
11792
|
function findKey2(obj, key) {
|
|
11793
|
+
if (isBuffer2(obj)) {
|
|
11794
|
+
return null;
|
|
11795
|
+
}
|
|
11783
11796
|
key = key.toLowerCase();
|
|
11784
11797
|
const keys = Object.keys(obj);
|
|
11785
11798
|
let i = keys.length;
|
|
@@ -11970,6 +11983,9 @@ var require_axios = __commonJS({
|
|
|
11970
11983
|
if (stack.indexOf(source) >= 0) {
|
|
11971
11984
|
return;
|
|
11972
11985
|
}
|
|
11986
|
+
if (isBuffer2(source)) {
|
|
11987
|
+
return source;
|
|
11988
|
+
}
|
|
11973
11989
|
if (!("toJSON" in source)) {
|
|
11974
11990
|
stack[i] = source;
|
|
11975
11991
|
const target = isArray2(source) ? [] : {};
|
|
@@ -12019,6 +12035,7 @@ var require_axios = __commonJS({
|
|
|
12019
12035
|
isBoolean: isBoolean2,
|
|
12020
12036
|
isObject: isObject2,
|
|
12021
12037
|
isPlainObject: isPlainObject2,
|
|
12038
|
+
isEmptyObject: isEmptyObject2,
|
|
12022
12039
|
isReadableStream: isReadableStream2,
|
|
12023
12040
|
isRequest: isRequest2,
|
|
12024
12041
|
isResponse: isResponse2,
|
|
@@ -12427,15 +12444,16 @@ var require_axios = __commonJS({
|
|
|
12427
12444
|
...platform$1
|
|
12428
12445
|
};
|
|
12429
12446
|
function toURLEncodedForm2(data, options) {
|
|
12430
|
-
return toFormData3(data, new platform.classes.URLSearchParams(),
|
|
12447
|
+
return toFormData3(data, new platform.classes.URLSearchParams(), {
|
|
12431
12448
|
visitor: function(value, key, path, helpers) {
|
|
12432
12449
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
12433
12450
|
this.append(key, value.toString("base64"));
|
|
12434
12451
|
return false;
|
|
12435
12452
|
}
|
|
12436
12453
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
12437
|
-
}
|
|
12438
|
-
|
|
12454
|
+
},
|
|
12455
|
+
...options
|
|
12456
|
+
});
|
|
12439
12457
|
}
|
|
12440
12458
|
function parsePropPath2(name) {
|
|
12441
12459
|
return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
@@ -12912,7 +12930,7 @@ var require_axios = __commonJS({
|
|
|
12912
12930
|
}
|
|
12913
12931
|
return requestedURL;
|
|
12914
12932
|
}
|
|
12915
|
-
var VERSION3 = "1.
|
|
12933
|
+
var VERSION3 = "1.11.0";
|
|
12916
12934
|
function parseProtocol2(url3) {
|
|
12917
12935
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url3);
|
|
12918
12936
|
return match && match[1] || "";
|
|
@@ -13223,7 +13241,7 @@ var require_axios = __commonJS({
|
|
|
13223
13241
|
clearTimeout(timer);
|
|
13224
13242
|
timer = null;
|
|
13225
13243
|
}
|
|
13226
|
-
fn
|
|
13244
|
+
fn(...args);
|
|
13227
13245
|
};
|
|
13228
13246
|
const throttled = (...args) => {
|
|
13229
13247
|
const now = Date.now();
|
|
@@ -13884,7 +13902,7 @@ var require_axios = __commonJS({
|
|
|
13884
13902
|
validateStatus: mergeDirectKeys,
|
|
13885
13903
|
headers: (a, b, prop) => mergeDeepProperties(headersToObject2(a), headersToObject2(b), prop, true)
|
|
13886
13904
|
};
|
|
13887
|
-
utils$1.forEach(Object.keys(
|
|
13905
|
+
utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
13888
13906
|
const merge3 = mergeMap[prop] || mergeDeepProperties;
|
|
13889
13907
|
const configValue = merge3(config1[prop], config2[prop], prop);
|
|
13890
13908
|
utils$1.isUndefined(configValue) && merge3 !== mergeDirectKeys || (config[prop] = configValue);
|
|
@@ -14580,8 +14598,8 @@ var require_axios = __commonJS({
|
|
|
14580
14598
|
let len;
|
|
14581
14599
|
if (!synchronousRequestInterceptors) {
|
|
14582
14600
|
const chain = [dispatchRequest2.bind(this), void 0];
|
|
14583
|
-
chain.unshift
|
|
14584
|
-
chain.push
|
|
14601
|
+
chain.unshift(...requestInterceptorChain);
|
|
14602
|
+
chain.push(...responseInterceptorChain);
|
|
14585
14603
|
len = chain.length;
|
|
14586
14604
|
promise = Promise.resolve(config);
|
|
14587
14605
|
while (i < len) {
|
|
@@ -15136,6 +15154,16 @@ var isPlainObject = (val) => {
|
|
|
15136
15154
|
const prototype3 = getPrototypeOf(val);
|
|
15137
15155
|
return (prototype3 === null || prototype3 === Object.prototype || Object.getPrototypeOf(prototype3) === null) && !(toStringTag in val) && !(iterator in val);
|
|
15138
15156
|
};
|
|
15157
|
+
var isEmptyObject = (val) => {
|
|
15158
|
+
if (!isObject(val) || isBuffer(val)) {
|
|
15159
|
+
return false;
|
|
15160
|
+
}
|
|
15161
|
+
try {
|
|
15162
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
15163
|
+
} catch (e) {
|
|
15164
|
+
return false;
|
|
15165
|
+
}
|
|
15166
|
+
};
|
|
15139
15167
|
var isDate = kindOfTest("Date");
|
|
15140
15168
|
var isFile = kindOfTest("File");
|
|
15141
15169
|
var isBlob = kindOfTest("Blob");
|
|
@@ -15163,6 +15191,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
15163
15191
|
fn.call(null, obj[i], i, obj);
|
|
15164
15192
|
}
|
|
15165
15193
|
} else {
|
|
15194
|
+
if (isBuffer(obj)) {
|
|
15195
|
+
return;
|
|
15196
|
+
}
|
|
15166
15197
|
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
15167
15198
|
const len = keys.length;
|
|
15168
15199
|
let key;
|
|
@@ -15173,6 +15204,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
15173
15204
|
}
|
|
15174
15205
|
}
|
|
15175
15206
|
function findKey(obj, key) {
|
|
15207
|
+
if (isBuffer(obj)) {
|
|
15208
|
+
return null;
|
|
15209
|
+
}
|
|
15176
15210
|
key = key.toLowerCase();
|
|
15177
15211
|
const keys = Object.keys(obj);
|
|
15178
15212
|
let i = keys.length;
|
|
@@ -15363,6 +15397,9 @@ var toJSONObject = (obj) => {
|
|
|
15363
15397
|
if (stack.indexOf(source) >= 0) {
|
|
15364
15398
|
return;
|
|
15365
15399
|
}
|
|
15400
|
+
if (isBuffer(source)) {
|
|
15401
|
+
return source;
|
|
15402
|
+
}
|
|
15366
15403
|
if (!("toJSON" in source)) {
|
|
15367
15404
|
stack[i] = source;
|
|
15368
15405
|
const target = isArray(source) ? [] : {};
|
|
@@ -15412,6 +15449,7 @@ var utils_default = {
|
|
|
15412
15449
|
isBoolean,
|
|
15413
15450
|
isObject,
|
|
15414
15451
|
isPlainObject,
|
|
15452
|
+
isEmptyObject,
|
|
15415
15453
|
isReadableStream,
|
|
15416
15454
|
isRequest,
|
|
15417
15455
|
isResponse,
|
|
@@ -15853,15 +15891,16 @@ var platform_default = {
|
|
|
15853
15891
|
|
|
15854
15892
|
// node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
15855
15893
|
function toURLEncodedForm(data, options) {
|
|
15856
|
-
return toFormData_default(data, new platform_default.classes.URLSearchParams(),
|
|
15894
|
+
return toFormData_default(data, new platform_default.classes.URLSearchParams(), {
|
|
15857
15895
|
visitor: function(value, key, path, helpers) {
|
|
15858
15896
|
if (platform_default.isNode && utils_default.isBuffer(value)) {
|
|
15859
15897
|
this.append(key, value.toString("base64"));
|
|
15860
15898
|
return false;
|
|
15861
15899
|
}
|
|
15862
15900
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
15863
|
-
}
|
|
15864
|
-
|
|
15901
|
+
},
|
|
15902
|
+
...options
|
|
15903
|
+
});
|
|
15865
15904
|
}
|
|
15866
15905
|
|
|
15867
15906
|
// node_modules/axios/lib/helpers/formDataToJSON.js
|
|
@@ -16372,7 +16411,7 @@ var import_follow_redirects = __toESM(require_follow_redirects(), 1);
|
|
|
16372
16411
|
var import_zlib = __toESM(require("zlib"), 1);
|
|
16373
16412
|
|
|
16374
16413
|
// node_modules/axios/lib/env/data.js
|
|
16375
|
-
var VERSION = "1.
|
|
16414
|
+
var VERSION = "1.11.0";
|
|
16376
16415
|
|
|
16377
16416
|
// node_modules/axios/lib/helpers/parseProtocol.js
|
|
16378
16417
|
function parseProtocol(url2) {
|
|
@@ -16714,7 +16753,7 @@ function throttle(fn, freq) {
|
|
|
16714
16753
|
clearTimeout(timer);
|
|
16715
16754
|
timer = null;
|
|
16716
16755
|
}
|
|
16717
|
-
fn
|
|
16756
|
+
fn(...args);
|
|
16718
16757
|
};
|
|
16719
16758
|
const throttled = (...args) => {
|
|
16720
16759
|
const now = Date.now();
|
|
@@ -17386,7 +17425,7 @@ function mergeConfig(config1, config2) {
|
|
|
17386
17425
|
validateStatus: mergeDirectKeys,
|
|
17387
17426
|
headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
|
|
17388
17427
|
};
|
|
17389
|
-
utils_default.forEach(Object.keys(
|
|
17428
|
+
utils_default.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
17390
17429
|
const merge2 = mergeMap[prop] || mergeDeepProperties;
|
|
17391
17430
|
const configValue = merge2(config1[prop], config2[prop], prop);
|
|
17392
17431
|
utils_default.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
|
|
@@ -18100,8 +18139,8 @@ var Axios = class {
|
|
|
18100
18139
|
let len;
|
|
18101
18140
|
if (!synchronousRequestInterceptors) {
|
|
18102
18141
|
const chain = [dispatchRequest.bind(this), void 0];
|
|
18103
|
-
chain.unshift
|
|
18104
|
-
chain.push
|
|
18142
|
+
chain.unshift(...requestInterceptorChain);
|
|
18143
|
+
chain.push(...responseInterceptorChain);
|
|
18105
18144
|
len = chain.length;
|
|
18106
18145
|
promise = Promise.resolve(config);
|
|
18107
18146
|
while (i < len) {
|
|
@@ -18466,6 +18505,6 @@ mime-types/index.js:
|
|
|
18466
18505
|
*)
|
|
18467
18506
|
|
|
18468
18507
|
axios/dist/node/axios.cjs:
|
|
18469
|
-
(*! Axios v1.
|
|
18508
|
+
(*! Axios v1.11.0 Copyright (c) 2025 Matt Zabriskie and contributors *)
|
|
18470
18509
|
*/
|
|
18471
18510
|
//# sourceMappingURL=index.js.map
|