@rio-cloud/cdk-v2-constructs 8.8.2 → 9.0.0-alpha.0
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 +554 -216
- package/lib/contributions/team-transport-two/datadog-synthetics/datadog-synthetics-test-custom-resource/handler.cjs +107 -104
- package/lib/contributions/team-transport-two/pipeline/buildspecs.d.ts +3 -3
- package/lib/contributions/team-transport-two/pipeline/buildspecs.js +34 -12
- package/lib/contributions/team-transport-two/pipeline/pipeline-stack.d.ts +2 -0
- package/lib/contributions/team-transport-two/pipeline/pipeline-stack.js +7 -5
- package/lib/datadogv2/datadog-lambda-instrumentation.d.ts +1 -1
- package/lib/datadogv2/datadog-lambda-instrumentation.js +5 -2
- package/lib/datadogv2/secret-locator-custom-resource/on-create.cjs +85 -76
- package/lib/datadogv2/service-catalog-custom-resource/on-create.cjs +85 -82
- package/lib/datadogv2/validate-lambda-environment.d.ts +3 -0
- package/lib/datadogv2/validate-lambda-environment.js +33 -0
- package/lib/fargate/codedeploy-custom-resources/create-deployment-is-complete.cjs +85 -76
- package/lib/fargate/codedeploy-custom-resources/create-deployment-on-create.cjs +85 -76
- package/lib/fargate/codedeploy-custom-resources/run-monitoring-test-suite-runner.cjs +90 -81
- package/lib/sbom-catalog/lambda/handler.cjs +88 -84
- package/package.json +9 -8
- package/version.json +1 -1
|
@@ -5,11 +5,20 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __esm = (fn, res) => function __init() {
|
|
9
|
-
|
|
8
|
+
var __esm = (fn, res, err) => function __init() {
|
|
9
|
+
if (err) throw err[0];
|
|
10
|
+
try {
|
|
11
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
12
|
+
} catch (e5) {
|
|
13
|
+
throw err = [e5], e5;
|
|
14
|
+
}
|
|
10
15
|
};
|
|
11
16
|
var __commonJS = (cb, mod) => function __require() {
|
|
12
|
-
|
|
17
|
+
try {
|
|
18
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
19
|
+
} catch (e5) {
|
|
20
|
+
throw mod = 0, e5;
|
|
21
|
+
}
|
|
13
22
|
};
|
|
14
23
|
var __export = (target, all) => {
|
|
15
24
|
for (var name in all)
|
|
@@ -39,12 +48,12 @@ var init_invoke_store = __esm({
|
|
|
39
48
|
"node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js"() {
|
|
40
49
|
"use strict";
|
|
41
50
|
PROTECTED_KEYS = {
|
|
42
|
-
REQUEST_ID: Symbol.for("_AWS_LAMBDA_REQUEST_ID"),
|
|
43
|
-
X_RAY_TRACE_ID: Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"),
|
|
44
|
-
TENANT_ID: Symbol.for("_AWS_LAMBDA_TENANT_ID"),
|
|
45
|
-
TRACEPARENT: Symbol.for("_AWS_LAMBDA_TRACEPARENT"),
|
|
46
|
-
TRACESTATE: Symbol.for("_AWS_LAMBDA_TRACESTATE"),
|
|
47
|
-
BAGGAGE: Symbol.for("_AWS_LAMBDA_BAGGAGE")
|
|
51
|
+
REQUEST_ID: /* @__PURE__ */ Symbol.for("_AWS_LAMBDA_REQUEST_ID"),
|
|
52
|
+
X_RAY_TRACE_ID: /* @__PURE__ */ Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"),
|
|
53
|
+
TENANT_ID: /* @__PURE__ */ Symbol.for("_AWS_LAMBDA_TENANT_ID"),
|
|
54
|
+
TRACEPARENT: /* @__PURE__ */ Symbol.for("_AWS_LAMBDA_TRACEPARENT"),
|
|
55
|
+
TRACESTATE: /* @__PURE__ */ Symbol.for("_AWS_LAMBDA_TRACESTATE"),
|
|
56
|
+
BAGGAGE: /* @__PURE__ */ Symbol.for("_AWS_LAMBDA_BAGGAGE")
|
|
48
57
|
};
|
|
49
58
|
NO_GLOBAL_AWS_LAMBDA = ["true", "1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA ?? "");
|
|
50
59
|
if (!NO_GLOBAL_AWS_LAMBDA) {
|
|
@@ -1447,7 +1456,7 @@ var init_ListSchema = __esm({
|
|
|
1447
1456
|
"use strict";
|
|
1448
1457
|
init_Schema();
|
|
1449
1458
|
ListSchema = class _ListSchema extends Schema {
|
|
1450
|
-
static symbol = Symbol.for("@smithy/lis");
|
|
1459
|
+
static symbol = /* @__PURE__ */ Symbol.for("@smithy/lis");
|
|
1451
1460
|
valueSchema;
|
|
1452
1461
|
symbol = _ListSchema.symbol;
|
|
1453
1462
|
};
|
|
@@ -1467,7 +1476,7 @@ var init_MapSchema = __esm({
|
|
|
1467
1476
|
"use strict";
|
|
1468
1477
|
init_Schema();
|
|
1469
1478
|
MapSchema = class _MapSchema extends Schema {
|
|
1470
|
-
static symbol = Symbol.for("@smithy/map");
|
|
1479
|
+
static symbol = /* @__PURE__ */ Symbol.for("@smithy/map");
|
|
1471
1480
|
keySchema;
|
|
1472
1481
|
valueSchema;
|
|
1473
1482
|
symbol = _MapSchema.symbol;
|
|
@@ -1489,7 +1498,7 @@ var init_OperationSchema = __esm({
|
|
|
1489
1498
|
"use strict";
|
|
1490
1499
|
init_Schema();
|
|
1491
1500
|
OperationSchema = class _OperationSchema extends Schema {
|
|
1492
|
-
static symbol = Symbol.for("@smithy/ope");
|
|
1501
|
+
static symbol = /* @__PURE__ */ Symbol.for("@smithy/ope");
|
|
1493
1502
|
input;
|
|
1494
1503
|
output;
|
|
1495
1504
|
symbol = _OperationSchema.symbol;
|
|
@@ -1511,7 +1520,7 @@ var init_StructureSchema = __esm({
|
|
|
1511
1520
|
"use strict";
|
|
1512
1521
|
init_Schema();
|
|
1513
1522
|
StructureSchema = class _StructureSchema extends Schema {
|
|
1514
|
-
static symbol = Symbol.for("@smithy/str");
|
|
1523
|
+
static symbol = /* @__PURE__ */ Symbol.for("@smithy/str");
|
|
1515
1524
|
memberNames;
|
|
1516
1525
|
memberList;
|
|
1517
1526
|
symbol = _StructureSchema.symbol;
|
|
@@ -1534,7 +1543,7 @@ var init_ErrorSchema = __esm({
|
|
|
1534
1543
|
init_Schema();
|
|
1535
1544
|
init_StructureSchema();
|
|
1536
1545
|
ErrorSchema = class _ErrorSchema extends StructureSchema {
|
|
1537
|
-
static symbol = Symbol.for("@smithy/err");
|
|
1546
|
+
static symbol = /* @__PURE__ */ Symbol.for("@smithy/err");
|
|
1538
1547
|
ctor;
|
|
1539
1548
|
symbol = _ErrorSchema.symbol;
|
|
1540
1549
|
};
|
|
@@ -1601,15 +1610,15 @@ var init_NormalizedSchema = __esm({
|
|
|
1601
1610
|
init_deref();
|
|
1602
1611
|
init_translateTraits();
|
|
1603
1612
|
anno = {
|
|
1604
|
-
it: Symbol.for("@smithy/nor-struct-it"),
|
|
1605
|
-
ns: Symbol.for("@smithy/ns")
|
|
1613
|
+
it: /* @__PURE__ */ Symbol.for("@smithy/nor-struct-it"),
|
|
1614
|
+
ns: /* @__PURE__ */ Symbol.for("@smithy/ns")
|
|
1606
1615
|
};
|
|
1607
1616
|
simpleSchemaCacheN = [];
|
|
1608
1617
|
simpleSchemaCacheS = {};
|
|
1609
1618
|
NormalizedSchema = class _NormalizedSchema {
|
|
1610
1619
|
ref;
|
|
1611
1620
|
memberName;
|
|
1612
|
-
static symbol = Symbol.for("@smithy/nor");
|
|
1621
|
+
static symbol = /* @__PURE__ */ Symbol.for("@smithy/nor");
|
|
1613
1622
|
symbol = _NormalizedSchema.symbol;
|
|
1614
1623
|
name;
|
|
1615
1624
|
schema;
|
|
@@ -1880,7 +1889,7 @@ var init_SimpleSchema = __esm({
|
|
|
1880
1889
|
"use strict";
|
|
1881
1890
|
init_Schema();
|
|
1882
1891
|
SimpleSchema = class _SimpleSchema extends Schema {
|
|
1883
|
-
static symbol = Symbol.for("@smithy/sim");
|
|
1892
|
+
static symbol = /* @__PURE__ */ Symbol.for("@smithy/sim");
|
|
1884
1893
|
schemaRef;
|
|
1885
1894
|
symbol = _SimpleSchema.symbol;
|
|
1886
1895
|
};
|
|
@@ -8967,7 +8976,7 @@ var init_EventStreamSerde = __esm({
|
|
|
8967
8976
|
const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
|
|
8968
8977
|
const serializer = this.serializer;
|
|
8969
8978
|
const defaultContentType = this.defaultContentType;
|
|
8970
|
-
const initialRequestMarker = Symbol("initialRequestMarker");
|
|
8979
|
+
const initialRequestMarker = /* @__PURE__ */ Symbol("initialRequestMarker");
|
|
8971
8980
|
const eventStreamIterable = {
|
|
8972
8981
|
async *[Symbol.asyncIterator]() {
|
|
8973
8982
|
if (initialRequest) {
|
|
@@ -9023,7 +9032,7 @@ var init_EventStreamSerde = __esm({
|
|
|
9023
9032
|
const eventStreamMember = responseSchema.getEventStreamMember();
|
|
9024
9033
|
const unionSchema = responseSchema.getMemberSchema(eventStreamMember);
|
|
9025
9034
|
const memberSchemas = unionSchema.getMemberSchemas();
|
|
9026
|
-
const initialResponseMarker = Symbol("initialResponseMarker");
|
|
9035
|
+
const initialResponseMarker = /* @__PURE__ */ Symbol("initialResponseMarker");
|
|
9027
9036
|
const asyncIterable = marshaller.deserialize(response.body, async (event) => {
|
|
9028
9037
|
let unionMember = "";
|
|
9029
9038
|
for (const key in event) {
|
|
@@ -10251,7 +10260,7 @@ var init_httpExtensionConfiguration = __esm({
|
|
|
10251
10260
|
"use strict";
|
|
10252
10261
|
getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
|
|
10253
10262
|
if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
|
|
10254
|
-
runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"), runtimeConfig.logger);
|
|
10263
|
+
runtimeConfig.requestHandler?.updateHttpClientConfig?.(/* @__PURE__ */ Symbol.for("logger"), runtimeConfig.logger);
|
|
10255
10264
|
}
|
|
10256
10265
|
return {
|
|
10257
10266
|
setHttpHandler(handler2) {
|
|
@@ -12817,10 +12826,10 @@ var init_nodeAppIdConfigOptions = __esm({
|
|
|
12817
12826
|
var require_es5 = __commonJS({
|
|
12818
12827
|
"node_modules/bowser/es5.js"(exports2, module2) {
|
|
12819
12828
|
"use strict";
|
|
12820
|
-
!function(e5, t) {
|
|
12829
|
+
!(function(e5, t) {
|
|
12821
12830
|
"object" == typeof exports2 && "object" == typeof module2 ? module2.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports2 ? exports2.bowser = t() : e5.bowser = t();
|
|
12822
|
-
}(exports2, function() {
|
|
12823
|
-
return function(e5) {
|
|
12831
|
+
})(exports2, (function() {
|
|
12832
|
+
return (function(e5) {
|
|
12824
12833
|
var t = {};
|
|
12825
12834
|
function r5(i5) {
|
|
12826
12835
|
if (t[i5]) return t[i5].exports;
|
|
@@ -12849,10 +12858,10 @@ var require_es5 = __commonJS({
|
|
|
12849
12858
|
}, r5.o = function(e6, t8) {
|
|
12850
12859
|
return Object.prototype.hasOwnProperty.call(e6, t8);
|
|
12851
12860
|
}, r5.p = "", r5(r5.s = 90);
|
|
12852
|
-
}({ 17: function(e5, t, r5) {
|
|
12861
|
+
})({ 17: function(e5, t, r5) {
|
|
12853
12862
|
"use strict";
|
|
12854
12863
|
t.__esModule = true, t.default = void 0;
|
|
12855
|
-
var i5 = r5(18), n3 = function() {
|
|
12864
|
+
var i5 = r5(18), n3 = (function() {
|
|
12856
12865
|
function e6() {
|
|
12857
12866
|
}
|
|
12858
12867
|
return e6.getFirstMatch = function(e7, t8) {
|
|
@@ -12889,9 +12898,9 @@ var require_es5 = __commonJS({
|
|
|
12889
12898
|
return;
|
|
12890
12899
|
}
|
|
12891
12900
|
}, e6.getMacOSVersionName = function(e7) {
|
|
12892
|
-
var t8 = e7.split(".").splice(0, 2).map(function(e8) {
|
|
12901
|
+
var t8 = e7.split(".").splice(0, 2).map((function(e8) {
|
|
12893
12902
|
return parseInt(e8, 10) || 0;
|
|
12894
|
-
});
|
|
12903
|
+
}));
|
|
12895
12904
|
t8.push(0);
|
|
12896
12905
|
var r6 = t8[0], i6 = t8[1];
|
|
12897
12906
|
if (10 === r6) switch (i6) {
|
|
@@ -12935,20 +12944,20 @@ var require_es5 = __commonJS({
|
|
|
12935
12944
|
return;
|
|
12936
12945
|
}
|
|
12937
12946
|
}, e6.getAndroidVersionName = function(e7) {
|
|
12938
|
-
var t8 = e7.split(".").splice(0, 2).map(function(e8) {
|
|
12947
|
+
var t8 = e7.split(".").splice(0, 2).map((function(e8) {
|
|
12939
12948
|
return parseInt(e8, 10) || 0;
|
|
12940
|
-
});
|
|
12949
|
+
}));
|
|
12941
12950
|
if (t8.push(0), !(1 === t8[0] && t8[1] < 5)) return 1 === t8[0] && t8[1] < 6 ? "Cupcake" : 1 === t8[0] && t8[1] >= 6 ? "Donut" : 2 === t8[0] && t8[1] < 2 ? "Eclair" : 2 === t8[0] && 2 === t8[1] ? "Froyo" : 2 === t8[0] && t8[1] > 2 ? "Gingerbread" : 3 === t8[0] ? "Honeycomb" : 4 === t8[0] && t8[1] < 1 ? "Ice Cream Sandwich" : 4 === t8[0] && t8[1] < 4 ? "Jelly Bean" : 4 === t8[0] && t8[1] >= 4 ? "KitKat" : 5 === t8[0] ? "Lollipop" : 6 === t8[0] ? "Marshmallow" : 7 === t8[0] ? "Nougat" : 8 === t8[0] ? "Oreo" : 9 === t8[0] ? "Pie" : void 0;
|
|
12942
12951
|
}, e6.getVersionPrecision = function(e7) {
|
|
12943
12952
|
return e7.split(".").length;
|
|
12944
12953
|
}, e6.compareVersions = function(t8, r6, i6) {
|
|
12945
12954
|
void 0 === i6 && (i6 = false);
|
|
12946
|
-
var n4 = e6.getVersionPrecision(t8), a5 = e6.getVersionPrecision(r6), o3 = Math.max(n4, a5), s2 = 0, u = e6.map([t8, r6], function(t9) {
|
|
12955
|
+
var n4 = e6.getVersionPrecision(t8), a5 = e6.getVersionPrecision(r6), o3 = Math.max(n4, a5), s2 = 0, u = e6.map([t8, r6], (function(t9) {
|
|
12947
12956
|
var r7 = o3 - e6.getVersionPrecision(t9), i7 = t9 + new Array(r7 + 1).join(".0");
|
|
12948
|
-
return e6.map(i7.split("."), function(e7) {
|
|
12957
|
+
return e6.map(i7.split("."), (function(e7) {
|
|
12949
12958
|
return new Array(20 - e7.length).join("0") + e7;
|
|
12950
|
-
}).reverse();
|
|
12951
|
-
});
|
|
12959
|
+
})).reverse();
|
|
12960
|
+
}));
|
|
12952
12961
|
for (i6 && (s2 = o3 - Math.min(n4, a5)), o3 -= 1; o3 >= s2; ) {
|
|
12953
12962
|
if (u[0][o3] > u[1][o3]) return 1;
|
|
12954
12963
|
if (u[0][o3] === u[1][o3]) {
|
|
@@ -12973,9 +12982,9 @@ var require_es5 = __commonJS({
|
|
|
12973
12982
|
if (Object.assign) return Object.assign.apply(Object, [e7].concat(a5));
|
|
12974
12983
|
var s2 = function() {
|
|
12975
12984
|
var e8 = a5[t8];
|
|
12976
|
-
"object" == typeof e8 && null !== e8 && Object.keys(e8).forEach(function(t9) {
|
|
12985
|
+
"object" == typeof e8 && null !== e8 && Object.keys(e8).forEach((function(t9) {
|
|
12977
12986
|
i6[t9] = e8[t9];
|
|
12978
|
-
});
|
|
12987
|
+
}));
|
|
12979
12988
|
};
|
|
12980
12989
|
for (t8 = 0, r6 = a5.length; t8 < r6; t8 += 1) s2();
|
|
12981
12990
|
return e7;
|
|
@@ -12984,7 +12993,7 @@ var require_es5 = __commonJS({
|
|
|
12984
12993
|
}, e6.getBrowserTypeByAlias = function(e7) {
|
|
12985
12994
|
return i5.BROWSER_MAP[e7] || "";
|
|
12986
12995
|
}, e6;
|
|
12987
|
-
}();
|
|
12996
|
+
})();
|
|
12988
12997
|
t.default = n3, e5.exports = t.default;
|
|
12989
12998
|
}, 18: function(e5, t, r5) {
|
|
12990
12999
|
"use strict";
|
|
@@ -13004,7 +13013,7 @@ var require_es5 = __commonJS({
|
|
|
13004
13013
|
i6.enumerable = i6.enumerable || false, i6.configurable = true, "value" in i6 && (i6.writable = true), Object.defineProperty(e6, i6.key, i6);
|
|
13005
13014
|
}
|
|
13006
13015
|
}
|
|
13007
|
-
var s2 = function() {
|
|
13016
|
+
var s2 = (function() {
|
|
13008
13017
|
function e6() {
|
|
13009
13018
|
}
|
|
13010
13019
|
var t8, r6, i6;
|
|
@@ -13022,7 +13031,7 @@ var require_es5 = __commonJS({
|
|
|
13022
13031
|
} }, { key: "PLATFORMS_MAP", get: function() {
|
|
13023
13032
|
return a5.PLATFORMS_MAP;
|
|
13024
13033
|
} }], (r6 = null) && o3(t8.prototype, r6), i6 && o3(t8, i6), e6;
|
|
13025
|
-
}();
|
|
13034
|
+
})();
|
|
13026
13035
|
t.default = s2, e5.exports = t.default;
|
|
13027
13036
|
}, 91: function(e5, t, r5) {
|
|
13028
13037
|
"use strict";
|
|
@@ -13031,7 +13040,7 @@ var require_es5 = __commonJS({
|
|
|
13031
13040
|
function u(e6) {
|
|
13032
13041
|
return e6 && e6.__esModule ? e6 : { default: e6 };
|
|
13033
13042
|
}
|
|
13034
|
-
var d5 = function() {
|
|
13043
|
+
var d5 = (function() {
|
|
13035
13044
|
function e6(e7, t9, r6) {
|
|
13036
13045
|
if (void 0 === t9 && (t9 = false), void 0 === r6 && (r6 = null), null == e7 || "" === e7) throw new Error("UserAgent parameter can't be empty");
|
|
13037
13046
|
this._ua = e7;
|
|
@@ -13044,14 +13053,14 @@ var require_es5 = __commonJS({
|
|
|
13044
13053
|
}, t8.hasBrand = function(e7) {
|
|
13045
13054
|
if (!this._hints || !Array.isArray(this._hints.brands)) return false;
|
|
13046
13055
|
var t9 = e7.toLowerCase();
|
|
13047
|
-
return this._hints.brands.some(function(e8) {
|
|
13056
|
+
return this._hints.brands.some((function(e8) {
|
|
13048
13057
|
return e8.brand && e8.brand.toLowerCase() === t9;
|
|
13049
|
-
});
|
|
13058
|
+
}));
|
|
13050
13059
|
}, t8.getBrandVersion = function(e7) {
|
|
13051
13060
|
if (this._hints && Array.isArray(this._hints.brands)) {
|
|
13052
|
-
var t9 = e7.toLowerCase(), r6 = this._hints.brands.find(function(e8) {
|
|
13061
|
+
var t9 = e7.toLowerCase(), r6 = this._hints.brands.find((function(e8) {
|
|
13053
13062
|
return e8.brand && e8.brand.toLowerCase() === t9;
|
|
13054
|
-
});
|
|
13063
|
+
}));
|
|
13055
13064
|
return r6 ? r6.version : void 0;
|
|
13056
13065
|
}
|
|
13057
13066
|
}, t8.getUA = function() {
|
|
@@ -13061,13 +13070,13 @@ var require_es5 = __commonJS({
|
|
|
13061
13070
|
}, t8.parseBrowser = function() {
|
|
13062
13071
|
var e7 = this;
|
|
13063
13072
|
this.parsedResult.browser = {};
|
|
13064
|
-
var t9 = s2.default.find(i5.default, function(t10) {
|
|
13073
|
+
var t9 = s2.default.find(i5.default, (function(t10) {
|
|
13065
13074
|
if ("function" == typeof t10.test) return t10.test(e7);
|
|
13066
|
-
if (Array.isArray(t10.test)) return t10.test.some(function(t11) {
|
|
13075
|
+
if (Array.isArray(t10.test)) return t10.test.some((function(t11) {
|
|
13067
13076
|
return e7.test(t11);
|
|
13068
|
-
});
|
|
13077
|
+
}));
|
|
13069
13078
|
throw new Error("Browser's test function is not valid");
|
|
13070
|
-
});
|
|
13079
|
+
}));
|
|
13071
13080
|
return t9 && (this.parsedResult.browser = t9.describe(this.getUA(), this)), this.parsedResult.browser;
|
|
13072
13081
|
}, t8.getBrowser = function() {
|
|
13073
13082
|
return this.parsedResult.browser ? this.parsedResult.browser : this.parseBrowser();
|
|
@@ -13080,13 +13089,13 @@ var require_es5 = __commonJS({
|
|
|
13080
13089
|
}, t8.parseOS = function() {
|
|
13081
13090
|
var e7 = this;
|
|
13082
13091
|
this.parsedResult.os = {};
|
|
13083
|
-
var t9 = s2.default.find(n3.default, function(t10) {
|
|
13092
|
+
var t9 = s2.default.find(n3.default, (function(t10) {
|
|
13084
13093
|
if ("function" == typeof t10.test) return t10.test(e7);
|
|
13085
|
-
if (Array.isArray(t10.test)) return t10.test.some(function(t11) {
|
|
13094
|
+
if (Array.isArray(t10.test)) return t10.test.some((function(t11) {
|
|
13086
13095
|
return e7.test(t11);
|
|
13087
|
-
});
|
|
13096
|
+
}));
|
|
13088
13097
|
throw new Error("Browser's test function is not valid");
|
|
13089
|
-
});
|
|
13098
|
+
}));
|
|
13090
13099
|
return t9 && (this.parsedResult.os = t9.describe(this.getUA())), this.parsedResult.os;
|
|
13091
13100
|
}, t8.getOSName = function(e7) {
|
|
13092
13101
|
var t9 = this.getOS().name;
|
|
@@ -13102,13 +13111,13 @@ var require_es5 = __commonJS({
|
|
|
13102
13111
|
}, t8.parsePlatform = function() {
|
|
13103
13112
|
var e7 = this;
|
|
13104
13113
|
this.parsedResult.platform = {};
|
|
13105
|
-
var t9 = s2.default.find(a5.default, function(t10) {
|
|
13114
|
+
var t9 = s2.default.find(a5.default, (function(t10) {
|
|
13106
13115
|
if ("function" == typeof t10.test) return t10.test(e7);
|
|
13107
|
-
if (Array.isArray(t10.test)) return t10.test.some(function(t11) {
|
|
13116
|
+
if (Array.isArray(t10.test)) return t10.test.some((function(t11) {
|
|
13108
13117
|
return e7.test(t11);
|
|
13109
|
-
});
|
|
13118
|
+
}));
|
|
13110
13119
|
throw new Error("Browser's test function is not valid");
|
|
13111
|
-
});
|
|
13120
|
+
}));
|
|
13112
13121
|
return t9 && (this.parsedResult.platform = t9.describe(this.getUA())), this.parsedResult.platform;
|
|
13113
13122
|
}, t8.getEngine = function() {
|
|
13114
13123
|
return this.parsedResult.engine ? this.parsedResult.engine : this.parseEngine();
|
|
@@ -13117,13 +13126,13 @@ var require_es5 = __commonJS({
|
|
|
13117
13126
|
}, t8.parseEngine = function() {
|
|
13118
13127
|
var e7 = this;
|
|
13119
13128
|
this.parsedResult.engine = {};
|
|
13120
|
-
var t9 = s2.default.find(o3.default, function(t10) {
|
|
13129
|
+
var t9 = s2.default.find(o3.default, (function(t10) {
|
|
13121
13130
|
if ("function" == typeof t10.test) return t10.test(e7);
|
|
13122
|
-
if (Array.isArray(t10.test)) return t10.test.some(function(t11) {
|
|
13131
|
+
if (Array.isArray(t10.test)) return t10.test.some((function(t11) {
|
|
13123
13132
|
return e7.test(t11);
|
|
13124
|
-
});
|
|
13133
|
+
}));
|
|
13125
13134
|
throw new Error("Browser's test function is not valid");
|
|
13126
|
-
});
|
|
13135
|
+
}));
|
|
13127
13136
|
return t9 && (this.parsedResult.engine = t9.describe(this.getUA())), this.parsedResult.engine;
|
|
13128
13137
|
}, t8.parse = function() {
|
|
13129
13138
|
return this.parseBrowser(), this.parseOS(), this.parsePlatform(), this.parseEngine(), this;
|
|
@@ -13131,29 +13140,29 @@ var require_es5 = __commonJS({
|
|
|
13131
13140
|
return s2.default.assign({}, this.parsedResult);
|
|
13132
13141
|
}, t8.satisfies = function(e7) {
|
|
13133
13142
|
var t9 = this, r6 = {}, i6 = 0, n4 = {}, a6 = 0;
|
|
13134
|
-
if (Object.keys(e7).forEach(function(t10) {
|
|
13143
|
+
if (Object.keys(e7).forEach((function(t10) {
|
|
13135
13144
|
var o5 = e7[t10];
|
|
13136
13145
|
"string" == typeof o5 ? (n4[t10] = o5, a6 += 1) : "object" == typeof o5 && (r6[t10] = o5, i6 += 1);
|
|
13137
|
-
}), i6 > 0) {
|
|
13138
|
-
var o4 = Object.keys(r6), u2 = s2.default.find(o4, function(e8) {
|
|
13146
|
+
})), i6 > 0) {
|
|
13147
|
+
var o4 = Object.keys(r6), u2 = s2.default.find(o4, (function(e8) {
|
|
13139
13148
|
return t9.isOS(e8);
|
|
13140
|
-
});
|
|
13149
|
+
}));
|
|
13141
13150
|
if (u2) {
|
|
13142
13151
|
var d6 = this.satisfies(r6[u2]);
|
|
13143
13152
|
if (void 0 !== d6) return d6;
|
|
13144
13153
|
}
|
|
13145
|
-
var c5 = s2.default.find(o4, function(e8) {
|
|
13154
|
+
var c5 = s2.default.find(o4, (function(e8) {
|
|
13146
13155
|
return t9.isPlatform(e8);
|
|
13147
|
-
});
|
|
13156
|
+
}));
|
|
13148
13157
|
if (c5) {
|
|
13149
13158
|
var f5 = this.satisfies(r6[c5]);
|
|
13150
13159
|
if (void 0 !== f5) return f5;
|
|
13151
13160
|
}
|
|
13152
13161
|
}
|
|
13153
13162
|
if (a6 > 0) {
|
|
13154
|
-
var l3 = Object.keys(n4), b5 = s2.default.find(l3, function(e8) {
|
|
13163
|
+
var l3 = Object.keys(n4), b5 = s2.default.find(l3, (function(e8) {
|
|
13155
13164
|
return t9.isBrowser(e8, true);
|
|
13156
|
-
});
|
|
13165
|
+
}));
|
|
13157
13166
|
if (void 0 !== b5) return this.compareVersion(n4[b5]);
|
|
13158
13167
|
}
|
|
13159
13168
|
}, t8.isBrowser = function(e7, t9) {
|
|
@@ -13173,11 +13182,11 @@ var require_es5 = __commonJS({
|
|
|
13173
13182
|
return void 0 === t9 && (t9 = false), this.isBrowser(e7, t9) || this.isOS(e7) || this.isPlatform(e7);
|
|
13174
13183
|
}, t8.some = function(e7) {
|
|
13175
13184
|
var t9 = this;
|
|
13176
|
-
return void 0 === e7 && (e7 = []), e7.some(function(e8) {
|
|
13185
|
+
return void 0 === e7 && (e7 = []), e7.some((function(e8) {
|
|
13177
13186
|
return t9.is(e8);
|
|
13178
|
-
});
|
|
13187
|
+
}));
|
|
13179
13188
|
}, e6;
|
|
13180
|
-
}();
|
|
13189
|
+
})();
|
|
13181
13190
|
t.default = d5, e5.exports = t.default;
|
|
13182
13191
|
}, 92: function(e5, t, r5) {
|
|
13183
13192
|
"use strict";
|
|
@@ -13626,7 +13635,7 @@ var require_es5 = __commonJS({
|
|
|
13626
13635
|
} }];
|
|
13627
13636
|
t.default = o3, e5.exports = t.default;
|
|
13628
13637
|
} });
|
|
13629
|
-
});
|
|
13638
|
+
}));
|
|
13630
13639
|
}
|
|
13631
13640
|
});
|
|
13632
13641
|
|
|
@@ -16386,7 +16395,7 @@ var init_needsReviver = __esm({
|
|
|
16386
16395
|
"node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/needsReviver.js"() {
|
|
16387
16396
|
"use strict";
|
|
16388
16397
|
init_schema();
|
|
16389
|
-
REVIVER_SYMBOL = Symbol.for("@aws-sdk/reviver");
|
|
16398
|
+
REVIVER_SYMBOL = /* @__PURE__ */ Symbol.for("@aws-sdk/reviver");
|
|
16390
16399
|
}
|
|
16391
16400
|
});
|
|
16392
16401
|
|
|
@@ -20598,7 +20607,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
20598
20607
|
updateHttpClientConfig(key, value) {
|
|
20599
20608
|
this.config = void 0;
|
|
20600
20609
|
this.configProvider = this.configProvider.then((config2) => {
|
|
20601
|
-
if (key === Symbol.for("logger")) {
|
|
20610
|
+
if (key === /* @__PURE__ */ Symbol.for("logger")) {
|
|
20602
20611
|
return {
|
|
20603
20612
|
...config2,
|
|
20604
20613
|
logger: config2.logger ?? value
|
|
@@ -36905,9 +36914,9 @@ var PowertoolsLogFormatter = class extends LogFormatter {
|
|
|
36905
36914
|
// node_modules/@aws-lambda-powertools/logger/lib/esm/LogAttributesStore.js
|
|
36906
36915
|
init_invoke_store();
|
|
36907
36916
|
var LogAttributesStore = class {
|
|
36908
|
-
#temporaryAttributesKey = Symbol("powertools.logger.temporaryAttributes");
|
|
36909
|
-
#keysKey = Symbol("powertools.logger.keys");
|
|
36910
|
-
#lambdaContextKey = Symbol("powertools.logger.lambdaContext");
|
|
36917
|
+
#temporaryAttributesKey = /* @__PURE__ */ Symbol("powertools.logger.temporaryAttributes");
|
|
36918
|
+
#keysKey = /* @__PURE__ */ Symbol("powertools.logger.keys");
|
|
36919
|
+
#lambdaContextKey = /* @__PURE__ */ Symbol("powertools.logger.lambdaContext");
|
|
36911
36920
|
#fallbackTemporaryAttributes = {};
|
|
36912
36921
|
#fallbackKeys = /* @__PURE__ */ new Map();
|
|
36913
36922
|
#persistentAttributes = {};
|
|
@@ -37144,8 +37153,8 @@ var CircularMap = class extends Map {
|
|
|
37144
37153
|
|
|
37145
37154
|
// node_modules/@aws-lambda-powertools/logger/lib/esm/LogInvocationStore.js
|
|
37146
37155
|
var LogInvocationStore = class {
|
|
37147
|
-
#logLevelKey = Symbol("powertools.logger.logLevel");
|
|
37148
|
-
#bufferKey = Symbol("powertools.logger.buffer");
|
|
37156
|
+
#logLevelKey = /* @__PURE__ */ Symbol("powertools.logger.logLevel");
|
|
37157
|
+
#bufferKey = /* @__PURE__ */ Symbol("powertools.logger.buffer");
|
|
37149
37158
|
#baseLogLevel;
|
|
37150
37159
|
#maxBytes;
|
|
37151
37160
|
#fallbackBuffer;
|
|
@@ -38549,7 +38558,6 @@ function $constructor(name, initializer3, params) {
|
|
|
38549
38558
|
Object.defineProperty(_, "name", { value: name });
|
|
38550
38559
|
return _;
|
|
38551
38560
|
}
|
|
38552
|
-
var $brand = Symbol("zod_brand");
|
|
38553
38561
|
var $ZodAsyncError = class extends Error {
|
|
38554
38562
|
constructor() {
|
|
38555
38563
|
super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
|
|
@@ -41048,8 +41056,6 @@ function en_default() {
|
|
|
41048
41056
|
|
|
41049
41057
|
// node_modules/zod/v4/core/registries.js
|
|
41050
41058
|
var _a3;
|
|
41051
|
-
var $output = Symbol("ZodOutput");
|
|
41052
|
-
var $input = Symbol("ZodInput");
|
|
41053
41059
|
var $ZodRegistry = class {
|
|
41054
41060
|
constructor() {
|
|
41055
41061
|
this._map = /* @__PURE__ */ new WeakMap();
|
|
@@ -42953,8 +42959,6 @@ var handler = async (event) => {
|
|
|
42953
42959
|
/*! Bundled license information:
|
|
42954
42960
|
|
|
42955
42961
|
@aws-lambda-powertools/logger/lib/esm/logBuffer.js:
|
|
42956
|
-
(* v8 ignore next -- @preserve *)
|
|
42957
|
-
|
|
42958
42962
|
@aws-lambda-powertools/logger/lib/esm/Logger.js:
|
|
42959
42963
|
(* v8 ignore next -- @preserve *)
|
|
42960
42964
|
*/
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"main": "lib/index.js",
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
|
-
"version": "
|
|
18
|
+
"version": "9.0.0-alpha.0",
|
|
19
19
|
"types": "lib/index.d.ts",
|
|
20
20
|
"stability": "stable",
|
|
21
21
|
"exports": {
|
|
@@ -63,6 +63,8 @@
|
|
|
63
63
|
"format": "biome format . --write",
|
|
64
64
|
"compile": "jsii",
|
|
65
65
|
"build": "npm run compile && node esbuild.mjs && npm run lint:ci && npm test",
|
|
66
|
+
"build:cdk": "npm run compile && node esbuild.mjs",
|
|
67
|
+
"sbom": "infrastructure/node_modules/.bin/cyclonedx-npm --spec-version 1.7 --output-file build/reports/cyclonedx/bom.json",
|
|
66
68
|
"lint": "biome check .",
|
|
67
69
|
"lint:fix": "biome check --fix .",
|
|
68
70
|
"lint:ci": "biome ci .",
|
|
@@ -74,7 +76,6 @@
|
|
|
74
76
|
"test:watch": "vitest",
|
|
75
77
|
"docgen": "jsii-docgen -o ./docs/API.md",
|
|
76
78
|
"cdk": "cdk",
|
|
77
|
-
"vulnerability-check": "npm audit --registry https://registry.npmjs.org --parseable --audit-level=moderate --omit=dev",
|
|
78
79
|
"release:check": "node release-commit-check.js",
|
|
79
80
|
"release:build": "npm run build && npm run docgen && npm run bump",
|
|
80
81
|
"release:build:alpha": "npm run build && npm run docgen && npm run bump:alpha",
|
|
@@ -93,24 +94,24 @@
|
|
|
93
94
|
"@types/node": "24.13.2",
|
|
94
95
|
"@types/tmp": "^0.2.6",
|
|
95
96
|
"aws-cdk": "^2.179.0",
|
|
96
|
-
"aws-cdk-lib": "2.
|
|
97
|
+
"aws-cdk-lib": "2.272.0",
|
|
97
98
|
"aws-sdk-client-mock": "^4.1.0",
|
|
98
99
|
"commit-and-tag-version": "^12.5.0",
|
|
99
100
|
"constructs": "10.5.1",
|
|
100
|
-
"datadog-cdk-constructs-v2": "
|
|
101
|
-
"esbuild": "0.
|
|
101
|
+
"datadog-cdk-constructs-v2": "5.2.0",
|
|
102
|
+
"esbuild": "0.28.2",
|
|
102
103
|
"jsii": "5.9.31",
|
|
103
104
|
"jsii-diff": "1.140.0",
|
|
104
105
|
"jsii-docgen": "10.11.15",
|
|
105
106
|
"tmp": "^0.2.3",
|
|
106
107
|
"ts-node": "^10.9.2",
|
|
107
108
|
"typescript": "~5.6.3",
|
|
108
|
-
"vitest": "
|
|
109
|
+
"vitest": "5.0.3"
|
|
109
110
|
},
|
|
110
111
|
"peerDependencies": {
|
|
111
|
-
"aws-cdk-lib": "^2.
|
|
112
|
+
"aws-cdk-lib": "^2.272.0",
|
|
112
113
|
"constructs": "^10.5.1",
|
|
113
|
-
"datadog-cdk-constructs-v2": "^
|
|
114
|
+
"datadog-cdk-constructs-v2": "^5.2.0"
|
|
114
115
|
},
|
|
115
116
|
"dependencies": {
|
|
116
117
|
"@aws-lambda-powertools/logger": "^2.10.0",
|
package/version.json
CHANGED