@gahojin-inc/aws-lambda-mock-context 2025.5.0 → 2025.6.0

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.
package/dist/index.d.cts CHANGED
@@ -1,15 +1,15 @@
1
1
  import type { ClientContext, CognitoIdentity, Context } from "aws-lambda";
2
2
  type Options = {
3
- region?: string
4
- account?: string
5
- alias?: string
6
- functionName?: string
7
- functionVersion?: string
8
- memoryLimitInMB?: string
9
- identity?: CognitoIdentity
10
- clientContext?: ClientContext
11
- timeout?: number
12
- handleTimeout?: boolean
3
+ region?: string;
4
+ account?: string;
5
+ alias?: string;
6
+ functionName?: string;
7
+ functionVersion?: string;
8
+ memoryLimitInMB?: string;
9
+ identity?: CognitoIdentity;
10
+ clientContext?: ClientContext;
11
+ timeout?: number;
12
+ handleTimeout?: boolean;
13
13
  };
14
14
  interface MockContext extends Context {
15
15
  Promise: Promise<any>;
package/dist/index.d.mts CHANGED
@@ -1,15 +1,15 @@
1
1
  import type { ClientContext, CognitoIdentity, Context } from "aws-lambda";
2
2
  type Options = {
3
- region?: string
4
- account?: string
5
- alias?: string
6
- functionName?: string
7
- functionVersion?: string
8
- memoryLimitInMB?: string
9
- identity?: CognitoIdentity
10
- clientContext?: ClientContext
11
- timeout?: number
12
- handleTimeout?: boolean
3
+ region?: string;
4
+ account?: string;
5
+ alias?: string;
6
+ functionName?: string;
7
+ functionVersion?: string;
8
+ memoryLimitInMB?: string;
9
+ identity?: CognitoIdentity;
10
+ clientContext?: ClientContext;
11
+ timeout?: number;
12
+ handleTimeout?: boolean;
13
13
  };
14
14
  interface MockContext extends Context {
15
15
  Promise: Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gahojin-inc/aws-lambda-mock-context",
3
- "version": "2025.5.0",
3
+ "version": "2025.6.0",
4
4
  "description": "AWS Lambda mock context object",
5
5
  "author": "GAHOJIN, Inc.",
6
6
  "license": "Apache-2.0",
@@ -39,22 +39,22 @@
39
39
  }
40
40
  },
41
41
  "devDependencies": {
42
- "@arethetypeswrong/cli": "0.18.1",
42
+ "@arethetypeswrong/cli": "0.18.2",
43
43
  "@biomejs/biome": "1.9.4",
44
44
  "@commitlint/cli": "19.8.1",
45
45
  "@commitlint/config-conventional": "19.8.1",
46
46
  "@types/aws-lambda": "8.10.149",
47
- "@types/node": "20.17.55",
48
- "@vitest/coverage-v8": "3.1.4",
49
- "jest-extended": "5.0.3",
47
+ "@types/node": "20.19.0",
48
+ "@vitest/coverage-v8": "3.2.3",
49
+ "jest-extended": "6.0.0",
50
50
  "lefthook": "1.11.13",
51
51
  "npm-check-updates": "18.0.1",
52
52
  "rimraf": "6.0.1",
53
- "rolldown": "1.0.0-beta.10",
53
+ "rolldown": "1.0.0-beta.15",
54
54
  "typescript": "5.8.3",
55
- "unplugin-isolated-decl": "0.14.2",
55
+ "unplugin-isolated-decl": "0.14.3",
56
56
  "vite-tsconfig-paths": "5.1.4",
57
- "vitest": "3.1.4"
57
+ "vitest": "3.2.3"
58
58
  },
59
59
  "engines": {
60
60
  "node": ">=18.x",