Skip to content

Commit 6005729

Browse files
authored
chore: cleanup dead code and unused dependencies (#419)
*Issue #, if available:* *Description of changes:* Removing dead code and unused dependencies. This will close the security PR #405 By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent ce958cf commit 6005729

File tree

18 files changed

+6
-1812
lines changed

18 files changed

+6
-1812
lines changed

package-lock.json

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

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
"@types/argparse": "^2.0.17",
4242
"@types/aws-lambda": "^8.10.150",
4343
"@types/jest": "^30.0.0",
44-
"@types/morgan": "^1.9.10",
45-
"@types/supertest": "^6.0.3",
4644
"@typescript-eslint/parser": "^8.44.0",
4745
"argparse": "^2.0.1",
4846
"concurrently": "^9.2.1",
@@ -57,7 +55,6 @@
5755
"prettier": "^3.6.2",
5856
"rollup": "^4.50.2",
5957
"rollup-plugin-node-externals": "^8.1.1",
60-
"supertest": "^7.1.1",
6158
"ts-jest": "^29.4.0",
6259
"ts-node": "^10.9.2",
6360
"tsx": "^4.20.3",

packages/aws-durable-execution-sdk-js-testing/package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,18 @@
4747
"@eslint/js": "^9.29.0",
4848
"@rollup/plugin-replace": "^6.0.3",
4949
"@types/aws-lambda": "^8.10.150",
50-
"@types/morgan": "^1.9.10",
5150
"@types/sinonjs__fake-timers": "^15.0.1",
52-
"@types/supertest": "^6.0.3",
53-
"api-extractor": "^99.99.99",
5451
"eslint": "^9.29.0",
5552
"eslint-config-prettier": "^10.1.5",
5653
"eslint-plugin-jest": "^29.0.1",
5754
"jest": "^30.0.3",
58-
"supertest": "^7.1.1",
5955
"tsx": "^4.20.5",
6056
"typescript": "^5.8.3",
6157
"typescript-eslint": "^8.34.1"
6258
},
6359
"dependencies": {
6460
"@aws-sdk/client-lambda": "^3.943.0",
6561
"@sinonjs/fake-timers": "^13.0.5",
66-
"@smithy/smithy-client": "^4.9.1",
6762
"commander": "^14.0.2"
6863
},
6964
"peerDependencies": {

packages/aws-durable-execution-sdk-js-testing/src/checkpoint-server/constants.ts

Lines changed: 0 additions & 39 deletions
This file was deleted.

packages/aws-durable-execution-sdk-js-testing/src/checkpoint-server/types/operation-event.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

packages/aws-durable-execution-sdk-js-testing/src/checkpoint-server/types/serialized-invocation-result.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/aws-durable-execution-sdk-js-testing/src/checkpoint-server/worker/worker-message-types.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,6 @@ export enum WorkerResponseType {
1414
API_RESPONSE = "API_RESPONSE",
1515
}
1616

17-
export interface ServerStartedData {
18-
port: number;
19-
url: string;
20-
}
21-
22-
export interface ErrorData {
23-
message: string;
24-
stack?: string;
25-
code?: string;
26-
}
27-
2817
export interface WorkerCommand {
2918
type: WorkerCommandType.API_REQUEST;
3019
data: WorkerApiRequestMessage;

packages/aws-durable-execution-sdk-js-testing/src/test-runner/local/api-client/__tests__/durable-executions-client.test.ts

Lines changed: 0 additions & 49 deletions
This file was deleted.

packages/aws-durable-execution-sdk-js-testing/src/test-runner/local/api-client/checkpoint-api-client.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { ErrorObject, Operation } from "@aws-sdk/client-lambda";
22
import { CheckpointOperation } from "../../../checkpoint-server/storage/checkpoint-manager";
33
import { InvocationResult } from "../../../checkpoint-server/storage/execution-manager";
4-
import { SerializedCheckpointOperation } from "../../../checkpoint-server/types/operation-event";
54
import {
65
ExecutionId,
76
InvocationId,
@@ -12,10 +11,6 @@ import {
1211
} from "../../../checkpoint-server/worker-api/worker-api-request";
1312
import { CompleteInvocationResponse } from "../../../checkpoint-server/worker-api/worker-api-response";
1413

15-
export interface SerializedPollCheckpointResponse {
16-
operations: SerializedCheckpointOperation[];
17-
}
18-
1914
/**
2015
* Client for interacting with the checkpoint server API
2116
*/

packages/aws-durable-execution-sdk-js-testing/src/test-runner/local/api-client/deserialize/__tests__/deserialize-event.test.ts

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)