|
22 | 22 | "osls": "./bin/serverless.js" |
23 | 23 | }, |
24 | 24 | "dependencies": { |
25 | | - "@aws-sdk/client-api-gateway": "^3.588.0", |
26 | | - "@aws-sdk/client-apigatewayv2": "^3.588.0", |
27 | | - "@aws-sdk/client-cloudformation": "^3.588.0", |
28 | | - "@aws-sdk/client-cloudwatch": "^3.588.0", |
29 | | - "@aws-sdk/client-cloudwatch-logs": "^3.588.0", |
30 | | - "@aws-sdk/client-cognito-identity-provider": "^3.588.0", |
31 | | - "@aws-sdk/client-dynamodb": "^3.588.0", |
32 | | - "@aws-sdk/client-ecr": "^3.588.0", |
33 | | - "@aws-sdk/client-eventbridge": "^3.588.0", |
34 | | - "@aws-sdk/client-iam": "^3.588.0", |
35 | | - "@aws-sdk/client-iot": "^3.588.0", |
36 | | - "@aws-sdk/client-iot-data-plane": "^3.588.0", |
37 | | - "@aws-sdk/client-kinesis": "^3.588.0", |
38 | | - "@aws-sdk/client-lambda": "^3.588.0", |
39 | | - "@aws-sdk/client-s3": "^3.588.0", |
40 | | - "@aws-sdk/client-sns": "^3.588.0", |
41 | | - "@aws-sdk/client-sqs": "^3.588.0", |
42 | | - "@aws-sdk/client-ssm": "^3.588.0", |
43 | | - "@aws-sdk/client-sts": "^3.588.0", |
44 | | - "@aws-sdk/lib-dynamodb": "^3.588.0", |
45 | | - "@aws-sdk/lib-storage": "^3.588.0", |
46 | | - "@aws-sdk/credential-providers": "^3.588.0", |
| 25 | + "@aws-sdk/client-api-gateway": "^3.975.0", |
| 26 | + "@aws-sdk/client-apigatewayv2": "^3.975.0", |
| 27 | + "@aws-sdk/client-cloudformation": "^3.975.0", |
| 28 | + "@aws-sdk/client-cloudwatch": "^3.975.0", |
| 29 | + "@aws-sdk/client-cloudwatch-logs": "^3.975.0", |
| 30 | + "@aws-sdk/client-cognito-identity-provider": "^3.975.0", |
| 31 | + "@aws-sdk/client-dynamodb": "^3.975.0", |
| 32 | + "@aws-sdk/client-ecr": "^3.975.0", |
| 33 | + "@aws-sdk/client-eventbridge": "^3.975.0", |
| 34 | + "@aws-sdk/client-iam": "^3.975.0", |
| 35 | + "@aws-sdk/client-iot": "^3.975.0", |
| 36 | + "@aws-sdk/client-iot-data-plane": "^3.975.0", |
| 37 | + "@aws-sdk/client-kinesis": "^3.975.0", |
| 38 | + "@aws-sdk/client-lambda": "^3.975.0", |
| 39 | + "@aws-sdk/client-s3": "^3.975.0", |
| 40 | + "@aws-sdk/client-sns": "^3.975.0", |
| 41 | + "@aws-sdk/client-sqs": "^3.975.0", |
| 42 | + "@aws-sdk/client-ssm": "^3.975.0", |
| 43 | + "@aws-sdk/client-sts": "^3.975.0", |
| 44 | + "@aws-sdk/credential-providers": "^3.975.0", |
| 45 | + "@aws-sdk/lib-dynamodb": "^3.975.0", |
| 46 | + "@aws-sdk/lib-storage": "^3.975.0", |
47 | 47 | "@serverless/utils": "^6.13.1", |
48 | 48 | "ajv": "^8.12.0", |
49 | 49 | "ajv-formats": "^2.1.1", |
50 | 50 | "archiver": "^7.0.1", |
51 | | - "aws-sdk": "^2.1692.0", |
| 51 | + "aws-sdk": "^2.1693.0", |
52 | 52 | "bluebird": "^3.7.2", |
53 | 53 | "cachedir": "^2.3.0", |
54 | 54 | "chalk": "^4.1.2", |
|
98 | 98 | }, |
99 | 99 | "devDependencies": { |
100 | 100 | "@serverless/eslint-config": "^5.1.0", |
101 | | - "@serverless/test": "^11.1.1", |
102 | 101 | "adm-zip": "^0.5.10", |
103 | 102 | "aws4": "^1.12.0", |
104 | 103 | "chai": "^4.3.7", |
|
108 | 107 | "git-list-updated": "^1.2.1", |
109 | 108 | "husky": "^4.3.8", |
110 | 109 | "jszip": "^3.10.1", |
111 | | - "lint-staged": "^13.2.2", |
| 110 | + "lint-staged": "^16.2.7", |
112 | 111 | "log": "^6.3.1", |
113 | 112 | "log-node": "^8.0.3", |
114 | | - "mocha": "^9.2.2", |
| 113 | + "minimist": "^1.2.8", |
| 114 | + "mocha": "^11.7.5", |
115 | 115 | "mock-require": "^3.0.3", |
116 | 116 | "ncjsm": "^4.3.2", |
117 | | - "pkg": "^5.8.1", |
| 117 | + "p-limit": "^3.1.0", |
118 | 118 | "prettier": "^2.8.8", |
119 | 119 | "proxyquire": "^2.1.3", |
120 | 120 | "semver-regex": "^3.1.4", |
|
171 | 171 | "mocha": { |
172 | 172 | "require": [ |
173 | 173 | "./test/mocha-patch", |
174 | | - "@serverless/test/setup/log", |
175 | | - "@serverless/test/setup/mock-homedir", |
176 | | - "@serverless/test/setup/mock-cwd", |
177 | | - "@serverless/test/setup/restore-env" |
| 174 | + "./test/lib/setup/log", |
| 175 | + "./test/lib/setup/mock-homedir", |
| 176 | + "./test/lib/setup/mock-cwd", |
| 177 | + "./test/lib/setup/restore-env" |
178 | 178 | ], |
179 | 179 | "timeout": 60000 |
180 | 180 | }, |
|
188 | 188 | }, |
189 | 189 | "scripts": { |
190 | 190 | "integration-test-cleanup": "node test/utils/aws-cleanup.js", |
191 | | - "integration-test-run-all": "mocha-isolated --pass-through-aws-creds --skip-fs-cleanup-check --max-workers=20 \"test/integration/**/*.test.js\"", |
| 191 | + "integration-test-run-all": "node test/lib/bin/mocha-isolated.js --pass-through-aws-creds --skip-fs-cleanup-check --max-workers=20 \"test/integration/**/*.test.js\"", |
192 | 192 | "integration-test-run-basic": "mocha test/integration-basic.test.js", |
193 | | - "integration-test-run-package": "mocha-isolated --skip-fs-cleanup-check test/integration-package/**/*.tests.js", |
| 193 | + "integration-test-run-package": "node test/lib/bin/mocha-isolated.js --skip-fs-cleanup-check test/integration-package/**/*.tests.js", |
194 | 194 | "integration-test-setup": "node ./scripts/test/integration-setup/index.js", |
195 | 195 | "integration-test-teardown": "node ./scripts/test/integration-teardown.js", |
196 | 196 | "lint": "eslint .", |
|
203 | 203 | "prettify:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml --base=main -- prettier --write", |
204 | 204 | "test": "mocha \"test/unit/**/*.test.js\"", |
205 | 205 | "test:ci": "npm run prettier-check:updated && npm run lint:updated && npm run test:isolated", |
206 | | - "test:isolated": "mocha-isolated \"test/unit/**/*.test.js\"" |
| 206 | + "test:isolated": "node test/lib/bin/mocha-isolated.js \"test/unit/**/*.test.js\"" |
207 | 207 | }, |
208 | 208 | "engines": { |
209 | 209 | "node": ">=12.0" |
|
0 commit comments