Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@types/prettier": "2.6.0",
"@yarnpkg/lockfile": "^1.1.0",
"aws-sdk-js-codemod": "^2.4.5",
"cdk-generate-synthetic-examples": "^0.2.29",
"cdk-generate-synthetic-examples": "^0.2.31",
"conventional-changelog-cli": "^2.2.2",
"fs-extra": "^9.1.0",
"graceful-fs": "^4.2.11",
Expand Down
2 changes: 2 additions & 0 deletions packages/aws-cdk-lib/core/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,5 @@ export * from './validation';
export * from './private/intrinsic';
export * from './names';
export * from './time-zone';

export * from './test-intersections';
31 changes: 31 additions & 0 deletions packages/aws-cdk-lib/core/lib/test-intersections.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { IAspect } from './aspect';
import { IReusableStackSynthesizer } from './stack-synthesizers';

/**
* Props for the TestIntersections class
*
* @experimental
*/
export interface TestIntersectionProps {
/**
* This input doesn't make any sense -- don't implement it!
*/
readonly field: IAspect & IReusableStackSynthesizer;
}

/**
* A class that purely exists to demonstrate that type intersections pass through the entire release pipeline
*
* This class will disappear again in the future; do not use it.
*
* @experimental
*/
export class TestIntersections {
constructor(props: TestIntersectionProps) {
void props;
}

public takeIntersection(field: IAspect & IReusableStackSynthesizer) {
void field;
}
}
2 changes: 1 addition & 1 deletion tools/@aws-cdk/cdk-build-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"jest": "^29.7.0",
"jest-junit": "^13.2.0",
"jsii": "~5.9.6",
"jsii-rosetta": "~5.9.7",
"jsii-rosetta": "~5.9.8",
"jsii-pacmak": "1.115.0",
"jsii-reflect": "1.115.0",
"markdownlint-cli": "^0.45.0",
Expand Down
22 changes: 11 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6427,13 +6427,13 @@ [email protected], case@^1.6.3:
resolved "https://registry.npmjs.org/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9"
integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ==

cdk-generate-synthetic-examples@^0.2.29:
version "0.2.29"
resolved "https://registry.npmjs.org/cdk-generate-synthetic-examples/-/cdk-generate-synthetic-examples-0.2.29.tgz#5dae1ec8f43b6797259e081eb6c6aa69e16158cd"
integrity sha512-JP3/2wL0drTcQLgoEJeewWCneBYEcOWmLtwPvvScvXNt3lRApOfhBGcqplM7w/YS2pgKAzort2w2tSzFBTmlzA==
cdk-generate-synthetic-examples@^0.2.31:
version "0.2.31"
resolved "https://registry.npmjs.org/cdk-generate-synthetic-examples/-/cdk-generate-synthetic-examples-0.2.31.tgz#49601b41adf5466b0a2445a3a2aac0a5fcbc35cd"
integrity sha512-v3qE/R3M4xnVsnTD7Lp4umAgtMEAZ6MEJCxrtpxZx/5aePsU70n2ctnw2+sByxNrSjjT7Ml6tytCnrNVpo0Y+g==
dependencies:
"@jsii/spec" "^1.113.0"
jsii-reflect "^1.113.0"
"@jsii/spec" "^1.114.1"
jsii-reflect "^1.114.1"
yargs "^17.7.2"

[email protected]:
Expand Down Expand Up @@ -10133,7 +10133,7 @@ [email protected], jsii-reflect@^1.113.0:
oo-ascii-tree "^1.113.0"
yargs "^16.2.0"

[email protected], jsii-reflect@^1.115.0:
[email protected], jsii-reflect@^1.114.1, jsii-reflect@^1.115.0:
version "1.115.0"
resolved "https://registry.npmjs.org/jsii-reflect/-/jsii-reflect-1.115.0.tgz#debe523fa2de0ba020d54d41a2f7b0e0bc8ef048"
integrity sha512-svWvulZ8IH035sLR0aEt3UiN4Ejqh99zSBfVTFsr3bjBfDZqcxIlExFI/fMb7O+a7XwT0WdTakTuX/aajQt3cg==
Expand All @@ -10145,10 +10145,10 @@ [email protected], jsii-reflect@^1.115.0:
oo-ascii-tree "^1.115.0"
yargs "^17.7.2"

jsii-rosetta@~5.9.7:
version "5.9.7"
resolved "https://registry.npmjs.org/jsii-rosetta/-/jsii-rosetta-5.9.7.tgz#b0ae7aa3dbefb6410b963b480b0b0ce93f89853b"
integrity sha512-OQbKI0Q1aOAbJ8vR1I+/Jv3cqZisgBBEm0DwSxrRfEeNd67UOYIcsHM0nefsV48R/FZAKIGEGxZYlix9jgAl8Q==
jsii-rosetta@~5.9.8:
version "5.9.8"
resolved "https://registry.npmjs.org/jsii-rosetta/-/jsii-rosetta-5.9.8.tgz#dbe2bb9ea89b4793e3ff8f5c3fea7fcbb93a1bba"
integrity sha512-QpCE+5CmYPidfgtDztlFeYcfr2LuTYh3o9H58qhtFHHtTxY3PaRDxZGB4LwcuO6lRnz1a9INlgE2O6AafffReg==
dependencies:
"@jsii/check-node" "1.114.1"
"@jsii/spec" "^1.114.1"
Expand Down
Loading