Skip to content

Commit

Permalink
Upgrade various dependencies, refactor test that began to malfunction…
Browse files Browse the repository at this point in the history
… after chokidar v4
  • Loading branch information
ryanblock committed Jan 27, 2025
1 parent 5f87f39 commit 9b7841a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@
"dependencies": {
"@architect/asap": "~7.0.10",
"@architect/create": "~5.0.3",
"@architect/hydrate": "~4.0.6",
"@architect/inventory": "~4.0.5",
"@architect/hydrate": "~4.0.8",
"@architect/inventory": "~4.0.6",
"@architect/utils": "~4.0.6",
"@aws-lite/client": "^0.21.1",
"@aws-lite/dynamodb": "^0.3.4",
"@aws-lite/client": "^0.22.4",
"@aws-lite/dynamodb": "^0.3.9",
"@begin/hashid": "~1.0.0",
"chalk": "4.1.2",
"chokidar": "~3.6.0",
"chokidar": "~4.0.3",
"depstatus": "~1.1.1",
"dynalite": "~3.2.2",
"finalhandler": "~1.2.0",
"finalhandler": "~1.3.1",
"glob": "~10.3.12",
"http-proxy": "~1.18.1",
"lambda-runtimes": "~2.0.2",
"lambda-runtimes": "~2.0.5",
"minimist": "~1.2.8",
"router": "~2.0.0",
"run-parallel": "~1.2.0",
Expand All @@ -53,22 +53,22 @@
"server-destroy": "~1.0.1",
"tmp": "~0.2.3",
"tree-kill": "~1.2.2",
"update-notifier-cjs": "~5.1.6",
"ws": "~8.17.0"
"update-notifier-cjs": "~5.1.7",
"ws": "~8.18.0"
},
"devDependencies": {
"@architect/eslint-config": "~3.0.0",
"@architect/functions": "~8.1.1",
"@architect/functions": "~8.1.7",
"@architect/req-res-fixtures": "git+https://github.com/architect/req-res-fixtures.git",
"@aws-lite/apigatewaymanagementapi": "~0.0.8",
"@aws-lite/ssm": "~0.2.3",
"@aws-lite/apigatewaymanagementapi": "~0.0.10",
"@aws-lite/ssm": "~0.2.5",
"cross-env": "~7.0.3",
"eslint": "~9.1.1",
"fs-extra": "~11.2.0",
"nyc": "~15.1.0",
"eslint": "~9.19.0",
"fs-extra": "~11.3.0",
"nyc": "~17.1.0",
"proxyquire": "~2.1.3",
"tap-arc": "~1.2.2",
"tape": "~5.7.5",
"tap-arc": "~1.3.2",
"tape": "~5.9.0",
"tiny-json-http": "~7.5.1"
}
}
3 changes: 2 additions & 1 deletion test/integration/lambda-termination-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ function runTests (runType, t) {
let fine = join(tmp, 'fine-write-me')
let timer

watcher = chokidar.watch(tmp)
// Chokidar 4 stalls this test by keeping the process open indefinitely without persistent: false; this appears to be a Chokidar bug or strange undocumented behavior, but I wasn't able to triangulate it in a reasonable amount of time
watcher = chokidar.watch(tmp, { persistent: false })
watcher.on('add', function (added) {
if (added === fine) {
clearTimeout(timer)
Expand Down

0 comments on commit 9b7841a

Please sign in to comment.