Update redis package from 3.1.2 => 4.6.13 (https://github.com/redis/node-redis/releases/tag/redis%404.6.13)
In redis v4, the redis library introduced native support for promises. The promisifyAll function from the bluebird library is no longer needed for promisifying Redis methods.
Create a babel.config.js file for Jest and update jest.config.js for pure ESM packages (this change solves the: “Jest encountered an unexpected token. Jest failed to parse a file.” error when running the test suite)
The existing .babelrc takes priority for app compilation. Jest tests, however, look at the settings in the babel.config.js file.
Checklist:
[ ] I have manually tested my changes on desktop and mobile
[ ] The test suite passes locally with my changes
[ ] If my change is a UI change, I have attached a screenshot to the description section of this pull request
Fixes # (issue)
Update knex, pg-query-stream, redis, query-string packages and dependencies to be compatible with Node v20
Description
Update
knex
package from 2.5.1 => 3.1.0 (https://github.com/knex/knex/releases/tag/3.1.0)Update
pg-query-stream
package from 1.1.2 => 4.5.3 (https://github.com/brianc/node-postgres/releases/tag/pg-query-stream%404.5.3)Update
redis
package from 3.1.2 => 4.6.13 (https://github.com/redis/node-redis/releases/tag/redis%404.6.13) In redis v4, the redis library introduced native support for promises. The promisifyAll function from the bluebird library is no longer needed for promisifying Redis methods.Update
query-string
from 4.3.4 => 9.0.0 (https://github.com/sindresorhus/query-string/releases/tag/v9.0.0)Create a babel.config.js file for Jest and update jest.config.js for pure ESM packages (this change solves the: “Jest encountered an unexpected token. Jest failed to parse a file.” error when running the test suite) The existing .babelrc takes priority for app compilation. Jest tests, however, look at the settings in the babel.config.js file.
Checklist: