aws-delivlib 14.0.0 → 14.0.1
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/cdk.out/{asset.e19d749b07bbd934525eb394410d55ee53675290fe2eef6ca5eafb1ea78764bc → asset.7ada94e893d605ebbcf2f5b3bedc83bad3c704ab7892c1f2af45bfd79fb751e7}/index.js +54 -33
- package/cdk.out/delivlib-test.assets.json +5 -5
- package/cdk.out/delivlib-test.template.json +1 -1
- package/cdk.out/manifest.json +1 -1
- package/cdk.out/tree.json +73 -73
- package/lib/custom-resource-handlers/src/certificate-signing-request.tsbuildinfo +1 -1
- package/lib/custom-resource-handlers/src/pgp-secret.tsbuildinfo +1 -1
- package/lib/custom-resource-handlers/src/private-key.tsbuildinfo +1 -1
- package/lib/package-integrity/handler/validate.bundle.js +828 -1233
- package/package.json +7 -7
|
@@ -697,9 +697,9 @@ var require_xhr = __commonJS({
|
|
|
697
697
|
}
|
|
698
698
|
});
|
|
699
699
|
|
|
700
|
-
// node_modules/ms/index.js
|
|
700
|
+
// node_modules/debug/node_modules/ms/index.js
|
|
701
701
|
var require_ms = __commonJS({
|
|
702
|
-
"node_modules/ms/index.js"(exports, module2) {
|
|
702
|
+
"node_modules/debug/node_modules/ms/index.js"(exports, module2) {
|
|
703
703
|
var s = 1e3;
|
|
704
704
|
var m = s * 60;
|
|
705
705
|
var h = m * 60;
|
|
@@ -921,7 +921,7 @@ var require_common = __commonJS({
|
|
|
921
921
|
}
|
|
922
922
|
namespaces = split[i].replace(/\*/g, ".*?");
|
|
923
923
|
if (namespaces[0] === "-") {
|
|
924
|
-
createDebug.skips.push(new RegExp("^" + namespaces.
|
|
924
|
+
createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$"));
|
|
925
925
|
} else {
|
|
926
926
|
createDebug.names.push(new RegExp("^" + namespaces + "$"));
|
|
927
927
|
}
|
|
@@ -1645,7 +1645,7 @@ var require_follow_redirects = __commonJS({
|
|
|
1645
1645
|
return;
|
|
1646
1646
|
}
|
|
1647
1647
|
if (this._options.agents) {
|
|
1648
|
-
var scheme = protocol.
|
|
1648
|
+
var scheme = protocol.slice(0, -1);
|
|
1649
1649
|
this._options.agent = this._options.agents[scheme];
|
|
1650
1650
|
}
|
|
1651
1651
|
var request = this._currentRequest = nativeProtocol.request(this._options, this._onNativeResponse);
|
|
@@ -1697,6 +1697,14 @@ var require_follow_redirects = __commonJS({
|
|
|
1697
1697
|
this.emit("error", new TooManyRedirectsError());
|
|
1698
1698
|
return;
|
|
1699
1699
|
}
|
|
1700
|
+
var requestHeaders;
|
|
1701
|
+
var beforeRedirect = this._options.beforeRedirect;
|
|
1702
|
+
if (beforeRedirect) {
|
|
1703
|
+
requestHeaders = Object.assign({
|
|
1704
|
+
Host: response.req.getHeader("host")
|
|
1705
|
+
}, this._options.headers);
|
|
1706
|
+
}
|
|
1707
|
+
var method = this._options.method;
|
|
1700
1708
|
if ((statusCode === 301 || statusCode === 302) && this._options.method === "POST" || statusCode === 303 && !/^(?:GET|HEAD)$/.test(this._options.method)) {
|
|
1701
1709
|
this._options.method = "GET";
|
|
1702
1710
|
this._requestBodyBuffers = [];
|
|
@@ -1720,10 +1728,18 @@ var require_follow_redirects = __commonJS({
|
|
|
1720
1728
|
if (redirectUrlParts.protocol !== currentUrlParts.protocol && redirectUrlParts.protocol !== "https:" || redirectUrlParts.host !== currentHost && !isSubdomain(redirectUrlParts.host, currentHost)) {
|
|
1721
1729
|
removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);
|
|
1722
1730
|
}
|
|
1723
|
-
if (typeof
|
|
1724
|
-
var responseDetails = {
|
|
1731
|
+
if (typeof beforeRedirect === "function") {
|
|
1732
|
+
var responseDetails = {
|
|
1733
|
+
headers: response.headers,
|
|
1734
|
+
statusCode
|
|
1735
|
+
};
|
|
1736
|
+
var requestDetails = {
|
|
1737
|
+
url: currentUrl,
|
|
1738
|
+
method,
|
|
1739
|
+
headers: requestHeaders
|
|
1740
|
+
};
|
|
1725
1741
|
try {
|
|
1726
|
-
|
|
1742
|
+
beforeRedirect(this._options, responseDetails, requestDetails);
|
|
1727
1743
|
} catch (err) {
|
|
1728
1744
|
this.emit("error", err);
|
|
1729
1745
|
return;
|
|
@@ -3266,8 +3282,8 @@ var require_moment = __commonJS({
|
|
|
3266
3282
|
return input instanceof Date || Object.prototype.toString.call(input) === "[object Date]";
|
|
3267
3283
|
}
|
|
3268
3284
|
function map(arr, fn) {
|
|
3269
|
-
var res = [], i;
|
|
3270
|
-
for (i = 0; i <
|
|
3285
|
+
var res = [], i, arrLen = arr.length;
|
|
3286
|
+
for (i = 0; i < arrLen; ++i) {
|
|
3271
3287
|
res.push(fn(arr[i], i));
|
|
3272
3288
|
}
|
|
3273
3289
|
return res;
|
|
@@ -3356,7 +3372,7 @@ var require_moment = __commonJS({
|
|
|
3356
3372
|
}
|
|
3357
3373
|
var momentProperties = hooks.momentProperties = [], updateInProgress = false;
|
|
3358
3374
|
function copyConfig(to2, from2) {
|
|
3359
|
-
var i, prop, val;
|
|
3375
|
+
var i, prop, val, momentPropertiesLen = momentProperties.length;
|
|
3360
3376
|
if (!isUndefined(from2._isAMomentObject)) {
|
|
3361
3377
|
to2._isAMomentObject = from2._isAMomentObject;
|
|
3362
3378
|
}
|
|
@@ -3387,8 +3403,8 @@ var require_moment = __commonJS({
|
|
|
3387
3403
|
if (!isUndefined(from2._locale)) {
|
|
3388
3404
|
to2._locale = from2._locale;
|
|
3389
3405
|
}
|
|
3390
|
-
if (
|
|
3391
|
-
for (i = 0; i <
|
|
3406
|
+
if (momentPropertiesLen > 0) {
|
|
3407
|
+
for (i = 0; i < momentPropertiesLen; i++) {
|
|
3392
3408
|
prop = momentProperties[i];
|
|
3393
3409
|
val = from2[prop];
|
|
3394
3410
|
if (!isUndefined(val)) {
|
|
@@ -3425,8 +3441,8 @@ var require_moment = __commonJS({
|
|
|
3425
3441
|
hooks.deprecationHandler(null, msg);
|
|
3426
3442
|
}
|
|
3427
3443
|
if (firstTime) {
|
|
3428
|
-
var args = [], arg, i, key;
|
|
3429
|
-
for (i = 0; i <
|
|
3444
|
+
var args = [], arg, i, key, argLen = arguments.length;
|
|
3445
|
+
for (i = 0; i < argLen; i++) {
|
|
3430
3446
|
arg = "";
|
|
3431
3447
|
if (typeof arguments[i] === "object") {
|
|
3432
3448
|
arg += "\n[" + i + "] ";
|
|
@@ -3742,8 +3758,8 @@ var require_moment = __commonJS({
|
|
|
3742
3758
|
function stringSet(units, value) {
|
|
3743
3759
|
if (typeof units === "object") {
|
|
3744
3760
|
units = normalizeObjectUnits(units);
|
|
3745
|
-
var prioritized = getPrioritizedUnits(units), i;
|
|
3746
|
-
for (i = 0; i <
|
|
3761
|
+
var prioritized = getPrioritizedUnits(units), i, prioritizedLen = prioritized.length;
|
|
3762
|
+
for (i = 0; i < prioritizedLen; i++) {
|
|
3747
3763
|
this[prioritized[i].unit](units[prioritized[i].unit]);
|
|
3748
3764
|
}
|
|
3749
3765
|
} else {
|
|
@@ -3777,7 +3793,7 @@ var require_moment = __commonJS({
|
|
|
3777
3793
|
}
|
|
3778
3794
|
var tokens = {};
|
|
3779
3795
|
function addParseToken(token2, callback) {
|
|
3780
|
-
var i, func = callback;
|
|
3796
|
+
var i, func = callback, tokenLen;
|
|
3781
3797
|
if (typeof token2 === "string") {
|
|
3782
3798
|
token2 = [token2];
|
|
3783
3799
|
}
|
|
@@ -3786,7 +3802,8 @@ var require_moment = __commonJS({
|
|
|
3786
3802
|
array[callback] = toInt(input);
|
|
3787
3803
|
};
|
|
3788
3804
|
}
|
|
3789
|
-
|
|
3805
|
+
tokenLen = token2.length;
|
|
3806
|
+
for (i = 0; i < tokenLen; i++) {
|
|
3790
3807
|
tokens[token2[i]] = func;
|
|
3791
3808
|
}
|
|
3792
3809
|
}
|
|
@@ -4587,9 +4604,12 @@ var require_moment = __commonJS({
|
|
|
4587
4604
|
}
|
|
4588
4605
|
return globalLocale;
|
|
4589
4606
|
}
|
|
4607
|
+
function isLocaleNameSane(name) {
|
|
4608
|
+
return name.match("^[^/\\\\]*$") != null;
|
|
4609
|
+
}
|
|
4590
4610
|
function loadLocale(name) {
|
|
4591
4611
|
var oldLocale = null, aliasedRequire;
|
|
4592
|
-
if (locales[name] === void 0 && typeof module2 !== "undefined" && module2 && module2.exports) {
|
|
4612
|
+
if (locales[name] === void 0 && typeof module2 !== "undefined" && module2 && module2.exports && isLocaleNameSane(name)) {
|
|
4593
4613
|
try {
|
|
4594
4614
|
oldLocale = globalLocale._abbr;
|
|
4595
4615
|
aliasedRequire = require;
|
|
@@ -4765,10 +4785,10 @@ var require_moment = __commonJS({
|
|
|
4765
4785
|
PST: -8 * 60
|
|
4766
4786
|
};
|
|
4767
4787
|
function configFromISO(config) {
|
|
4768
|
-
var i, l, string = config._i, match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), allowTime, dateFormat, timeFormat, tzFormat;
|
|
4788
|
+
var i, l, string = config._i, match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), allowTime, dateFormat, timeFormat, tzFormat, isoDatesLen = isoDates.length, isoTimesLen = isoTimes.length;
|
|
4769
4789
|
if (match) {
|
|
4770
4790
|
getParsingFlags(config).iso = true;
|
|
4771
|
-
for (i = 0, l =
|
|
4791
|
+
for (i = 0, l = isoDatesLen; i < l; i++) {
|
|
4772
4792
|
if (isoDates[i][1].exec(match[1])) {
|
|
4773
4793
|
dateFormat = isoDates[i][0];
|
|
4774
4794
|
allowTime = isoDates[i][2] !== false;
|
|
@@ -4780,7 +4800,7 @@ var require_moment = __commonJS({
|
|
|
4780
4800
|
return;
|
|
4781
4801
|
}
|
|
4782
4802
|
if (match[3]) {
|
|
4783
|
-
for (i = 0, l =
|
|
4803
|
+
for (i = 0, l = isoTimesLen; i < l; i++) {
|
|
4784
4804
|
if (isoTimes[i][1].exec(match[3])) {
|
|
4785
4805
|
timeFormat = (match[2] || " ") + isoTimes[i][0];
|
|
4786
4806
|
break;
|
|
@@ -5015,9 +5035,10 @@ var require_moment = __commonJS({
|
|
|
5015
5035
|
}
|
|
5016
5036
|
config._a = [];
|
|
5017
5037
|
getParsingFlags(config).empty = true;
|
|
5018
|
-
var string = "" + config._i, i, parsedInput, tokens2, token2, skipped, stringLength = string.length, totalParsedInputLength = 0, era;
|
|
5038
|
+
var string = "" + config._i, i, parsedInput, tokens2, token2, skipped, stringLength = string.length, totalParsedInputLength = 0, era, tokenLen;
|
|
5019
5039
|
tokens2 = expandFormat(config._f, config._locale).match(formattingTokens) || [];
|
|
5020
|
-
|
|
5040
|
+
tokenLen = tokens2.length;
|
|
5041
|
+
for (i = 0; i < tokenLen; i++) {
|
|
5021
5042
|
token2 = tokens2[i];
|
|
5022
5043
|
parsedInput = (string.match(getParseRegexForToken(token2, config)) || [])[0];
|
|
5023
5044
|
if (parsedInput) {
|
|
@@ -5077,13 +5098,13 @@ var require_moment = __commonJS({
|
|
|
5077
5098
|
}
|
|
5078
5099
|
}
|
|
5079
5100
|
function configFromStringAndArray(config) {
|
|
5080
|
-
var tempConfig, bestMoment, scoreToBeat, i, currentScore, validFormatFound, bestFormatIsValid = false;
|
|
5081
|
-
if (
|
|
5101
|
+
var tempConfig, bestMoment, scoreToBeat, i, currentScore, validFormatFound, bestFormatIsValid = false, configfLen = config._f.length;
|
|
5102
|
+
if (configfLen === 0) {
|
|
5082
5103
|
getParsingFlags(config).invalidFormat = true;
|
|
5083
5104
|
config._d = new Date(NaN);
|
|
5084
5105
|
return;
|
|
5085
5106
|
}
|
|
5086
|
-
for (i = 0; i <
|
|
5107
|
+
for (i = 0; i < configfLen; i++) {
|
|
5087
5108
|
currentScore = 0;
|
|
5088
5109
|
validFormatFound = false;
|
|
5089
5110
|
tempConfig = copyConfig({}, config);
|
|
@@ -5257,13 +5278,13 @@ var require_moment = __commonJS({
|
|
|
5257
5278
|
"millisecond"
|
|
5258
5279
|
];
|
|
5259
5280
|
function isDurationValid(m) {
|
|
5260
|
-
var key, unitHasDecimal = false, i;
|
|
5281
|
+
var key, unitHasDecimal = false, i, orderLen = ordering.length;
|
|
5261
5282
|
for (key in m) {
|
|
5262
5283
|
if (hasOwnProp(m, key) && !(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) {
|
|
5263
5284
|
return false;
|
|
5264
5285
|
}
|
|
5265
5286
|
}
|
|
5266
|
-
for (i = 0; i <
|
|
5287
|
+
for (i = 0; i < orderLen; ++i) {
|
|
5267
5288
|
if (m[ordering[i]]) {
|
|
5268
5289
|
if (unitHasDecimal) {
|
|
5269
5290
|
return false;
|
|
@@ -5613,8 +5634,8 @@ var require_moment = __commonJS({
|
|
|
5613
5634
|
"milliseconds",
|
|
5614
5635
|
"millisecond",
|
|
5615
5636
|
"ms"
|
|
5616
|
-
], i, property;
|
|
5617
|
-
for (i = 0; i <
|
|
5637
|
+
], i, property, propertyLen = properties.length;
|
|
5638
|
+
for (i = 0; i < propertyLen; i += 1) {
|
|
5618
5639
|
property = properties[i];
|
|
5619
5640
|
propertyTest = propertyTest || hasOwnProp(input, property);
|
|
5620
5641
|
}
|
|
@@ -6869,7 +6890,7 @@ var require_moment = __commonJS({
|
|
|
6869
6890
|
addParseToken("x", function(input, array, config) {
|
|
6870
6891
|
config._d = new Date(toInt(input));
|
|
6871
6892
|
});
|
|
6872
|
-
hooks.version = "2.29.
|
|
6893
|
+
hooks.version = "2.29.3";
|
|
6873
6894
|
setHookCallback(createLocal);
|
|
6874
6895
|
hooks.fn = proto;
|
|
6875
6896
|
hooks.min = min;
|
|
@@ -16497,4 +16518,4 @@ and limitations under the License.
|
|
|
16497
16518
|
//! moment.js
|
|
16498
16519
|
//! momentjs.com
|
|
16499
16520
|
//! version : 0.5.34
|
|
16500
|
-
//! version : 2.29.
|
|
16521
|
+
//! version : 2.29.3
|
|
@@ -239,21 +239,21 @@
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
},
|
|
242
|
-
"
|
|
242
|
+
"7ada94e893d605ebbcf2f5b3bedc83bad3c704ab7892c1f2af45bfd79fb751e7": {
|
|
243
243
|
"source": {
|
|
244
|
-
"path": "asset.
|
|
244
|
+
"path": "asset.7ada94e893d605ebbcf2f5b3bedc83bad3c704ab7892c1f2af45bfd79fb751e7",
|
|
245
245
|
"packaging": "zip"
|
|
246
246
|
},
|
|
247
247
|
"destinations": {
|
|
248
248
|
"712950704752-us-east-1": {
|
|
249
249
|
"bucketName": "cdk-hnb659fds-assets-712950704752-us-east-1",
|
|
250
|
-
"objectKey": "
|
|
250
|
+
"objectKey": "7ada94e893d605ebbcf2f5b3bedc83bad3c704ab7892c1f2af45bfd79fb751e7.zip",
|
|
251
251
|
"region": "us-east-1",
|
|
252
252
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::712950704752:role/cdk-hnb659fds-file-publishing-role-712950704752-us-east-1"
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
},
|
|
256
|
-
"
|
|
256
|
+
"23bec2e9cf1a35dbc40a8df994e50cb20cc05c8bff95eca6abe684b375355e8f": {
|
|
257
257
|
"source": {
|
|
258
258
|
"path": "delivlib-test.template.json",
|
|
259
259
|
"packaging": "file"
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
"destinations": {
|
|
262
262
|
"712950704752-us-east-1": {
|
|
263
263
|
"bucketName": "cdk-hnb659fds-assets-712950704752-us-east-1",
|
|
264
|
-
"objectKey": "
|
|
264
|
+
"objectKey": "23bec2e9cf1a35dbc40a8df994e50cb20cc05c8bff95eca6abe684b375355e8f.json",
|
|
265
265
|
"region": "us-east-1",
|
|
266
266
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::712950704752:role/cdk-hnb659fds-file-publishing-role-712950704752-us-east-1"
|
|
267
267
|
}
|
|
@@ -6304,7 +6304,7 @@
|
|
|
6304
6304
|
"Properties": {
|
|
6305
6305
|
"Code": {
|
|
6306
6306
|
"S3Bucket": "cdk-hnb659fds-assets-712950704752-us-east-1",
|
|
6307
|
-
"S3Key": "
|
|
6307
|
+
"S3Key": "7ada94e893d605ebbcf2f5b3bedc83bad3c704ab7892c1f2af45bfd79fb751e7.zip"
|
|
6308
6308
|
},
|
|
6309
6309
|
"Role": {
|
|
6310
6310
|
"Fn::GetAtt": [
|
package/cdk.out/manifest.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"validateOnSynth": false,
|
|
24
24
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::712950704752:role/cdk-hnb659fds-deploy-role-712950704752-us-east-1",
|
|
25
25
|
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::712950704752:role/cdk-hnb659fds-cfn-exec-role-712950704752-us-east-1",
|
|
26
|
-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-712950704752-us-east-1/
|
|
26
|
+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-712950704752-us-east-1/23bec2e9cf1a35dbc40a8df994e50cb20cc05c8bff95eca6abe684b375355e8f.json",
|
|
27
27
|
"requiresBootstrapStackVersion": 6,
|
|
28
28
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
29
29
|
"additionalDependencies": [
|