Skip to content

Commit 2c4106e

Browse files
committed
chore: upd all deps
1 parent 219d741 commit 2c4106e

File tree

3 files changed

+19
-20
lines changed

3 files changed

+19
-20
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,21 @@
4545
},
4646
"dependencies": {
4747
"cwd": "0.10.0",
48-
"debug": "4.3.3",
48+
"debug": "4.3.4",
4949
"dynamodb-local": "0.0.31"
5050
},
5151
"devDependencies": {
52-
"@aws-sdk/client-dynamodb": "^3.26.0",
53-
"@aws-sdk/lib-dynamodb": "^3.26.0",
54-
"@aws-sdk/util-dynamodb": "^3.26.0",
55-
"@shelf/eslint-config": "2.7.0",
52+
"@aws-sdk/client-dynamodb": "^3.100.0",
53+
"@aws-sdk/lib-dynamodb": "^3.100.0",
54+
"@aws-sdk/util-dynamodb": "^3.100.0",
55+
"@shelf/eslint-config": "2.18.0",
5656
"@shelf/prettier-config": "1.0.0",
57-
"eslint": "8.4.1",
58-
"husky": "7.0.4",
57+
"eslint": "8.16.0",
58+
"husky": "8.0.1",
5959
"jest": "28.1.0",
60-
"lint-staged": "12.1.2",
61-
"prettier": "2.5.1",
62-
"typescript": "4.5.4"
60+
"lint-staged": "12.4.3",
61+
"prettier": "2.6.2",
62+
"typescript": "4.7.2"
6363
},
6464
"peerDependencies": {
6565
"@aws-sdk/client-dynamodb": "3.x.x",

setup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ module.exports = async function () {
6464
await createTables(dynamoDB, newTables);
6565
};
6666

67-
async function createTables(dynamoDB, tables) {
67+
function createTables(dynamoDB, tables) {
6868
return Promise.all(tables.map(table => dynamoDB.createTable(table)));
6969
}
7070

71-
async function deleteTables(dynamoDB, tableNames) {
71+
function deleteTables(dynamoDB, tableNames) {
7272
return Promise.all(tableNames.map(tableName => dynamoDB.deleteTable({TableName: tableName})));
7373
}

wait-for-localhost.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
/*
2-
This is copied from https://github.com/sindresorhus/wait-for-localhost/blob/v3.3.0/index.js
3-
With 1 change
4-
We rely on status code 400 instead of 200 to ensure local DDB is up and running
5-
*/
1+
//
2+
// This is copied from https://github.com/sindresorhus/wait-for-localhost/blob/v3.3.0/index.js
3+
// With 1 change
4+
// We rely on status code 400 instead of 200 to ensure local DDB is up and running
5+
//
66

77
const http = require('http');
88

9-
const waitForLocalhost = port => {
10-
return new Promise(resolve => {
9+
const waitForLocalhost = port =>
10+
new Promise(resolve => {
1111
const retry = () => setTimeout(main, 200);
1212

1313
const main = () => {
@@ -25,6 +25,5 @@ const waitForLocalhost = port => {
2525

2626
main();
2727
});
28-
};
2928

3029
module.exports = waitForLocalhost;

0 commit comments

Comments
 (0)