Skip to content

Commit

Permalink
Merge pull request #1227 from FoalTS/v4-upgrade-other-dependencies
Browse files Browse the repository at this point in the history
Upgrade dependencies for v4
  • Loading branch information
LoicPoullain authored Sep 3, 2023
2 parents 3e97f9e + 84c93b5 commit 3811b36
Show file tree
Hide file tree
Showing 16 changed files with 1,605 additions and 1,476 deletions.
2 changes: 1 addition & 1 deletion docs/docs/common/validation-and-sanitization.md
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ validate(post).then(errors => { // errors is an array of validation errors
### Usage with a Hook

```
npm install [email protected] class-validator@0.13 @foal/typestack
npm install [email protected] class-validator@0.14 @foal/typestack
```

If you want to use it within a hook to validate request bodies, you can install the package `@foal/typestack` for this. It provides a `@ValidateBody` hook that validates the body against a given validator. This body is also unserialized and turned into an instance of the class.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/databases/typeorm/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ FoalTS supports officially the following databases:
| PostgreSQL | 9.6+ ([Version Policy](https://www.postgresql.org/support/versioning/)) | `pg@8` |
| MySQL | 5.7+ ([Version Policy](https://en.wikipedia.org/wiki/MySQL#Release_history)) | `mysql@2` |
| SQLite | 3 | `sqlite3@5` |
| MongoDB | 4.0+ ([Version Policy](https://www.mongodb.com/support-policy)) | `mongodb@3` |
| MongoDB | 4.0+ ([Version Policy](https://www.mongodb.com/support-policy)) | `mongodb@5` |

## Use with FoalTS

Expand Down
709 changes: 340 additions & 369 deletions packages/acceptance-tests/package-lock.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions packages/acceptance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,31 @@
"@foal/storage": "^3.3.0",
"@foal/typeorm": "^3.3.0",
"@foal/typestack": "^3.3.0",
"@grpc/grpc-js": "~1.6.7",
"@grpc/proto-loader": "~0.6.13",
"@grpc/grpc-js": "~1.9.2",
"@grpc/proto-loader": "~0.7.9",
"@socket.io/redis-adapter": "~7.2.0",
"ajv": "~8.12.0",
"sqlite3": "~5.1.6",
"class-transformer": "~0.5.1",
"class-validator": "~0.13.2",
"class-validator": "~0.14.0",
"express": "~4.18.2",
"express-rate-limit": "~6.4.0",
"jsonwebtoken": "~9.0.1",
"express-rate-limit": "~6.10.0",
"jsonwebtoken": "~9.0.2",
"mongodb": "~5.8.1",
"react": "~18.1.0",
"react-dom": "~18.1.0",
"redis": "~4.1.0",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"redis": "~4.6.8",
"socket.io-client": "~4.5.1",
"superagent": "~7.1.6",
"superagent": "~8.1.2",
"supertest": "~6.3.3",
"typeorm": "0.3.17",
"yamljs": "~0.3.0"
},
"devDependencies": {
"@types/mocha": "10.0.1",
"@types/node": "18.11.9",
"@types/react": "18.0.12",
"@types/react-dom": "18.0.5",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"@types/supertest": "2.0.12",
"mocha": "~10.2.0",
"ts-node": "~10.9.1",
Expand Down
1,776 changes: 888 additions & 888 deletions packages/aws-s3/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/aws-s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"lib/"
],
"dependencies": {
"@aws-sdk/client-s3": "~3.391.0",
"@aws-sdk/lib-storage": "~3.391.0",
"@aws-sdk/client-s3": "~3.405.0",
"@aws-sdk/lib-storage": "~3.405.0",
"@foal/core": "^3.3.0",
"@foal/storage": "^3.3.0"
},
Expand Down
110 changes: 91 additions & 19 deletions packages/jwt/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
],
"dependencies": {
"@foal/core": "^3.3.0",
"jsonwebtoken": "~9.0.1"
"jsonwebtoken": "~9.0.2"
},
"devDependencies": {
"@types/mocha": "10.0.1",
Expand Down
Loading

0 comments on commit 3811b36

Please sign in to comment.