Skip to content

Commit d8d35b2

Browse files
authored
Bump express@5.2.1, jsonwebtoken@9.0.3 (#51)
1 parent a3e9317 commit d8d35b2

3 files changed

Lines changed: 72 additions & 58 deletions

File tree

npm-shrinkwrap.json

Lines changed: 69 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939
"axios": "^1.13.2",
4040
"bcryptjs": "^3.0.3",
4141
"cors": "^2.8.5",
42-
"express": "^5.1.0",
42+
"express": "^5.2.1",
4343
"express-basic-auth": "^1.2.1",
4444
"express-rate-limit": "^8.2.1",
4545
"express-validator": "^7.3.1",
4646
"graphql": "^16.12.0",
4747
"graphql-http": "^1.22.4",
4848
"graphql-tag": "^2.12.6",
4949
"helmet": "^8.1.0",
50-
"jsonwebtoken": "^9.0.2",
50+
"jsonwebtoken": "^9.0.3",
5151
"moment": "^2.30.1",
5252
"mongodb": "^7.0.0",
5353
"mongoose": "^9.0.0",

tests/relay.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { StrategiesType, ConfigStrategy } from '../src/models/config-strategy';
2121
const changeStrategy = async (strategyId, newOperation, status, environment) => {
2222
const strategy = await ConfigStrategy.findById(strategyId).exec();
2323
strategy.operation = newOperation || strategy.operation;
24-
strategy.activated.set(environment, status !== undefined ? status : strategy.activated.get(environment));
24+
strategy.activated.set(environment, status ?? strategy.activated.get(environment));
2525
strategy.updatedBy = adminMasterAccountId;
2626
await strategy.save();
2727
};

0 commit comments

Comments
 (0)