added 659 packages, and audited 1856 packages in 20s 135 packages are looking for funding run `npm fund` for details 20 vulnerabilities (1 low, 7 moderate, 8 high, 4 critical) To address all issues, run: npm audit fix Run `npm audit` for details. > test > TS_NODE_COMPILER_OPTIONS='{"allowImportingTsExtensions": true}' mocha --require ts-node/register test/**/*.spec.ts (node:3690) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' (Use `node --trace-warnings ...` to show where the warning was created) Authentication ✔ should allow a valid token to generate an internal jwt (48ms) ✔ should not allow an invalid token to generate an internal jwt Login ✔ should allow a valid user to login (156ms) ✔ should not allow an invalid user to login (118ms) - should allow a logged in user to log out User GET /users ✔ should list all users if authorized ✔ should list only authorized users ✔ should not list users if not authorized POST /users ✔ should create a new user if authorized (80ms) ✔ should not create a new user if not authorized ✔ should not create a new user if username is already taken (76ms) 10 passing (1s) 1 pending