Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions video-intelligence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
"author": "Google Inc.",
"repository": "googleapis/nodejs-video-intelligence",
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"scripts": {
"test": "c8 mocha -p -j 2 system-test --timeout=800000"
},
"dependencies": {
"@google-cloud/video-intelligence": "^5.0.0",
"@google-cloud/video-intelligence": "^6.0.0",
"yargs": "^17.0.0"
},
"devDependencies": {
"c8": "^10.0.0",
"chai": "^4.5.0",
"c8": "^12.0.0",
"chai": "^6.0.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Chai v5.0.0 and above (including v6.0.0) are ESM-only. Since this project is configured as CommonJS (it lacks "type": "module" in package.json and uses require in its source files), upgrading to chai v6 will cause tests to fail with ERR_REQUIRE_ESM when trying to require chai. It is recommended to keep chai at ^4.5.0 unless the project is migrated to ESM.

Suggested change
"chai": "^6.0.0",
"chai": "^4.5.0",

"mocha": "^10.0.0"
}
}
Loading