added 659 packages, and audited 1856 packages in 15s 135 packages are looking for funding run `npm fund` for details 19 vulnerabilities (1 low, 7 moderate, 7 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:3691) 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 ✔ should not allow an invalid token to generate an internal jwt (45ms) Login ✔ should allow a valid user to login (126ms) ✔ should not allow an invalid user to login (70ms) - 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 (104ms) ✔ should not create a new user if not authorized ✔ should not create a new user if username is already taken (83ms) 10 passing (985ms) 1 pending