Skip to content

Commit 3ed056f

Browse files
chore(deps): bump the typescript group across 1 directory with 2 updates (#5134)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: svozza <svozza@amazon.com>
1 parent 3cbf6b1 commit 3ed056f

6 files changed

Lines changed: 87 additions & 43 deletions

File tree

examples/app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"aws-cdk-lib": "^2.244.0",
3535
"constructs": "^10.6.0",
3636
"source-map-support": "^0.5.21",
37-
"typescript": "^5.9.3",
37+
"typescript": "^6.0.2",
3838
"vitest": "^4.0.10"
3939
},
4040
"dependencies": {
@@ -52,6 +52,6 @@
5252
"aws-cdk": "^2.1113.0",
5353
"constructs": "^10.6.0",
5454
"esbuild": "^0.27.4",
55-
"typescript": "^5.9.3"
55+
"typescript": "^6.0.2"
5656
}
5757
}

package-lock.json

Lines changed: 76 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@
6060
"middy5": "npm:@middy/core@^5.5.1",
6161
"middy6": "npm:@middy/core@^6.4.5",
6262
"middy7": "npm:@middy/core@^7.0.2",
63-
"typedoc": "^0.28.17",
63+
"typedoc": "^0.28.18",
6464
"typedoc-plugin-missing-exports": "^4.1.2",
65-
"typescript": "^5.9.3",
65+
"typescript": "^6.0.2",
6666
"vitest": "^4.0.10"
6767
},
6868
"lint-staged": {

packages/event-handler/src/bedrock-agent/BedrockFunctionResponse.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type {
22
BedrockAgentFunctionEvent,
3+
BedrockAgentFunctionResponse,
34
ResponseState,
45
} from '../types/bedrock-agent.js';
56
import type { BedrockAgentFunctionResolver } from './BedrockAgentFunctionResolver.js';
@@ -71,7 +72,10 @@ class BedrockFunctionResponse {
7172
* @param options.actionGroup - The action group of the function, this comes from the `event.actionGroup` field in the Bedrock agent function event.
7273
* @param options.func - The name of the function being invoked by the agent, this comes from the `event.function` field in the Bedrock agent function event.
7374
*/
74-
build(options: { actionGroup: string; func: string }) {
75+
build(options: {
76+
actionGroup: string;
77+
func: string;
78+
}): BedrockAgentFunctionResponse {
7579
return {
7680
messageVersion: '1.0',
7781
response: {

tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"module": "commonjs",
5-
"moduleResolution": "node"
5+
"moduleResolution": "bundler"
66
}
77
}

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"esModuleInterop": true,
1515
"forceConsistentCasingInFileNames": true,
1616
"strict": true,
17+
"types": ["node"],
1718
"skipLibCheck": true,
1819
"pretty": true // Enable pretty formatting for output messages.
1920
},

0 commit comments

Comments
 (0)