Skip to content

Commit 862e46b

Browse files
authored
Merge pull request #252 from lidofinance/feature/si-1571-dependabot-eth-api-wq-api-subgraph
fix: fixed vulnerabilities
2 parents 7471cae + 44e6715 commit 862e46b

File tree

5 files changed

+323
-530
lines changed

5 files changed

+323
-530
lines changed

package.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"dependencies": {
2828
"@ethersproject/bignumber": "^5.7.0",
2929
"@ethersproject/units": "^5.7.0",
30-
"@fastify/static": "^6.6.0",
30+
"@fastify/static": "^7.0.4",
3131
"@lido-nestjs/consensus": "^1.5.0",
3232
"@lido-nestjs/constants": "^5.2.0",
3333
"@lido-nestjs/contracts": "^9.3.0",
@@ -37,12 +37,12 @@
3737
"@lido-nestjs/logger": "^1.0.1",
3838
"@lidofinance/satanizer": "^0.32.0",
3939
"@nestjs/cache-manager": "^2.2.2",
40-
"@nestjs/common": "^9.2.1",
40+
"@nestjs/common": "^10.4.4",
4141
"@nestjs/config": "^2.2.0",
42-
"@nestjs/core": "^9.2.1",
43-
"@nestjs/platform-fastify": "^9.2.1",
42+
"@nestjs/core": "^10.4.4",
43+
"@nestjs/platform-fastify": "^10.4.4",
4444
"@nestjs/schedule": "^2.2.0",
45-
"@nestjs/swagger": "^6.1.4",
45+
"@nestjs/swagger": "^7.4.2",
4646
"@nestjs/terminus": "^9.1.4",
4747
"@nestjs/throttler": "^6.0.0",
4848
"@sentry/node": "^7.29.0",
@@ -51,7 +51,6 @@
5151
"class-transformer": "^0.5.1",
5252
"class-validator": "^0.14.0",
5353
"ethers": "^6.13.2",
54-
"fastify-swagger": "^5.2.0",
5554
"node-abort-controller": "^3.0.1",
5655
"prom-client": "^14.1.1",
5756
"reflect-metadata": "^0.1.13",
@@ -62,8 +61,8 @@
6261
},
6362
"devDependencies": {
6463
"@nestjs/cli": "^10.4.4",
65-
"@nestjs/schematics": "^9.0.4",
66-
"@nestjs/testing": "^9.2.1",
64+
"@nestjs/schematics": "^10.1.4",
65+
"@nestjs/testing": "^10.4.4",
6766
"@types/cron": "^2.0.1",
6867
"@types/jest": "^29.2.5",
6968
"@types/node": "^18.15.11",
@@ -80,7 +79,7 @@
8079
"ts-loader": "^9.2.6",
8180
"ts-node": "^10.4.0",
8281
"tsconfig-paths": "^4.1.2",
83-
"typescript": "^4.5.4"
82+
"typescript": "^5.1.0"
8483
},
8584
"jest": {
8685
"moduleFileExtensions": [

src/http/estimate/estimate.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
HttpStatus,
66
UseInterceptors,
77
Version,
8-
CacheTTL,
98
Query,
109
} from '@nestjs/common';
10+
import { CacheTTL } from '@nestjs/cache-manager';
1111
import { ApiResponse, ApiTags } from '@nestjs/swagger';
1212
import { Throttle } from '@nestjs/throttler';
1313
import { HTTP_PATHS } from 'http/http.constants';

src/http/nft/nft.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import {
55
HttpStatus,
66
UseInterceptors,
77
Version,
8-
CacheTTL,
98
Param,
109
Query,
1110
Header,
1211
} from '@nestjs/common';
12+
import { CacheTTL } from '@nestjs/cache-manager';
1313
import { ApiResponse, ApiTags } from '@nestjs/swagger';
1414
import { Throttle } from '@nestjs/throttler';
1515
import { HTTP_PATHS } from 'http/http.constants';

src/http/validators/validators.controller.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
import {
2-
ClassSerializerInterceptor,
3-
Controller,
4-
Get,
5-
HttpStatus,
6-
UseInterceptors,
7-
Version,
8-
CacheTTL,
9-
} from '@nestjs/common';
1+
import { ClassSerializerInterceptor, Controller, Get, HttpStatus, UseInterceptors, Version } from '@nestjs/common';
2+
import { CacheTTL } from '@nestjs/cache-manager';
103
import { ApiResponse, ApiTags } from '@nestjs/swagger';
114
import { HTTP_PATHS } from 'http/http.constants';
125
import { ValidatorsService } from './validators.service';

0 commit comments

Comments
 (0)