@cdk8s/awscdk-resolver 0.0.185 → 0.0.187

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.
Files changed (85) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/README.md +2 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +2 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +2 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateOrganizationsAccessCommand.d.ts +3 -3
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateTypeCommand.d.ts +4 -6
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +5 -4
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CancelUpdateStackCommand.d.ts +2 -2
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +10 -8
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateChangeSetCommand.d.ts +19 -13
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateGeneratedTemplateCommand.d.ts +3 -2
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackCommand.d.ts +5 -2
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackInstancesCommand.d.ts +4 -4
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateOrganizationsAccessCommand.d.ts +3 -2
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateTypeCommand.d.ts +6 -4
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteChangeSetCommand.d.ts +6 -4
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackCommand.d.ts +5 -2
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackSetCommand.d.ts +2 -2
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeregisterTypeCommand.d.ts +10 -8
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeAccountLimitsCommand.d.ts +2 -3
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +4 -3
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +2 -2
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeGeneratedTemplateCommand.d.ts +4 -3
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeOrganizationsAccessCommand.d.ts +4 -3
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribePublisherCommand.d.ts +6 -5
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackDriftDetectionStatusCommand.d.ts +11 -8
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +5 -5
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackInstanceCommand.d.ts +2 -2
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceCommand.d.ts +2 -2
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +11 -7
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourcesCommand.d.ts +14 -12
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStacksCommand.d.ts +4 -3
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeCommand.d.ts +3 -2
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeRegistrationCommand.d.ts +7 -5
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackDriftCommand.d.ts +21 -16
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackResourceDriftCommand.d.ts +12 -9
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackSetDriftCommand.d.ts +24 -18
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/EstimateTemplateCostCommand.d.ts +3 -2
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ExecuteChangeSetCommand.d.ts +9 -9
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetGeneratedTemplateCommand.d.ts +4 -3
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetStackPolicyCommand.d.ts +2 -2
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateCommand.d.ts +4 -3
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateSummaryCommand.d.ts +8 -7
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ImportStacksToStackSetCommand.d.ts +4 -3
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListChangeSetsCommand.d.ts +3 -2
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListExportsCommand.d.ts +5 -5
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListImportsCommand.d.ts +4 -4
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanRelatedResourcesCommand.d.ts +2 -2
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanResourcesCommand.d.ts +4 -3
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScansCommand.d.ts +2 -1
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstanceResourceDriftsCommand.d.ts +3 -2
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstancesCommand.d.ts +3 -3
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackResourcesCommand.d.ts +2 -2
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetsCommand.d.ts +10 -8
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStacksCommand.d.ts +4 -4
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypesCommand.d.ts +2 -1
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/PublishTypeCommand.d.ts +7 -5
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RecordHandlerProgressCommand.d.ts +2 -2
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterPublisherCommand.d.ts +6 -4
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterTypeCommand.d.ts +15 -10
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RollbackStackCommand.d.ts +8 -6
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeConfigurationCommand.d.ts +12 -7
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeDefaultVersionCommand.d.ts +2 -1
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SignalResourceCommand.d.ts +5 -4
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StartResourceScanCommand.d.ts +2 -2
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/TestTypeCommand.d.ts +19 -16
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateGeneratedTemplateCommand.d.ts +4 -3
  69. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackCommand.d.ts +7 -6
  70. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +14 -12
  71. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +6 -3
  72. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +7 -6
  73. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ValidateTemplateCommand.d.ts +3 -3
  74. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +2 -1
  75. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +2118 -1689
  76. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +425 -351
  77. package/node_modules/@aws-sdk/client-cloudformation/package.json +1 -1
  78. package/node_modules/tslib/modules/index.d.ts +1 -0
  79. package/node_modules/tslib/modules/index.js +2 -0
  80. package/node_modules/tslib/package.json +1 -1
  81. package/node_modules/tslib/tslib.d.ts +7 -0
  82. package/node_modules/tslib/tslib.es6.js +14 -0
  83. package/node_modules/tslib/tslib.es6.mjs +14 -0
  84. package/node_modules/tslib/tslib.js +46 -0
  85. package/package.json +8 -8
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.670.0",
4
+ "version": "3.672.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudformation",
@@ -33,5 +33,6 @@ export {
33
33
  __createBinding,
34
34
  __addDisposableResource,
35
35
  __disposeResources,
36
+ __rewriteRelativeImportExtension,
36
37
  } from '../tslib.js';
37
38
  export * as default from '../tslib.js';
@@ -31,6 +31,7 @@ const {
31
31
  __classPrivateFieldIn,
32
32
  __addDisposableResource,
33
33
  __disposeResources,
34
+ __rewriteRelativeImportExtension,
34
35
  } = tslib;
35
36
  export {
36
37
  __extends,
@@ -64,5 +65,6 @@ export {
64
65
  __classPrivateFieldIn,
65
66
  __addDisposableResource,
66
67
  __disposeResources,
68
+ __rewriteRelativeImportExtension,
67
69
  };
68
70
  export default tslib;
@@ -2,7 +2,7 @@
2
2
  "name": "tslib",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "2.7.0",
5
+ "version": "2.8.0",
6
6
  "license": "0BSD",
7
7
  "description": "Runtime library for TypeScript helper functions",
8
8
  "keywords": [
@@ -451,3 +451,10 @@ export declare function __addDisposableResource<T>(env: { stack: { value?: unkno
451
451
  * @seealso {@link __addDisposableResource}
452
452
  */
453
453
  export declare function __disposeResources(env: { stack: { value?: unknown, dispose?: Function, async: boolean }[]; error: unknown; hasError: boolean; }): any;
454
+
455
+ /**
456
+ * Transforms a relative import specifier ending in a non-declaration TypeScript file extension to its JavaScript file extension counterpart.
457
+ * @param path The import specifier.
458
+ * @param preserveJsx Causes '*.tsx' to transform to '*.jsx' instead of '*.js'. Should be true when `--jsx` is set to `preserve`.
459
+ */
460
+ export declare function __rewriteRelativeImportExtension(path: string, preserveJsx?: boolean): string;
@@ -348,12 +348,25 @@ export function __disposeResources(env) {
348
348
  return next();
349
349
  }
350
350
 
351
+ export function __rewriteRelativeImportExtension(path, preserveJsx) {
352
+ if (typeof path === "string" && /^\.\.?\//.test(path)) {
353
+ return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
354
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
355
+ });
356
+ }
357
+ return path;
358
+ }
359
+
351
360
  export default {
352
361
  __extends: __extends,
353
362
  __assign: __assign,
354
363
  __rest: __rest,
355
364
  __decorate: __decorate,
356
365
  __param: __param,
366
+ __esDecorate: __esDecorate,
367
+ __runInitializers: __runInitializers,
368
+ __propKey: __propKey,
369
+ __setFunctionName: __setFunctionName,
357
370
  __metadata: __metadata,
358
371
  __awaiter: __awaiter,
359
372
  __generator: __generator,
@@ -376,4 +389,5 @@ export default {
376
389
  __classPrivateFieldIn: __classPrivateFieldIn,
377
390
  __addDisposableResource: __addDisposableResource,
378
391
  __disposeResources: __disposeResources,
392
+ __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,
379
393
  };
@@ -347,12 +347,25 @@ export function __disposeResources(env) {
347
347
  return next();
348
348
  }
349
349
 
350
+ export function __rewriteRelativeImportExtension(path, preserveJsx) {
351
+ if (typeof path === "string" && /^\.\.?\//.test(path)) {
352
+ return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
353
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
354
+ });
355
+ }
356
+ return path;
357
+ }
358
+
350
359
  export default {
351
360
  __extends,
352
361
  __assign,
353
362
  __rest,
354
363
  __decorate,
355
364
  __param,
365
+ __esDecorate,
366
+ __runInitializers,
367
+ __propKey,
368
+ __setFunctionName,
356
369
  __metadata,
357
370
  __awaiter,
358
371
  __generator,
@@ -375,4 +388,5 @@ export default {
375
388
  __classPrivateFieldIn,
376
389
  __addDisposableResource,
377
390
  __disposeResources,
391
+ __rewriteRelativeImportExtension,
378
392
  };
@@ -44,6 +44,7 @@ var __classPrivateFieldIn;
44
44
  var __createBinding;
45
45
  var __addDisposableResource;
46
46
  var __disposeResources;
47
+ var __rewriteRelativeImportExtension;
47
48
  (function (factory) {
48
49
  var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
49
50
  if (typeof define === "function" && define.amd) {
@@ -395,6 +396,15 @@ var __disposeResources;
395
396
  return next();
396
397
  };
397
398
 
399
+ __rewriteRelativeImportExtension = function (path, preserveJsx) {
400
+ if (typeof path === "string" && /^\.\.?\//.test(path)) {
401
+ return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
402
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
403
+ });
404
+ }
405
+ return path;
406
+ };
407
+
398
408
  exporter("__extends", __extends);
399
409
  exporter("__assign", __assign);
400
410
  exporter("__rest", __rest);
@@ -426,4 +436,40 @@ var __disposeResources;
426
436
  exporter("__classPrivateFieldIn", __classPrivateFieldIn);
427
437
  exporter("__addDisposableResource", __addDisposableResource);
428
438
  exporter("__disposeResources", __disposeResources);
439
+ exporter("__rewriteRelativeImportExtension", __rewriteRelativeImportExtension);
440
+ });
441
+
442
+ 0 && (module.exports = {
443
+ __extends,
444
+ __assign,
445
+ __rest,
446
+ __decorate,
447
+ __param,
448
+ __esDecorate,
449
+ __runInitializers,
450
+ __propKey,
451
+ __setFunctionName,
452
+ __metadata,
453
+ __awaiter,
454
+ __generator,
455
+ __exportStar,
456
+ __createBinding,
457
+ __values,
458
+ __read,
459
+ __spread,
460
+ __spreadArrays,
461
+ __spreadArray,
462
+ __await,
463
+ __asyncGenerator,
464
+ __asyncDelegator,
465
+ __asyncValues,
466
+ __makeTemplateObject,
467
+ __importStar,
468
+ __importDefault,
469
+ __classPrivateFieldGet,
470
+ __classPrivateFieldSet,
471
+ __classPrivateFieldIn,
472
+ __addDisposableResource,
473
+ __disposeResources,
474
+ __rewriteRelativeImportExtension,
429
475
  });
package/package.json CHANGED
@@ -42,16 +42,16 @@
42
42
  "organization": false
43
43
  },
44
44
  "devDependencies": {
45
- "@cdk8s/projen-common": "0.0.549",
45
+ "@cdk8s/projen-common": "0.0.551",
46
46
  "@types/fs-extra": "^11.0.4",
47
47
  "@types/jest": "^27",
48
48
  "@types/node": "16.18.78",
49
49
  "@typescript-eslint/eslint-plugin": "^7",
50
50
  "@typescript-eslint/parser": "^7",
51
- "aws-cdk": "^2.162.0",
51
+ "aws-cdk": "^2.162.1",
52
52
  "aws-cdk-lib": "2.109.0",
53
53
  "cdk8s": "2.68.91",
54
- "cdk8s-cli": "^2.198.243",
54
+ "cdk8s-cli": "^2.198.247",
55
55
  "commit-and-tag-version": "^12",
56
56
  "constructs": "10.3.0",
57
57
  "eslint": "^8",
@@ -61,11 +61,11 @@
61
61
  "jest": "^27",
62
62
  "jest-junit": "^15",
63
63
  "jsii": "^5",
64
- "jsii-diff": "^1.103.1",
64
+ "jsii-diff": "^1.104.0",
65
65
  "jsii-docgen": "^10.5.0",
66
- "jsii-pacmak": "^1.103.1",
66
+ "jsii-pacmak": "^1.104.0",
67
67
  "jsii-rosetta": "^5",
68
- "projen": "^0.88.2",
68
+ "projen": "^0.88.3",
69
69
  "ts-jest": "^27",
70
70
  "ts-node": "^10.9.2",
71
71
  "typescript": "^5.6.3"
@@ -76,7 +76,7 @@
76
76
  "constructs": "^10.3.0"
77
77
  },
78
78
  "dependencies": {
79
- "@aws-sdk/client-cloudformation": "^3.670.0"
79
+ "@aws-sdk/client-cloudformation": "^3.672.0"
80
80
  },
81
81
  "bundledDependencies": [
82
82
  "@aws-sdk/client-cloudformation"
@@ -92,7 +92,7 @@
92
92
  "publishConfig": {
93
93
  "access": "public"
94
94
  },
95
- "version": "0.0.185",
95
+ "version": "0.0.187",
96
96
  "jest": {
97
97
  "coverageProvider": "v8",
98
98
  "testMatch": [