Skip to content

Commit 7029bf2

Browse files
committed
chore(deps): use typescript v6
1 parent 0a3ab58 commit 7029bf2

4 files changed

Lines changed: 847 additions & 709 deletions

File tree

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,30 @@
1717
"test": "turbo run test"
1818
},
1919
"devDependencies": {
20-
"@changesets/changelog-github": "^0.5.0",
21-
"@changesets/cli": "^2.27.1",
22-
"@eslint/js": "^9.22.0",
23-
"@faker-js/faker": "^9.6.0",
20+
"@changesets/changelog-github": "^0.5.2",
21+
"@changesets/cli": "^2.30.0",
22+
"@eslint/js": "^9.39.4",
23+
"@faker-js/faker": "^9.9.0",
2424
"@tsconfig/node-lts": "^24.0.0",
2525
"@tsconfig/strictest": "^2.0.8",
26-
"@types/aws-lambda": "^8.10.146",
26+
"@types/aws-lambda": "^8.10.161",
2727
"@types/node": "^24.12.2",
28-
"@typescript-eslint/eslint-plugin": "^8.23.0",
29-
"@typescript-eslint/parser": "^8.23.0",
28+
"@typescript-eslint/eslint-plugin": "^8.58.1",
29+
"@typescript-eslint/parser": "^8.58.1",
3030
"@vitest/coverage-v8": "^4.1.4",
3131
"@vitest/eslint-plugin": "^1.6.15",
32-
"eslint": "^9.19.0",
33-
"eslint-config-prettier": "^10.0.1",
34-
"eslint-plugin-import-x": "^4.6.1",
35-
"eslint-plugin-prettier": "^5.2.3",
32+
"eslint": "^9.39.4",
33+
"eslint-config-prettier": "^10.1.8",
34+
"eslint-plugin-import-x": "^4.16.2",
35+
"eslint-plugin-prettier": "^5.5.5",
3636
"eslint-plugin-simple-import-sort": "^12.1.1",
37-
"eslint-plugin-turbo": "^2.4.0",
37+
"eslint-plugin-turbo": "^2.9.6",
3838
"eslint-plugin-unicorn": "^57.0.0",
39-
"fishery": "^2.2.2",
40-
"prettier": "^3.2.4",
41-
"turbo": "^2.0.1",
42-
"typescript": "^5.9.3",
43-
"typescript-eslint": "^8.23.0",
39+
"fishery": "^2.4.0",
40+
"prettier": "^3.8.2",
41+
"turbo": "^2.9.6",
42+
"typescript": "^6.0.2",
43+
"typescript-eslint": "^8.58.1",
4444
"vite": "^8.0.8",
4545
"vitest": "^4.1.4"
4646
},

packages/lambda-batch-processor/tests/batchProcessor.test.ts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,19 @@ describe('BatchProcessor', () => {
7272
});
7373

7474
it('surfaces failures with the non-retryable errors handler', async () => {
75-
const handlingFunction = vi.fn<[PermanentFailure<SQSRecord>]>(async () => {});
76-
const nonRetryableErrorHandler = new (class Test
77-
implements PermanentFailureHandler<SQSEvent>
78-
{
79-
async handleRejections(accumulator: FailureAccumulator<SQSRecord>) {
80-
try {
81-
for (const failure of accumulator.permanentFailures) {
82-
await handlingFunction(failure);
75+
const handlingFunction = vi.fn<(failure: PermanentFailure) => Promise<void>>(async () => {});
76+
const nonRetryableErrorHandler =
77+
new (class Test implements PermanentFailureHandler<SQSEvent> {
78+
async handleRejections(accumulator: FailureAccumulator<SQSRecord>) {
79+
try {
80+
for (const failure of accumulator.permanentFailures) {
81+
await handlingFunction(failure);
82+
}
83+
} catch {
84+
accumulator.surfacePermanentFailures();
8385
}
84-
} catch {
85-
accumulator.surfacePermanentFailures();
8686
}
87-
}
88-
})();
87+
})();
8988
const p = new TestProcessor(handler, {
9089
nonRetryableErrors: [ValidationError],
9190
nonRetryableErrorHandler,

0 commit comments

Comments
 (0)