svtslv / nestjs-s3

S3 module for Nest
78 stars 6 forks source link

pcakages updated #37

Open gustawdaniel opened 11 months ago

gustawdaniel commented 11 months ago

Before:

5 vulnerabilities (2 moderate, 3 high)

Now

1 moderate severity vulnerability

updates

 @aws-sdk/client-s3                ^3.328.0  →  ^3.427.0
 @nestjs/common                      ^9.0.0  →   ^10.2.7
 @nestjs/core                        ^9.0.0  →   ^10.2.7
 @nestjs/testing                     ^9.0.0  →   ^10.2.7
 @types/jest                        ^29.5.1  →   ^29.5.5
 @types/node                        ^16.0.0  →   ^20.8.4
 @types/supertest                    ^2.0.8  →   ^2.0.14
 @typescript-eslint/eslint-plugin   ^5.59.2  →    ^6.7.5
 @typescript-eslint/parser          ^5.59.2  →    ^6.7.5
 eslint                             ^8.40.0  →   ^8.51.0
 eslint-config-prettier              ^8.8.0  →    ^9.0.0
 eslint-plugin-prettier              ^4.2.1  →    ^5.0.1
 jest                               ^29.5.0  →   ^29.7.0
 minio                              ^7.0.15  →    ^7.1.3
 prettier                            ^2.8.8  →    ^3.0.3
 ts-jest                            ^29.1.0  →   ^29.1.1
 ts-loader                           ^9.4.2  →    ^9.5.0
 typescript                          ^4.9.5  →    ^5.2.2

Reason of PR:

I had problem with types because in s3 there is

config.forcePathStyle

but this package has a type

config.s3ForcePathStyle

official docs do not contain prefix s3 for this property https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-s3/interfaces/s3clientconfig.html#forcepathstyle-1