jambonz / realtimedb-helpers

utility functions for querying jambonz redis database
0 stars 9 forks source link

improve logging, clean code, fix vulnerabilities #61

Open Catharsis68 opened 1 day ago

Catharsis68 commented 1 day ago
  1. Adding a mode to the connect event - either it's single or high availability mode based on JAMBONES_REDIS_SENTINELS
  2. Put creating the sentinels array in a separate function in utils buildSentinels()
  3. Fix vulnerabilities in package.json via npm audit fix 3 vulnerabilities (1 moderate, 1 high, 1 critical) => found 0 vulnerabilities

1..100 tests 100 pass 100

ok

xquanluu commented 20 hours ago

Why do we have package-lock.json changes and there is no package.json change?

Catharsis68 commented 20 hours ago

Why do we have package-lock.json changes and there is no package.json change?

Fixes within semver range: If npm audit fix can resolve vulnerabilities by updating packages within the version ranges specified in your package.json, it will only update package-lock.json to reflect the new, secure versions. Your package.json won't need changes because the updated versions still satisfy the version constraints