Compare commits

...

1095 Commits

Author SHA1 Message Date
Kamil Myśliwiec
776bd6dc74 chore(@nestjs) publish v10.2.6 release 2023-09-22 10:03:25 +02:00
Kamil Mysliwiec
fb335edb32 Merge pull request #12404 from nestjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-6.7.2
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.6.0 to 6.7.2
2023-09-22 09:53:38 +02:00
Kamil Mysliwiec
34972c3b06 Merge pull request #12416 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo
2023-09-22 09:53:34 +02:00
Kamil Mysliwiec
92d3d94c03 Merge pull request #12421 from nestjs/dependabot/npm_and_yarn/sample/12-graphql-schema-first/graphql-16.8.1
chore(deps): bump graphql from 16.6.0 to 16.8.1 in /sample/12-graphql-schema-first
2023-09-22 09:53:28 +02:00
Kamil Mysliwiec
699fa2e816 Merge pull request #12422 from nestjs/dependabot/npm_and_yarn/sample/31-graphql-federation-code-first/users-application/graphql-16.8.1
chore(deps): bump graphql from 16.6.0 to 16.8.1 in /sample/31-graphql-federation-code-first/users-application
2023-09-22 09:53:21 +02:00
dependabot[bot]
ea8533bf7e chore(deps): bump graphql in /sample/12-graphql-schema-first
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 07:53:18 +00:00
Kamil Mysliwiec
2774670f25 Merge pull request #12423 from nestjs/dependabot/npm_and_yarn/sample/32-graphql-federation-schema-first/posts-application/graphql-16.8.1
chore(deps): bump graphql from 16.6.0 to 16.8.1 in /sample/32-graphql-federation-schema-first/posts-application
2023-09-22 09:53:15 +02:00
Kamil Mysliwiec
f0a93ab87d Merge pull request #12424 from nestjs/dependabot/npm_and_yarn/sample/31-graphql-federation-code-first/posts-application/graphql-16.8.1
chore(deps): bump graphql from 16.6.0 to 16.8.1 in /sample/31-graphql-federation-code-first/posts-application
2023-09-22 09:53:09 +02:00
Kamil Mysliwiec
0ac1969dbb Merge pull request #12425 from nestjs/dependabot/npm_and_yarn/sample/32-graphql-federation-schema-first/gateway/graphql-16.8.1
chore(deps): bump graphql from 16.6.0 to 16.8.1 in /sample/32-graphql-federation-schema-first/gateway
2023-09-22 09:53:02 +02:00
Kamil Mysliwiec
9544594e85 Merge pull request #12426 from nestjs/dependabot/npm_and_yarn/sample/22-graphql-prisma/graphql-16.8.1
chore(deps): bump graphql from 16.6.0 to 16.8.1 in /sample/22-graphql-prisma
2023-09-22 09:52:53 +02:00
Kamil Mysliwiec
91d0cdc8dc Merge pull request #12427 from nestjs/dependabot/npm_and_yarn/sample/32-graphql-federation-schema-first/users-application/graphql-16.8.1
chore(deps): bump graphql from 16.6.0 to 16.8.1 in /sample/32-graphql-federation-schema-first/users-application
2023-09-22 09:52:45 +02:00
Kamil Mysliwiec
e8198a1c75 Merge pull request #12428 from nestjs/dependabot/npm_and_yarn/sample/23-graphql-code-first/graphql-16.8.1
chore(deps): bump graphql from 16.6.0 to 16.8.1 in /sample/23-graphql-code-first
2023-09-22 09:52:38 +02:00
dependabot[bot]
adcfdd4b97 chore(deps): bump graphql in /sample/23-graphql-code-first
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 07:50:11 +00:00
renovate[bot]
732e4835dd chore(deps): update babel monorepo 2023-09-22 07:50:09 +00:00
dependabot[bot]
846cc9a2ba chore(deps): bump graphql
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 07:49:54 +00:00
dependabot[bot]
7afc1a7381 chore(deps): bump graphql
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 07:49:53 +00:00
dependabot[bot]
1112315d97 chore(deps): bump graphql
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 07:49:51 +00:00
dependabot[bot]
142224120f chore(deps): bump graphql in /sample/22-graphql-prisma
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 07:49:44 +00:00
dependabot[bot]
2ec59599c1 chore(deps): bump graphql
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 07:49:43 +00:00
dependabot[bot]
32cc5591ce chore(deps): bump graphql
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 07:49:43 +00:00
Kamil Mysliwiec
46e1701e11 Merge pull request #12429 from nestjs/dependabot/npm_and_yarn/sample/31-graphql-federation-code-first/gateway/graphql-16.8.1
chore(deps): bump graphql from 16.6.0 to 16.8.1 in /sample/31-graphql-federation-code-first/gateway
2023-09-22 09:49:16 +02:00
Kamil Mysliwiec
d526fc2d88 Merge pull request #12431 from nestjs/dependabot/npm_and_yarn/sample/33-graphql-mercurius/graphql-16.8.1
chore(deps): bump graphql from 16.6.0 to 16.8.1 in /sample/33-graphql-mercurius
2023-09-22 09:49:10 +02:00
Kamil Mysliwiec
65470d7e42 Merge pull request #12432 from nestjs/dependabot/npm_and_yarn/graphql-16.8.1
chore(deps-dev): bump graphql from 16.8.0 to 16.8.1
2023-09-22 09:48:57 +02:00
Kamil Mysliwiec
f5b41ae3a2 Merge pull request #12433 from nestjs/dependabot/npm_and_yarn/uuid-9.0.1
chore(deps): bump uuid from 9.0.0 to 9.0.1
2023-09-22 09:48:50 +02:00
Kamil Mysliwiec
e39da7cd0a Merge pull request #12434 from nestjs/dependabot/npm_and_yarn/conventional-changelog-5.1.0
chore(deps-dev): bump conventional-changelog from 5.0.0 to 5.1.0
2023-09-22 09:48:44 +02:00
Kamil Mysliwiec
b0569c9300 Merge pull request #12435 from nestjs/dependabot/npm_and_yarn/grpc/proto-loader-0.7.10
chore(deps-dev): bump @grpc/proto-loader from 0.7.9 to 0.7.10
2023-09-22 09:48:38 +02:00
Kamil Mysliwiec
65e388b7f8 Merge pull request #12437 from nestjs/dependabot/npm_and_yarn/nats-2.17.0
chore(deps-dev): bump nats from 2.16.0 to 2.17.0
2023-09-22 09:48:20 +02:00
Kamil Mysliwiec
990cbee747 Merge pull request #12438 from nestjs/dependabot/npm_and_yarn/types/gulp-4.0.14
chore(deps-dev): bump @types/gulp from 4.0.13 to 4.0.14
2023-09-22 09:48:14 +02:00
Kamil Mysliwiec
bd4ec26603 Merge pull request #12439 from nestjs/dependabot/npm_and_yarn/redis-4.6.9
chore(deps-dev): bump redis from 4.6.8 to 4.6.9
2023-09-22 09:48:08 +02:00
Kamil Mysliwiec
833a5fbd31 Merge pull request #12382 from jmcdo29/fix/ws-get-pattern
fix: allow for filters to be aware of the pattern for websockets
2023-09-22 09:47:30 +02:00
Kamil Mysliwiec
c28dc356f5 Merge pull request #12379 from ayushmourya/master
Allow Binding to Shared Topics Without Wildcards
2023-09-22 09:46:11 +02:00
Kamil Mysliwiec
62236b914e Merge pull request #12410 from Connormiha/simplify-get-injection-providers
utils: simplify map + flat in injections providers
2023-09-22 09:44:13 +02:00
Kamil Mysliwiec
2a8dd0b74b Merge pull request #12413 from micalevisk/fix/issue-12412
fix(express): sanity checking 'content-type' prior treating its value as string
2023-09-22 09:43:55 +02:00
dependabot[bot]
279c81262e chore(deps-dev): bump redis from 4.6.8 to 4.6.9
Bumps [redis](https://github.com/redis/node-redis) from 4.6.8 to 4.6.9.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@4.6.8...redis@4.6.9)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 00:22:26 +00:00
dependabot[bot]
57a4a3913d chore(deps-dev): bump @types/gulp from 4.0.13 to 4.0.14
Bumps [@types/gulp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gulp) from 4.0.13 to 4.0.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/gulp)

---
updated-dependencies:
- dependency-name: "@types/gulp"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 00:22:08 +00:00
dependabot[bot]
2efbb98f7b chore(deps-dev): bump nats from 2.16.0 to 2.17.0
Bumps [nats](https://github.com/nats-io/nats.js) from 2.16.0 to 2.17.0.
- [Release notes](https://github.com/nats-io/nats.js/releases)
- [Commits](https://github.com/nats-io/nats.js/compare/v2.16.0...v2.17.0)

---
updated-dependencies:
- dependency-name: nats
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 00:21:52 +00:00
dependabot[bot]
d4470dbc09 chore(deps-dev): bump @grpc/proto-loader from 0.7.9 to 0.7.10
Bumps [@grpc/proto-loader](https://github.com/grpc/grpc-node) from 0.7.9 to 0.7.10.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/proto-loader@0.7.9...@grpc/proto-loader@0.7.10)

---
updated-dependencies:
- dependency-name: "@grpc/proto-loader"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 00:21:22 +00:00
dependabot[bot]
241dcc144f chore(deps-dev): bump conventional-changelog from 5.0.0 to 5.1.0
Bumps [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases)
- [Changelog](https://github.com/conventional-changelog/conventional-changelog/blob/master/.release-please-manifest.json)
- [Commits](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-v5.0.0...conventional-changelog-v5.1.0)

---
updated-dependencies:
- dependency-name: conventional-changelog
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 00:21:05 +00:00
dependabot[bot]
2ca84c8103 chore(deps): bump uuid from 9.0.0 to 9.0.1
Bumps [uuid](https://github.com/uuidjs/uuid) from 9.0.0 to 9.0.1.
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.0...v9.0.1)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 00:20:48 +00:00
Mikhail Bodrov
1778f3d2ba utils: optimized toRouteInfo flat 2023-09-22 02:56:54 +03:00
Micael Levi L. Cavalcante
6bcb3bdcbd style: fix formatting 2023-09-21 17:52:08 -04:00
Micael Levi L. Cavalcante
ec43dc8429 fix(express): when content-type header is null 2023-09-21 17:52:08 -04:00
dependabot[bot]
a45dd007c7 chore(deps-dev): bump graphql from 16.8.0 to 16.8.1
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.8.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.8.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 18:47:56 +00:00
dependabot[bot]
710f5b5293 chore(deps): bump graphql in /sample/33-graphql-mercurius
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 18:26:27 +00:00
dependabot[bot]
be61852e41 chore(deps): bump graphql
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 18:09:00 +00:00
dependabot[bot]
0125e03a91 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.6.0 to 6.7.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 12:16:51 +00:00
Kamil Mysliwiec
518e644f86 Merge pull request #12346 from nestjs/dependabot/github_actions/actions/checkout-4
chore(deps): bump actions/checkout from 3 to 4
2023-09-21 14:16:35 +02:00
Kamil Mysliwiec
e6c295231b Merge pull request #12370 from nestjs/dependabot/npm_and_yarn/types/chai-4.3.6
chore(deps-dev): bump @types/chai from 4.3.5 to 4.3.6
2023-09-21 14:16:27 +02:00
Kamil Mysliwiec
502ae997a7 Merge pull request #12372 from nestjs/dependabot/npm_and_yarn/eslint-8.49.0
chore(deps-dev): bump eslint from 8.48.0 to 8.49.0
2023-09-21 14:16:22 +02:00
Kamil Mysliwiec
921bb6f187 Merge pull request #12373 from nestjs/dependabot/npm_and_yarn/core-js-3.32.2
chore(deps-dev): bump core-js from 3.32.1 to 3.32.2
2023-09-21 14:16:15 +02:00
Kamil Mysliwiec
78d137847e Merge pull request #12377 from nestjs/dependabot/npm_and_yarn/mysql2-3.6.1
chore(deps-dev): bump mysql2 from 3.6.0 to 3.6.1
2023-09-21 14:16:08 +02:00
Kamil Mysliwiec
82c3b03743 Merge pull request #12390 from nestjs/dependabot/npm_and_yarn/nestjs/graphql-12.0.9
chore(deps-dev): bump @nestjs/graphql from 12.0.7 to 12.0.9
2023-09-21 14:15:58 +02:00
Kamil Mysliwiec
499b794181 Merge pull request #12395 from nestjs/dependabot/npm_and_yarn/fastify-4.23.2
chore(deps): bump fastify from 4.22.2 to 4.23.2
2023-09-21 14:15:52 +02:00
Kamil Mysliwiec
2484f5aac4 Merge pull request #12402 from nestjs/dependabot/npm_and_yarn/mongoose-7.5.2
chore(deps-dev): bump mongoose from 7.5.0 to 7.5.2
2023-09-21 14:15:44 +02:00
Kamil Mysliwiec
df637a0736 Merge pull request #12405 from nestjs/dependabot/npm_and_yarn/typescript-eslint/parser-6.7.2
chore(deps-dev): bump @typescript-eslint/parser from 6.5.0 to 6.7.2
2023-09-21 14:15:27 +02:00
Kamil Mysliwiec
5442641667 Update Readme.md 2023-09-21 12:01:44 +02:00
Mikhail Bodrov
c4849e0f7a utils: simplify map + flat in injections providers 2023-09-20 10:42:11 +03:00
Kamil Mysliwiec
97e9652290 Merge pull request #12407 from sezanzeb/test/test-param-decorator-metadata
test(common): added a test for the @param decorator metadata
2023-09-20 08:19:30 +02:00
Kamil Mysliwiec
0351aa3e17 Merge pull request #12408 from gavrylenkoIvan/patch-1
fix(http): change description for Search decorator
2023-09-20 08:17:32 +02:00
Ivan Gavrylenko
8631f39621 fix description for Search decorator 2023-09-19 22:35:05 +03:00
tobias
43594e03fd test(common): added a test for the @param decorator metadata 2023-09-19 14:19:43 +02:00
dependabot[bot]
81d41d1024 chore(deps-dev): bump @typescript-eslint/parser from 6.5.0 to 6.7.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.5.0 to 6.7.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 00:25:14 +00:00
Kamil Mysliwiec
e419b294b2 Merge pull request #12401 from vlad-karnauch/vladk/update-readme-x-not-twitter
docs: update readme, use X instead of twitter
2023-09-18 10:06:37 +02:00
Kamil Mysliwiec
9ecc6c0573 Merge pull request #12400 from Tony133/chore/mark-api-public-route-config-decorator-platform-fastify
chore(platform-fastify): marked the api public in route config decorator
2023-09-18 10:06:18 +02:00
dependabot[bot]
1b8a1935b3 chore(deps-dev): bump mongoose from 7.5.0 to 7.5.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.5.0 to 7.5.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.5.0...7.5.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 01:06:00 +00:00
vlad-kanrauch
4e94ce2ae9 update 2023-09-17 19:27:28 +03:00
Tony133
1a0c304767 chore(platform-fastify): marked the api public in route config decorator 2023-09-17 12:08:37 +02:00
dependabot[bot]
75529129eb chore(deps): bump fastify from 4.22.2 to 4.23.2
Bumps [fastify](https://github.com/fastify/fastify) from 4.22.2 to 4.23.2.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.22.2...v4.23.2)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 00:59:35 +00:00
dependabot[bot]
98d21cac84 chore(deps-dev): bump @nestjs/graphql from 12.0.7 to 12.0.9
Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 12.0.7 to 12.0.9.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v12.0.7...v12.0.9)

---
updated-dependencies:
- dependency-name: "@nestjs/graphql"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-14 00:35:21 +00:00
Jay McDoniel
6f43a8b26e fix: allow for filters to be aware of the pattern for websockets 2023-09-12 10:56:42 -07:00
ayush
fdf00ee917 The following code seems redundant 2023-09-12 16:21:51 +05:30
dependabot[bot]
82fd30671d chore(deps-dev): bump mysql2 from 3.6.0 to 3.6.1
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.6.0...v3.6.1)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 00:04:54 +00:00
dependabot[bot]
482fe58db3 chore(deps-dev): bump core-js from 3.32.1 to 3.32.2
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.32.1 to 3.32.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.32.2/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 00:02:38 +00:00
dependabot[bot]
027d8408b9 chore(deps-dev): bump eslint from 8.48.0 to 8.49.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.48.0 to 8.49.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.48.0...v8.49.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 00:02:15 +00:00
dependabot[bot]
d74c9fb1a9 chore(deps-dev): bump @types/chai from 4.3.5 to 4.3.6
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: "@types/chai"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 00:01:14 +00:00
Kamil Myśliwiec
67951ff2e9 chore(@nestjs) publish v10.2.5 release 2023-09-11 11:40:12 +02:00
Kamil Mysliwiec
260e2a5035 Merge pull request #12347 from nestjs/dependabot/npm_and_yarn/types/chai-as-promised-7.1.6
chore(deps-dev): bump @types/chai-as-promised from 7.1.5 to 7.1.6
2023-09-11 10:18:20 +02:00
Kamil Mysliwiec
cac8766a3d Merge pull request #12360 from nestjs/dependabot/npm_and_yarn/types/node-20.6.0
chore(deps-dev): bump @types/node from 20.5.7 to 20.6.0
2023-09-11 10:18:14 +02:00
dependabot[bot]
9f8cb69631 chore(deps-dev): bump @types/chai-as-promised from 7.1.5 to 7.1.6
Bumps [@types/chai-as-promised](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai-as-promised) from 7.1.5 to 7.1.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai-as-promised)

---
updated-dependencies:
- dependency-name: "@types/chai-as-promised"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 07:59:45 +00:00
Kamil Mysliwiec
18570aaec1 Merge pull request #12308 from nestjs/dependabot/npm_and_yarn/sample/06-mongoose/mongodb-and-mongoose-5.8.1
chore(deps): bump mongodb and mongoose in /sample/06-mongoose
2023-09-11 09:59:18 +02:00
Kamil Mysliwiec
a0036b7f0b Merge pull request #12309 from nestjs/dependabot/npm_and_yarn/sample/14-mongoose-base/mongodb-and-mongoose-5.8.1
chore(deps): bump mongodb and mongoose in /sample/14-mongoose-base
2023-09-11 09:59:08 +02:00
dependabot[bot]
f6812bd83b chore(deps-dev): bump @types/node from 20.5.7 to 20.6.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.5.7 to 20.6.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 07:59:04 +00:00
Kamil Mysliwiec
2622f84fa5 Merge pull request #12328 from nestjs/renovate/handlebars-4.x
fix(deps): update dependency handlebars to v4.7.8
2023-09-11 09:59:01 +02:00
Kamil Mysliwiec
3bead02903 Merge pull request #12335 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.9.2
chore(deps-dev): bump @grpc/grpc-js from 1.9.1 to 1.9.2
2023-09-11 09:58:55 +02:00
dependabot[bot]
d8b83d687f chore(deps): bump mongodb and mongoose in /sample/06-mongoose
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) to 5.8.1 and updates ancestor dependency [mongoose](https://github.com/Automattic/mongoose). These dependencies need to be updated together.


Updates `mongodb` from 5.6.0 to 5.8.1
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/v5.8.1/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v5.6.0...v5.8.1)

Updates `mongoose` from 7.3.3 to 7.5.0
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.3.3...7.5.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: indirect
- dependency-name: mongoose
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 07:58:52 +00:00
Kamil Mysliwiec
3b8bfe19ff Merge pull request #12341 from nestjs/dependabot/npm_and_yarn/fastify/static-6.11.0
chore(deps-dev): bump @fastify/static from 6.10.2 to 6.11.0
2023-09-11 09:58:48 +02:00
Kamil Mysliwiec
4e3ccadaa8 Merge pull request #12343 from nestjs/dependabot/npm_and_yarn/fastify-4.22.2
chore(deps): bump fastify from 4.22.0 to 4.22.2
2023-09-11 09:58:40 +02:00
Kamil Mysliwiec
b40d2221ea Merge pull request #12344 from tuxmachine/feat/instantiate-non-static-custom-classes
feat(core): instantiate non-static custom classes
2023-09-11 09:58:33 +02:00
dependabot[bot]
9bb3b77a38 chore(deps): bump mongodb and mongoose in /sample/14-mongoose-base
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) to 5.8.1 and updates ancestor dependency [mongoose](https://github.com/Automattic/mongoose). These dependencies need to be updated together.


Updates `mongodb` from 5.6.0 to 5.8.1
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/v5.8.1/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v5.6.0...v5.8.1)

Updates `mongoose` from 7.3.3 to 7.5.0
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.3.3...7.5.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: indirect
- dependency-name: mongoose
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 07:58:04 +00:00
Kamil Mysliwiec
45da1ec905 Merge pull request #12348 from nestjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-6.6.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.5.0 to 6.6.0
2023-09-11 09:58:01 +02:00
Kamil Mysliwiec
70416f2e96 Merge pull request #12349 from nestjs/dependabot/npm_and_yarn/types/cors-2.8.14
chore(deps-dev): bump @types/cors from 2.8.13 to 2.8.14
2023-09-11 09:57:56 +02:00
Kamil Mysliwiec
de42b5ab4e Merge pull request #12361 from nestjs/dependabot/npm_and_yarn/mqtt-5.0.5
chore(deps-dev): bump mqtt from 5.0.3 to 5.0.5
2023-09-11 09:56:15 +02:00
Kamil Mysliwiec
c8b3bf6b4a Merge pull request #12350 from guilopesn/master
feat: implement http redirect response interface
2023-09-11 09:49:20 +02:00
Kamil Mysliwiec
c041c9df12 Update packages/common/interfaces/http/http-redirect-response.interface.ts 2023-09-11 09:48:57 +02:00
dependabot[bot]
c04415e4b2 chore(deps-dev): bump mqtt from 5.0.3 to 5.0.5
Bumps [mqtt](https://github.com/mqttjs/MQTT.js) from 5.0.3 to 5.0.5.
- [Release notes](https://github.com/mqttjs/MQTT.js/releases)
- [Changelog](https://github.com/mqttjs/MQTT.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mqttjs/MQTT.js/compare/v5.0.3...v5.0.5)

---
updated-dependencies:
- dependency-name: mqtt
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 01:17:25 +00:00
Guilherme Nogueira
91f8c22124 feat: implement http redirect response interface 2023-09-05 11:10:44 -03:00
dependabot[bot]
50deee132e chore(deps-dev): bump @types/cors from 2.8.13 to 2.8.14
Bumps [@types/cors](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/cors) from 2.8.13 to 2.8.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/cors)

---
updated-dependencies:
- dependency-name: "@types/cors"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 00:47:36 +00:00
dependabot[bot]
c047e6e5bd chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.6.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 00:46:50 +00:00
dependabot[bot]
5f687d1aa8 chore(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 00:17:19 +00:00
Rick Dutour Geerling
a85aa06070 feat(core): instantiate non-static custom classes
Allows us to construct request-scoped custom classes by passing a `contextId` to `moduleRef.create`
2023-09-04 14:08:01 +02:00
dependabot[bot]
cb9ca50c11 chore(deps): bump fastify from 4.22.0 to 4.22.2
Bumps [fastify](https://github.com/fastify/fastify) from 4.22.0 to 4.22.2.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.22.0...v4.22.2)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 01:09:13 +00:00
dependabot[bot]
a6844c8d27 chore(deps-dev): bump @fastify/static from 6.10.2 to 6.11.0
Bumps [@fastify/static](https://github.com/fastify/fastify-static) from 6.10.2 to 6.11.0.
- [Release notes](https://github.com/fastify/fastify-static/releases)
- [Commits](https://github.com/fastify/fastify-static/compare/v6.10.2...v6.11.0)

---
updated-dependencies:
- dependency-name: "@fastify/static"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 01:06:42 +00:00
Kamil Mysliwiec
2d13d081d8 Merge pull request #12321 from KrisAphalon/fix-missing-pattern-on-ws
fix(ws): fix incorrect host pattern on messages
2023-09-01 12:10:25 +02:00
dependabot[bot]
9961caf4dd chore(deps-dev): bump @grpc/grpc-js from 1.9.1 to 1.9.2
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.9.1...@grpc/grpc-js@1.9.2)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 00:41:31 +00:00
Kamil Myśliwiec
5b12a198a3 chore(@nestjs) publish v10.2.4 release 2023-08-31 23:02:18 +02:00
Kamil Mysliwiec
c7854328aa Merge pull request #12331 from benlesh/fix-write-drain-bug
fix(grpc): will properly write to streams
2023-08-31 23:01:18 +02:00
Ben Lesh
7184b7b1ad fix(grpc): will properly write to streams
fixes #12330
2023-08-31 15:05:24 -05:00
renovate[bot]
3f892bffb8 fix(deps): update dependency handlebars to v4.7.8 2023-08-31 10:24:07 +00:00
Kamil Mysliwiec
12679b82e3 Merge pull request #12325 from nestjs/renovate/babel-monorepo
chore(deps): update dependency @babel/preset-env to v7.22.14
2023-08-31 12:18:12 +02:00
Kamil Mysliwiec
8925fb395e Merge pull request #12324 from nestjs/renovate/npm-@apollo/server-vulnerability
fix(deps): update dependency @apollo/server to v4.9.3 [security]
2023-08-31 12:18:03 +02:00
renovate[bot]
63bb708c4b fix(deps): update dependency @apollo/server to v4.9.3 [security] 2023-08-31 08:08:29 +00:00
renovate[bot]
790022731f chore(deps): update dependency @babel/preset-env to v7.22.14 2023-08-31 07:58:58 +00:00
Kamil Mysliwiec
5728bd362f Merge pull request #12313 from nestjs/dependabot/npm_and_yarn/sample/22-graphql-prisma/apollo/server-4.9.3
chore(deps): bump @apollo/server from 4.7.5 to 4.9.3 in /sample/22-graphql-prisma
2023-08-31 09:55:55 +02:00
dependabot[bot]
02edb47279 chore(deps): bump @apollo/server in /sample/22-graphql-prisma
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 4.7.5 to 4.9.3.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/server@4.9.3/packages/server)

---
updated-dependencies:
- dependency-name: "@apollo/server"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-31 07:54:03 +00:00
Kamil Mysliwiec
a5224d1b8c Merge pull request #12305 from nestjs/renovate/nestjs-mongoose-10.x
fix(deps): update dependency @nestjs/mongoose to v10.0.1
2023-08-31 09:53:58 +02:00
Kamil Mysliwiec
e597c842a1 Merge pull request #12306 from nestjs/renovate/nestjs-schedule-3.x
fix(deps): update dependency @nestjs/schedule to v3.0.3
2023-08-31 09:53:53 +02:00
Kamil Mysliwiec
87071bb022 Merge pull request #12316 from nestjs/dependabot/npm_and_yarn/apollo/server-4.9.3
chore(deps-dev): bump @apollo/server from 4.7.5 to 4.9.3
2023-08-31 09:53:27 +02:00
Kamil Mysliwiec
70b2be8576 Merge pull request #12317 from nestjs/dependabot/npm_and_yarn/sample/12-graphql-schema-first/apollo/server-4.9.3
chore(deps): bump @apollo/server from 4.7.5 to 4.9.3 in /sample/12-graphql-schema-first
2023-08-31 09:53:19 +02:00
Kamil Mysliwiec
069ecd1dd9 Merge pull request #12318 from nestjs/dependabot/npm_and_yarn/sample/23-graphql-code-first/apollo/server-4.9.3
chore(deps): bump @apollo/server from 4.7.5 to 4.9.3 in /sample/23-graphql-code-first
2023-08-31 09:53:15 +02:00
Kamil Mysliwiec
6335b9c358 Merge pull request #12320 from nestjs/dependabot/npm_and_yarn/sample/13-mongo-typeorm/mongodb-5.8.0
chore(deps): bump mongodb from 5.6.0 to 5.8.0 in /sample/13-mongo-typeorm
2023-08-31 09:52:49 +02:00
Krzysztof Kaczmarzyk
f3f25569ab fix(ws): fix incorrect host pattern on messages
function call was missing the second argument
2023-08-31 02:24:23 +02:00
dependabot[bot]
8f109248f0 chore(deps): bump mongodb in /sample/13-mongo-typeorm
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 5.6.0 to 5.8.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/v5.8.0/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v5.6.0...v5.8.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 21:48:56 +00:00
dependabot[bot]
8ddd4a7452 chore(deps): bump @apollo/server in /sample/23-graphql-code-first
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 4.7.5 to 4.9.3.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/server@4.9.3/packages/server)

---
updated-dependencies:
- dependency-name: "@apollo/server"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 21:44:24 +00:00
dependabot[bot]
7d0fc14d6e chore(deps): bump @apollo/server in /sample/12-graphql-schema-first
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 4.7.5 to 4.9.3.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/server@4.9.3/packages/server)

---
updated-dependencies:
- dependency-name: "@apollo/server"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 21:44:20 +00:00
dependabot[bot]
47a79ee86c chore(deps-dev): bump @apollo/server from 4.7.5 to 4.9.3
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 4.7.5 to 4.9.3.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/server@4.9.3/packages/server)

---
updated-dependencies:
- dependency-name: "@apollo/server"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 21:44:06 +00:00
renovate[bot]
3abbdd09d9 fix(deps): update dependency @nestjs/schedule to v3.0.3 2023-08-30 15:24:32 +00:00
renovate[bot]
2dd1df6765 fix(deps): update dependency @nestjs/mongoose to v10.0.1 2023-08-30 15:24:09 +00:00
Kamil Myśliwiec
069b519a1c chore(@nestjs) publish v10.2.3 release 2023-08-30 14:53:03 +02:00
Kamil Mysliwiec
15cc99e6d3 Merge pull request #12301 from nestjs/dependabot/npm_and_yarn/mongoose-7.5.0
chore(deps-dev): bump mongoose from 7.4.5 to 7.5.0
2023-08-30 14:52:03 +02:00
Kamil Mysliwiec
ce81d26989 Merge pull request #12302 from nestjs/dependabot/npm_and_yarn/prettier-3.0.3
chore(deps-dev): bump prettier from 3.0.2 to 3.0.3
2023-08-30 14:51:52 +02:00
Kamil Mysliwiec
f52699f9ee Merge pull request #12292 from nestjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-6.5.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.4.1 to 6.5.0
2023-08-30 14:51:44 +02:00
Kamil Mysliwiec
a6a0bac34e Merge pull request #12297 from nestjs/renovate/redis-4.x
chore(deps): update dependency redis to v4.6.8
2023-08-30 14:51:41 +02:00
Kamil Mysliwiec
a6cdb8c78c Merge pull request #12298 from nestjs/renovate/jest-monorepo
chore(deps): update jest monorepo
2023-08-30 14:51:32 +02:00
Kamil Myśliwiec
0242a46eeb Merge branch 'benlesh-rxjs-backpressure-handling' 2023-08-30 14:51:07 +02:00
Kamil Myśliwiec
de2adcff9d refactor: cleanup imports, move write fn to class body 2023-08-30 14:50:53 +02:00
Kamil Myśliwiec
74d65f438a Merge branch 'rxjs-backpressure-handling' of https://github.com/benlesh/nest into benlesh-rxjs-backpressure-handling 2023-08-30 14:46:58 +02:00
dependabot[bot]
705ddcade4 chore(deps-dev): bump prettier from 3.0.2 to 3.0.3
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 00:09:59 +00:00
dependabot[bot]
267b3261b8 chore(deps-dev): bump mongoose from 7.4.5 to 7.5.0
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.4.5 to 7.5.0.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.4.5...7.5.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 00:09:18 +00:00
renovate[bot]
b1087020e2 chore(deps): update jest monorepo 2023-08-29 11:30:09 +00:00
renovate[bot]
0cf75b1b41 chore(deps): update dependency redis to v4.6.8 2023-08-29 11:23:16 +00:00
dependabot[bot]
b97043a3be chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.4.1 to 6.5.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.5.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29 07:52:51 +00:00
Kamil Mysliwiec
923bd6afd1 Merge pull request #12288 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.22.11
2023-08-29 09:51:32 +02:00
Kamil Mysliwiec
fb0e0d9f2a Merge pull request #12291 from nestjs/dependabot/npm_and_yarn/eslint-8.48.0
chore(deps-dev): bump eslint from 8.47.0 to 8.48.0
2023-08-29 09:51:24 +02:00
Kamil Mysliwiec
181cff9589 Merge pull request #12293 from nestjs/dependabot/npm_and_yarn/chai-4.3.8
chore(deps-dev): bump chai from 4.3.7 to 4.3.8
2023-08-29 09:51:16 +02:00
Kamil Mysliwiec
98c3211f7f Merge pull request #12294 from nestjs/dependabot/npm_and_yarn/conventional-changelog-5.0.0
chore(deps-dev): bump conventional-changelog from 4.0.0 to 5.0.0
2023-08-29 09:51:11 +02:00
Kamil Mysliwiec
b3febb8fad Merge pull request #12296 from nestjs/dependabot/npm_and_yarn/typescript-eslint/parser-6.5.0
chore(deps-dev): bump @typescript-eslint/parser from 6.4.1 to 6.5.0
2023-08-29 09:51:05 +02:00
Kamil Mysliwiec
782e6d162b Merge pull request #12295 from nestjs/dependabot/npm_and_yarn/fastify-4.22.0
chore(deps): bump fastify from 4.21.0 to 4.22.0
2023-08-29 09:50:52 +02:00
dependabot[bot]
74492def3a chore(deps-dev): bump @typescript-eslint/parser from 6.4.1 to 6.5.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.4.1 to 6.5.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.5.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29 00:41:28 +00:00
dependabot[bot]
8bc36d84c9 chore(deps): bump fastify from 4.21.0 to 4.22.0
Bumps [fastify](https://github.com/fastify/fastify) from 4.21.0 to 4.22.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.21.0...v4.22.0)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29 00:40:53 +00:00
dependabot[bot]
9423f1a3e0 chore(deps-dev): bump conventional-changelog from 4.0.0 to 5.0.0
Bumps [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases)
- [Changelog](https://github.com/conventional-changelog/conventional-changelog/blob/master/.release-please-manifest.json)
- [Commits](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-v4.0.0...conventional-changelog-v5.0.0)

---
updated-dependencies:
- dependency-name: conventional-changelog
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29 00:40:28 +00:00
dependabot[bot]
cb92e336dc chore(deps-dev): bump chai from 4.3.7 to 4.3.8
Bumps [chai](https://github.com/chaijs/chai) from 4.3.7 to 4.3.8.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v4.3.7...v4.3.8)

---
updated-dependencies:
- dependency-name: chai
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29 00:39:42 +00:00
dependabot[bot]
89c254d305 chore(deps-dev): bump eslint from 8.47.0 to 8.48.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.47.0 to 8.48.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.47.0...v8.48.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29 00:38:37 +00:00
Ben Lesh
6c9321793c fix: appropriately handle backpressure
Adds code to handle back pressure when writing output from Observable streams.
2023-08-28 18:06:59 -05:00
renovate[bot]
6c0efd5f9f chore(deps): update babel monorepo to v7.22.11 2023-08-28 09:54:56 +00:00
Kamil Myśliwiec
da4934747d chore(@nestjs) publish v10.2.2 release 2023-08-28 10:54:24 +02:00
Kamil Myśliwiec
76223af726 Merge branch 'quangtran88-fix/handle-error-steram-grpc-controller' 2023-08-28 10:53:00 +02:00
Kamil Myśliwiec
8857e7e950 style: apply formatting (prettier) 2023-08-28 10:47:53 +02:00
Kamil Myśliwiec
0ba21b6077 Merge branch 'fix/handle-error-steram-grpc-controller' of https://github.com/quangtran88/nest into quangtran88-fix/handle-error-steram-grpc-controller 2023-08-28 10:47:03 +02:00
Kamil Mysliwiec
974f2c625f Merge pull request #12276 from quangtran88/improve-reflector-decorator-transform-type
feat(core): add generic type for transformed value in decorators factory
2023-08-28 10:46:15 +02:00
Kamil Mysliwiec
6d9c5dd8b2 Merge pull request #12269 from nestjs/dependabot/npm_and_yarn/concurrently-8.2.1
chore(deps-dev): bump concurrently from 8.2.0 to 8.2.1
2023-08-28 10:25:16 +02:00
Kamil Mysliwiec
a3ee0cd479 Merge pull request #12268 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.9.1
chore(deps-dev): bump @grpc/grpc-js from 1.9.0 to 1.9.1
2023-08-28 10:25:11 +02:00
Kamil Mysliwiec
3a617cbf4a Merge pull request #12263 from nestjs/renovate/nestjs-event-emitter-2.x
fix(deps): update dependency @nestjs/event-emitter to v2.0.2
2023-08-28 10:25:03 +02:00
dependabot[bot]
0197087e67 chore(deps-dev): bump @grpc/grpc-js from 1.9.0 to 1.9.1
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.9.0...@grpc/grpc-js@1.9.1)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 08:24:59 +00:00
Kamil Mysliwiec
f9033ff1d2 Merge pull request #12271 from nestjs/dependabot/npm_and_yarn/redis-4.6.8
chore(deps-dev): bump redis from 4.6.7 to 4.6.8
2023-08-28 10:24:25 +02:00
Kamil Mysliwiec
4052856b5b Merge pull request #12272 from nestjs/dependabot/npm_and_yarn/grpc/proto-loader-0.7.9
chore(deps-dev): bump @grpc/proto-loader from 0.7.8 to 0.7.9
2023-08-28 10:24:19 +02:00
Kamil Mysliwiec
7be4542661 Merge pull request #12279 from nestjs/dependabot/npm_and_yarn/typescript-5.2.2
chore(deps-dev): bump typescript from 5.1.6 to 5.2.2
2023-08-28 10:24:12 +02:00
Kamil Mysliwiec
81e7368f08 Merge pull request #12285 from nestjs/dependabot/npm_and_yarn/types/node-20.5.7
chore(deps-dev): bump @types/node from 20.5.1 to 20.5.7
2023-08-28 10:22:28 +02:00
Kamil Mysliwiec
7d88230f73 Merge pull request #12286 from nestjs/dependabot/npm_and_yarn/mongoose-7.4.5
chore(deps-dev): bump mongoose from 7.4.3 to 7.4.5
2023-08-28 10:22:14 +02:00
dependabot[bot]
3f5d8d136b chore(deps-dev): bump mongoose from 7.4.3 to 7.4.5
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.4.3 to 7.4.5.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.4.3...7.4.5)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 00:59:12 +00:00
dependabot[bot]
113c8ee2d8 chore(deps-dev): bump @types/node from 20.5.1 to 20.5.7
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.5.1 to 20.5.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 00:58:09 +00:00
Tran Quang
65ba1262d2 feat(core): add generic type for transformed value in decorators factory 2023-08-27 14:05:31 +07:00
Tran Quang
1315babe48 fix(microservices): handle error thrown in the stream gRPC controller
Assert responseCallback called once
2023-08-25 17:06:26 +07:00
dependabot[bot]
11efaaedb0 chore(deps-dev): bump typescript from 5.1.6 to 5.2.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-25 00:46:16 +00:00
dependabot[bot]
fde1d29e3f chore(deps-dev): bump @grpc/proto-loader from 0.7.8 to 0.7.9
Bumps [@grpc/proto-loader](https://github.com/grpc/grpc-node) from 0.7.8 to 0.7.9.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/commits/@grpc/proto-loader@0.7.9)

---
updated-dependencies:
- dependency-name: "@grpc/proto-loader"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-24 00:20:15 +00:00
dependabot[bot]
8c8e3fde10 chore(deps-dev): bump redis from 4.6.7 to 4.6.8
Bumps [redis](https://github.com/redis/node-redis) from 4.6.7 to 4.6.8.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@4.6.7...redis@4.6.8)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-24 00:19:49 +00:00
dependabot[bot]
bd0bd9d314 chore(deps-dev): bump concurrently from 8.2.0 to 8.2.1
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v8.2.0...v8.2.1)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-23 00:51:24 +00:00
Kamil Mysliwiec
4eec6e5e40 Merge pull request #12248 from nestjs/dependabot/npm_and_yarn/tslib-2.6.2
chore(deps): bump tslib from 2.6.1 to 2.6.2
2023-08-22 14:17:52 +02:00
Kamil Mysliwiec
3c95124815 Merge pull request #12247 from nestjs/dependabot/npm_and_yarn/types/node-20.5.1
chore(deps-dev): bump @types/node from 20.5.0 to 20.5.1
2023-08-22 14:17:46 +02:00
renovate[bot]
08c4d10dfa fix(deps): update dependency @nestjs/event-emitter to v2.0.2 2023-08-22 12:17:09 +00:00
Kamil Mysliwiec
c86d747f44 Merge pull request #12249 from nestjs/dependabot/npm_and_yarn/eslint-plugin-import-2.28.1
chore(deps-dev): bump eslint-plugin-import from 2.28.0 to 2.28.1
2023-08-22 14:15:50 +02:00
Kamil Mysliwiec
6ad038fa09 Merge pull request #12262 from nestjs/renovate/nestjs-bull-10.x
fix(deps): update dependency @nestjs/bull to v10.0.1
2023-08-22 14:15:36 +02:00
renovate[bot]
1425c81378 fix(deps): update dependency @nestjs/bull to v10.0.1 2023-08-22 11:12:24 +00:00
dependabot[bot]
2136e64709 chore(deps-dev): bump @types/node from 20.5.0 to 20.5.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.5.0 to 20.5.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 07:59:19 +00:00
dependabot[bot]
911e7ee678 chore(deps-dev): bump eslint-plugin-import from 2.28.0 to 2.28.1
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.28.0 to 2.28.1.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.0...v2.28.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 07:58:00 +00:00
Kamil Mysliwiec
f1ccc26227 Merge pull request #12258 from nestjs/renovate/jest-29.x
chore(deps): update dependency jest to v29.6.3
2023-08-22 09:57:02 +02:00
Kamil Mysliwiec
a735854bca Merge pull request #12259 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update dependency @graphql-tools/utils to v10.0.5
2023-08-22 09:56:54 +02:00
Kamil Myśliwiec
b6fac1414f ci: run int tests for maintainence node version 2023-08-22 09:56:44 +02:00
renovate[bot]
1ba3082e60 chore(deps): update dependency jest to v29.6.3 2023-08-22 07:39:02 +00:00
dependabot[bot]
9de7824bea chore(deps): bump tslib from 2.6.1 to 2.6.2
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/v2.6.1...v2.6.2)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 07:34:12 +00:00
Kamil Myśliwiec
6287de4afe chore(@nestjs) publish v10.2.1 release 2023-08-22 09:33:06 +02:00
Kamil Myśliwiec
471b621629 Merge branch 'master' of https://github.com/nestjs/nest 2023-08-22 09:32:23 +02:00
Kamil Myśliwiec
207fc24324 fix(core): minor reflector type issue 2023-08-22 09:32:11 +02:00
renovate[bot]
05ecced56c fix(deps): update dependency @graphql-tools/utils to v10.0.5 2023-08-22 07:26:35 +00:00
Kamil Mysliwiec
f2cccd6e19 Merge pull request #12241 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.22.10
2023-08-22 09:05:16 +02:00
Kamil Mysliwiec
acd4653514 Merge pull request #12245 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.88.2
2023-08-22 09:05:08 +02:00
Kamil Mysliwiec
f2dcd41c77 Merge pull request #12255 from nestjs/dependabot/npm_and_yarn/lint-staged-14.0.1
chore(deps-dev): bump lint-staged from 14.0.0 to 14.0.1
2023-08-22 09:05:02 +02:00
Kamil Mysliwiec
3fb48430c6 Merge pull request #12257 from nestjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-6.4.1
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.4.0 to 6.4.1
2023-08-22 09:04:47 +02:00
renovate[bot]
acf227725e chore(deps): update babel monorepo to v7.22.10 2023-08-22 07:04:40 +00:00
dependabot[bot]
3302e170f8 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.4.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 07:04:17 +00:00
Kamil Mysliwiec
abf3ed4f15 Merge pull request #12256 from nestjs/dependabot/npm_and_yarn/typescript-eslint/parser-6.4.1
chore(deps-dev): bump @typescript-eslint/parser from 5.62.0 to 6.4.1
2023-08-22 09:03:31 +02:00
renovate[bot]
09553afd64 chore(deps): update dependency webpack to v5.88.2 2023-08-22 06:48:22 +00:00
Kamil Mysliwiec
4b4713555d Merge pull request #12254 from baconcheese113/fix-redis-options
Guard undefined Redis options
2023-08-22 08:46:37 +02:00
dependabot[bot]
e438b5ed3d chore(deps-dev): bump @typescript-eslint/parser from 5.62.0 to 6.4.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.62.0 to 6.4.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.4.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 00:11:13 +00:00
dependabot[bot]
d8696fd2a9 chore(deps-dev): bump lint-staged from 14.0.0 to 14.0.1
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v14.0.0...v14.0.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 00:10:16 +00:00
Joseph Yannessa
0a9d594e37 fix: guard undefined redis options 2023-08-21 11:06:13 -04:00
Kamil Mysliwiec
21bb94a707 Merge pull request #12250 from nestjs/dependabot/npm_and_yarn/core-js-3.32.1
chore(deps-dev): bump core-js from 3.32.0 to 3.32.1
2023-08-21 11:32:49 +02:00
Kamil Myśliwiec
6bacb74849 chore: disable @typescript-eslint/no-array-constructor rule 2023-08-21 10:41:50 +02:00
Kamil Myśliwiec
3b78e85ef0 chore: update readme 2023-08-21 10:13:29 +02:00
Kamil Myśliwiec
de5584e8b1 chore(@nestjs) publish v10.2.0 release 2023-08-21 10:12:34 +02:00
Kamil Mysliwiec
fb5cb31233 Merge pull request #12228 from nestjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-6.4.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.61.0 to 6.4.0
2023-08-21 09:58:15 +02:00
dependabot[bot]
34b50c486c chore(deps-dev): bump core-js from 3.32.0 to 3.32.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.32.0 to 3.32.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.32.1/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 07:58:12 +00:00
Kamil Mysliwiec
1b8a18e535 Merge pull request #12242 from nestjs/renovate/jest-monorepo
chore(deps): update dependency jest to v29.6.2
2023-08-21 09:58:05 +02:00
Kamil Myśliwiec
9c028369d0 test: update json socket unit tests to support node v20 2023-08-21 09:49:36 +02:00
Kamil Myśliwiec
80012214ba test: update json socket unit tests to support node v20 2023-08-21 09:40:08 +02:00
renovate[bot]
977d982c19 chore(deps): update dependency jest to v29.6.2 2023-08-18 15:18:59 +00:00
Kamil Mysliwiec
de578068eb Merge pull request #12244 from rbnayax/#12215
fix: CI config is failing
2023-08-18 17:11:49 +02:00
Regev Brody
72a1b96510 fix: CI config is failing 2023-08-18 16:39:25 +03:00
Regev Brody
db8835c94a fix: CI config is failing 2023-08-18 16:26:29 +03:00
Kamil Myśliwiec
3b239f27ad chore: update multer options to accept functions as dest 2023-08-18 14:53:43 +02:00
Kamil Mysliwiec
500df55c90 Merge pull request #12243 from rbnayax/#12215
fix: CI config is failing
2023-08-18 14:51:06 +02:00
Regev Brody
86644a0d29 fix: CI config is failing 2023-08-18 15:50:18 +03:00
Kamil Mysliwiec
f57e5df04f Update config.yml 2023-08-18 14:50:02 +02:00
Kamil Mysliwiec
a07e9431f7 Update config.yml 2023-08-18 14:42:38 +02:00
Kamil Myśliwiec
067e1e49ae ci: update circleci configuration 2023-08-18 14:35:22 +02:00
dependabot[bot]
7e0f5872a0 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.61.0 to 6.4.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.4.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 12:13:36 +00:00
Kamil Mysliwiec
f7b10c8f14 Merge pull request #12168 from nestjs/renovate/confluentinc-cp-zookeeper-7.x
chore(deps): update confluentinc/cp-zookeeper docker tag to v7.4.1
2023-08-18 14:10:27 +02:00
Kamil Mysliwiec
fcca783502 Merge pull request #12237 from nestjs/feat/strongly-typed-decorator
feat(core): add strongly-typed decorators factory (reflector)
2023-08-18 14:08:04 +02:00
Kamil Mysliwiec
b8c2c29a58 Merge pull request #12107 from nestjs/feat/discover-by-decorator
feat(core): discover by decorator, explorer pattern
2023-08-18 14:06:20 +02:00
Kamil Mysliwiec
f99f6f142f Update packages/core/discovery/discovery-service.ts 2023-08-18 14:05:49 +02:00
Kamil Mysliwiec
380b0c0c2e Merge pull request #12218 from rbnayax/#12215
ci: add NodeJS 20 to CI matrix
2023-08-18 14:05:16 +02:00
Kamil Mysliwiec
41790f8d2b Merge pull request #12161 from TheCodby/master
feat(common): added "fatal" as a log level (issue #11945)
2023-08-18 14:03:09 +02:00
Kamil Mysliwiec
7a5b6e408f Merge pull request #12156 from nestjs/dependabot/npm_and_yarn/amqp-connection-manager-4.1.14
chore(deps-dev): bump amqp-connection-manager from 4.1.13 to 4.1.14
2023-08-18 14:02:19 +02:00
Kamil Mysliwiec
f3d6f994b0 Merge pull request #12096 from mohamadrezamomeni/fix-multi-files
fix(common): fix custom multi file validator
2023-08-18 14:02:02 +02:00
Kamil Mysliwiec
d368d336e4 Merge pull request #11992 from rich-w-lee/feature/fastify-route-config
feat(fastify): supporting fastify route config
2023-08-18 14:01:40 +02:00
Kamil Mysliwiec
f8d910187e Merge pull request #12225 from nestjs/dependabot/npm_and_yarn/graphql-16.8.0
chore(deps-dev): bump graphql from 16.7.1 to 16.8.0
2023-08-18 14:00:45 +02:00
Kamil Mysliwiec
38b92bd7a6 Merge pull request #11965 from nestjs/renovate/nestjs-mercurius-12.x
fix(deps): update dependency @nestjs/mercurius to v12.0.4
2023-08-18 14:00:16 +02:00
dependabot[bot]
d1b97e1e86 chore(deps-dev): bump graphql from 16.7.1 to 16.8.0
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.7.1 to 16.8.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.7.1...v16.8.0)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 06:46:24 +00:00
Kamil Mysliwiec
12ec4f2f63 Merge pull request #12239 from nestjs/dependabot/npm_and_yarn/nats-2.16.0
chore(deps-dev): bump nats from 2.15.1 to 2.16.0
2023-08-18 08:43:58 +02:00
dependabot[bot]
e8c41ff5ac chore(deps-dev): bump nats from 2.15.1 to 2.16.0
Bumps [nats](https://github.com/nats-io/nats.js) from 2.15.1 to 2.16.0.
- [Release notes](https://github.com/nats-io/nats.js/releases)
- [Commits](https://github.com/nats-io/nats.js/compare/v2.15.1...v2.16.0)

---
updated-dependencies:
- dependency-name: nats
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 06:43:48 +00:00
Kamil Mysliwiec
0ce0391ef8 Merge pull request #12238 from nestjs/dependabot/npm_and_yarn/mqtt-5.0.3
chore(deps-dev): bump mqtt from 5.0.2 to 5.0.3
2023-08-18 08:42:23 +02:00
Kamil Myśliwiec
13a671afc1 chore: merge conflicts 2023-08-17 09:38:05 +02:00
Kamil Myśliwiec
566eb8cdc2 chore: update comments 2023-08-17 09:37:30 +02:00
dependabot[bot]
91f9fd61f8 chore(deps-dev): bump mqtt from 5.0.2 to 5.0.3
Bumps [mqtt](https://github.com/mqttjs/MQTT.js) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/mqttjs/MQTT.js/releases)
- [Changelog](https://github.com/mqttjs/MQTT.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mqttjs/MQTT.js/compare/v5.0.2...v5.0.3)

---
updated-dependencies:
- dependency-name: mqtt
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 00:40:44 +00:00
Kamil Mysliwiec
181e829e26 Update packages/core/services/reflector.service.ts
Co-authored-by: Micael Levi L. Cavalcante <mllc@icomp.ufam.edu.br>
2023-08-16 15:32:31 +02:00
Kamil Myśliwiec
e63313bf81 sample: update sample to use create decorator factory 2023-08-16 13:49:05 +02:00
Kamil Myśliwiec
d274f543d4 feat(core): add strongly-typed decorators factory (reflector) 2023-08-16 13:45:26 +02:00
Kamil Mysliwiec
4fa5324ae2 Merge pull request #12227 from nestjs/dependabot/npm_and_yarn/eslint-8.47.0
chore(deps-dev): bump eslint from 8.46.0 to 8.47.0
2023-08-16 09:51:07 +02:00
Kamil Mysliwiec
c607be7ef2 Merge pull request #12226 from nestjs/dependabot/npm_and_yarn/mongoose-7.4.3
chore(deps-dev): bump mongoose from 7.4.2 to 7.4.3
2023-08-16 09:50:45 +02:00
Kamil Mysliwiec
d1d68f08d8 Merge pull request #12229 from nestjs/dependabot/npm_and_yarn/lint-staged-14.0.0
chore(deps-dev): bump lint-staged from 13.2.3 to 14.0.0
2023-08-16 09:50:14 +02:00
Kamil Mysliwiec
fa92422099 Merge pull request #12234 from nestjs/dependabot/npm_and_yarn/prettier-3.0.2
chore(deps-dev): bump prettier from 3.0.1 to 3.0.2
2023-08-16 09:50:09 +02:00
Kamil Mysliwiec
911fd7bfc7 Merge pull request #12233 from HGtronic/auth-service-docs-update
docs: add missing types for username and password
2023-08-16 09:49:45 +02:00
dependabot[bot]
1de9a7fb1c chore(deps-dev): bump prettier from 3.0.1 to 3.0.2
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.1...3.0.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 00:38:14 +00:00
Aleksandar Mijic
19464b45ee docs: add missing types for username and password 2023-08-15 17:13:03 +02:00
Kamil Myśliwiec
70e5b194b9 chore: update sponsors 2023-08-15 15:56:17 +02:00
dependabot[bot]
c12367953b chore(deps-dev): bump lint-staged from 13.2.3 to 14.0.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.2.3 to 14.0.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v13.2.3...v14.0.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 00:28:47 +00:00
dependabot[bot]
520adab59b chore(deps-dev): bump eslint from 8.46.0 to 8.47.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.46.0 to 8.47.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.46.0...v8.47.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 00:27:45 +00:00
dependabot[bot]
bb8724d323 chore(deps-dev): bump mongoose from 7.4.2 to 7.4.3
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.4.2 to 7.4.3.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.4.2...7.4.3)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 00:27:18 +00:00
Regev Brody
8924d43924 ci: add NodeJS 20 to CI matrix 2023-08-14 14:36:45 +03:00
Kamil Mysliwiec
85cc3869ee Merge pull request #12212 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-17.7.0
chore(deps-dev): bump @commitlint/config-angular from 17.6.7 to 17.7.0
2023-08-14 09:15:49 +02:00
dependabot[bot]
8d0957fff9 chore(deps-dev): bump @commitlint/config-angular from 17.6.7 to 17.7.0
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 17.6.7 to 17.7.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-angular/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.7.0/@commitlint/config-angular)

---
updated-dependencies:
- dependency-name: "@commitlint/config-angular"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 07:10:36 +00:00
Kamil Mysliwiec
623225064d Merge pull request #12186 from nestjs/dependabot/npm_and_yarn/fast-json-stringify-5.8.0
chore(deps): bump fast-json-stringify from 5.7.0 to 5.8.0
2023-08-14 09:10:09 +02:00
Kamil Mysliwiec
2e8cb39e1a Merge pull request #12216 from nestjs/dependabot/npm_and_yarn/commitlint/cli-17.7.1
chore(deps-dev): bump @commitlint/cli from 17.6.7 to 17.7.1
2023-08-14 09:09:57 +02:00
Kamil Mysliwiec
f1586f8889 Merge pull request #12223 from nestjs/dependabot/npm_and_yarn/types/node-20.5.0
chore(deps-dev): bump @types/node from 20.4.8 to 20.5.0
2023-08-14 09:09:16 +02:00
dependabot[bot]
e4ba5c77a3 chore(deps-dev): bump @types/node from 20.4.8 to 20.5.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.8 to 20.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 00:52:21 +00:00
Regev Brody
c976b4f50a ci: add NodeJS 20 to CI matrix 2023-08-11 12:50:14 +03:00
Regev Brody
1b23900ee3 ci: add NodeJS 20 to CI matrix 2023-08-11 12:06:46 +03:00
dependabot[bot]
0dccf3d83c chore(deps-dev): bump @commitlint/cli from 17.6.7 to 17.7.1
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.6.7 to 17.7.1.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.7.1/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-11 00:46:34 +00:00
Richard Lee
ca4a48eec5 feat(fastify): adding jsdoc to route config decorator 2023-08-10 20:33:20 -04:00
Richard Lee
2443611926 feat(fastify): supporting fastify route config
Resolves #1185
2023-08-10 20:33:20 -04:00
dependabot[bot]
114b8e1979 chore(deps): bump fast-json-stringify from 5.7.0 to 5.8.0
Bumps [fast-json-stringify](https://github.com/fastify/fast-json-stringify) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/fastify/fast-json-stringify/releases)
- [Commits](https://github.com/fastify/fast-json-stringify/compare/v5.7.0...v5.8.0)

---
updated-dependencies:
- dependency-name: fast-json-stringify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-09 05:57:53 +00:00
Kamil Mysliwiec
5d5298219e Merge pull request #12190 from nestjs/dependabot/npm_and_yarn/mqtt-5.0.2
chore(deps-dev): bump mqtt from 5.0.1 to 5.0.2
2023-08-09 07:57:51 +02:00
Kamil Mysliwiec
3b580fa329 Merge pull request #12202 from nestjs/dependabot/npm_and_yarn/eslint-config-prettier-9.0.0
chore(deps-dev): bump eslint-config-prettier from 8.9.0 to 9.0.0
2023-08-09 07:57:46 +02:00
Kamil Mysliwiec
264190ce9b Merge pull request #12203 from nestjs/dependabot/npm_and_yarn/mysql2-3.6.0
chore(deps-dev): bump mysql2 from 3.5.2 to 3.6.0
2023-08-09 07:57:39 +02:00
Kamil Mysliwiec
ed8709e41b Merge pull request #12205 from nestjs/dependabot/npm_and_yarn/prettier-3.0.1
chore(deps-dev): bump prettier from 3.0.0 to 3.0.1
2023-08-09 07:57:27 +02:00
dependabot[bot]
f08ae1a696 chore(deps-dev): bump prettier from 3.0.0 to 3.0.1
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.0...3.0.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 00:49:31 +00:00
dependabot[bot]
e679710d06 chore(deps-dev): bump mysql2 from 3.5.2 to 3.6.0
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.5.2 to 3.6.0.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.5.2...v3.6.0)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 00:48:38 +00:00
dependabot[bot]
34208277da chore(deps-dev): bump eslint-config-prettier from 8.9.0 to 9.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.9.0 to 9.0.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.9.0...v9.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 00:47:42 +00:00
dependabot[bot]
52aa89f2fb chore(deps-dev): bump mqtt from 5.0.1 to 5.0.2
Bumps [mqtt](https://github.com/mqttjs/MQTT.js) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/mqttjs/MQTT.js/releases)
- [Changelog](https://github.com/mqttjs/MQTT.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mqttjs/MQTT.js/compare/v5.0.1...v5.0.2)

---
updated-dependencies:
- dependency-name: mqtt
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 06:43:19 +00:00
Kamil Mysliwiec
f51174002d Merge pull request #12189 from nestjs/dependabot/npm_and_yarn/socket.io-client-4.7.2
chore(deps-dev): bump socket.io-client from 4.7.1 to 4.7.2
2023-08-07 08:42:45 +02:00
Kamil Mysliwiec
c2c8d3ee1a Merge pull request #12191 from nestjs/dependabot/npm_and_yarn/mongoose-7.4.2
chore(deps-dev): bump mongoose from 7.4.1 to 7.4.2
2023-08-07 08:42:32 +02:00
Kamil Mysliwiec
cb2632fad1 Merge pull request #12198 from nestjs/dependabot/npm_and_yarn/types/node-20.4.8
chore(deps-dev): bump @types/node from 20.4.5 to 20.4.8
2023-08-07 08:42:12 +02:00
dependabot[bot]
20b30a5209 chore(deps-dev): bump @types/node from 20.4.5 to 20.4.8
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.5 to 20.4.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 00:38:08 +00:00
dependabot[bot]
205bc65e74 chore(deps-dev): bump mongoose from 7.4.1 to 7.4.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.4.1 to 7.4.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.4.1...7.4.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-04 00:12:55 +00:00
dependabot[bot]
f0a7e2f5ba chore(deps-dev): bump socket.io-client from 4.7.1 to 4.7.2
Bumps [socket.io-client](https://github.com/socketio/socket.io-client) from 4.7.1 to 4.7.2.
- [Release notes](https://github.com/socketio/socket.io-client/releases)
- [Changelog](https://github.com/socketio/socket.io-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-client/compare/4.7.1...4.7.2)

---
updated-dependencies:
- dependency-name: socket.io-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-04 00:11:55 +00:00
Kamil Mysliwiec
c2c846894c Merge pull request #12180 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.9.0
chore(deps-dev): bump @grpc/grpc-js from 1.8.21 to 1.9.0
2023-08-03 08:47:38 +02:00
Kamil Mysliwiec
921e46e324 Merge pull request #12181 from nestjs/dependabot/npm_and_yarn/engine.io-client-6.5.2
chore(deps-dev): bump engine.io-client from 6.5.1 to 6.5.2
2023-08-03 08:43:15 +02:00
Kamil Mysliwiec
4df6b98638 Merge pull request #12182 from nestjs/dependabot/npm_and_yarn/types/sinon-10.0.16
chore(deps-dev): bump @types/sinon from 10.0.15 to 10.0.16
2023-08-03 08:43:09 +02:00
Kamil Mysliwiec
3937afc768 Merge pull request #12185 from nestjs/dependabot/npm_and_yarn/socket.io-4.7.2
chore(deps): bump socket.io from 4.7.1 to 4.7.2
2023-08-03 08:43:00 +02:00
Kamil Mysliwiec
ae3b34f6b2 Update Readme.md 2023-08-03 08:30:51 +02:00
dependabot[bot]
362c13fae8 chore(deps): bump socket.io from 4.7.1 to 4.7.2
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.7.1 to 4.7.2.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.7.1...4.7.2)

---
updated-dependencies:
- dependency-name: socket.io
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 00:35:01 +00:00
dependabot[bot]
00bb3b5bfd chore(deps-dev): bump @types/sinon from 10.0.15 to 10.0.16
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 10.0.15 to 10.0.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)

---
updated-dependencies:
- dependency-name: "@types/sinon"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 00:20:24 +00:00
dependabot[bot]
73659aa0b5 chore(deps-dev): bump engine.io-client from 6.5.1 to 6.5.2
Bumps [engine.io-client](https://github.com/socketio/engine.io-client) from 6.5.1 to 6.5.2.
- [Release notes](https://github.com/socketio/engine.io-client/releases)
- [Changelog](https://github.com/socketio/engine.io-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io-client/compare/6.5.1...6.5.2)

---
updated-dependencies:
- dependency-name: engine.io-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 00:18:39 +00:00
dependabot[bot]
b2d51f75fc chore(deps-dev): bump @grpc/grpc-js from 1.8.21 to 1.9.0
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.21 to 1.9.0.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.21...@grpc/grpc-js@1.9.0)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 00:18:02 +00:00
Kamil Mysliwiec
657b24cbd3 Merge pull request #12171 from nestjs/dependabot/npm_and_yarn/eslint-config-prettier-8.9.0
chore(deps-dev): bump eslint-config-prettier from 8.8.0 to 8.9.0
2023-08-01 08:29:11 +02:00
dependabot[bot]
09f9b5e230 chore(deps-dev): bump eslint-config-prettier from 8.8.0 to 8.9.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.8.0 to 8.9.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.8.0...v8.9.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 06:24:51 +00:00
Kamil Mysliwiec
54c2f9069f Merge pull request #12172 from nestjs/dependabot/npm_and_yarn/mqtt-5.0.1
chore(deps-dev): bump mqtt from 5.0.0 to 5.0.1
2023-08-01 08:24:02 +02:00
Kamil Mysliwiec
8a550bdca4 Merge pull request #12173 from nestjs/dependabot/npm_and_yarn/eslint-8.46.0
chore(deps-dev): bump eslint from 8.45.0 to 8.46.0
2023-08-01 08:23:54 +02:00
Kamil Mysliwiec
a372b8f360 Merge pull request #12148 from nestjs/dependabot/npm_and_yarn/types/node-20.4.5
chore(deps-dev): bump @types/node from 20.4.4 to 20.4.5
2023-08-01 08:23:46 +02:00
Kamil Mysliwiec
fd53a7e66e Merge pull request #12169 from nestjs/dependabot/npm_and_yarn/eslint-plugin-import-2.28.0
chore(deps-dev): bump eslint-plugin-import from 2.27.5 to 2.28.0
2023-08-01 08:23:36 +02:00
dependabot[bot]
08cf804866 chore(deps-dev): bump eslint from 8.45.0 to 8.46.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.45.0 to 8.46.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.45.0...v8.46.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 00:20:58 +00:00
dependabot[bot]
cf682e6620 chore(deps-dev): bump mqtt from 5.0.0 to 5.0.1
Bumps [mqtt](https://github.com/mqttjs/MQTT.js) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/mqttjs/MQTT.js/releases)
- [Changelog](https://github.com/mqttjs/MQTT.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mqttjs/MQTT.js/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: mqtt
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 00:20:24 +00:00
dependabot[bot]
7ac635b8d9 chore(deps-dev): bump eslint-plugin-import from 2.27.5 to 2.28.0
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.27.5 to 2.28.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.27.5...v2.28.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 00:17:03 +00:00
Kamil Myśliwiec
20da014393 chore: update readme and package.json version 2023-07-31 11:28:22 +02:00
Kamil Myśliwiec
26e2886e6b chore(@nestjs) publish v10.1.3 release 2023-07-31 11:28:01 +02:00
Kamil Myśliwiec
7829e7fa1b Merge branch 'master' of https://github.com/nestjs/nest 2023-07-31 11:27:07 +02:00
Kamil Myśliwiec
8290af2786 fix(microservices): dont crash on non-json response format #12162 2023-07-31 11:26:57 +02:00
Kamil Mysliwiec
d8f857c14d Merge pull request #12155 from nestjs/dependabot/npm_and_yarn/fastify-4.21.0
chore(deps): bump fastify from 4.20.0 to 4.21.0
2023-07-31 10:38:34 +02:00
Kamil Mysliwiec
a1b0b45ed7 Merge pull request #12163 from jmcdo29/fix/circular-injection-big
fix(core): create completed field on settlement for better tracking
2023-07-31 10:10:42 +02:00
Kamil Mysliwiec
2cd77097d6 Merge pull request #12166 from SocketSomeone/patch-1
fix(core): pass application config to nest container when using application context
2023-07-31 10:10:17 +02:00
renovate[bot]
caa03c6c9a chore(deps): update confluentinc/cp-zookeeper docker tag to v7.4.1 2023-07-31 08:06:18 +00:00
dependabot[bot]
cbf9021034 chore(deps): bump fastify from 4.20.0 to 4.21.0
Bumps [fastify](https://github.com/fastify/fastify) from 4.20.0 to 4.21.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.20.0...v4.21.0)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 08:05:10 +00:00
Kamil Mysliwiec
ab2ada809b Merge pull request #12146 from nestjs/renovate/confluentinc-cp-kafka-7.x
chore(deps): update confluentinc/cp-kafka docker tag to v7.4.1
2023-07-31 10:04:12 +02:00
Kamil Mysliwiec
b72072e2cc Merge pull request #12149 from nestjs/dependabot/npm_and_yarn/mqtt-5.0.0
chore(deps-dev): bump mqtt from 4.3.7 to 5.0.0
2023-07-31 10:04:01 +02:00
Kamil Mysliwiec
2ca0dc4091 Merge pull request #12157 from nestjs/dependabot/npm_and_yarn/core-js-3.32.0
chore(deps-dev): bump core-js from 3.31.1 to 3.32.0
2023-07-31 10:03:27 +02:00
Kamil Mysliwiec
9f326a86d0 Merge pull request #12167 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.8.21
chore(deps-dev): bump @grpc/grpc-js from 1.8.18 to 1.8.21
2023-07-31 09:54:11 +02:00
Kamil Mysliwiec
ada29d72f4 Update Readme.md 2023-07-31 09:52:50 +02:00
Kamil Mysliwiec
695b802b63 Update Readme.md 2023-07-31 09:52:14 +02:00
Kamil Mysliwiec
49a41ae7fd Merge pull request #12158 from thorseraq/thorseraq/0728/intercepter-unit-test
test: remove redundant await
2023-07-31 09:02:11 +02:00
dependabot[bot]
f474472c98 chore(deps-dev): bump @grpc/grpc-js from 1.8.18 to 1.8.21
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.18 to 1.8.21.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.18...@grpc/grpc-js@1.8.21)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 01:08:07 +00:00
Alexey Filippov
e17f2859dc style: remove whitespace 2023-07-30 21:04:38 +03:00
Alexey Filippov
55da6fa4a4 fix(core): pass application config to nest container 2023-07-30 20:59:31 +03:00
Jay McDoniel
7d6d0e645b fix(core): create completed field on settlement for better tracking 2023-07-29 16:20:14 -07:00
Codby
2cb5f2c89a feat(common): added "fatal" as a log level (issue #11945) 2023-07-29 07:05:12 +03:00
Codby
ccf79e1b6a feat(core): added "fatal" as a log level (issue #11945) 2023-07-29 06:52:55 +03:00
x1a0t
068195262c test: remove redundant await 2023-07-28 11:18:35 +08:00
dependabot[bot]
8290d91564 chore(deps-dev): bump core-js from 3.31.1 to 3.32.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.31.1 to 3.32.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.32.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-28 00:59:57 +00:00
dependabot[bot]
54b9e703a0 chore(deps-dev): bump amqp-connection-manager from 4.1.13 to 4.1.14
Bumps [amqp-connection-manager](https://github.com/jwalton/node-amqp-connection-manager) from 4.1.13 to 4.1.14.
- [Release notes](https://github.com/jwalton/node-amqp-connection-manager/releases)
- [Changelog](https://github.com/jwalton/node-amqp-connection-manager/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jwalton/node-amqp-connection-manager/compare/v4.1.13...v4.1.14)

---
updated-dependencies:
- dependency-name: amqp-connection-manager
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-28 00:04:52 +00:00
Kamil Mysliwiec
2b1b63a74f Merge pull request #12147 from Tony133/chore/update-fastify-view-interface
chore(platform-fastify): update fastify view interface
2023-07-26 08:10:15 +02:00
dependabot[bot]
aad3cb1517 chore(deps-dev): bump mqtt from 4.3.7 to 5.0.0
Bumps [mqtt](https://github.com/mqttjs/MQTT.js) from 4.3.7 to 5.0.0.
- [Release notes](https://github.com/mqttjs/MQTT.js/releases)
- [Changelog](https://github.com/mqttjs/MQTT.js/blob/main/CHANGELOG.OLD.md)
- [Commits](https://github.com/mqttjs/MQTT.js/compare/v4.3.7...v5.0.0)

---
updated-dependencies:
- dependency-name: mqtt
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-26 00:39:08 +00:00
dependabot[bot]
b3ed33929d chore(deps-dev): bump @types/node from 20.4.4 to 20.4.5
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.4 to 20.4.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-26 00:38:33 +00:00
Tony133
db2d3ae41f chore(): update fastify view interface 2023-07-25 18:32:18 +02:00
Kamil Myśliwiec
152d07cd24 chore(@nestjs) publish v10.1.2 release 2023-07-25 11:19:59 +02:00
Kamil Myśliwiec
f24e71c0b9 Merge branch 'master' of https://github.com/nestjs/nest 2023-07-25 11:19:19 +02:00
Kamil Myśliwiec
52faceef5b fix(testing): remove relative imports 2023-07-25 11:19:12 +02:00
renovate[bot]
b6b4211d65 chore(deps): update confluentinc/cp-kafka docker tag to v7.4.1 2023-07-25 09:07:05 +00:00
Kamil Mysliwiec
ea7d3e74ba Merge pull request #12122 from nestjs/dependabot/npm_and_yarn/sample/01-cats-app/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/01-cats-app
2023-07-25 10:04:56 +02:00
Kamil Mysliwiec
b84a2bc017 Merge pull request #12120 from nestjs/dependabot/npm_and_yarn/sample/16-gateways-ws/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/16-gateways-ws
2023-07-25 10:04:39 +02:00
Kamil Mysliwiec
da3e4102b7 Merge pull request #12119 from nestjs/dependabot/npm_and_yarn/sample/05-sql-typeorm/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/05-sql-typeorm
2023-07-25 10:04:32 +02:00
Kamil Mysliwiec
b717bbf857 Merge pull request #12130 from nestjs/dependabot/npm_and_yarn/sample/20-cache/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/20-cache
2023-07-25 10:04:19 +02:00
Kamil Mysliwiec
482489bbf6 Merge pull request #12126 from nestjs/dependabot/npm_and_yarn/sample/32-graphql-federation-schema-first/users-application/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/32-graphql-federation-schema-first/users-application
2023-07-25 10:03:47 +02:00
Kamil Mysliwiec
96db5871fd Merge pull request #12124 from nestjs/dependabot/npm_and_yarn/sample/11-swagger/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/11-swagger
2023-07-25 10:03:31 +02:00
Kamil Mysliwiec
610fb7d9c4 Merge pull request #12041 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.22.9
2023-07-25 10:03:25 +02:00
Kamil Mysliwiec
44f8899f05 Merge pull request #12129 from nestjs/dependabot/npm_and_yarn/sample/14-mongoose-base/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/14-mongoose-base
2023-07-25 10:03:15 +02:00
dependabot[bot]
97bffe6361 chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/20-cache
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:03:08 +00:00
Kamil Mysliwiec
ba86d29d0b Merge pull request #12121 from nestjs/dependabot/npm_and_yarn/sample/19-auth-jwt/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/19-auth-jwt
2023-07-25 10:03:07 +02:00
Kamil Mysliwiec
bfa35853d5 Merge pull request #12123 from nestjs/dependabot/npm_and_yarn/sample/03-microservices/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/03-microservices
2023-07-25 10:02:59 +02:00
dependabot[bot]
cd2db3e9f6 chore(deps-dev): bump word-wrap in /sample/05-sql-typeorm
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:02:57 +00:00
Kamil Mysliwiec
bc7a4f80fd Merge pull request #12125 from nestjs/dependabot/npm_and_yarn/sample/32-graphql-federation-schema-first/posts-application/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/32-graphql-federation-schema-first/posts-application
2023-07-25 10:02:52 +02:00
dependabot[bot]
1795765376 chore(deps-dev): bump word-wrap
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:02:48 +00:00
dependabot[bot]
d6d0c8d52a chore(deps-dev): bump word-wrap in /sample/14-mongoose-base
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:02:47 +00:00
Kamil Mysliwiec
799e082a4f Merge pull request #12127 from nestjs/dependabot/npm_and_yarn/sample/12-graphql-schema-first/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/12-graphql-schema-first
2023-07-25 10:02:44 +02:00
dependabot[bot]
4395585baa chore(deps-dev): bump word-wrap in /sample/01-cats-app
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:02:43 +00:00
Kamil Mysliwiec
2c00b99040 Merge pull request #12128 from nestjs/dependabot/npm_and_yarn/sample/15-mvc/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/15-mvc
2023-07-25 10:02:36 +02:00
dependabot[bot]
e78a4491f0 chore(deps-dev): bump word-wrap in /sample/03-microservices
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:02:31 +00:00
dependabot[bot]
2b2adc5d45 chore(deps-dev): bump word-wrap
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:02:29 +00:00
dependabot[bot]
3f4a34e363 chore(deps-dev): bump word-wrap in /sample/19-auth-jwt
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:02:27 +00:00
Kamil Mysliwiec
3cf89828cb Merge pull request #12133 from nestjs/dependabot/npm_and_yarn/sample/06-mongoose/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/06-mongoose
2023-07-25 10:02:15 +02:00
Kamil Mysliwiec
ba090c648c Merge pull request #12118 from nestjs/dependabot/npm_and_yarn/sample/10-fastify/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/10-fastify
2023-07-25 10:02:03 +02:00
Kamil Mysliwiec
fa3624ec11 Merge pull request #12134 from nestjs/dependabot/npm_and_yarn/sample/02-gateways/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/02-gateways
2023-07-25 10:01:50 +02:00
Kamil Mysliwiec
56d197c80c Merge pull request #12135 from nestjs/dependabot/npm_and_yarn/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5
2023-07-25 10:01:44 +02:00
renovate[bot]
40f11b001a chore(deps): update babel monorepo to v7.22.9 2023-07-25 08:01:39 +00:00
Kamil Mysliwiec
35c1886f52 Merge pull request #12132 from nestjs/dependabot/npm_and_yarn/sample/07-sequelize/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/07-sequelize
2023-07-25 10:01:36 +02:00
dependabot[bot]
14156f4b68 chore(deps-dev): bump word-wrap in /sample/07-sequelize
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:01:23 +00:00
dependabot[bot]
8046ed002f chore(deps-dev): bump word-wrap in /sample/10-fastify
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:01:18 +00:00
dependabot[bot]
6ab762e11d chore(deps-dev): bump word-wrap in /sample/06-mongoose
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:01:15 +00:00
dependabot[bot]
48ebaeaeac chore(deps-dev): bump word-wrap in /sample/12-graphql-schema-first
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:01:09 +00:00
dependabot[bot]
72d3428c75 chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/15-mvc
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:01:04 +00:00
dependabot[bot]
66a2cb31e5 chore(deps-dev): bump word-wrap in /sample/02-gateways
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:00:52 +00:00
dependabot[bot]
a8a7764354 chore(deps-dev): bump word-wrap in /sample/11-swagger
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:00:50 +00:00
dependabot[bot]
836c048513 chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:00:38 +00:00
Kamil Mysliwiec
ca262adc3f Merge pull request #12044 from nestjs/dependabot/npm_and_yarn/sample/14-mongoose-base/mongoose-7.3.3
chore(deps): bump mongoose from 7.3.1 to 7.3.3 in /sample/14-mongoose-base
2023-07-25 10:00:30 +02:00
Kamil Mysliwiec
e3c2da6319 Merge pull request #12138 from nestjs/dependabot/npm_and_yarn/sample/04-grpc/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/04-grpc
2023-07-25 10:00:22 +02:00
Kamil Mysliwiec
13b4efbb16 Merge pull request #12143 from nestjs/dependabot/npm_and_yarn/sample/23-graphql-code-first/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/23-graphql-code-first
2023-07-25 10:00:14 +02:00
renovate[bot]
0d18a52691 fix(deps): update dependency @nestjs/mercurius to v12.0.4 2023-07-25 08:00:08 +00:00
Kamil Mysliwiec
ae183019ae Merge pull request #12045 from nestjs/renovate/npm-mongoose-vulnerability
fix(deps): update dependency mongoose to v7.3.3 [security]
2023-07-25 10:00:08 +02:00
Kamil Mysliwiec
844b7cf590 Merge pull request #12114 from nestjs/dependabot/npm_and_yarn/sample/08-webpack/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/08-webpack
2023-07-25 09:59:59 +02:00
Kamil Mysliwiec
127707ea21 Merge pull request #12144 from nestjs/dependabot/npm_and_yarn/sample/22-graphql-prisma/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/22-graphql-prisma
2023-07-25 09:59:52 +02:00
Kamil Mysliwiec
b3d4135379 Merge pull request #12116 from nestjs/dependabot/npm_and_yarn/sample/13-mongo-typeorm/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/13-mongo-typeorm
2023-07-25 09:59:46 +02:00
Kamil Mysliwiec
c714fb02d8 Merge pull request #12139 from nestjs/dependabot/npm_and_yarn/sample/29-file-upload/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/29-file-upload
2023-07-25 09:59:40 +02:00
Kamil Mysliwiec
215b7a2dfa Merge pull request #12117 from nestjs/dependabot/npm_and_yarn/sample/32-graphql-federation-schema-first/gateway/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/32-graphql-federation-schema-first/gateway
2023-07-25 09:59:34 +02:00
Kamil Mysliwiec
d8dec8a1b9 Merge pull request #12115 from nestjs/dependabot/npm_and_yarn/sample/17-mvc-fastify/word-wrap-1.2.5
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/17-mvc-fastify
2023-07-25 09:59:22 +02:00
dependabot[bot]
307a3b93d0 chore(deps-dev): bump word-wrap
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:59:12 +00:00
dependabot[bot]
1268cde75c chore(deps-dev): bump word-wrap in /sample/29-file-upload
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:59:09 +00:00
dependabot[bot]
7fc53ac6a4 chore(deps-dev): bump word-wrap in /sample/22-graphql-prisma
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:59:06 +00:00
dependabot[bot]
6d1d0dffb1 chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 in /sample/04-grpc
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:58:55 +00:00
dependabot[bot]
be978b4366 chore(deps-dev): bump word-wrap in /sample/23-graphql-code-first
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:58:45 +00:00
dependabot[bot]
34836a38e7 chore(deps-dev): bump word-wrap in /sample/17-mvc-fastify
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:58:43 +00:00
dependabot[bot]
88a80c6ce2 chore(deps-dev): bump word-wrap in /sample/08-webpack
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:58:38 +00:00
dependabot[bot]
01a1d4b193 chore(deps-dev): bump word-wrap in /sample/13-mongo-typeorm
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:58:37 +00:00
Kamil Mysliwiec
40f96855e6 Merge pull request #12074 from nestjs/dependabot/npm_and_yarn/sample/24-serve-static/word-wrap-1.2.4
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /sample/24-serve-static
2023-07-25 09:58:21 +02:00
dependabot[bot]
32457f3ed0 chore(deps-dev): bump word-wrap in /sample/16-gateways-ws
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:58:15 +00:00
Kamil Mysliwiec
c197db77ea Merge pull request #12073 from nestjs/dependabot/npm_and_yarn/sample/27-scheduling/word-wrap-1.2.4
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /sample/27-scheduling
2023-07-25 09:58:07 +02:00
dependabot[bot]
1a5764c2fa chore(deps-dev): bump word-wrap in /sample/24-serve-static
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:57:59 +00:00
Kamil Mysliwiec
f34999dbef Merge pull request #12075 from nestjs/dependabot/npm_and_yarn/sample/21-serializer/word-wrap-1.2.4
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /sample/21-serializer
2023-07-25 09:57:53 +02:00
dependabot[bot]
9f97d4f59a chore(deps-dev): bump word-wrap in /sample/27-scheduling
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:57:28 +00:00
Kamil Mysliwiec
08abddf2d0 Merge pull request #12076 from nestjs/dependabot/npm_and_yarn/sample/25-dynamic-modules/word-wrap-1.2.4
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /sample/25-dynamic-modules
2023-07-25 09:57:01 +02:00
Kamil Mysliwiec
c5ee8df50e Merge pull request #12077 from nestjs/dependabot/npm_and_yarn/sample/18-context/word-wrap-1.2.4
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /sample/18-context
2023-07-25 09:56:54 +02:00
Kamil Mysliwiec
8f22af1d8d Merge pull request #12078 from nestjs/dependabot/npm_and_yarn/sample/26-queues/word-wrap-1.2.4
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /sample/26-queues
2023-07-25 09:56:45 +02:00
dependabot[bot]
e1961f8d70 chore(deps): bump mongoose in /sample/14-mongoose-base
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.3.1 to 7.3.3.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.3.1...7.3.3)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:56:37 +00:00
Kamil Mysliwiec
dc611d3133 Merge pull request #12079 from nestjs/dependabot/npm_and_yarn/sample/28-sse/word-wrap-1.2.4
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /sample/28-sse
2023-07-25 09:56:37 +02:00
Kamil Mysliwiec
fcd8eadf58 Merge pull request #12080 from nestjs/dependabot/npm_and_yarn/sample/33-graphql-mercurius/word-wrap-1.2.4
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /sample/33-graphql-mercurius
2023-07-25 09:56:20 +02:00
Kamil Mysliwiec
9e1155de87 Merge pull request #12086 from nestjs/dependabot/npm_and_yarn/commitlint/cli-17.6.7
chore(deps-dev): bump @commitlint/cli from 17.6.6 to 17.6.7
2023-07-25 09:56:11 +02:00
Kamil Mysliwiec
b4a418dd0b Merge pull request #12109 from nestjs/dependabot/npm_and_yarn/types/node-20.4.4
chore(deps-dev): bump @types/node from 20.4.2 to 20.4.4
2023-07-25 09:56:02 +02:00
Kamil Mysliwiec
643d8fbcfc Merge pull request #12110 from nestjs/dependabot/npm_and_yarn/fastify/multipart-7.7.3
chore(deps-dev): bump @fastify/multipart from 7.7.1 to 7.7.3
2023-07-25 09:55:56 +02:00
Kamil Mysliwiec
582bda4264 Merge pull request #12111 from nestjs/dependabot/npm_and_yarn/mongoose-7.4.1
chore(deps-dev): bump mongoose from 7.3.4 to 7.4.1
2023-07-25 09:55:47 +02:00
Kamil Mysliwiec
f30e5bc4fe Merge pull request #12112 from nestjs/dependabot/npm_and_yarn/tslib-2.6.1
chore(deps): bump tslib from 2.6.0 to 2.6.1
2023-07-25 09:55:39 +02:00
Kamil Mysliwiec
65e743b8a3 Merge pull request #12065 from nestjs/dependabot/npm_and_yarn/sample/30-event-emitter/word-wrap-1.2.4
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /sample/30-event-emitter
2023-07-25 09:55:05 +02:00
dependabot[bot]
049cbb608f chore(deps): bump tslib from 2.6.0 to 2.6.1
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.6.0...v2.6.1)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 00:21:31 +00:00
dependabot[bot]
a1ce99bcd9 chore(deps-dev): bump mongoose from 7.3.4 to 7.4.1
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.3.4 to 7.4.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.3.4...7.4.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 00:21:10 +00:00
dependabot[bot]
13875fabd2 chore(deps-dev): bump @fastify/multipart from 7.7.1 to 7.7.3
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 7.7.1 to 7.7.3.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v7.7.1...v7.7.3)

---
updated-dependencies:
- dependency-name: "@fastify/multipart"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 00:20:03 +00:00
dependabot[bot]
c57502329a chore(deps-dev): bump @types/node from 20.4.2 to 20.4.4
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.2 to 20.4.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 00:19:38 +00:00
Kamil Myśliwiec
5052674adb test: update container unit tests 2023-07-24 12:40:31 +02:00
Kamil Myśliwiec
0d61789307 test: update container unit tests 2023-07-24 12:33:14 +02:00
Kamil Myśliwiec
95967c0176 chore: update readmes 2023-07-24 11:37:38 +02:00
Kamil Myśliwiec
cff7dc6b3c chore(@nestjs) publish v10.1.1 release 2023-07-24 11:35:11 +02:00
Kamil Myśliwiec
d1abe38a40 fix(testing): fix relative import #12106 2023-07-24 11:33:58 +02:00
Kamil Myśliwiec
2e0f3ae597 chore: remove leftovers 2023-07-24 11:33:27 +02:00
Kamil Myśliwiec
7e3da2253b feat(core): discover by decorator, explorer pattern 2023-07-24 11:32:42 +02:00
dependabot[bot]
b6116d230f chore(deps-dev): bump @commitlint/cli from 17.6.6 to 17.6.7
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.6.6 to 17.6.7.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.6.7/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 07:46:53 +00:00
Kamil Mysliwiec
24c9b682ec Merge pull request #12084 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-17.6.7
chore(deps-dev): bump @commitlint/config-angular from 17.6.6 to 17.6.7
2023-07-24 09:45:35 +02:00
Kamil Mysliwiec
01af363c03 Merge pull request #12092 from nestjs/dependabot/npm_and_yarn/nestjs/mongoose-10.0.1
chore(deps-dev): bump @nestjs/mongoose from 10.0.0 to 10.0.1
2023-07-24 09:45:26 +02:00
Kamil Mysliwiec
dd352e2a7b Merge pull request #12100 from micalevisk/fix/server-types
fix(express,fastify): return type of `#listen` method
2023-07-24 09:14:03 +02:00
MohammadReza Momeni
ccca642b9e revert: revert a7c5
This reverts commit a7c59634d6.
2023-07-24 08:02:53 +03:30
MohammadReza Momeni
a7c59634d6 chore(common): use better generic 2023-07-23 11:57:37 +03:30
Micael Levi L. Cavalcante
779d9785d7 fix(express,fastify): return type of #listen method 2023-07-23 00:15:58 -04:00
MohammadReza Momeni
e1bac6e04b fix(common): fix custom multi file validator 2023-07-22 15:07:12 +03:30
dependabot[bot]
e74ad079b6 chore(deps-dev): bump @nestjs/mongoose from 10.0.0 to 10.0.1
Bumps [@nestjs/mongoose](https://github.com/nestjs/mongoose) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/nestjs/mongoose/releases)
- [Changelog](https://github.com/nestjs/mongoose/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/mongoose/compare/10.0.0...10.0.1)

---
updated-dependencies:
- dependency-name: "@nestjs/mongoose"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:58:35 +00:00
dependabot[bot]
53e42010ae chore(deps-dev): bump @commitlint/config-angular from 17.6.6 to 17.6.7
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 17.6.6 to 17.6.7.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-angular/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.6.7/@commitlint/config-angular)

---
updated-dependencies:
- dependency-name: "@commitlint/config-angular"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 00:22:05 +00:00
dependabot[bot]
7d343d3049 chore(deps-dev): bump word-wrap in /sample/33-graphql-mercurius
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 09:31:47 +00:00
dependabot[bot]
0770d56a42 chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /sample/28-sse
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 09:28:01 +00:00
dependabot[bot]
2789de4b1f chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /sample/26-queues
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 09:27:59 +00:00
dependabot[bot]
b18b04abfd chore(deps-dev): bump word-wrap in /sample/18-context
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 09:27:57 +00:00
dependabot[bot]
ebcd5714c9 chore(deps-dev): bump word-wrap in /sample/21-serializer
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 09:27:55 +00:00
dependabot[bot]
0322af832a chore(deps-dev): bump word-wrap in /sample/25-dynamic-modules
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 09:27:55 +00:00
dependabot[bot]
9cf3e1138a chore(deps-dev): bump word-wrap in /sample/30-event-emitter
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 09:27:46 +00:00
renovate[bot]
4f11a1939e fix(deps): update dependency mongoose to v7.3.3 [security] 2023-07-18 18:15:36 +00:00
Kamil Mysliwiec
67d4656623 Merge pull request #12007 from nestjs/dependabot/npm_and_yarn/grpc/proto-loader-0.7.8
chore(deps-dev): bump @grpc/proto-loader from 0.7.7 to 0.7.8
2023-07-18 09:54:38 +02:00
Kamil Mysliwiec
da40ae46cd Merge pull request #12037 from nestjs/dependabot/npm_and_yarn/fastify/multipart-7.7.1
chore(deps-dev): bump @fastify/multipart from 7.7.0 to 7.7.1
2023-07-18 09:54:34 +02:00
Kamil Mysliwiec
0c901fe9be Merge pull request #12038 from nestjs/dependabot/npm_and_yarn/mysql2-3.5.2
chore(deps-dev): bump mysql2 from 3.5.1 to 3.5.2
2023-07-18 09:54:27 +02:00
Kamil Mysliwiec
2153548667 Merge pull request #12039 from nestjs/dependabot/npm_and_yarn/fastify-4.20.0
chore(deps): bump fastify from 4.19.2 to 4.20.0
2023-07-18 09:54:20 +02:00
dependabot[bot]
c936eff34b chore(deps): bump fastify from 4.19.2 to 4.20.0
Bumps [fastify](https://github.com/fastify/fastify) from 4.19.2 to 4.20.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.19.2...v4.20.0)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 00:39:00 +00:00
dependabot[bot]
fe7fded953 chore(deps-dev): bump mysql2 from 3.5.1 to 3.5.2
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.5.1...v3.5.2)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 00:38:46 +00:00
dependabot[bot]
2d2442dbd3 chore(deps-dev): bump @fastify/multipart from 7.7.0 to 7.7.1
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 7.7.0 to 7.7.1.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v7.7.0...v7.7.1)

---
updated-dependencies:
- dependency-name: "@fastify/multipart"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 00:38:25 +00:00
Kamil Mysliwiec
3e600560a4 Update Readme.md 2023-07-17 12:18:37 +02:00
Kamil Myśliwiec
50bf928415 chore: update readme 2023-07-17 12:17:38 +02:00
Kamil Myśliwiec
8c8f956035 chore(@nestjs) publish v10.1.0 release 2023-07-17 10:37:45 +02:00
Kamil Mysliwiec
33b0aaa353 Merge pull request #12035 from nestjs/fix/globals-in-lazy-modules
fix(core): allow importing providers from global modules in lazy modules
2023-07-17 10:34:15 +02:00
dependabot[bot]
4c996bfff4 chore(deps-dev): bump @grpc/proto-loader from 0.7.7 to 0.7.8
Bumps [@grpc/proto-loader](https://github.com/grpc/grpc-node) from 0.7.7 to 0.7.8.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/commits)

---
updated-dependencies:
- dependency-name: "@grpc/proto-loader"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 08:28:02 +00:00
Kamil Mysliwiec
0c1fc1b833 Merge pull request #12025 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.8.18
chore(deps-dev): bump @grpc/grpc-js from 1.8.17 to 1.8.18
2023-07-17 10:27:15 +02:00
Kamil Myśliwiec
2545a4ca3c chore: resolve conflicts 2023-07-17 10:14:14 +02:00
Kamil Mysliwiec
d0bd92cd92 Merge pull request #12014 from mathieubergeron/grpc-graceful-shutdown
feat(microservices): allow grpc-server graceful shutdown
2023-07-17 09:10:49 +02:00
Kamil Mysliwiec
4c37a2dd78 Merge pull request #12020 from nestjs/fix/throw-circular-custom-providers
fix(core): throw on circular factories and custom providers
2023-07-17 09:10:19 +02:00
Kamil Mysliwiec
dba6fa46d1 Merge pull request #12026 from tanhv90/fix-grpc-client-cannot-cancel
fix(microservices): support client cancel grpc request in unary stream
2023-07-17 09:10:12 +02:00
Kamil Mysliwiec
e5ca64aa76 Merge pull request #11995 from Mojtaba-NA/fastify-static-options-changes
refactor(fastify): updated static options
2023-07-17 09:07:20 +02:00
Kamil Mysliwiec
c79f8d6e26 Merge pull request #12031 from micalevisk/fix/issue-12019
fix(common): right generic type arg constraint for `FileValidator#isValid` method
2023-07-17 09:07:04 +02:00
Kamil Mysliwiec
e0a9d67308 Merge pull request #12030 from MickL/patch-4
Update socket.io example: Wait for socket to be connected
2023-07-17 08:58:10 +02:00
Kamil Mysliwiec
f02a8b552e Merge pull request #12034 from nestjs/dependabot/npm_and_yarn/eslint-8.45.0
chore(deps-dev): bump eslint from 8.44.0 to 8.45.0
2023-07-17 08:49:38 +02:00
dependabot[bot]
636d9a011c chore(deps-dev): bump eslint from 8.44.0 to 8.45.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.44.0 to 8.45.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.44.0...v8.45.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 00:03:21 +00:00
Micael Levi L. Cavalcante
ce11286482 fix(common): generic type constraint for FileValidator#isValid method 2023-07-15 23:15:39 -04:00
Mick Lawitzke
bff0421a0a Wait for socket to be connected
`socket.connect()` was not needed as `io()` already auto connects. Also wait for socket to be connected.
2023-07-15 17:28:38 +02:00
gladowar
629715d0d0 refactor(fastify): updated static options 2023-07-14 21:18:36 +03:30
tanhovan
20cd8fd5c4 fix lint issue 2023-07-14 15:33:35 +07:00
tanhovan
9f3d1c9c76 fix(microservices): support client cancel grpc request in unary stream - fix pull-request 2023-07-14 15:26:06 +07:00
tanhovan
a326e1a5a3 fix(microservices): support client cancel grpc request in unary stream 2023-07-14 09:10:54 +07:00
tanhovan
400749d083 fix(microservices): support client cancel grpc request in unary stream 2023-07-14 08:58:52 +07:00
dependabot[bot]
56c3d78b85 chore(deps-dev): bump @grpc/grpc-js from 1.8.17 to 1.8.18
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.17 to 1.8.18.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.17...@grpc/grpc-js@1.8.18)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 00:05:50 +00:00
Kamil Myśliwiec
1fea6325ef fix(core): throw on circular factories and custom providers 2023-07-13 12:57:26 +02:00
Kamil Mysliwiec
e36f04c51e Merge pull request #12001 from nestjs/dependabot/npm_and_yarn/typescript-eslint/parser-5.62.0
chore(deps-dev): bump @typescript-eslint/parser from 5.60.1 to 5.62.0
2023-07-13 09:07:55 +02:00
Kamil Mysliwiec
8c63321321 Merge pull request #12015 from nestjs/dependabot/npm_and_yarn/mongoose-7.3.4
chore(deps-dev): bump mongoose from 7.3.2 to 7.3.4
2023-07-13 09:07:45 +02:00
Kamil Mysliwiec
fc43b500a0 Merge pull request #12016 from nestjs/dependabot/npm_and_yarn/types/node-20.4.2
chore(deps-dev): bump @types/node from 20.4.1 to 20.4.2
2023-07-13 09:07:36 +02:00
dependabot[bot]
ca1a153cb6 chore(deps-dev): bump @types/node from 20.4.1 to 20.4.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.1 to 20.4.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 00:14:17 +00:00
dependabot[bot]
0b0f5cb7f7 chore(deps-dev): bump mongoose from 7.3.2 to 7.3.4
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.3.2 to 7.3.4.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.3.2...7.3.4)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 00:13:15 +00:00
Mathieu Bergeron
93824ab4ed feat(microservices): allow grpc-server graceful shutdown 2023-07-12 09:01:09 -04:00
dependabot[bot]
c886f04755 chore(deps-dev): bump @typescript-eslint/parser from 5.60.1 to 5.62.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.60.1 to 5.62.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.62.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 09:31:55 +00:00
Kamil Mysliwiec
d07bceabe4 Merge pull request #12004 from nestjs/renovate/jest-monorepo
chore(deps): update jest monorepo
2023-07-12 11:31:00 +02:00
Kamil Mysliwiec
b6eec5eaaa Merge pull request #12009 from KKSzymanowski/master
fix(core): Initialize application only once
2023-07-12 11:30:36 +02:00
Kuba Szymanowski
334bb27500 fix(core): Initialize application only once
Fixes #12006
2023-07-12 10:25:55 +02:00
renovate[bot]
3ab560c1e3 chore(deps): update jest monorepo 2023-07-11 08:48:08 +00:00
Kamil Mysliwiec
d8800d6463 Update package.json 2023-07-11 10:41:39 +02:00
Kamil Mysliwiec
91defcc30e Merge pull request #11973 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo
2023-07-11 10:21:30 +02:00
Kamil Mysliwiec
c2b7242e5a Merge pull request #11975 from kingsubin/fix-readme-http
docs(): replace HTTP with HTTPS on readme
2023-07-11 09:51:45 +02:00
renovate[bot]
9829a8a413 chore(deps): update babel monorepo 2023-07-11 07:50:08 +00:00
Kamil Mysliwiec
f4119c292b Merge pull request #11972 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update dependency @graphql-tools/utils to v10.0.3
2023-07-11 09:49:00 +02:00
Kamil Mysliwiec
72071bc23f Merge pull request #11980 from nestjs/dependabot/npm_and_yarn/core-js-3.31.1
chore(deps-dev): bump core-js from 3.31.0 to 3.31.1
2023-07-11 09:48:42 +02:00
Kamil Mysliwiec
a5700bb304 Merge pull request #11981 from nestjs/dependabot/npm_and_yarn/prettier-3.0.0
chore(deps-dev): bump prettier from 2.8.8 to 3.0.0
2023-07-11 09:48:35 +02:00
Kamil Mysliwiec
2e4ac00e93 Merge pull request #11989 from nestjs/dependabot/npm_and_yarn/mongoose-7.3.2
chore(deps-dev): bump mongoose from 7.3.1 to 7.3.2
2023-07-11 09:48:28 +02:00
dependabot[bot]
74ce5250b4 chore(deps-dev): bump prettier from 2.8.8 to 3.0.0
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.0.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.0.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 07:48:27 +00:00
Kamil Mysliwiec
4cabf5c5de Merge pull request #11993 from nestjs/dependabot/npm_and_yarn/protobufjs-7.2.4
chore(deps): bump protobufjs from 7.2.2 to 7.2.4
2023-07-11 09:48:22 +02:00
Kamil Mysliwiec
7c163b6029 Merge pull request #11994 from nestjs/dependabot/npm_and_yarn/sample/04-grpc/protobufjs-7.2.4
chore(deps): bump protobufjs from 7.2.3 to 7.2.4 in /sample/04-grpc
2023-07-11 09:48:15 +02:00
Kamil Mysliwiec
88e3c58823 Merge pull request #11997 from nestjs/dependabot/npm_and_yarn/types/node-20.4.1
chore(deps-dev): bump @types/node from 20.3.3 to 20.4.1
2023-07-11 09:48:01 +02:00
Kamil Mysliwiec
f372f98921 Merge pull request #11998 from nestjs/dependabot/npm_and_yarn/nodemon-3.0.1
chore(deps-dev): bump nodemon from 2.0.22 to 3.0.1
2023-07-11 09:47:49 +02:00
Kamil Mysliwiec
09f601e44d Merge pull request #12003 from nestjs/dependabot/npm_and_yarn/mysql2-3.5.1
chore(deps-dev): bump mysql2 from 3.4.3 to 3.5.1
2023-07-11 09:47:37 +02:00
dependabot[bot]
e65b3e4e67 chore(deps-dev): bump mysql2 from 3.4.3 to 3.5.1
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.4.3 to 3.5.1.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.4.3...v3.5.1)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 00:29:39 +00:00
dependabot[bot]
d8a7d50179 chore(deps-dev): bump nodemon from 2.0.22 to 3.0.1
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.22 to 3.0.1.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.22...v3.0.1)

---
updated-dependencies:
- dependency-name: nodemon
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 01:03:45 +00:00
dependabot[bot]
09a19878fe chore(deps-dev): bump @types/node from 20.3.3 to 20.4.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.3.3 to 20.4.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 01:02:55 +00:00
dependabot[bot]
9c2c7d8e99 chore(deps): bump protobufjs from 7.2.3 to 7.2.4 in /sample/04-grpc
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.2.3 to 7.2.4.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.2.3...protobufjs-v7.2.4)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 01:23:44 +00:00
dependabot[bot]
1d7e0d08b4 chore(deps): bump protobufjs from 7.2.2 to 7.2.4
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.2.2 to 7.2.4.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.2.2...protobufjs-v7.2.4)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 01:06:11 +00:00
dependabot[bot]
04ac9eebb1 chore(deps-dev): bump mongoose from 7.3.1 to 7.3.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.3.1 to 7.3.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.3.1...7.3.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 00:32:14 +00:00
dependabot[bot]
42c24081b6 chore(deps-dev): bump core-js from 3.31.0 to 3.31.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.31.0 to 3.31.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.31.1/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 00:58:59 +00:00
Subin Lee
632b45af62 docs(): replace HTTP with HTTPS on readme 2023-07-05 22:59:17 +09:00
renovate[bot]
3dc9387940 fix(deps): update dependency @graphql-tools/utils to v10.0.3 2023-07-04 10:45:09 +00:00
Kamil Mysliwiec
eef670896a Merge pull request #11969 from nestjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.61.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.60.1 to 5.61.0
2023-07-04 09:31:48 +02:00
Kamil Mysliwiec
edb9f84684 Merge pull request #11968 from nestjs/dependabot/npm_and_yarn/fastify-4.19.2
chore(deps): bump fastify from 4.19.1 to 4.19.2
2023-07-04 09:31:41 +02:00
Kamil Mysliwiec
29af08619b Merge pull request #11963 from nestjs/renovate/node-20.x
chore(deps): update dependency @types/node to v20.3.3
2023-07-04 09:31:19 +02:00
Kamil Mysliwiec
e85fa8fbad Merge pull request #11895 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.4.3
2023-07-04 09:30:58 +02:00
dependabot[bot]
36be45ed12 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.60.1 to 5.61.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.61.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 00:40:25 +00:00
dependabot[bot]
eed0eac1bc chore(deps): bump fastify from 4.19.1 to 4.19.2
Bumps [fastify](https://github.com/fastify/fastify) from 4.19.1 to 4.19.2.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.19.1...v4.19.2)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 00:39:50 +00:00
renovate[bot]
23eaa2feb7 chore(deps): update dependency @types/node to v20.3.3 2023-07-03 15:07:53 +00:00
Kamil Mysliwiec
883d0fb8a8 Update Readme.md 2023-07-03 13:09:47 +02:00
renovate[bot]
9711237509 fix(deps): update dependency mysql2 to v3.4.3 2023-07-03 10:28:08 +00:00
Kamil Mysliwiec
7ac42c0f84 Merge pull request #11941 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v5.60.1
2023-07-03 10:29:02 +02:00
Kamil Mysliwiec
c553098ccf Merge pull request #11951 from nestjs/renovate/ts-jest-29.x
chore(deps): update dependency ts-jest to v29.1.1
2023-07-03 10:28:54 +02:00
Kamil Mysliwiec
db663d72ce Merge pull request #11959 from nestjs/dependabot/npm_and_yarn/eslint-8.44.0
chore(deps-dev): bump eslint from 8.43.0 to 8.44.0
2023-07-03 10:27:11 +02:00
renovate[bot]
510f6c7ae0 chore(deps): update typescript-eslint monorepo to v5.60.1 2023-07-03 07:16:32 +00:00
renovate[bot]
a7b440c582 chore(deps): update dependency ts-jest to v29.1.1 2023-07-03 07:11:16 +00:00
Kamil Myśliwiec
210ac19d77 chore(@nestjs) publish v10.0.5 release 2023-07-03 09:09:27 +02:00
dependabot[bot]
50586d388d chore(deps-dev): bump eslint from 8.43.0 to 8.44.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.43.0 to 8.44.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.43.0...v8.44.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 07:08:20 +00:00
Kamil Mysliwiec
e08ff9ca16 Merge pull request #11860 from nestjs/renovate/prisma-monorepo
fix(deps): update prisma monorepo to v4.16.2
2023-07-03 09:08:18 +02:00
Kamil Mysliwiec
5eccef707e Merge pull request #11949 from kkiwior/patch-1
fix(express): improve error reply content-type check
2023-07-03 09:08:11 +02:00
Kamil Mysliwiec
288a003ac1 Merge pull request #11958 from nestjs/dependabot/npm_and_yarn/fastify/view-8.0.0
chore(deps-dev): bump @fastify/view from 7.4.1 to 8.0.0
2023-07-03 09:07:17 +02:00
Kamil Mysliwiec
647a38cb8e Merge pull request #11960 from nestjs/dependabot/npm_and_yarn/fastify-4.19.1
chore(deps): bump fastify from 4.18.0 to 4.19.1
2023-07-03 09:07:10 +02:00
Kamil Mysliwiec
8f1ee86db8 Merge pull request #11961 from nestjs/dependabot/npm_and_yarn/types/node-20.3.3
chore(deps-dev): bump @types/node from 20.3.2 to 20.3.3
2023-07-03 09:07:04 +02:00
Kamil Myśliwiec
635f3ac1a6 Merge branch 'master' of https://github.com/nestjs/nest 2023-07-03 09:05:23 +02:00
Kamil Myśliwiec
cc36dcba79 fix(common): ensure options are declared when checking if optional pipe 2023-07-03 09:05:14 +02:00
Kamil Mysliwiec
9defd79d33 Merge pull request #11954 from NilsMoller/fix-sample-31-readme
docs(sample/31): fix wrong port number in README
2023-07-03 08:50:03 +02:00
dependabot[bot]
532ec2ddc2 chore(deps-dev): bump @types/node from 20.3.2 to 20.3.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.3.2 to 20.3.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 00:39:42 +00:00
dependabot[bot]
fcd693e841 chore(deps): bump fastify from 4.18.0 to 4.19.1
Bumps [fastify](https://github.com/fastify/fastify) from 4.18.0 to 4.19.1.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.18.0...v4.19.1)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 00:39:08 +00:00
dependabot[bot]
08fe570e57 chore(deps-dev): bump @fastify/view from 7.4.1 to 8.0.0
Bumps [@fastify/view](https://github.com/fastify/point-of-view) from 7.4.1 to 8.0.0.
- [Release notes](https://github.com/fastify/point-of-view/releases)
- [Commits](https://github.com/fastify/point-of-view/compare/v7.4.1...v8.0.0)

---
updated-dependencies:
- dependency-name: "@fastify/view"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 00:38:13 +00:00
Nils
67b869cdcc docs(sample/31): fix wrong port number in README 2023-07-01 13:02:26 +01:00
renovate[bot]
11ed877907 fix(deps): update prisma monorepo to v4.16.2 2023-06-30 15:09:43 +00:00
Kamil Mysliwiec
f965c4165a Merge pull request #11950 from Tony133/sample/fix-sample-31-graphql-federation-code-first
sample(31-graphql-federation-code-first): downgraded the @apollo/subgraph and @apollo/gateway versions
2023-06-30 15:26:09 +02:00
Tony133
853bee5657 fix(): downgraded @apollo/subgraph and @apollo/gateway to version 2.2.3 2023-06-30 14:59:39 +02:00
Kamil Mysliwiec
fed59834b6 Merge pull request #11940 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.88.1
2023-06-30 13:50:29 +02:00
Kamil Mysliwiec
a6fc9a7f6a Merge pull request #11907 from nestjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.60.1
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.60.0 to 5.60.1
2023-06-30 13:50:22 +02:00
Kamil Mysliwiec
a73bb5bd15 Merge pull request #11943 from nestjs/renovate/grpc-grpc-js-1.x
fix(deps): update dependency @grpc/grpc-js to v1.8.17
2023-06-30 13:50:08 +02:00
Kamil Mysliwiec
8488934947 Merge pull request #11947 from nestjs/dependabot/npm_and_yarn/nestjs/graphql-12.0.7
chore(deps-dev): bump @nestjs/graphql from 12.0.6 to 12.0.7
2023-06-30 13:49:48 +02:00
Kamil Mysliwiec
518d53fad5 Merge pull request #11948 from nestjs/dependabot/npm_and_yarn/mysql2-3.4.3
chore(deps-dev): bump mysql2 from 3.4.1 to 3.4.3
2023-06-30 13:49:38 +02:00
Kamil Kiwior
4f391c2bfd fix(platform-express): improve reply content-type check 2023-06-30 13:43:02 +02:00
dependabot[bot]
669a5023eb chore(deps-dev): bump mysql2 from 3.4.1 to 3.4.3
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.4.1 to 3.4.3.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.4.1...v3.4.3)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-30 00:54:41 +00:00
dependabot[bot]
fe9bce61c6 chore(deps-dev): bump @nestjs/graphql from 12.0.6 to 12.0.7
Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 12.0.6 to 12.0.7.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v12.0.6...v12.0.7)

---
updated-dependencies:
- dependency-name: "@nestjs/graphql"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-30 00:53:58 +00:00
renovate[bot]
03a9a6cba8 fix(deps): update dependency @grpc/grpc-js to v1.8.17 2023-06-29 15:52:44 +00:00
renovate[bot]
f3becede65 chore(deps): update dependency webpack to v5.88.1 2023-06-29 15:46:37 +00:00
Kamil Myśliwiec
e35ea751b7 Merge branch 'master' of https://github.com/nestjs/nest 2023-06-29 15:00:12 +02:00
Kamil Myśliwiec
d13b012a13 chore(@nestjs) publish v10.0.4 release 2023-06-29 14:59:18 +02:00
dependabot[bot]
81fa2a6f28 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.60.0 to 5.60.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.60.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-29 12:57:38 +00:00
Kamil Mysliwiec
7087b4e255 Merge pull request #11938 from nestjs/renovate/ts-loader-9.x
chore(deps): update dependency ts-loader to v9.4.4
2023-06-29 14:56:27 +02:00
Kamil Mysliwiec
4b7a66eef7 Merge pull request #11939 from nestjs/renovate/typescript-5.x
chore(deps): update dependency typescript to v5.1.6
2023-06-29 14:56:18 +02:00
renovate[bot]
6924f54073 chore(deps): update dependency typescript to v5.1.6 2023-06-29 10:32:40 +00:00
renovate[bot]
71ffbdc923 chore(deps): update dependency ts-loader to v9.4.4 2023-06-29 10:27:34 +00:00
Kamil Mysliwiec
e28475261b Merge pull request #11934 from nestjs/dependabot/npm_and_yarn/types/gulp-4.0.13
chore(deps-dev): bump @types/gulp from 4.0.12 to 4.0.13
2023-06-29 10:47:24 +02:00
Kamil Mysliwiec
4fa7898867 Merge pull request #11933 from nestjs/dependabot/npm_and_yarn/lint-staged-13.2.3
chore(deps-dev): bump lint-staged from 13.2.2 to 13.2.3
2023-06-29 10:47:17 +02:00
Kamil Mysliwiec
c977fce5b3 Merge pull request #11931 from nestjs/dependabot/npm_and_yarn/nestjs/graphql-12.0.6
chore(deps-dev): bump @nestjs/graphql from 12.0.3 to 12.0.6
2023-06-29 10:47:10 +02:00
Kamil Mysliwiec
ec8e47ea52 Merge pull request #11930 from nestjs/dependabot/npm_and_yarn/engine.io-client-6.5.1
chore(deps-dev): bump engine.io-client from 6.5.0 to 6.5.1
2023-06-29 10:47:04 +02:00
Kamil Mysliwiec
4f5a9f66dc Merge pull request #11929 from nestjs/dependabot/npm_and_yarn/socket.io-4.7.1
chore(deps): bump socket.io from 4.7.0 to 4.7.1
2023-06-29 10:46:57 +02:00
Kamil Mysliwiec
53b795e552 Merge pull request #11928 from nestjs/dependabot/npm_and_yarn/socket.io-client-4.7.1
chore(deps-dev): bump socket.io-client from 4.7.0 to 4.7.1
2023-06-29 10:46:48 +02:00
Kamil Mysliwiec
f299ac98eb Merge pull request #11927 from nestjs/dependabot/npm_and_yarn/typescript-5.1.6
chore(deps-dev): bump typescript from 5.1.5 to 5.1.6
2023-06-29 10:46:44 +02:00
Kamil Mysliwiec
64edb75916 Merge pull request #11924 from nestjs/renovate/node-20.x
chore(deps): update dependency @types/node to v20.3.2
2023-06-29 10:46:37 +02:00
Kamil Mysliwiec
e1b487f35f Merge pull request #11811 from nestjs/renovate/apollo-graphql-packages
fix(deps): update apollo graphql packages
2023-06-29 10:46:18 +02:00
renovate[bot]
16d0f33543 chore(deps): update dependency @types/node to v20.3.2 2023-06-29 08:34:09 +00:00
Kamil Myśliwiec
2038f287c7 Merge branch 'nordfjord-async-context-tracking-breaks-retries' 2023-06-29 10:27:36 +02:00
Kamil Myśliwiec
7e4b0eded8 chore: minor tweaks 2023-06-29 10:27:24 +02:00
dependabot[bot]
be79c9f744 chore(deps-dev): bump @types/gulp from 4.0.12 to 4.0.13
Bumps [@types/gulp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gulp) from 4.0.12 to 4.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/gulp)

---
updated-dependencies:
- dependency-name: "@types/gulp"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-29 00:32:25 +00:00
dependabot[bot]
289a81a2f8 chore(deps-dev): bump lint-staged from 13.2.2 to 13.2.3
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.2.2 to 13.2.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v13.2.2...v13.2.3)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-29 00:31:30 +00:00
dependabot[bot]
dd6419f454 chore(deps-dev): bump @nestjs/graphql from 12.0.3 to 12.0.6
Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 12.0.3 to 12.0.6.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v12.0.3...v12.0.6)

---
updated-dependencies:
- dependency-name: "@nestjs/graphql"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-29 00:28:52 +00:00
dependabot[bot]
176f1a4eac chore(deps-dev): bump engine.io-client from 6.5.0 to 6.5.1
Bumps [engine.io-client](https://github.com/socketio/engine.io-client) from 6.5.0 to 6.5.1.
- [Release notes](https://github.com/socketio/engine.io-client/releases)
- [Changelog](https://github.com/socketio/engine.io-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io-client/compare/6.5.0...6.5.1)

---
updated-dependencies:
- dependency-name: engine.io-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-29 00:27:40 +00:00
dependabot[bot]
3fa91f60be chore(deps): bump socket.io from 4.7.0 to 4.7.1
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.7.0...4.7.1)

---
updated-dependencies:
- dependency-name: socket.io
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-29 00:26:28 +00:00
dependabot[bot]
e7fed8bd6b chore(deps-dev): bump socket.io-client from 4.7.0 to 4.7.1
Bumps [socket.io-client](https://github.com/socketio/socket.io-client) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/socketio/socket.io-client/releases)
- [Changelog](https://github.com/socketio/socket.io-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-client/compare/4.7.0...4.7.1)

---
updated-dependencies:
- dependency-name: socket.io-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-29 00:25:35 +00:00
dependabot[bot]
e22683ad6c chore(deps-dev): bump typescript from 5.1.5 to 5.1.6
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.5 to 5.1.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-29 00:24:43 +00:00
Einar Norðfjörð
2ee7a04e04 fix: add a context track around the callback 2023-06-28 17:49:10 -04:00
Einar Norðfjörð
fd28cdc8b2 simpliy the tests 2023-06-28 17:25:22 -04:00
Einar Norðfjörð
6f448549f5 chore(intercept): reproduce retry bug 2023-06-28 17:23:08 -04:00
renovate[bot]
bca9bc30d1 fix(deps): update apollo graphql packages 2023-06-28 18:11:56 +00:00
Kamil Mysliwiec
da640e3ffb Merge pull request #11917 from nestjs/dependabot/npm_and_yarn/typescript-5.1.5
chore(deps-dev): bump typescript from 5.1.3 to 5.1.5
2023-06-28 14:04:30 +02:00
Kamil Mysliwiec
bc872a1c7c Merge pull request #11916 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.8.17
chore(deps-dev): bump @grpc/grpc-js from 1.8.16 to 1.8.17
2023-06-28 14:04:23 +02:00
Kamil Mysliwiec
1a83ec16fb Merge pull request #11915 from nestjs/dependabot/npm_and_yarn/nestjs/apollo-12.0.4
chore(deps-dev): bump @nestjs/apollo from 12.0.3 to 12.0.4
2023-06-28 14:04:17 +02:00
Kamil Mysliwiec
4518567aff Merge pull request #11914 from nestjs/dependabot/npm_and_yarn/types/gulp-4.0.12
chore(deps-dev): bump @types/gulp from 4.0.11 to 4.0.12
2023-06-28 14:04:10 +02:00
Kamil Mysliwiec
61a4dffa82 Merge pull request #11909 from nestjs/renovate/nestjs-cli-10.x
chore(deps): update dependency @nestjs/cli to v10.0.5
2023-06-28 14:03:58 +02:00
Kamil Mysliwiec
6d1a5e5099 Merge pull request #11900 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-17.6.6
chore(deps-dev): bump @commitlint/config-angular from 17.6.5 to 17.6.6
2023-06-28 14:03:38 +02:00
dependabot[bot]
f626c18269 chore(deps-dev): bump typescript from 5.1.3 to 5.1.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.3 to 5.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.3...v5.1.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 00:58:14 +00:00
dependabot[bot]
3bc249e3b7 chore(deps-dev): bump @grpc/grpc-js from 1.8.16 to 1.8.17
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.16 to 1.8.17.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.16...@grpc/grpc-js@1.8.17)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 00:57:25 +00:00
dependabot[bot]
8eebf4d25f chore(deps-dev): bump @nestjs/apollo from 12.0.3 to 12.0.4
Bumps [@nestjs/apollo](https://github.com/nestjs/graphql) from 12.0.3 to 12.0.4.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v12.0.3...v12.0.4)

---
updated-dependencies:
- dependency-name: "@nestjs/apollo"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 00:57:10 +00:00
dependabot[bot]
c5e9453de4 chore(deps-dev): bump @types/gulp from 4.0.11 to 4.0.12
Bumps [@types/gulp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gulp) from 4.0.11 to 4.0.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/gulp)

---
updated-dependencies:
- dependency-name: "@types/gulp"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 00:56:49 +00:00
renovate[bot]
804734b566 chore(deps): update dependency @nestjs/cli to v10.0.5 2023-06-27 09:48:36 +00:00
Kamil Mysliwiec
8eecb3e902 Merge pull request #11906 from nestjs/dependabot/npm_and_yarn/typescript-eslint/parser-5.60.1
chore(deps-dev): bump @typescript-eslint/parser from 5.60.0 to 5.60.1
2023-06-27 08:32:19 +02:00
Kamil Mysliwiec
c581fcf7fa Merge pull request #11905 from nestjs/dependabot/npm_and_yarn/tslib-2.6.0
chore(deps): bump tslib from 2.5.3 to 2.6.0
2023-06-27 08:31:51 +02:00
dependabot[bot]
be4439df71 chore(deps-dev): bump @commitlint/config-angular from 17.6.5 to 17.6.6
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 17.6.5 to 17.6.6.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-angular/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.6.6/@commitlint/config-angular)

---
updated-dependencies:
- dependency-name: "@commitlint/config-angular"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-27 06:31:34 +00:00
dependabot[bot]
d14bc79edb chore(deps): bump tslib from 2.5.3 to 2.6.0
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.5.3 to 2.6.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/v2.5.3...2.6.0)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-27 06:31:22 +00:00
Kamil Mysliwiec
964421c90c Merge pull request #11904 from nestjs/dependabot/npm_and_yarn/types/node-20.3.2
chore(deps-dev): bump @types/node from 20.3.1 to 20.3.2
2023-06-27 08:31:10 +02:00
Kamil Mysliwiec
a25c414203 Merge pull request #11902 from nestjs/dependabot/npm_and_yarn/apollo/server-4.7.5
chore(deps-dev): bump @apollo/server from 4.7.4 to 4.7.5
2023-06-27 08:30:32 +02:00
Kamil Mysliwiec
0830651f3a Merge pull request #11872 from nestjs/renovate/nestjs-mercurius-12.x
fix(deps): update dependency @nestjs/mercurius to v12.0.3
2023-06-27 08:30:19 +02:00
dependabot[bot]
d414b62fbc chore(deps-dev): bump @typescript-eslint/parser from 5.60.0 to 5.60.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.60.0 to 5.60.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.60.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-27 00:59:45 +00:00
dependabot[bot]
e3df7dad68 chore(deps-dev): bump @types/node from 20.3.1 to 20.3.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.3.1 to 20.3.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-27 00:58:39 +00:00
dependabot[bot]
b4636d4bd1 chore(deps-dev): bump @apollo/server from 4.7.4 to 4.7.5
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 4.7.4 to 4.7.5.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/server@4.7.5/packages/server)

---
updated-dependencies:
- dependency-name: "@apollo/server"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-27 00:57:23 +00:00
renovate[bot]
8535bc7c4f fix(deps): update dependency @nestjs/mercurius to v12.0.3 2023-06-26 10:05:04 +00:00
Kamil Myśliwiec
d16f2c3a3a Merge branch 'AbdlrahmanSaberAbdo-optional-validation-for-parseEnumPipe' 2023-06-26 11:12:12 +02:00
Kamil Myśliwiec
be46af6290 style: minor tweaks 2023-06-26 11:11:58 +02:00
Kamil Myśliwiec
39b367ad5a Merge branch 'optional-validation-for-parseEnumPipe' of https://github.com/AbdlrahmanSaberAbdo/nest into AbdlrahmanSaberAbdo-optional-validation-for-parseEnumPipe 2023-06-26 11:10:28 +02:00
Kamil Mysliwiec
07bad64bb0 Merge pull request #11898 from Tony133/chore/mark-api-public-platform-express-multer
chore(): mark api public in multer module inside platform-express
2023-06-26 09:19:11 +02:00
Kamil Mysliwiec
5aa8f88b6a Merge pull request #11899 from nestjs/dependabot/npm_and_yarn/mysql2-3.4.1
chore(deps-dev): bump mysql2 from 3.4.0 to 3.4.1
2023-06-26 09:19:01 +02:00
Kamil Mysliwiec
d999b2f344 Merge pull request #11901 from nestjs/dependabot/npm_and_yarn/commitlint/cli-17.6.6
chore(deps-dev): bump @commitlint/cli from 17.6.5 to 17.6.6
2023-06-26 09:18:46 +02:00
dependabot[bot]
5e9b4281f3 chore(deps-dev): bump @commitlint/cli from 17.6.5 to 17.6.6
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.6.5 to 17.6.6.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.6.6/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 00:59:10 +00:00
dependabot[bot]
e9ef007f90 chore(deps-dev): bump mysql2 from 3.4.0 to 3.4.1
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.4.0...v3.4.1)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 00:57:23 +00:00
Tony133
bb7d5802e7 chore(): mark api public 2023-06-25 15:55:20 +02:00
AbdlrahmanSaberAbdo
8cdf4bb3a6 Merge branch 'master' into optional-validation-for-parseEnumPipe 2023-06-25 12:30:19 +03:00
AbdlrahmanSaberAbdo
37bae99af0 test: Add test cases for each pipe 2023-06-25 12:17:34 +03:00
AbdlrahmanSaberAbdo
adc3a9c212 feat: Add optional property to ParseUUIDPipe 2023-06-25 12:16:49 +03:00
AbdlrahmanSaberAbdo
3dc80a4181 feat: Add optional property to parse float/int/bool 2023-06-25 11:57:07 +03:00
AbdlrahmanSaberAbdo
79bf40e539 test: Adjust the test and add one more test cases 2023-06-23 18:38:24 +03:00
AbdlrahmanSaberAbdo
0b8f437e50 refactor: Skip when the value is equal undefined/null 2023-06-23 18:37:42 +03:00
AbdlrahmanSaberAbdo
9359160084 refactor: cleanup the code 2023-06-23 18:09:53 +03:00
Kamil Mysliwiec
a460bc6d36 Merge pull request #11888 from nestjs/renovate/nestjs-cache-manager-2.x
fix(deps): update dependency @nestjs/cache-manager to v2.0.1
2023-06-23 12:17:27 +02:00
renovate[bot]
61b3dc9134 fix(deps): update dependency @nestjs/cache-manager to v2.0.1 2023-06-23 09:12:20 +00:00
Kamil Mysliwiec
92a2d52d5e Merge pull request #11886 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.88.0
2023-06-23 11:11:07 +02:00
Kamil Mysliwiec
c98fa670cf Merge pull request #11887 from nestjs/renovate/socket.io-packages
fix(deps): update dependency socket.io to v4.7.0
2023-06-23 11:10:48 +02:00
AbdlrahmanSaberAbdo
bf9ad9c07b Merge branch 'master' into optional-validation-for-parseEnumPipe 2023-06-23 12:02:40 +03:00
renovate[bot]
8c36bdbe0f chore(deps): update dependency webpack to v5.88.0 2023-06-23 08:16:01 +00:00
Kamil Myśliwiec
dbafe8a115 sample(31-federation): regenerate package locks 2023-06-23 10:14:26 +02:00
AbdlrahmanSaberAbdo
10d5a86b6c test: update corresponding tests 2023-06-23 10:52:19 +03:00
AbdlrahmanSaberAbdo
568190a6ec refactor: Modify isOptional flag and remove conditional from constructor 2023-06-23 10:51:55 +03:00
Kamil Myśliwiec
4f05c36690 sample(31-federation): regenerate package locks 2023-06-23 09:35:01 +02:00
AbdlrahmanSaberAbdo
603b9fcc7b Merge branch 'optional-validation-for-parseEnumPipe' of github.com-AbdlrahmanSaberAbdo:AbdlrahmanSaberAbdo/nest into optional-validation-for-parseEnumPipe 2023-06-23 10:21:46 +03:00
Kamil Myśliwiec
6c5fba5e88 sample(31-federation): regenerate package locks 2023-06-23 09:13:07 +02:00
renovate[bot]
dc4eba78f8 fix(deps): update dependency socket.io to v4.7.0 2023-06-23 06:59:07 +00:00
Kamil Myśliwiec
5a860081b6 chore: refresh package-lock 2023-06-23 08:58:31 +02:00
Kamil Mysliwiec
57db16b625 Merge pull request #11885 from nestjs/dependabot/npm_and_yarn/graphql-16.7.1
chore(deps-dev): bump graphql from 16.7.0 to 16.7.1
2023-06-23 08:57:34 +02:00
Kamil Mysliwiec
25e98fb5aa Merge pull request #11873 from nestjs/renovate/nestjs-swagger-7.x
fix(deps): update dependency @nestjs/swagger to v7.0.4
2023-06-23 08:57:15 +02:00
Kamil Mysliwiec
bcaa6c8c86 Merge pull request #11874 from nestjs/renovate/mongoose-7.x
fix(deps): update dependency mongoose to v7.3.1
2023-06-23 08:57:08 +02:00
renovate[bot]
7227286d49 fix(deps): update dependency mongoose to v7.3.1 2023-06-23 06:54:42 +00:00
renovate[bot]
3fe40aff38 fix(deps): update dependency @nestjs/swagger to v7.0.4 2023-06-23 06:54:17 +00:00
dependabot[bot]
1a9bfe3bdb chore(deps-dev): bump graphql from 16.7.0 to 16.7.1
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.7.0 to 16.7.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.7.0...v16.7.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-23 06:53:29 +00:00
Kamil Mysliwiec
f2b7409ce5 Merge pull request #11882 from nestjs/dependabot/npm_and_yarn/socket.io-4.7.0
chore(deps): bump socket.io from 4.6.2 to 4.7.0
2023-06-23 08:52:53 +02:00
Kamil Mysliwiec
a094e3f3ec Merge pull request #11883 from nestjs/dependabot/npm_and_yarn/socket.io-client-4.7.0
chore(deps-dev): bump socket.io-client from 4.6.2 to 4.7.0
2023-06-23 08:52:47 +02:00
Kamil Mysliwiec
856175dc67 Merge pull request #11884 from nestjs/dependabot/npm_and_yarn/nats-2.15.1
chore(deps-dev): bump nats from 2.15.0 to 2.15.1
2023-06-23 08:52:40 +02:00
Kamil Mysliwiec
1a2d06111d Merge pull request #11875 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v10.0.3
2023-06-23 08:52:28 +02:00
renovate[bot]
9ef230fd60 fix(deps): update nest monorepo to v10.0.3 2023-06-23 06:49:51 +00:00
Kamil Mysliwiec
0859ac0c82 Merge pull request #11880 from Tony133/sample/update-graphql-federation
sample(31-graphql-federation-code-first): update package.json
2023-06-23 08:43:21 +02:00
dependabot[bot]
eb668167d2 chore(deps-dev): bump nats from 2.15.0 to 2.15.1
Bumps [nats](https://github.com/nats-io/nats.js) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/nats-io/nats.js/releases)
- [Commits](https://github.com/nats-io/nats.js/compare/v2.15.0...v2.15.1)

---
updated-dependencies:
- dependency-name: nats
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-23 00:58:08 +00:00
dependabot[bot]
a0baaaddb5 chore(deps-dev): bump socket.io-client from 4.6.2 to 4.7.0
Bumps [socket.io-client](https://github.com/socketio/socket.io-client) from 4.6.2 to 4.7.0.
- [Release notes](https://github.com/socketio/socket.io-client/releases)
- [Changelog](https://github.com/socketio/socket.io-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-client/compare/4.6.2...4.7.0)

---
updated-dependencies:
- dependency-name: socket.io-client
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-23 00:57:42 +00:00
dependabot[bot]
ab5c83fa8c chore(deps): bump socket.io from 4.6.2 to 4.7.0
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.6.2 to 4.7.0.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.6.2...4.7.0)

---
updated-dependencies:
- dependency-name: socket.io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-23 00:57:17 +00:00
Antonio Tripodi
c7facbf4ef Merge branch 'master' into sample/update-graphql-federation 2023-06-23 00:12:08 +02:00
Tony133
0d9304732f fix(): update dependencies 2023-06-22 23:48:16 +02:00
Tony133
37f18510eb fix(): downgraded @apollo/subgraph and @apollo/gateway to version 2.2.3 2023-06-22 23:06:13 +02:00
AbdlrahmanSaberAbdo
ba749b5937 Merge branch 'master' into optional-validation-for-parseEnumPipe 2023-06-22 22:40:48 +03:00
AbdlrahmanSaberAbdo
6beeedd0f5 test: Add two more test cases for ParseEnumPipe 2023-06-22 22:32:56 +03:00
AbdlrahmanSaberAbdo
7ca89dbc7b feat: add isOptional to ParseEnumPipe 2023-06-22 22:12:41 +03:00
Kamil Mysliwiec
5a79cb3958 Merge pull request #11857 from nestjs/renovate/grpc-grpc-js-1.x
fix(deps): update dependency @grpc/grpc-js to v1.8.16
2023-06-22 12:46:27 +02:00
Kamil Mysliwiec
65342d24fb Merge pull request #11861 from nestjs/renovate/nestjs-graphql-12.x
fix(deps): update dependency @nestjs/graphql to v12.0.3
2023-06-22 12:46:15 +02:00
Kamil Mysliwiec
81a06e117f Merge pull request #11814 from nestjs/renovate/nestjs-apollo-12.x
fix(deps): update dependency @nestjs/apollo to v12.0.3
2023-06-22 12:46:02 +02:00
renovate[bot]
c7a32a201a fix(deps): update dependency @nestjs/graphql to v12.0.3 2023-06-22 09:34:57 +00:00
renovate[bot]
26eb7b8225 fix(deps): update dependency @nestjs/apollo to v12.0.3 2023-06-22 09:32:58 +00:00
renovate[bot]
205f4191f3 fix(deps): update dependency @grpc/grpc-js to v1.8.16 2023-06-22 09:31:25 +00:00
Kamil Mysliwiec
4892623c66 Merge pull request #11760 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v5.60.0
2023-06-22 09:32:53 +02:00
Kamil Mysliwiec
aae3ab0c2f Merge pull request #11871 from nestjs/dependabot/npm_and_yarn/nestjs/apollo-12.0.3
chore(deps-dev): bump @nestjs/apollo from 12.0.1 to 12.0.3
2023-06-22 09:32:40 +02:00
dependabot[bot]
e8cfec0e74 chore(deps-dev): bump @nestjs/apollo from 12.0.1 to 12.0.3
Bumps [@nestjs/apollo](https://github.com/nestjs/graphql) from 12.0.1 to 12.0.3.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v12.0.1...v12.0.3)

---
updated-dependencies:
- dependency-name: "@nestjs/apollo"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-22 07:32:23 +00:00
Kamil Mysliwiec
a223190433 Merge pull request #11867 from nestjs/dependabot/npm_and_yarn/graphql-16.7.0
chore(deps-dev): bump graphql from 16.6.0 to 16.7.0
2023-06-22 09:32:05 +02:00
Kamil Mysliwiec
0a4fd940fe Merge pull request #11869 from nestjs/dependabot/npm_and_yarn/nestjs/graphql-12.0.2
chore(deps-dev): bump @nestjs/graphql from 12.0.1 to 12.0.2
2023-06-22 09:31:39 +02:00
Kamil Mysliwiec
e0d07714c2 Merge pull request #11870 from nestjs/dependabot/npm_and_yarn/mongoose-7.3.1
chore(deps-dev): bump mongoose from 7.3.0 to 7.3.1
2023-06-22 09:31:30 +02:00
dependabot[bot]
d1d6f502a0 chore(deps-dev): bump mongoose from 7.3.0 to 7.3.1
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.3.0 to 7.3.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.3.0...7.3.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-22 00:59:34 +00:00
dependabot[bot]
9ace4af757 chore(deps-dev): bump @nestjs/graphql from 12.0.1 to 12.0.2
Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 12.0.1 to 12.0.2.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v12.0.1...v12.0.2)

---
updated-dependencies:
- dependency-name: "@nestjs/graphql"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-22 00:58:49 +00:00
dependabot[bot]
2a40ba9ed4 chore(deps-dev): bump graphql from 16.6.0 to 16.7.0
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.7.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.7.0)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-22 00:57:03 +00:00
renovate[bot]
ebe244c6a6 chore(deps): update typescript-eslint monorepo to v5.60.0 2023-06-21 13:49:09 +00:00
Kamil Mysliwiec
5458f5b91e Merge pull request #11858 from nestjs/renovate/typeorm-0.x
fix(deps): update dependency typeorm to v0.3.17
2023-06-21 15:38:23 +02:00
Kamil Mysliwiec
33c75fdef7 Merge pull request #11859 from nestjs/renovate/nestjs-swagger-7.x
fix(deps): update dependency @nestjs/swagger to v7.0.3
2023-06-21 15:38:16 +02:00
Kamil Mysliwiec
567a25e3c1 Merge pull request #11855 from nestjs/dependabot/npm_and_yarn/fastify/multipart-7.7.0
chore(deps-dev): bump @fastify/multipart from 7.6.1 to 7.7.0
2023-06-21 11:23:10 +02:00
Kamil Myśliwiec
d97abd7245 chore(@nestjs) publish v10.0.3 release 2023-06-21 11:22:48 +02:00
renovate[bot]
fab514a21f fix(deps): update dependency typeorm to v0.3.17 2023-06-21 09:18:06 +00:00
renovate[bot]
fe00f2ad65 fix(deps): update dependency @nestjs/swagger to v7.0.3 2023-06-21 09:17:32 +00:00
Kamil Myśliwiec
471d38415f chore: resolve conflicts 2023-06-21 11:15:51 +02:00
Kamil Myśliwiec
e1c690e5ae fix(core): middleware builder should match routes by method 2023-06-21 11:15:24 +02:00
dependabot[bot]
bb55eb55bc chore(deps-dev): bump @fastify/multipart from 7.6.1 to 7.7.0
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 7.6.1 to 7.7.0.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v7.6.1...v7.7.0)

---
updated-dependencies:
- dependency-name: "@fastify/multipart"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 07:34:58 +00:00
Kamil Mysliwiec
74943d9d00 Merge pull request #11841 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.4.0
2023-06-21 09:34:25 +02:00
Kamil Mysliwiec
40fc1b89dd Merge pull request #11846 from nestjs/dependabot/npm_and_yarn/typescript-eslint/parser-5.60.0
chore(deps-dev): bump @typescript-eslint/parser from 5.59.11 to 5.60.0
2023-06-21 09:34:19 +02:00
Kamil Mysliwiec
b9cb6c8baf Merge pull request #11852 from nestjs/dependabot/npm_and_yarn/typeorm-0.3.17
chore(deps-dev): bump typeorm from 0.3.16 to 0.3.17
2023-06-21 09:34:12 +02:00
Kamil Mysliwiec
ffa6382c6c Merge pull request #11853 from nestjs/dependabot/npm_and_yarn/sinon-15.2.0
chore(deps-dev): bump sinon from 15.1.2 to 15.2.0
2023-06-21 09:34:03 +02:00
Kamil Mysliwiec
7e6620693b Merge pull request #11854 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.8.16
chore(deps-dev): bump @grpc/grpc-js from 1.8.15 to 1.8.16
2023-06-21 09:33:39 +02:00
dependabot[bot]
6a75c64496 chore(deps-dev): bump @grpc/grpc-js from 1.8.15 to 1.8.16
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.15 to 1.8.16.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.15...@grpc/grpc-js@1.8.16)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 00:58:33 +00:00
dependabot[bot]
cb91375238 chore(deps-dev): bump sinon from 15.1.2 to 15.2.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 15.1.2 to 15.2.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v15.1.2...v15.2.0)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 00:57:55 +00:00
dependabot[bot]
48ee550ffd chore(deps-dev): bump typeorm from 0.3.16 to 0.3.17
Bumps [typeorm](https://github.com/typeorm/typeorm) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/0.3.17/CHANGELOG.md)
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.16...0.3.17)

---
updated-dependencies:
- dependency-name: typeorm
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 00:56:57 +00:00
renovate[bot]
a4984c7bf8 fix(deps): update dependency mysql2 to v3.4.0 2023-06-20 07:15:12 +00:00
dependabot[bot]
98758a43bc chore(deps-dev): bump @typescript-eslint/parser from 5.59.11 to 5.60.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.11 to 5.60.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.60.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-20 07:07:39 +00:00
Kamil Mysliwiec
71bb70ce07 Merge pull request #11847 from nestjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.60.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.11 to 5.60.0
2023-06-20 09:05:16 +02:00
Kamil Mysliwiec
c611f1f0ec Merge pull request #11845 from nestjs/dependabot/npm_and_yarn/mysql2-3.4.0
chore(deps-dev): bump mysql2 from 3.3.5 to 3.4.0
2023-06-20 09:05:09 +02:00
Kamil Mysliwiec
fccc7f8d48 Merge pull request #11843 from nestjs/renovate/nestjs-swagger-7.x
fix(deps): update dependency @nestjs/swagger to v7.0.2
2023-06-20 09:04:50 +02:00
dependabot[bot]
b03e52cadc chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.11 to 5.60.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.60.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-20 00:59:39 +00:00
dependabot[bot]
f74c732e0a chore(deps-dev): bump mysql2 from 3.3.5 to 3.4.0
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.3.5 to 3.4.0.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.3.5...v3.4.0)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-20 00:57:28 +00:00
renovate[bot]
15cfe2a0f1 fix(deps): update dependency @nestjs/swagger to v7.0.2 2023-06-19 16:33:39 +00:00
Kamil Mysliwiec
52fe590d73 Merge pull request #11840 from nestjs/renovate/nestjs-cli-10.x
chore(deps): update dependency @nestjs/cli to v10.0.3
2023-06-19 13:28:23 +02:00
renovate[bot]
5928ed705b chore(deps): update dependency @nestjs/cli to v10.0.3 2023-06-19 09:51:49 +00:00
Kamil Mysliwiec
8fbd7cb9bd Merge pull request #11838 from nestjs/renovate/dotenv-16.x
fix(deps): update dependency dotenv to v16.3.1
2023-06-19 11:45:18 +02:00
renovate[bot]
8fa1cded0d fix(deps): update dependency dotenv to v16.3.1 2023-06-19 09:15:10 +00:00
Kamil Mysliwiec
806d9636dc Merge pull request #11839 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v10.0.2
2023-06-19 11:13:19 +02:00
renovate[bot]
ec6d70fffc fix(deps): update nest monorepo to v10.0.2 2023-06-19 09:11:11 +00:00
Kamil Myśliwiec
78285da6ce chore(@nestjs) publish v10.0.2 release 2023-06-19 10:48:42 +02:00
Kamil Myśliwiec
7c0236afa7 test: regenerate serialized graph 2023-06-19 10:37:01 +02:00
Kamil Myśliwiec
8a86b5eef2 Merge branch 'micalevisk-fix/issue-11833' 2023-06-19 09:59:44 +02:00
Kamil Myśliwiec
6fc604b753 style(core): minor style change 2023-06-19 09:58:46 +02:00
Kamil Myśliwiec
a562231122 Merge branch 'fix/issue-11833' of https://github.com/micalevisk/nest into micalevisk-fix/issue-11833 2023-06-19 09:52:01 +02:00
Kamil Myśliwiec
a350468780 test: update mongoose test options 2023-06-19 09:26:58 +02:00
Kamil Mysliwiec
0a7fcb17de Merge pull request #11834 from nestjs/dependabot/npm_and_yarn/nats-2.15.0
chore(deps-dev): bump nats from 2.14.0 to 2.15.0
2023-06-19 08:39:41 +02:00
Kamil Mysliwiec
816f667163 Merge pull request #11805 from nestjs/dependabot/npm_and_yarn/nestjs/mongoose-10.0.0
chore(deps-dev): bump @nestjs/mongoose from 9.2.2 to 10.0.0
2023-06-19 08:39:35 +02:00
dependabot[bot]
e7352673cb chore(deps-dev): bump @nestjs/mongoose from 9.2.2 to 10.0.0
Bumps [@nestjs/mongoose](https://github.com/nestjs/mongoose) from 9.2.2 to 10.0.0.
- [Release notes](https://github.com/nestjs/mongoose/releases)
- [Changelog](https://github.com/nestjs/mongoose/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/mongoose/compare/9.2.2...10.0.0)

---
updated-dependencies:
- dependency-name: "@nestjs/mongoose"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 06:39:26 +00:00
Kamil Mysliwiec
5ad786905a Merge pull request #11827 from nestjs/renovate/nestjs-schedule-3.x
fix(deps): update dependency @nestjs/schedule to v3.0.1
2023-06-19 08:39:09 +02:00
Kamil Mysliwiec
86cba82fed Merge pull request #11828 from nestjs/renovate/nestjs-swagger-7.x
fix(deps): update dependency @nestjs/swagger to v7.0.1
2023-06-19 08:39:01 +02:00
Kamil Mysliwiec
a7b404ac99 Merge pull request #11829 from nestjs/renovate/sequelize-6.x
fix(deps): update dependency sequelize to v6.32.1
2023-06-19 08:38:55 +02:00
Kamil Mysliwiec
8eb3cfab86 Merge pull request #11835 from nestjs/dependabot/npm_and_yarn/eslint-8.43.0
chore(deps-dev): bump eslint from 8.42.0 to 8.43.0
2023-06-19 08:38:48 +02:00
Kamil Mysliwiec
907b859164 Merge pull request #11836 from nestjs/dependabot/npm_and_yarn/nestjs/apollo-12.0.1
chore(deps-dev): bump @nestjs/apollo from 11.0.6 to 12.0.1
2023-06-19 08:38:38 +02:00
renovate[bot]
18ed170b69 fix(deps): update dependency @nestjs/swagger to v7.0.1 2023-06-19 06:38:24 +00:00
renovate[bot]
9e27df90ed fix(deps): update dependency @nestjs/schedule to v3.0.1 2023-06-19 06:38:03 +00:00
dependabot[bot]
ebc538eb34 chore(deps-dev): bump @nestjs/apollo from 11.0.6 to 12.0.1
Bumps [@nestjs/apollo](https://github.com/nestjs/graphql) from 11.0.6 to 12.0.1.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/commits)

---
updated-dependencies:
- dependency-name: "@nestjs/apollo"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 06:37:50 +00:00
dependabot[bot]
7d38783b80 chore(deps-dev): bump eslint from 8.42.0 to 8.43.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.42.0 to 8.43.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.42.0...v8.43.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 06:37:33 +00:00
Kamil Mysliwiec
5dae905940 Merge pull request #11769 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v10.0.1
2023-06-19 08:36:28 +02:00
Micael Levi L. Cavalcante
6ec99f8049 refactor(core): minor semantics improvement for isOverlapped
Replace `regexp#test` with `string#match` for readability sake
2023-06-18 22:51:49 -04:00
Micael Levi L. Cavalcante
efe788a6ae fix(core): when selecting routes to apply a nestjs middlware 2023-06-18 22:49:00 -04:00
dependabot[bot]
22aeba63f0 chore(deps-dev): bump nats from 2.14.0 to 2.15.0
Bumps [nats](https://github.com/nats-io/nats.js) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/nats-io/nats.js/releases)
- [Commits](https://github.com/nats-io/nats.js/compare/v2.14.0...v2.15.0)

---
updated-dependencies:
- dependency-name: nats
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 00:58:07 +00:00
renovate[bot]
1f788b062b fix(deps): update nest monorepo to v10.0.1 2023-06-17 13:42:50 +00:00
renovate[bot]
2d83447e3b fix(deps): update dependency sequelize to v6.32.1 2023-06-17 13:37:29 +00:00
Kamil Myśliwiec
da27730cd4 chore(@nestjs) publish v10.0.1 release 2023-06-17 11:46:02 +02:00
Kamil Mysliwiec
f676276979 Merge pull request #11826 from regevbr/subscribe
fix(microservices): migrate from deprecated kafka subscribe usage
2023-06-17 11:39:08 +02:00
regevbr
59379a4d44 fix(microservices): migrate from deprecated kafka subscribe usage 2023-06-17 12:30:12 +03:00
Kamil Myśliwiec
73f85c86e7 test: update integration tests 2023-06-17 11:28:49 +02:00
Kamil Myśliwiec
cb3d827350 chore: regenerate package lock 2023-06-17 11:18:00 +02:00
Kamil Mysliwiec
0aa2692144 Merge pull request #11808 from nestjs/dependabot/npm_and_yarn/nestjs/typeorm-10.0.0
chore(deps-dev): bump @nestjs/typeorm from 9.0.1 to 10.0.0
2023-06-17 11:15:19 +02:00
Kamil Mysliwiec
96b4ac5353 Merge pull request #11812 from nestjs/renovate/engine.io-client-6.x
chore(deps): update dependency engine.io-client to v6.5.0
2023-06-17 11:15:14 +02:00
Kamil Mysliwiec
16373b3926 Merge pull request #11817 from nestjs/renovate/nestjs-graphql-12.x
chore(deps): update dependency @nestjs/graphql to v12
2023-06-17 11:15:00 +02:00
Kamil Mysliwiec
a9b5f32c65 Merge pull request #11823 from nestjs/renovate/npm-@apollo/server-vulnerability
chore(deps): update dependency @apollo/server to v4.7.4 [security]
2023-06-17 11:14:47 +02:00
Kamil Mysliwiec
76bbeeb31a Merge pull request #11824 from nestjs/renovate/nestjs-typeorm-10.x
chore(deps): update dependency @nestjs/typeorm to v10
2023-06-17 11:14:38 +02:00
renovate[bot]
af2ade5c01 chore(deps): update dependency @nestjs/graphql to v12 2023-06-17 09:13:56 +00:00
renovate[bot]
9aa6853c7c chore(deps): update dependency engine.io-client to v6.5.0 2023-06-17 09:12:53 +00:00
Kamil Mysliwiec
3bbe0858b2 Merge pull request #11813 from nestjs/renovate/dotenv-16.x
fix(deps): update dependency dotenv to v16.3.0
2023-06-17 11:12:40 +02:00
renovate[bot]
b8464b3e8b chore(deps): update dependency @apollo/server to v4.7.4 [security] 2023-06-17 09:12:24 +00:00
Kamil Myśliwiec
f831473dbb test: remove .only calls 2023-06-17 11:12:19 +02:00
Kamil Mysliwiec
7db58ec2aa Merge pull request #11822 from regevbr/file
fix(common): type errors in file validator implementations
2023-06-17 11:11:57 +02:00
Kamil Mysliwiec
ceefebfb4e Merge pull request #11816 from regevbr/kafka
fix: kafka subscribe bad type - v10 regression
2023-06-17 11:10:47 +02:00
renovate[bot]
0e6c73baa9 chore(deps): update dependency @nestjs/typeorm to v10 2023-06-16 21:22:09 +00:00
regevbr
bfac684b69 fix(common): type errors in file validator implementations 2023-06-16 23:03:00 +03:00
regevbr
703e791ed3 fix: kafka subscribe bad type 2023-06-16 21:59:20 +03:00
renovate[bot]
42fbdcef53 fix(deps): update dependency dotenv to v16.3.0 2023-06-16 17:20:37 +00:00
dependabot[bot]
5f0e128a5c chore(deps-dev): bump @nestjs/typeorm from 9.0.1 to 10.0.0
Bumps [@nestjs/typeorm](https://github.com/nestjs/typeorm) from 9.0.1 to 10.0.0.
- [Release notes](https://github.com/nestjs/typeorm/releases)
- [Changelog](https://github.com/nestjs/typeorm/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/typeorm/compare/9.0.1...10.0.0)

---
updated-dependencies:
- dependency-name: "@nestjs/typeorm"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-16 12:48:00 +00:00
Kamil Myśliwiec
8399c68b20 sample: upgrade deps 2023-06-16 14:45:08 +02:00
Kamil Mysliwiec
ec1a08d300 Merge pull request #11797 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.87.0
2023-06-15 13:03:51 +02:00
renovate[bot]
d9da189144 chore(deps): update dependency webpack to v5.87.0 2023-06-15 10:14:33 +00:00
Kamil Mysliwiec
1ca18f517e Merge pull request #11796 from nestjs/renovate/cache-manager-5.x-lockfile
fix(deps): update dependency cache-manager to v5.2.3
2023-06-15 12:10:52 +02:00
Kamil Myśliwiec
d0850d2062 chore(@nestjs) publish v10.0.0 release 2023-06-15 12:07:14 +02:00
Kamil Myśliwiec
a226872914 chore: update peer deps, package.json 2023-06-15 12:00:46 +02:00
renovate[bot]
77faa57fe6 fix(deps): update dependency cache-manager to v5.2.3 2023-06-15 09:53:05 +00:00
Kamil Mysliwiec
ba16a8bb43 Merge pull request #11793 from nestjs/dependabot/npm_and_yarn/mongoose-7.3.0
chore(deps-dev): bump mongoose from 7.2.4 to 7.3.0
2023-06-15 11:00:15 +02:00
Kamil Mysliwiec
2b58a29ac9 Merge pull request #11792 from nestjs/dependabot/npm_and_yarn/cache-manager-5.2.3
chore(deps-dev): bump cache-manager from 5.2.2 to 5.2.3
2023-06-15 11:00:09 +02:00
Kamil Mysliwiec
430787fd1d Merge pull request #11794 from nestjs/dependabot/npm_and_yarn/ts-morph-19.0.0
chore(deps-dev): bump ts-morph from 18.0.0 to 19.0.0
2023-06-15 11:00:01 +02:00
Kamil Mysliwiec
47aee9404a Merge pull request #11790 from nestjs/renovate/cimg-node-19.x
chore(deps): update node.js to v19.9
2023-06-15 10:59:51 +02:00
dependabot[bot]
4f9618fd79 chore(deps-dev): bump ts-morph from 18.0.0 to 19.0.0
Bumps [ts-morph](https://github.com/dsherret/ts-morph) from 18.0.0 to 19.0.0.
- [Release notes](https://github.com/dsherret/ts-morph/releases)
- [Commits](https://github.com/dsherret/ts-morph/compare/18.0.0...19.0.0)

---
updated-dependencies:
- dependency-name: ts-morph
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 00:57:56 +00:00
dependabot[bot]
ffc9992b18 chore(deps-dev): bump mongoose from 7.2.4 to 7.3.0
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.2.4 to 7.3.0.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.2.4...7.3.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 00:57:34 +00:00
dependabot[bot]
a27062bab0 chore(deps-dev): bump cache-manager from 5.2.2 to 5.2.3
Bumps [cache-manager](https://github.com/node-cache-manager/node-cache-manager) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/node-cache-manager/node-cache-manager/releases)
- [Changelog](https://github.com/node-cache-manager/node-cache-manager/blob/master/CHANGELOG.md)
- [Commits](https://github.com/node-cache-manager/node-cache-manager/compare/5.2.2...5.2.3)

---
updated-dependencies:
- dependency-name: cache-manager
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 00:56:51 +00:00
renovate[bot]
b3c6aae6b1 chore(deps): update node.js to v19.9 2023-06-14 13:50:31 +00:00
Kamil Mysliwiec
60fa1fc03e Merge pull request #11787 from nestjs/renovate/cimg-node-18.x
chore(deps): update node.js to v18.16
2023-06-14 15:46:40 +02:00
Kamil Mysliwiec
f91507a5b7 Merge pull request #11788 from nestjs/renovate/major-jest-monorepo
chore(deps): update jest monorepo to v29 (major)
2023-06-14 15:46:30 +02:00
renovate[bot]
483abb5e03 chore(deps): update jest monorepo to v29 2023-06-14 12:47:05 +00:00
renovate[bot]
118052e4cc chore(deps): update node.js to v18.16 2023-06-14 12:46:09 +00:00
Kamil Mysliwiec
b601de078c Merge pull request #11786 from nestjs/renovate/cimg-node-16.x
chore(deps): update node.js to v16.20
2023-06-14 12:10:28 +02:00
Kamil Mysliwiec
c01ea3f808 Merge pull request #11785 from nestjs/fix/middleware-for-versioned-ctrls
fix(core): apply middleware to versioned controllers (ctrl-level)
2023-06-14 12:09:47 +02:00
renovate[bot]
4732f569d3 chore(deps): update node.js to v16.20 2023-06-14 09:40:42 +00:00
Kamil Mysliwiec
74251a8936 Merge pull request #11784 from nestjs/renovate/jest-monorepo
chore(deps): update dependency jest to v28.1.3
2023-06-14 11:37:05 +02:00
Kamil Myśliwiec
7aa710724d fix(core): apply middleware to versioned controllers (ctrl-level) 2023-06-14 11:34:56 +02:00
renovate[bot]
1e8feb0c6a chore(deps): update dependency jest to v28.1.3 2023-06-14 09:08:08 +00:00
Kamil Myśliwiec
d6507dce5d sample(14-mongoose): update cats service test 2023-06-14 10:01:24 +02:00
Kamil Myśliwiec
ff84f63030 sample(06-mongoose): update cats service test 2023-06-14 09:46:46 +02:00
Kamil Mysliwiec
513cc14f05 Merge pull request #11783 from nestjs/renovate/major-graphql-tools-monorepo
fix(deps): update graphql-tools monorepo (major)
2023-06-14 09:41:00 +02:00
Kamil Mysliwiec
f9f2331340 Merge pull request #11782 from nestjs/renovate/ts-morph-18.x
fix(deps): update dependency ts-morph to v18
2023-06-14 09:40:48 +02:00
Kamil Mysliwiec
93c79a09fa Merge pull request #11757 from nestjs/renovate/node-18.x
chore(deps): update dependency @types/node to v18.16.18
2023-06-14 09:40:39 +02:00
renovate[bot]
a722c15f09 fix(deps): update graphql-tools monorepo 2023-06-14 07:38:33 +00:00
renovate[bot]
b25362654b fix(deps): update dependency ts-morph to v18 2023-06-14 07:37:20 +00:00
renovate[bot]
2e5625c54f chore(deps): update dependency @types/node to v18.16.18 2023-06-14 07:35:13 +00:00
Kamil Mysliwiec
5fa5e11c45 Merge pull request #11780 from nestjs/renovate/mongoose-7.x
fix(deps): update dependency mongoose to v7
2023-06-14 09:28:45 +02:00
renovate[bot]
9d87b5dc7b fix(deps): update dependency mongoose to v7 2023-06-14 07:10:01 +00:00
Kamil Mysliwiec
251bc1c694 Merge pull request #11775 from nestjs/renovate/nestjs-mercurius-11.x
fix(deps): update dependency @nestjs/mercurius to v11
2023-06-14 09:02:30 +02:00
Kamil Mysliwiec
b36738b13f Merge pull request #11761 from nestjs/renovate/rxjs-7.x
fix(deps): update dependency rxjs to v7.8.1
2023-06-14 09:02:18 +02:00
renovate[bot]
c4fd37044a fix(deps): update dependency rxjs to v7.8.1 2023-06-14 07:00:10 +00:00
Kamil Mysliwiec
b43740da22 Merge pull request #11779 from nestjs/renovate/mongodb-5.x
fix(deps): update dependency mongodb to v5
2023-06-14 08:49:42 +02:00
Kamil Mysliwiec
1c0e67419b Merge pull request #11777 from nestjs/renovate/cache-manager-5.x
fix(deps): update dependency cache-manager to v5
2023-06-14 08:49:36 +02:00
Kamil Mysliwiec
e4a338b992 Merge pull request #11776 from nestjs/renovate/socket.io-redis-adapter-8.x
fix(deps): update dependency @socket.io/redis-adapter to v8
2023-06-14 08:49:14 +02:00
Kamil Mysliwiec
9aeacbe2ab Merge pull request #11772 from nestjs/renovate/webpack-cli-5.x
chore(deps): update dependency webpack-cli to v5
2023-06-14 08:49:08 +02:00
Kamil Mysliwiec
6dac3357bd Merge pull request #11768 from nestjs/dependabot/npm_and_yarn/fastify/multipart-7.6.1
chore(deps-dev): bump @fastify/multipart from 7.6.0 to 7.6.1
2023-06-14 08:49:01 +02:00
Kamil Mysliwiec
428ed39512 Merge pull request #11764 from nestjs/renovate/prisma-monorepo
fix(deps): update prisma monorepo to v4.15.0
2023-06-14 08:48:54 +02:00
Kamil Mysliwiec
39f1aad3a9 Merge pull request #11778 from nestjs/renovate/mercurius-13.x
fix(deps): update dependency mercurius to v13
2023-06-14 08:48:47 +02:00
Kamil Mysliwiec
ab9e97d84e Merge branch 'master' into renovate/nestjs-mercurius-11.x 2023-06-14 08:48:38 +02:00
Kamil Mysliwiec
d8df5e9fd1 Merge pull request #11774 from nestjs/renovate/nestjs-graphql-11.x
fix(deps): update dependency @nestjs/graphql to v11.0.6
2023-06-14 08:48:05 +02:00
Kamil Mysliwiec
da3263e70d Merge pull request #11773 from nestjs/renovate/major-jest-monorepo
chore(deps): update jest monorepo to v29 (major)
2023-06-14 08:47:47 +02:00
Kamil Mysliwiec
d8a0e80429 Merge pull request #11771 from nestjs/renovate/typescript-5.x
chore(deps): update dependency typescript to v5
2023-06-14 08:47:20 +02:00
renovate[bot]
a4db7b3e35 fix(deps): update dependency mongodb to v5 2023-06-14 01:26:18 +00:00
renovate[bot]
16ffcdb483 fix(deps): update dependency mercurius to v13 2023-06-14 01:25:57 +00:00
renovate[bot]
b3ea892dce fix(deps): update dependency cache-manager to v5 2023-06-14 01:25:39 +00:00
renovate[bot]
dfb0e7ef7d fix(deps): update dependency @socket.io/redis-adapter to v8 2023-06-14 01:25:20 +00:00
renovate[bot]
a80211a0f8 fix(deps): update dependency @nestjs/mercurius to v11 2023-06-14 01:24:57 +00:00
renovate[bot]
f6a48b5b44 fix(deps): update dependency @nestjs/graphql to v11.0.6 2023-06-14 01:24:33 +00:00
renovate[bot]
577ca3ff6e chore(deps): update jest monorepo to v29 2023-06-14 01:22:51 +00:00
renovate[bot]
43ab0781c8 chore(deps): update dependency webpack-cli to v5 2023-06-14 01:18:28 +00:00
renovate[bot]
ae279c80bc chore(deps): update dependency typescript to v5 2023-06-14 01:17:57 +00:00
renovate[bot]
0a70419c94 fix(deps): update prisma monorepo to v4.15.0 2023-06-14 01:12:07 +00:00
dependabot[bot]
30f35d0bf8 chore(deps-dev): bump @fastify/multipart from 7.6.0 to 7.6.1
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 7.6.0 to 7.6.1.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v7.6.0...v7.6.1)

---
updated-dependencies:
- dependency-name: "@fastify/multipart"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 00:59:36 +00:00
Kamil Mysliwiec
3da64132f4 Merge pull request #11740 from nestjs/renovate/ts-loader-9.x
chore(deps): update dependency ts-loader to v9.4.3
2023-06-13 15:38:29 +02:00
Kamil Mysliwiec
01959e3902 Merge branch 'master' into renovate/ts-loader-9.x 2023-06-13 15:38:20 +02:00
Kamil Mysliwiec
36486d80af Merge pull request #11762 from nestjs/renovate/sequelize-6.x
fix(deps): update dependency sequelize to v6.32.0
2023-06-13 15:37:20 +02:00
Kamil Mysliwiec
32600c06de Merge pull request #11763 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo
2023-06-13 15:37:13 +02:00
Kamil Mysliwiec
df3a6aa2a1 Merge branch 'master' into renovate/nest-monorepo 2023-06-13 15:37:06 +02:00
Kamil Myśliwiec
47e4c742eb chore: upgrade eslint 2023-06-13 15:34:41 +02:00
renovate[bot]
87a7de3643 fix(deps): update nest monorepo 2023-06-13 13:13:40 +00:00
renovate[bot]
ffa4478050 fix(deps): update dependency sequelize to v6.32.0 2023-06-13 13:07:43 +00:00
renovate[bot]
52b8d6ba13 chore(deps): update dependency ts-loader to v9.4.3 2023-06-13 12:59:59 +00:00
Kamil Myśliwiec
7abf4c86af chore: sync package lock 2023-06-13 14:54:27 +02:00
Kamil Mysliwiec
da07ffe9d3 Merge pull request #11746 from nestjs/dependabot/npm_and_yarn/eslint-8.42.0
chore(deps-dev): bump eslint from 7.32.0 to 8.42.0
2023-06-13 14:51:09 +02:00
Kamil Mysliwiec
896cc16b14 Merge pull request #11747 from nestjs/dependabot/npm_and_yarn/mongoose-7.2.4
chore(deps-dev): bump mongoose from 7.2.2 to 7.2.4
2023-06-13 14:51:03 +02:00
Kamil Mysliwiec
61ba31f116 Merge pull request #11758 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.3.5
2023-06-13 14:50:37 +02:00
Kamil Mysliwiec
e366b0c57b Merge pull request #11759 from nestjs/renovate/jest-monorepo
chore(deps): update jest monorepo
2023-06-13 14:50:27 +02:00
renovate[bot]
d996a90067 chore(deps): update jest monorepo 2023-06-13 12:49:15 +00:00
Kamil Myśliwiec
313e1fba12 ci: enable coveralls verbose mode 2023-06-13 14:48:52 +02:00
dependabot[bot]
8a3a5962ad chore(deps-dev): bump eslint from 7.32.0 to 8.42.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.42.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.42.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 12:48:11 +00:00
Kamil Mysliwiec
8f9a960cd5 Merge pull request #11519 from nestjs/renovate/jest-monorepo
chore(deps): update jest monorepo
2023-06-13 14:47:06 +02:00
renovate[bot]
5d9c3fe10d fix(deps): update dependency mysql2 to v3.3.5 2023-06-13 07:17:28 +00:00
renovate[bot]
9cb1824517 chore(deps): update jest monorepo 2023-06-13 07:14:33 +00:00
dependabot[bot]
28127c381d chore(deps-dev): bump mongoose from 7.2.2 to 7.2.4
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.2.2 to 7.2.4.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.2.2...7.2.4)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 06:51:20 +00:00
Kamil Mysliwiec
884eef6a0a Merge pull request #11742 from nestjs/dependabot/npm_and_yarn/sample/07-sequelize/dottie-2.0.4
chore(deps): bump dottie from 2.0.2 to 2.0.4 in /sample/07-sequelize
2023-06-13 08:51:06 +02:00
Kamil Mysliwiec
28deb9062b Merge pull request #11743 from nestjs/dependabot/npm_and_yarn/sinon-15.1.2
chore(deps-dev): bump sinon from 15.1.0 to 15.1.2
2023-06-13 08:51:02 +02:00
Kamil Mysliwiec
8fe818f5b8 Merge pull request #11745 from nestjs/dependabot/npm_and_yarn/apollo/server-4.7.3
chore(deps-dev): bump @apollo/server from 4.7.1 to 4.7.3
2023-06-13 08:50:56 +02:00
dependabot[bot]
e59efc2942 chore(deps-dev): bump @apollo/server from 4.7.1 to 4.7.3
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 4.7.1 to 4.7.3.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/server@4.7.3/packages/server)

---
updated-dependencies:
- dependency-name: "@apollo/server"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 06:50:23 +00:00
Kamil Mysliwiec
798bf5909a Merge pull request #11756 from nestjs/dependabot/npm_and_yarn/types/node-20.3.1
chore(deps-dev): bump @types/node from 20.2.5 to 20.3.1
2023-06-13 08:50:20 +02:00
Kamil Mysliwiec
d1dc624420 Merge pull request #11755 from nestjs/renovate/mongoose-6.x
fix(deps): update dependency mongoose to v6.11.2
2023-06-13 08:50:02 +02:00
Kamil Mysliwiec
c96f1b7fd1 Merge pull request #11754 from nestjs/renovate/mongodb-3.x
fix(deps): update dependency mongodb to v3.7.3
2023-06-13 08:49:52 +02:00
dependabot[bot]
d89536774f chore(deps-dev): bump @types/node from 20.2.5 to 20.3.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.2.5 to 20.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 06:49:51 +00:00
Kamil Mysliwiec
bfa8be4442 Merge pull request #11753 from nestjs/renovate/dotenv-16.x
fix(deps): update dependency dotenv to v16.1.4
2023-06-13 08:49:47 +02:00
Kamil Mysliwiec
8c2a17f62a Merge pull request #11752 from nestjs/renovate/nestjs-event-emitter-1.x
fix(deps): update dependency @nestjs/event-emitter to v1.4.2
2023-06-13 08:49:39 +02:00
Kamil Mysliwiec
0c52e909e6 Merge pull request #11748 from nestjs/renovate/apollo-graphql-packages
fix(deps): update apollo graphql packages
2023-06-13 08:49:32 +02:00
Kamil Mysliwiec
904a585e9d Merge pull request #11750 from nestjs/renovate/ts-node-10.x
chore(deps): update dependency ts-node to v10.9.1
2023-06-13 08:49:14 +02:00
Kamil Mysliwiec
c2889022ff Merge pull request #11749 from nestjs/renovate/supertest-6.x
chore(deps): update dependency supertest to v6.3.3
2023-06-13 08:48:50 +02:00
Kamil Mysliwiec
94d16a53a5 Merge pull request #11751 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v5.59.11
2023-06-13 08:48:27 +02:00
renovate[bot]
8a98fd6993 fix(deps): update dependency mongoose to v6.11.2 2023-06-13 01:27:04 +00:00
renovate[bot]
86ed5f84ed fix(deps): update dependency mongodb to v3.7.3 2023-06-13 01:26:31 +00:00
renovate[bot]
05ade04b94 fix(deps): update dependency dotenv to v16.1.4 2023-06-13 01:26:12 +00:00
renovate[bot]
ea3c77aa8a fix(deps): update dependency @nestjs/event-emitter to v1.4.2 2023-06-13 01:25:19 +00:00
renovate[bot]
d88ac0dc74 chore(deps): update typescript-eslint monorepo to v5.59.11 2023-06-13 01:24:47 +00:00
renovate[bot]
1cb94ed490 chore(deps): update dependency ts-node to v10.9.1 2023-06-13 01:13:58 +00:00
renovate[bot]
791f64b492 chore(deps): update dependency supertest to v6.3.3 2023-06-13 01:04:54 +00:00
renovate[bot]
6971a7bf40 fix(deps): update apollo graphql packages 2023-06-13 01:00:39 +00:00
dependabot[bot]
17b02446d9 chore(deps-dev): bump sinon from 15.1.0 to 15.1.2
Bumps [sinon](https://github.com/sinonjs/sinon) from 15.1.0 to 15.1.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v15.1.0...v15.1.2)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 00:56:57 +00:00
dependabot[bot]
9a06bd151d chore(deps): bump dottie from 2.0.2 to 2.0.4 in /sample/07-sequelize
Bumps [dottie](https://github.com/mickhansen/dottie.js) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/mickhansen/dottie.js/releases)
- [Commits](https://github.com/mickhansen/dottie.js/compare/v2.0.2...v2.0.4)

---
updated-dependencies:
- dependency-name: dottie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 19:57:00 +00:00
Kamil Mysliwiec
f47291a76e Merge pull request #11741 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.86.0
2023-06-12 14:28:59 +02:00
renovate[bot]
5da3c66457 chore(deps): update dependency webpack to v5.86.0 2023-06-12 12:26:06 +00:00
Kamil Mysliwiec
ea29da1990 Merge pull request #11516 from nestjs/renovate/node-18.x
chore(deps): update dependency @types/node to v18.16.17
2023-06-12 14:22:47 +02:00
Kamil Mysliwiec
cfecc65b9d Merge pull request #11738 from nestjs/renovate/prettier-2.x
chore(deps): update dependency prettier to v2.8.8
2023-06-12 14:22:33 +02:00
renovate[bot]
0894baf057 chore(deps): update dependency prettier to v2.8.8 2023-06-12 12:18:20 +00:00
renovate[bot]
06141729c3 chore(deps): update dependency @types/node to v18.16.17 2023-06-12 12:12:42 +00:00
Kamil Mysliwiec
9f87b3dfda Merge pull request #11739 from nestjs/renovate/ts-jest-29.x
chore(deps): update dependency ts-jest to v29.1.0
2023-06-12 14:07:33 +02:00
Kamil Mysliwiec
a8793731f8 Merge pull request #11524 from nestjs/renovate/nestjs-mercurius-10.x
fix(deps): update dependency @nestjs/mercurius to v10.2.1
2023-06-12 14:07:26 +02:00
Kamil Mysliwiec
2176fdef83 Merge pull request #11736 from nestjs/renovate/eslint-config-prettier-8.x
chore(deps): update dependency eslint-config-prettier to v8.8.0
2023-06-12 14:06:40 +02:00
Kamil Myśliwiec
3bb4f4d40d chore: resolve conflicts 2023-06-12 14:06:26 +02:00
Kamil Myśliwiec
e2790c8b53 chore: refresh package lock 2023-06-12 14:04:31 +02:00
Kamil Mysliwiec
a6e278bad4 Merge pull request #11723 from nestjs/renovate/apollo-graphql-packages
fix(deps): update apollo graphql packages
2023-06-12 14:03:53 +02:00
Kamil Myśliwiec
60354c0704 chore: resolve conflicts 2023-06-12 14:03:30 +02:00
Kamil Myśliwiec
ddca778fdf sample(13): update mongo typeorm sample 2023-06-12 13:59:46 +02:00
renovate[bot]
a75e9512a2 chore(deps): update dependency ts-jest to v29.1.0 2023-06-12 11:50:39 +00:00
renovate[bot]
d28a2722f1 chore(deps): update dependency eslint-config-prettier to v8.8.0 2023-06-12 11:40:30 +00:00
Kamil Mysliwiec
86e4ea4d02 Merge pull request #11667 from mathewtrivett/support-multer-none
feat(express): add support for multer.none
2023-06-12 13:30:45 +02:00
Kamil Mysliwiec
5481a01f16 Merge pull request #10545 from jmcdo29/feat/websocket-get-pattern
feat: create method on client to get websocket pattern
2023-06-12 13:29:23 +02:00
Kamil Mysliwiec
8dcaef7d16 Merge pull request #11734 from nestjs/renovate/confluentinc-cp-zookeeper-7.x
chore(deps): update confluentinc/cp-zookeeper docker tag to v7.4.0
2023-06-12 13:27:39 +02:00
Kamil Mysliwiec
753d8d02f3 Merge pull request #11737 from nestjs/renovate/eslint-plugin-import-2.x
chore(deps): update dependency eslint-plugin-import to v2.27.5
2023-06-12 13:27:21 +02:00
renovate[bot]
5fca4e3913 fix(deps): update apollo graphql packages 2023-06-12 11:27:17 +00:00
Kamil Mysliwiec
c526a0c52c Merge pull request #11732 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.22.5
2023-06-12 13:27:14 +02:00
Kamil Mysliwiec
028b961cb6 Merge pull request #11731 from nestjs/renovate/typeorm-0.x
fix(deps): update dependency typeorm to v0.3.16
2023-06-12 13:27:07 +02:00
Kamil Mysliwiec
9c921c5b18 Merge pull request #11735 from nestjs/renovate/nestjs-cli-9.x
chore(deps): update dependency @nestjs/cli to v9.5.0
2023-06-12 13:26:24 +02:00
Kamil Mysliwiec
46a34f8e98 Merge pull request #11730 from nestjs/renovate/socket.io-packages
fix(deps): update dependency socket.io to v4.6.2
2023-06-12 13:26:07 +02:00
Kamil Mysliwiec
c233f251f0 Merge pull request #11733 from nestjs/renovate/confluentinc-cp-kafka-7.x
chore(deps): update confluentinc/cp-kafka docker tag to v7.4.0
2023-06-12 13:26:01 +02:00
Kamil Mysliwiec
f0c64bd97f Merge pull request #11724 from nestjs/renovate/fastify-static-6.x
fix(deps): update dependency @fastify/static to v6.10.2
2023-06-12 13:25:52 +02:00
Kamil Mysliwiec
3186e8b8c2 Merge pull request #11727 from nestjs/renovate/nestjs-schedule-2.x
fix(deps): update dependency @nestjs/schedule to v2.2.3
2023-06-12 13:25:45 +02:00
Kamil Mysliwiec
3b9570c085 Merge pull request #11729 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update dependency graphql-tools to v8.3.20
2023-06-12 13:25:26 +02:00
Kamil Mysliwiec
34150b02df Merge pull request #11728 from nestjs/renovate/nestjs-sequelize-9.x
fix(deps): update dependency @nestjs/sequelize to v9.0.2
2023-06-12 13:25:21 +02:00
Kamil Mysliwiec
eec3a45560 Merge pull request #11726 from nestjs/renovate/nestjs-apollo-11.x
fix(deps): update dependency @nestjs/apollo to v11.0.6
2023-06-12 13:25:14 +02:00
Kamil Mysliwiec
7ec5b18698 Merge pull request #11725 from nestjs/renovate/grpc-grpc-js-1.x
fix(deps): update dependency @grpc/grpc-js to v1.8.15
2023-06-12 13:25:11 +02:00
Kamil Mysliwiec
bacfa7b159 Merge pull request #11722 from nestjs/renovate/mysql-8.x
chore(deps): update mysql docker tag to v8.0.33
2023-06-12 13:25:03 +02:00
Kamil Mysliwiec
b96db2b6d1 Merge pull request #11721 from nestjs/renovate/redis-4.x
chore(deps): update dependency redis to v4.6.7
2023-06-12 13:24:56 +02:00
Kamil Mysliwiec
de81082e99 Merge pull request #11720 from nestjs/renovate/express-4.x
chore(deps): update dependency @types/express to v4.17.17
2023-06-12 13:24:23 +02:00
renovate[bot]
8dd21f35c9 chore(deps): update dependency eslint-plugin-import to v2.27.5 2023-06-12 11:19:04 +00:00
renovate[bot]
f250b0aa10 chore(deps): update dependency @nestjs/cli to v9.5.0 2023-06-12 11:09:59 +00:00
renovate[bot]
8ec876210e chore(deps): update confluentinc/cp-zookeeper docker tag to v7.4.0 2023-06-12 11:05:00 +00:00
renovate[bot]
1c70dd834c chore(deps): update confluentinc/cp-kafka docker tag to v7.4.0 2023-06-12 11:04:49 +00:00
renovate[bot]
395fb21f4e chore(deps): update babel monorepo to v7.22.5 2023-06-12 11:04:38 +00:00
renovate[bot]
461de6d369 fix(deps): update dependency typeorm to v0.3.16 2023-06-12 11:04:16 +00:00
renovate[bot]
5dde7f113e fix(deps): update dependency socket.io to v4.6.2 2023-06-12 11:03:47 +00:00
renovate[bot]
5565050387 fix(deps): update dependency graphql-tools to v8.3.20 2023-06-12 11:03:28 +00:00
renovate[bot]
83f6ed15fd fix(deps): update dependency @nestjs/sequelize to v9.0.2 2023-06-12 11:02:27 +00:00
renovate[bot]
ece35fef55 fix(deps): update dependency @nestjs/schedule to v2.2.3 2023-06-12 11:02:07 +00:00
renovate[bot]
06358961ba fix(deps): update dependency @nestjs/apollo to v11.0.6 2023-06-12 11:01:48 +00:00
renovate[bot]
997fbf498e fix(deps): update dependency @grpc/grpc-js to v1.8.15 2023-06-12 11:00:24 +00:00
Kamil Myśliwiec
78b44186df chore: update target 2023-06-12 13:00:20 +02:00
renovate[bot]
2382baec21 fix(deps): update dependency @fastify/static to v6.10.2 2023-06-12 11:00:05 +00:00
renovate[bot]
8afe6259eb chore(deps): update mysql docker tag to v8.0.33 2023-06-12 10:57:57 +00:00
renovate[bot]
a1b9ad44ff chore(deps): update dependency redis to v4.6.7 2023-06-12 10:57:46 +00:00
renovate[bot]
930edcf0cf chore(deps): update dependency @types/express to v4.17.17 2023-06-12 10:57:25 +00:00
Kamil Mysliwiec
fcd0ee2daf Merge pull request #11716 from nestjs/dependabot/npm_and_yarn/light-my-request-5.10.0
chore(deps): bump light-my-request from 5.9.1 to 5.10.0
2023-06-12 12:52:43 +02:00
Kamil Mysliwiec
9dec2723a4 Merge pull request #11695 from nestjs/dependabot/npm_and_yarn/typescript-5.1.3
chore(deps-dev): bump typescript from 5.0.4 to 5.1.3
2023-06-12 12:52:35 +02:00
Kamil Mysliwiec
4b4d12e5b4 Merge pull request #11719 from autofix-bot/autofix-trailing-spaces-cd25d2
Autofix: trailing-spaces
2023-06-12 12:52:21 +02:00
Kamil Mysliwiec
efa9909b63 Merge pull request #11673 from namoscato/fix-11665-error-cause-type
fix(common): loosen http exception cause type
2023-06-12 12:31:48 +02:00
Kamil Mysliwiec
404e2c7170 Merge pull request #11036 from Tony133/refactor/update-logger
refactor(common): update log level
2023-06-12 12:30:33 +02:00
Autofix
3a6016c3df Autofix: trailing-spaces 2023-06-12 10:26:57 +00:00
dependabot[bot]
9382b30c86 chore(deps-dev): bump typescript from 5.0.4 to 5.1.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.4 to 5.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.4...v5.1.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 10:26:55 +00:00
dependabot[bot]
6b45922912 chore(deps): bump light-my-request from 5.9.1 to 5.10.0
Bumps [light-my-request](https://github.com/fastify/light-my-request) from 5.9.1 to 5.10.0.
- [Release notes](https://github.com/fastify/light-my-request/releases)
- [Commits](https://github.com/fastify/light-my-request/compare/v5.9.1...v5.10.0)

---
updated-dependencies:
- dependency-name: light-my-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 10:26:39 +00:00
Kamil Mysliwiec
a41e6bc45b Merge pull request #11517 from nestjs/10.0.0
chore: laying the grounds for 10.0.0
2023-06-12 12:25:49 +02:00
Kamil Myśliwiec
98bb859e2c Merge branch 'master' into 10.0.0 2023-06-12 12:25:32 +02:00
Kamil Myśliwiec
7cdca66d37 chore: update readme 2023-06-12 12:25:21 +02:00
Kamil Myśliwiec
8f679ec862 chore(@nestjs) publish v9.4.3 release 2023-06-12 12:25:03 +02:00
Kamil Myśliwiec
1f44c1c72a chore: resolve conflicts 2023-06-12 12:24:08 +02:00
Kamil Mysliwiec
0fa730885a Merge pull request #11692 from OleksandrZaturskyi/fix/client-kafka-consumer-assignments
fix(microservices): check length of member partitions on group join
2023-06-12 12:23:20 +02:00
Kamil Mysliwiec
13819f07e7 Merge pull request #11712 from nestjs/dependabot/npm_and_yarn/conventional-changelog-4.0.0
chore(deps-dev): bump conventional-changelog from 3.1.25 to 4.0.0
2023-06-12 12:20:11 +02:00
Kamil Mysliwiec
f925fe5b63 Merge pull request #11718 from nestjs/fix/fastify-middleware-execution
fix(fastify): validate middleware paths
2023-06-12 12:20:00 +02:00
Kamil Myśliwiec
a412dccfbe fix(fastify): validate middleware paths 2023-06-12 11:03:31 +02:00
dependabot[bot]
635be95696 chore(deps-dev): bump conventional-changelog from 3.1.25 to 4.0.0
Bumps [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) from 3.1.25 to 4.0.0.
- [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases)
- [Changelog](https://github.com/conventional-changelog/conventional-changelog/blob/master/.release-please-manifest.json)
- [Commits](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-v3.1.25...conventional-changelog-v4.0.0)

---
updated-dependencies:
- dependency-name: conventional-changelog
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 08:10:53 +00:00
Kamil Mysliwiec
117e8c5a04 Merge pull request #11706 from nestjs/dependabot/npm_and_yarn/sample/14-mongoose-base/fast-xml-parser-and-aws-sdk/credential-providers-4.2.4
chore(deps): bump fast-xml-parser and @aws-sdk/credential-providers in /sample/14-mongoose-base
2023-06-12 10:05:03 +02:00
Kamil Mysliwiec
1fbf6dde52 Merge pull request #11705 from nestjs/dependabot/npm_and_yarn/sample/06-mongoose/fast-xml-parser-and-aws-sdk/credential-providers-4.2.4
chore(deps): bump fast-xml-parser and @aws-sdk/credential-providers in /sample/06-mongoose
2023-06-12 10:04:54 +02:00
Kamil Mysliwiec
718fd8e61a Merge pull request #11709 from nestjs/dependabot/npm_and_yarn/mysql2-3.3.4
chore(deps-dev): bump mysql2 from 3.3.3 to 3.3.4
2023-06-12 10:04:50 +02:00
Kamil Mysliwiec
7268dcd7b6 Merge pull request #11711 from nestjs/dependabot/npm_and_yarn/concurrently-8.2.0
chore(deps-dev): bump concurrently from 8.1.0 to 8.2.0
2023-06-12 10:04:43 +02:00
Kamil Mysliwiec
ab3bd947fe Merge pull request #11713 from nestjs/dependabot/npm_and_yarn/core-js-3.31.0
chore(deps-dev): bump core-js from 3.30.2 to 3.31.0
2023-06-12 10:04:34 +02:00
Kamil Mysliwiec
80792d45d3 Merge pull request #11714 from nestjs/dependabot/npm_and_yarn/fastify-4.18.0
chore(deps): bump fastify from 4.17.0 to 4.18.0
2023-06-12 10:04:28 +02:00
Kamil Mysliwiec
302a8ed7b4 Merge pull request #11715 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.8.15
chore(deps-dev): bump @grpc/grpc-js from 1.8.14 to 1.8.15
2023-06-12 10:04:21 +02:00
Kamil Mysliwiec
c5ee6d7eb1 Merge pull request #11717 from nestjs/dependabot/npm_and_yarn/types/ws-8.5.5
chore(deps-dev): bump @types/ws from 8.5.4 to 8.5.5
2023-06-12 10:04:07 +02:00
dependabot[bot]
e3f92ae88e chore(deps-dev): bump @types/ws from 8.5.4 to 8.5.5
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 8.5.4 to 8.5.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

---
updated-dependencies:
- dependency-name: "@types/ws"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 02:10:08 +00:00
dependabot[bot]
6bea1e7848 chore(deps-dev): bump @grpc/grpc-js from 1.8.14 to 1.8.15
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.14 to 1.8.15.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.14...@grpc/grpc-js@1.8.15)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 02:07:39 +00:00
dependabot[bot]
66152fa85f chore(deps): bump fastify from 4.17.0 to 4.18.0
Bumps [fastify](https://github.com/fastify/fastify) from 4.17.0 to 4.18.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/4.17.0...v4.18.0)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 02:04:28 +00:00
dependabot[bot]
895cf6223a chore(deps-dev): bump core-js from 3.30.2 to 3.31.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.30.2 to 3.31.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.31.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 02:02:33 +00:00
dependabot[bot]
0af750a570 chore(deps-dev): bump concurrently from 8.1.0 to 8.2.0
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v8.1.0...v8.2.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 01:58:05 +00:00
dependabot[bot]
b941954d0c chore(deps-dev): bump mysql2 from 3.3.3 to 3.3.4
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.3.3 to 3.3.4.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.3.3...v3.3.4)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 01:56:23 +00:00
Kamil Mysliwiec
c8eec5db0d Merge pull request #11690 from nestjs/dependabot/npm_and_yarn/socket.io-4.6.2
chore(deps): bump socket.io from 4.6.1 to 4.6.2
2023-06-09 09:42:24 +02:00
Kamil Mysliwiec
61fbb46b39 Merge pull request #11684 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-17.6.5
chore(deps-dev): bump @commitlint/config-angular from 17.6.3 to 17.6.5
2023-06-09 09:42:17 +02:00
Kamil Mysliwiec
2b2afeb10b Merge pull request #11685 from nestjs/dependabot/npm_and_yarn/mongoose-7.2.2
chore(deps-dev): bump mongoose from 7.2.1 to 7.2.2
2023-06-09 09:42:09 +02:00
dependabot[bot]
2b2b7cf24b chore(deps): bump socket.io from 4.6.1 to 4.6.2
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.6.1...4.6.2)

---
updated-dependencies:
- dependency-name: socket.io
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 07:42:00 +00:00
dependabot[bot]
58f941c5b6 chore(deps-dev): bump @commitlint/config-angular from 17.6.3 to 17.6.5
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 17.6.3 to 17.6.5.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-angular/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.6.5/@commitlint/config-angular)

---
updated-dependencies:
- dependency-name: "@commitlint/config-angular"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 07:42:00 +00:00
Kamil Mysliwiec
cb66c83dd6 Merge pull request #11697 from nestjs/dependabot/npm_and_yarn/cache-manager-5.2.2
chore(deps-dev): bump cache-manager from 5.2.1 to 5.2.2
2023-06-09 09:41:01 +02:00
dependabot[bot]
047a5c70b1 chore(deps): bump fast-xml-parser and @aws-sdk/credential-providers
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) and [@aws-sdk/credential-providers](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/credential-providers). These dependencies needed to be updated together.

Updates `fast-xml-parser` from 4.1.2 to 4.2.4
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.1.2...v4.2.4)

Updates `@aws-sdk/credential-providers` from 3.312.0 to 3.348.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/credential-providers/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.348.0/packages/credential-providers)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
- dependency-name: "@aws-sdk/credential-providers"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 07:40:58 +00:00
Kamil Mysliwiec
ca3031a87c Merge pull request #11691 from nestjs/dependabot/npm_and_yarn/socket.io-client-4.6.2
chore(deps-dev): bump socket.io-client from 4.6.1 to 4.6.2
2023-06-09 09:40:53 +02:00
dependabot[bot]
d9f372fdcc chore(deps): bump fast-xml-parser and @aws-sdk/credential-providers
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) and [@aws-sdk/credential-providers](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/credential-providers). These dependencies needed to be updated together.

Updates `fast-xml-parser` from 4.1.2 to 4.2.4
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.1.2...v4.2.4)

Updates `@aws-sdk/credential-providers` from 3.312.0 to 3.348.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/credential-providers/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.348.0/packages/credential-providers)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
- dependency-name: "@aws-sdk/credential-providers"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 07:40:27 +00:00
Kamil Mysliwiec
3da0bcc0a4 Merge pull request #11686 from nestjs/dependabot/npm_and_yarn/commitlint/cli-17.6.5
chore(deps-dev): bump @commitlint/cli from 17.6.3 to 17.6.5
2023-06-09 09:40:10 +02:00
Kamil Mysliwiec
90deac4b61 Merge pull request #11689 from nestjs/dependabot/npm_and_yarn/redis-4.6.7
chore(deps-dev): bump redis from 4.6.6 to 4.6.7
2023-06-09 09:39:56 +02:00
Kamil Mysliwiec
b5cb188330 Merge pull request #11694 from nestjs/dependabot/npm_and_yarn/concurrently-8.1.0
chore(deps-dev): bump concurrently from 8.0.1 to 8.1.0
2023-06-09 09:39:38 +02:00
Kamil Mysliwiec
be202c8c1f Merge pull request #11698 from nestjs/dependabot/npm_and_yarn/tslib-2.5.3
chore(deps): bump tslib from 2.5.2 to 2.5.3
2023-06-09 09:39:25 +02:00
dependabot[bot]
e0b20ae54f chore(deps): bump tslib from 2.5.2 to 2.5.3
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.5.2 to 2.5.3.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.5.2...v2.5.3)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 01:06:24 +00:00
dependabot[bot]
8692bdd5da chore(deps-dev): bump cache-manager from 5.2.1 to 5.2.2
Bumps [cache-manager](https://github.com/node-cache-manager/node-cache-manager) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/node-cache-manager/node-cache-manager/releases)
- [Changelog](https://github.com/node-cache-manager/node-cache-manager/blob/master/CHANGELOG.md)
- [Commits](https://github.com/node-cache-manager/node-cache-manager/compare/5.2.1...5.2.2)

---
updated-dependencies:
- dependency-name: cache-manager
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 01:01:19 +00:00
dependabot[bot]
bc4c29926a chore(deps-dev): bump concurrently from 8.0.1 to 8.1.0
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v8.0.1...v8.1.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-02 01:00:25 +00:00
Aleksandr
7a467e6fbe fix(microservices): check length of member partitions on group join 2023-06-01 09:04:09 +03:00
dependabot[bot]
f28c20c47f chore(deps-dev): bump socket.io-client from 4.6.1 to 4.6.2
Bumps [socket.io-client](https://github.com/socketio/socket.io-client) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/socketio/socket.io-client/releases)
- [Changelog](https://github.com/socketio/socket.io-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-client/compare/4.6.1...4.6.2)

---
updated-dependencies:
- dependency-name: socket.io-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 01:08:11 +00:00
dependabot[bot]
2b1516d2aa chore(deps-dev): bump redis from 4.6.6 to 4.6.7
Bumps [redis](https://github.com/redis/node-redis) from 4.6.6 to 4.6.7.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@4.6.6...redis@4.6.7)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 01:01:27 +00:00
dependabot[bot]
9560bc6551 chore(deps-dev): bump @commitlint/cli from 17.6.3 to 17.6.5
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.6.3 to 17.6.5.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.6.5/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-31 01:05:21 +00:00
dependabot[bot]
bbee253241 chore(deps-dev): bump mongoose from 7.2.1 to 7.2.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.2.1 to 7.2.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.2.1...7.2.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-31 01:02:20 +00:00
Kamil Mysliwiec
d92a64e7e2 Merge pull request #11678 from MansurAliKoroglu/fix-test-issue
refactor(common): remove barrel import in parse enum pipe file
2023-05-29 08:29:34 +02:00
Kamil Mysliwiec
a4d4cf44ae Merge pull request #11648 from 9w/fix/mysql-connection-host-sample
fix(sample): change mysql connection host to 127.0.0.1
2023-05-29 08:28:06 +02:00
Kamil Mysliwiec
52ccb559c4 Merge pull request #11649 from 9w/fix/mysql-connection-host-integration
fix(integration): change mysql connection host to 127.0.0.1
2023-05-29 08:27:52 +02:00
Kamil Mysliwiec
44b9d88fcc Merge pull request #11668 from nestjs/dependabot/npm_and_yarn/fastify/cors-8.3.0
chore(deps): bump @fastify/cors from 8.2.1 to 8.3.0
2023-05-29 08:27:34 +02:00
Kamil Mysliwiec
5b46502e45 Merge pull request #11670 from nestjs/dependabot/npm_and_yarn/fastify/static-6.10.2
chore(deps-dev): bump @fastify/static from 6.10.1 to 6.10.2
2023-05-29 08:27:28 +02:00
Kamil Mysliwiec
9042f678d0 Merge pull request #11671 from nestjs/dependabot/npm_and_yarn/types/gulp-4.0.11
chore(deps-dev): bump @types/gulp from 4.0.10 to 4.0.11
2023-05-29 08:27:22 +02:00
Kamil Mysliwiec
71e7ae32ea Merge pull request #11677 from nestjs/renovate/sequelize-6.x
fix(deps): update dependency sequelize to v6.31.1
2023-05-29 08:27:16 +02:00
Kamil Mysliwiec
61bc57e5b3 Merge pull request #11679 from nestjs/dependabot/npm_and_yarn/types/node-20.2.5
chore(deps-dev): bump @types/node from 20.2.3 to 20.2.5
2023-05-29 08:27:10 +02:00
Kamil Mysliwiec
9644116dd8 Merge pull request #11680 from nestjs/dependabot/npm_and_yarn/mysql2-3.3.3
chore(deps-dev): bump mysql2 from 3.3.2 to 3.3.3
2023-05-29 08:27:03 +02:00
Kamil Mysliwiec
5e1f3dc8ef Merge pull request #11661 from nestjs/dependabot/npm_and_yarn/nestjs/graphql-11.0.6
chore(deps-dev): bump @nestjs/graphql from 11.0.5 to 11.0.6
2023-05-29 08:26:52 +02:00
dependabot[bot]
2c0022e4c4 chore(deps-dev): bump mysql2 from 3.3.2 to 3.3.3
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 01:08:33 +00:00
dependabot[bot]
0e714591ab chore(deps-dev): bump @types/node from 20.2.3 to 20.2.5
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.2.3 to 20.2.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 01:03:30 +00:00
Mansur Ali Koroglu
de5bc51c3d refactor(common): remove barrel import in parse enum pipe file 2023-05-29 02:44:41 +03:00
renovate[bot]
f860d56ebb fix(deps): update dependency sequelize to v6.31.1 2023-05-28 09:54:34 +00:00
renovate[bot]
eeb3866346 fix(deps): update dependency @nestjs/mercurius to v10.2.1 2023-05-28 09:54:18 +00:00
Nick Amoscato
41552d398e fix(common): loosen http exception cause type
resolves #11665
2023-05-26 08:45:00 -04:00
dependabot[bot]
fa386768bb chore(deps-dev): bump @types/gulp from 4.0.10 to 4.0.11
Bumps [@types/gulp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gulp) from 4.0.10 to 4.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/gulp)

---
updated-dependencies:
- dependency-name: "@types/gulp"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-26 01:15:26 +00:00
dependabot[bot]
f6c2682aaf chore(deps-dev): bump @fastify/static from 6.10.1 to 6.10.2
Bumps [@fastify/static](https://github.com/fastify/fastify-static) from 6.10.1 to 6.10.2.
- [Release notes](https://github.com/fastify/fastify-static/releases)
- [Commits](https://github.com/fastify/fastify-static/compare/v6.10.1...v6.10.2)

---
updated-dependencies:
- dependency-name: "@fastify/static"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-26 01:13:56 +00:00
dependabot[bot]
5aa4d747da chore(deps): bump @fastify/cors from 8.2.1 to 8.3.0
Bumps [@fastify/cors](https://github.com/fastify/fastify-cors) from 8.2.1 to 8.3.0.
- [Release notes](https://github.com/fastify/fastify-cors/releases)
- [Commits](https://github.com/fastify/fastify-cors/compare/v8.2.1...v8.3.0)

---
updated-dependencies:
- dependency-name: "@fastify/cors"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-26 01:04:06 +00:00
Mathew Trivett
e2c15af6b9 feat(express): add support for multer.none
Adds an interceptor for multer's none option https://github.com/expressjs/multer#none. This allows for Nest.js users to process
`multipart/form-data` that does not include any files.
2023-05-25 17:57:58 +01:00
Kamil Mysliwiec
a1f16ae843 Merge pull request #11656 from nestjs/dependabot/npm_and_yarn/mysql2-3.3.2
chore(deps-dev): bump mysql2 from 3.3.1 to 3.3.2
2023-05-25 08:48:46 +02:00
dependabot[bot]
5457825697 chore(deps-dev): bump @nestjs/graphql from 11.0.5 to 11.0.6
Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 11.0.5 to 11.0.6.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v11.0.5...v11.0.6)

---
updated-dependencies:
- dependency-name: "@nestjs/graphql"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 06:38:54 +00:00
dependabot[bot]
45f0045a7c chore(deps-dev): bump mysql2 from 3.3.1 to 3.3.2
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.3.1...v3.3.2)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 06:37:54 +00:00
Kamil Mysliwiec
cb021df989 Merge pull request #11655 from nestjs/dependabot/npm_and_yarn/nats-2.14.0
chore(deps-dev): bump nats from 2.13.1 to 2.14.0
2023-05-25 08:35:39 +02:00
Kamil Mysliwiec
9fb16823e3 Merge pull request #11657 from nestjs/dependabot/npm_and_yarn/sample/02-gateways/socket.io-parser-4.2.3
chore(deps): bump socket.io-parser from 4.2.2 to 4.2.3 in /sample/02-gateways
2023-05-25 08:35:28 +02:00
Kamil Mysliwiec
f1e24e4090 Merge pull request #11663 from nestjs/dependabot/npm_and_yarn/mongoose-7.2.1
bump mongoose from 7.2.0 to 7.2.1
2023-05-25 08:35:24 +02:00
Kamil Mysliwiec
1febbb2b2a Merge pull request #11662 from nestjs/dependabot/npm_and_yarn/nestjs/apollo-11.0.6
chore(deps-dev): bump @nestjs/apollo from 11.0.5 to 11.0.6
2023-05-25 08:34:50 +02:00
Kamil Mysliwiec
89c5cb3f00 Merge pull request #11654 from nestjs/dependabot/npm_and_yarn/socket.io-parser-4.2.3
chore(deps): bump socket.io-parser from 4.2.1 to 4.2.3
2023-05-25 08:34:39 +02:00
dependabot[bot]
d64946f5f9 bump mongoose from 7.2.0 to 7.2.1
---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 01:12:03 +00:00
dependabot[bot]
630692f28b chore(deps-dev): bump @nestjs/apollo from 11.0.5 to 11.0.6
Bumps [@nestjs/apollo](https://github.com/nestjs/graphql) from 11.0.5 to 11.0.6.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v11.0.5...v11.0.6)

---
updated-dependencies:
- dependency-name: "@nestjs/apollo"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 01:10:56 +00:00
dependabot[bot]
bf79658900 chore(deps): bump socket.io-parser in /sample/02-gateways
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.2...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 01:55:57 +00:00
dependabot[bot]
3db7d8a6e4 chore(deps-dev): bump nats from 2.13.1 to 2.14.0
Bumps [nats](https://github.com/nats-io/nats.js) from 2.13.1 to 2.14.0.
- [Release notes](https://github.com/nats-io/nats.js/releases)
- [Commits](https://github.com/nats-io/nats.js/compare/v2.13.1...v2.14.0)

---
updated-dependencies:
- dependency-name: nats
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 01:01:54 +00:00
dependabot[bot]
dda48635a0 chore(deps): bump socket.io-parser from 4.2.1 to 4.2.3
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.1 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.1...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 00:10:03 +00:00
Kamil Myśliwiec
5bba7e9d26 chore(@nestjs) publish v9.4.2 release 2023-05-23 10:42:48 +02:00
Kamil Mysliwiec
9004a4a624 Merge pull request #11642 from ryoctrl/nack_when_no_matching_handler
fix(microservices): to nack when there is no matching handler
2023-05-23 10:40:34 +02:00
Kamil Mysliwiec
4f45a7019f Update packages/microservices/constants.ts 2023-05-23 10:33:48 +02:00
Kamil Mysliwiec
4bb43f0c47 Merge pull request #11437 from julien-sarazin/fix/issue-11429
fix(microservices): grpc-server handle async interceptors
2023-05-23 10:31:10 +02:00
9w
a32cfc53d4 fix(integration): change mysql connection host to 127.0.0.1 2023-05-22 18:54:42 +09:00
9w
49d853a1a8 fix(sample): change mysql connection host to 127.0.0.1 2023-05-22 18:31:48 +09:00
Kamil Mysliwiec
fe2cd7ffb0 Update Readme.md 2023-05-22 09:15:06 +02:00
Kamil Mysliwiec
3be74404d2 Merge pull request #11644 from nestjs/dependabot/npm_and_yarn/mongoose-7.2.0
chore(deps-dev): bump mongoose from 7.1.1 to 7.2.0
2023-05-22 08:51:16 +02:00
Kamil Mysliwiec
71e83b048d Merge pull request #11645 from nestjs/dependabot/npm_and_yarn/graphql-tools-9.0.0
chore(deps-dev): bump graphql-tools from 8.3.20 to 9.0.0
2023-05-22 08:50:59 +02:00
Kamil Mysliwiec
ed44a0a910 Merge pull request #11646 from nestjs/dependabot/npm_and_yarn/types/node-20.2.3
chore(deps-dev): bump @types/node from 20.2.1 to 20.2.3
2023-05-22 08:50:52 +02:00
dependabot[bot]
6a59e7ae4e chore(deps-dev): bump @types/node from 20.2.1 to 20.2.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.2.1 to 20.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 01:18:45 +00:00
dependabot[bot]
29f84b21ed chore(deps-dev): bump graphql-tools from 8.3.20 to 9.0.0
Bumps [graphql-tools](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/graphql-tools) from 8.3.20 to 9.0.0.
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/graphql-tools/CHANGELOG.md)
- [Commits](https://github.com/ardatan/graphql-tools/commits/graphql-tools@9.0.0/packages/graphql-tools)

---
updated-dependencies:
- dependency-name: graphql-tools
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 01:10:01 +00:00
dependabot[bot]
b23f21067f chore(deps-dev): bump mongoose from 7.1.1 to 7.2.0
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.1.1 to 7.2.0.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.1.1...7.2.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 01:02:44 +00:00
ryoctrl
674bfc5e83 fix(microservices): to nack when there is no matching handler 2023-05-20 04:56:51 +09:00
Kamil Mysliwiec
d352e6f138 Merge pull request #11638 from nestjs/dependabot/npm_and_yarn/types/node-20.2.1
chore(deps-dev): bump @types/node from 20.2.0 to 20.2.1
2023-05-19 12:30:47 +02:00
Kamil Mysliwiec
9dcbb6b14c Merge pull request #11639 from nestjs/dependabot/npm_and_yarn/sinon-15.1.0
chore(deps-dev): bump sinon from 15.0.4 to 15.1.0
2023-05-19 12:30:34 +02:00
Kamil Mysliwiec
9a1faf150c Merge pull request #11640 from nestjs/dependabot/npm_and_yarn/tslib-2.5.2
chore(deps): bump tslib from 2.5.1 to 2.5.2
2023-05-19 12:30:05 +02:00
dependabot[bot]
242718dbaf chore(deps): bump tslib from 2.5.1 to 2.5.2
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.5.1...2.5.2)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-19 01:07:55 +00:00
dependabot[bot]
6be56d0013 chore(deps-dev): bump sinon from 15.0.4 to 15.1.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 15.0.4 to 15.1.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v15.0.4...v15.1.0)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-19 01:05:30 +00:00
dependabot[bot]
11d4a2cec8 chore(deps-dev): bump @types/node from 20.2.0 to 20.2.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.2.0 to 20.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-19 01:03:04 +00:00
Kamil Mysliwiec
c769951dcd Merge pull request #11636 from nestjs/dependabot/npm_and_yarn/tslib-2.5.1
chore(deps): bump tslib from 2.5.0 to 2.5.1
2023-05-18 08:56:04 +02:00
Kamil Mysliwiec
929174b8ad Merge pull request #11637 from nestjs/dependabot/npm_and_yarn/types/node-20.2.0
chore(deps-dev): bump @types/node from 20.1.7 to 20.2.0
2023-05-18 08:55:55 +02:00
dependabot[bot]
fb442a2e91 chore(deps-dev): bump @types/node from 20.1.7 to 20.2.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.1.7 to 20.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-18 01:01:58 +00:00
dependabot[bot]
fe6868d7e3 chore(deps): bump tslib from 2.5.0 to 2.5.1
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.5.0...2.5.1)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-18 01:00:45 +00:00
Kamil Mysliwiec
fa0a085d57 Merge pull request #11631 from nestjs/dependabot/npm_and_yarn/types/node-20.1.7
chore(deps-dev): bump @types/node from 20.1.5 to 20.1.7
2023-05-17 09:17:38 +02:00
dependabot[bot]
b03d8702d7 chore(deps-dev): bump @types/node from 20.1.5 to 20.1.7
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.1.5 to 20.1.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 01:00:37 +00:00
Kamil Myśliwiec
60542ea1b5 chore: update readme 2023-05-16 09:36:03 +02:00
Kamil Myśliwiec
468c179e18 chore(@nestjs) publish v9.4.1 release 2023-05-16 09:32:38 +02:00
Kamil Mysliwiec
fabbd09906 Merge pull request #11600 from matt1097/issue-11586
fix(core): Only update module distance if greater
2023-05-16 09:28:14 +02:00
Kamil Mysliwiec
7cebc3b1eb Merge pull request #11622 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-17.6.3
chore(deps-dev): bump @commitlint/config-angular from 17.6.1 to 17.6.3
2023-05-16 09:15:42 +02:00
Kamil Mysliwiec
aacea0e07c Merge pull request #11541 from kuronijin/master
feat(microservices): Add isGlobal option to the ClientsModule
2023-05-16 09:15:25 +02:00
Kamil Mysliwiec
927525e082 Merge pull request #11549 from dammy001/patch-1
chore(validation): add ability to pass custom message in file size validator
2023-05-16 09:14:39 +02:00
Kamil Mysliwiec
37f332c2c7 Merge pull request #11621 from nestjs/dependabot/npm_and_yarn/types/sinon-10.0.15
chore(deps-dev): bump @types/sinon from 10.0.14 to 10.0.15
2023-05-16 09:14:14 +02:00
dependabot[bot]
11ebf30c53 chore(deps-dev): bump @types/sinon from 10.0.14 to 10.0.15
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 10.0.14 to 10.0.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)

---
updated-dependencies:
- dependency-name: "@types/sinon"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 07:11:16 +00:00
dependabot[bot]
0697076e1f chore(deps-dev): bump @commitlint/config-angular from 17.6.1 to 17.6.3
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 17.6.1 to 17.6.3.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-angular/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.6.3/@commitlint/config-angular)

---
updated-dependencies:
- dependency-name: "@commitlint/config-angular"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 07:09:56 +00:00
Kamil Mysliwiec
6302f75996 Merge pull request #11623 from nestjs/dependabot/npm_and_yarn/typeorm-0.3.16
chore(deps-dev): bump typeorm from 0.3.15 to 0.3.16
2023-05-16 09:06:20 +02:00
Kamil Mysliwiec
3a0a3d1df4 Merge pull request #11625 from nestjs/dependabot/npm_and_yarn/fastify/middie-8.3.0
chore(deps): bump @fastify/middie from 8.1.0 to 8.3.0
2023-05-16 09:06:08 +02:00
Kamil Mysliwiec
742c92e7e0 Merge pull request #11626 from nestjs/dependabot/npm_and_yarn/types/node-20.1.5
chore(deps-dev): bump @types/node from 20.1.4 to 20.1.5
2023-05-16 09:06:01 +02:00
Kamil Mysliwiec
608af53693 Merge pull request #11627 from nestjs/dependabot/npm_and_yarn/mysql2-3.3.1
chore(deps-dev): bump mysql2 from 3.2.4 to 3.3.1
2023-05-16 09:05:56 +02:00
Kamil Mysliwiec
7df1d07bd2 Merge pull request #11628 from nestjs/dependabot/npm_and_yarn/commitlint/cli-17.6.3
chore(deps-dev): bump @commitlint/cli from 17.6.1 to 17.6.3
2023-05-16 09:05:52 +02:00
Kamil Mysliwiec
c3d8247859 Merge pull request #11629 from nestjs/dependabot/npm_and_yarn/core-js-3.30.2
chore(deps-dev): bump core-js from 3.30.1 to 3.30.2
2023-05-16 09:05:47 +02:00
Kamil Mysliwiec
b2a35f231a Merge pull request #11571 from TP-O/fix-error-log
fix(common): `ConsoleLogger` doesn't log stacktrace
2023-05-16 09:04:56 +02:00
dependabot[bot]
d224961d61 chore(deps-dev): bump core-js from 3.30.1 to 3.30.2
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.30.1 to 3.30.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.30.2/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 01:13:13 +00:00
dependabot[bot]
da6b39ffbd chore(deps-dev): bump @commitlint/cli from 17.6.1 to 17.6.3
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.6.1 to 17.6.3.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.6.3/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 01:12:20 +00:00
dependabot[bot]
d97196c2dc chore(deps-dev): bump mysql2 from 3.2.4 to 3.3.1
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.2.4 to 3.3.1.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.2.4...v3.3.1)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 01:11:08 +00:00
dependabot[bot]
2110c8727e chore(deps-dev): bump @types/node from 20.1.4 to 20.1.5
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.1.4 to 20.1.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 01:10:15 +00:00
dependabot[bot]
cfd2a30b35 chore(deps): bump @fastify/middie from 8.1.0 to 8.3.0
Bumps [@fastify/middie](https://github.com/fastify/middie) from 8.1.0 to 8.3.0.
- [Release notes](https://github.com/fastify/middie/releases)
- [Commits](https://github.com/fastify/middie/compare/v8.1.0...v8.3.0)

---
updated-dependencies:
- dependency-name: "@fastify/middie"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 01:09:10 +00:00
dependabot[bot]
866787996a chore(deps-dev): bump typeorm from 0.3.15 to 0.3.16
Bumps [typeorm](https://github.com/typeorm/typeorm) from 0.3.15 to 0.3.16.
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.15...0.3.16)

---
updated-dependencies:
- dependency-name: typeorm
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 01:01:59 +00:00
Kamil Mysliwiec
760a40e4ce Merge pull request #11620 from nestjs/dependabot/npm_and_yarn/set-value-and-union-value-2.0.1
chore(deps): bump set-value and union-value
2023-05-15 10:57:03 +02:00
Kamil Mysliwiec
fcf1cad484 Merge pull request #11568 from nestjs/dependabot/npm_and_yarn/lint-staged-13.2.2
chore(deps-dev): bump lint-staged from 13.2.1 to 13.2.2
2023-05-15 10:56:44 +02:00
Kamil Mysliwiec
88880f9a21 Merge pull request #11570 from nestjs/dependabot/npm_and_yarn/rxjs-7.8.1
chore(deps): bump rxjs from 7.8.0 to 7.8.1
2023-05-15 10:56:39 +02:00
dependabot[bot]
f92f029505 chore(deps): bump set-value and union-value
Bumps [set-value](https://github.com/jonschlinkert/set-value) and [union-value](https://github.com/jonschlinkert/union-value). These dependencies needed to be updated together.

Updates `set-value` from 0.4.3 to 2.0.1
- [Commits](https://github.com/jonschlinkert/set-value/compare/0.4.3...2.0.1)

Updates `union-value` from 1.0.0 to 1.0.1
- [Release notes](https://github.com/jonschlinkert/union-value/releases)
- [Commits](https://github.com/jonschlinkert/union-value/compare/1.0.0...1.0.1)

---
updated-dependencies:
- dependency-name: set-value
  dependency-type: indirect
- dependency-name: union-value
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 08:56:32 +00:00
Kamil Mysliwiec
0c4ee5e190 Merge pull request #11575 from nestjs/dependabot/npm_and_yarn/fastify-4.17.0
chore(deps): bump fastify from 4.16.0 to 4.17.0
2023-05-15 10:56:19 +02:00
Kamil Mysliwiec
88ef0d33b7 Merge pull request #11576 from nestjs/dependabot/npm_and_yarn/redis-4.6.6
chore(deps-dev): bump redis from 4.6.5 to 4.6.6
2023-05-15 10:56:12 +02:00
Kamil Mysliwiec
bcb1f204bd Merge pull request #11583 from nestjs/dependabot/npm_and_yarn/types/chai-4.3.5
chore(deps-dev): bump @types/chai from 4.3.4 to 4.3.5
2023-05-15 10:56:06 +02:00
Kamil Mysliwiec
1b47dc6ae0 Merge pull request #11588 from nestjs/dependabot/npm_and_yarn/apollo/server-4.7.1
chore(deps-dev): bump @apollo/server from 4.7.0 to 4.7.1
2023-05-15 10:54:40 +02:00
Kamil Mysliwiec
95d3a92eb7 Merge pull request #11589 from nestjs/dependabot/npm_and_yarn/amqp-connection-manager-4.1.13
chore(deps-dev): bump amqp-connection-manager from 4.1.12 to 4.1.13
2023-05-15 10:54:27 +02:00
Kamil Mysliwiec
308e143fa3 Merge pull request #11592 from nestjs/dependabot/npm_and_yarn/grpc/proto-loader-0.7.7
chore(deps-dev): bump @grpc/proto-loader from 0.7.6 to 0.7.7
2023-05-15 10:54:20 +02:00
Kamil Mysliwiec
b5f8da18ce Merge pull request #11593 from nestjs/dependabot/npm_and_yarn/engine.io-6.4.2
chore(deps): bump engine.io from 6.4.1 to 6.4.2
2023-05-15 10:54:13 +02:00
Kamil Mysliwiec
41d52dae60 Merge pull request #11594 from nestjs/dependabot/npm_and_yarn/sample/02-gateways/engine.io-6.4.2
chore(deps): bump engine.io from 6.4.1 to 6.4.2 in /sample/02-gateways
2023-05-15 10:54:00 +02:00
Kamil Mysliwiec
74135867ef Merge pull request #11612 from nestjs/dependabot/npm_and_yarn/mongoose-7.1.1
chore(deps-dev): bump mongoose from 7.0.5 to 7.1.1
2023-05-15 10:53:05 +02:00
Kamil Mysliwiec
362e4d8fa8 Merge pull request #11617 from nestjs/dependabot/npm_and_yarn/types/node-20.1.4
chore(deps-dev): bump @types/node from 18.16.1 to 20.1.4
2023-05-15 10:52:42 +02:00
dependabot[bot]
f16c47b05f chore(deps): bump fastify from 4.16.0 to 4.17.0
Bumps [fastify](https://github.com/fastify/fastify) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/4.16.0...4.17.0)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 08:44:09 +00:00
Kamil Mysliwiec
c116e1c72c Merge pull request #11580 from mik0byte/chore/remove-caret-sign
chore(deps): remove caret sign from @fastify/cors
2023-05-15 10:42:05 +02:00
Kamil Mysliwiec
21edc331b2 Merge pull request #11587 from fityannugroho/master
sample/13: change readme title
2023-05-15 10:39:46 +02:00
Kamil Mysliwiec
69f432b738 Merge pull request #11604 from micalevisk/fix/issue-11602
refactor(common): import from decorators module instead of common's barrel file
2023-05-15 10:11:19 +02:00
Kamil Mysliwiec
f5e82fe052 Merge pull request #11619 from micalevisk/patch-1
docs: update zh readme headers
2023-05-15 09:54:52 +02:00
Micael Levi L. Cavalcante
8706662a22 docs: update zh readme headers 2023-05-14 23:24:41 -04:00
dependabot[bot]
6e5143d79f chore(deps-dev): bump @types/node from 18.16.1 to 20.1.4
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.1 to 20.1.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 01:19:16 +00:00
dependabot[bot]
3282db1630 chore(deps-dev): bump mongoose from 7.0.5 to 7.1.1
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.0.5 to 7.1.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.0.5...7.1.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 01:16:34 +00:00
Micael Levi L. Cavalcante
05e49963ac refactor(common): import from decorators module instead of common barrel 2023-05-06 16:37:35 -04:00
matt1097
8ea3a5088c fix(core): Only update module distance if greater 2023-05-05 11:40:17 -04:00
dependabot[bot]
f60e62888e chore(deps): bump engine.io from 6.4.1 to 6.4.2 in /sample/02-gateways
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.4.1...6.4.2)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-04 01:54:39 +00:00
dependabot[bot]
73059a3acf chore(deps): bump engine.io from 6.4.1 to 6.4.2
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.4.1...6.4.2)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-04 01:36:37 +00:00
dependabot[bot]
dc9ee85374 chore(deps-dev): bump @grpc/proto-loader from 0.7.6 to 0.7.7
Bumps [@grpc/proto-loader](https://github.com/grpc/grpc-node) from 0.7.6 to 0.7.7.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/proto-loader@0.7.6...@grpc/proto-loader@0.7.7)

---
updated-dependencies:
- dependency-name: "@grpc/proto-loader"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-04 00:59:52 +00:00
dependabot[bot]
4fd0957efc chore(deps-dev): bump amqp-connection-manager from 4.1.12 to 4.1.13
Bumps [amqp-connection-manager](https://github.com/jwalton/node-amqp-connection-manager) from 4.1.12 to 4.1.13.
- [Release notes](https://github.com/jwalton/node-amqp-connection-manager/releases)
- [Changelog](https://github.com/jwalton/node-amqp-connection-manager/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jwalton/node-amqp-connection-manager/compare/v4.1.12...v4.1.13)

---
updated-dependencies:
- dependency-name: amqp-connection-manager
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-03 01:10:51 +00:00
dependabot[bot]
d18343c920 chore(deps-dev): bump @apollo/server from 4.7.0 to 4.7.1
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/server@4.7.1/packages/server)

---
updated-dependencies:
- dependency-name: "@apollo/server"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-03 01:04:36 +00:00
Fityan
ef5f17efe1 sample/13: change readme title
this sample doesn't use `mongoose`
2023-05-02 11:20:55 +07:00
dependabot[bot]
fffdbb26c9 chore(deps-dev): bump @types/chai from 4.3.4 to 4.3.5
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: "@types/chai"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 01:09:02 +00:00
Mikayel Aleksanyan
fbca5ac5a9 chore(deps): remove caret sign from @fastify/cors 2023-04-29 18:11:19 +04:00
TP-O
c52d33348a feat: determine context and stack if passing 2 parameters 2023-04-29 08:36:44 +07:00
TP-O
87412ad51e test: add test 2023-04-28 17:41:20 +07:00
dependabot[bot]
a815394556 chore(deps-dev): bump redis from 4.6.5 to 4.6.6
Bumps [redis](https://github.com/redis/node-redis) from 4.6.5 to 4.6.6.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@4.6.5...redis@4.6.6)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 01:00:23 +00:00
TP-O
2effb83b21 fix: log stacktrace if 2 args is passed 2023-04-27 19:07:31 +07:00
Kamil Mysliwiec
85966703ac Merge pull request #11566 from cesarkohl/patch-1
Replace HTTP with HTTPS on README.md
2023-04-27 09:18:13 +02:00
dependabot[bot]
6098e2465f chore(deps): bump rxjs from 7.8.0 to 7.8.1
Bumps [rxjs](https://github.com/reactivex/rxjs) from 7.8.0 to 7.8.1.
- [Release notes](https://github.com/reactivex/rxjs/releases)
- [Changelog](https://github.com/ReactiveX/rxjs/blob/7.8.1/CHANGELOG.md)
- [Commits](https://github.com/reactivex/rxjs/compare/7.8.0...7.8.1)

---
updated-dependencies:
- dependency-name: rxjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-27 01:06:41 +00:00
dependabot[bot]
5db74f80c6 chore(deps-dev): bump lint-staged from 13.2.1 to 13.2.2
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.2.1 to 13.2.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v13.2.1...v13.2.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-27 01:00:48 +00:00
Cesar Kohl
b5cab0f907 Replace HTTP with HTTPS on README.md 2023-04-26 13:10:56 -03:00
Kamil Mysliwiec
232582477e Merge pull request #11564 from nestjs/dependabot/npm_and_yarn/types/node-18.16.1
chore(deps-dev): bump @types/node from 18.16.0 to 18.16.1
2023-04-26 08:26:02 +02:00
Kamil Mysliwiec
7ec42c7329 Merge pull request #11563 from nestjs/dependabot/npm_and_yarn/mysql2-3.2.4
chore(deps-dev): bump mysql2 from 3.2.3 to 3.2.4
2023-04-26 08:25:52 +02:00
Kamil Mysliwiec
1073c41dc4 Merge pull request #11565 from nestjs/dependabot/npm_and_yarn/fastify-4.16.0
chore(deps): bump fastify from 4.15.0 to 4.16.0
2023-04-26 08:25:24 +02:00
dependabot[bot]
26bd9662f8 chore(deps): bump fastify from 4.15.0 to 4.16.0
Bumps [fastify](https://github.com/fastify/fastify) from 4.15.0 to 4.16.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.15.0...4.16.0)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 01:09:51 +00:00
dependabot[bot]
bd03c036cd chore(deps-dev): bump @types/node from 18.16.0 to 18.16.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.0 to 18.16.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 01:00:36 +00:00
dependabot[bot]
22d4a1edff chore(deps-dev): bump mysql2 from 3.2.3 to 3.2.4
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 00:59:08 +00:00
Kamil Mysliwiec
c8da134e6c Merge pull request #11558 from nestjs/dependabot/npm_and_yarn/yaml-2.2.2
chore(deps): bump yaml from 2.2.1 to 2.2.2
2023-04-25 09:34:49 +02:00
dependabot[bot]
0c0c377188 chore(deps): bump yaml from 2.2.1 to 2.2.2
Bumps [yaml](https://github.com/eemeli/yaml) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 07:07:57 +00:00
Kamil Mysliwiec
8879391672 Merge pull request #11557 from nestjs/dependabot/npm_and_yarn/mongoose-7.0.5
chore(deps-dev): bump mongoose from 7.0.4 to 7.0.5
2023-04-25 09:06:52 +02:00
dependabot[bot]
244b44580c chore(deps-dev): bump mongoose from 7.0.4 to 7.0.5
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.0.4 to 7.0.5.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.0.4...7.0.5)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 01:01:53 +00:00
Viktor Belokhvostov
924c5f32bb feat(microservices): Updated the ClientsModule options types 2023-04-24 14:31:25 +01:00
Anjorin Damilare
d46db256af Update max-file-size.validator.ts 2023-04-23 07:26:04 +01:00
Anjorin Damilare
df0270af04 Update max-file-size.validator.ts 2023-04-23 07:13:25 +01:00
Anjorin Damilare
93a2b48be7 chore: remove function to prevent breaking change 2023-04-23 07:10:15 +01:00
Anjorin Damilare
619b98caf7 Update max-file-size.validator.ts 2023-04-23 07:04:50 +01:00
Anjorin Damilare
84bd87c86a chore: add ability to pass custom message in file size validator 2023-04-23 06:57:52 +01:00
Viktor Belokhvostov
dc5aaf9af3 feat(microservices): Add isGlobal option to the ClientsModule 2023-04-21 11:50:12 +01:00
Julien Sarazin
9af95fcf50 fix(microservices): grpc-server handle async interceptors 2023-04-06 16:06:34 +02:00
Tony133
d0d81511e5 refactor(common): update log level 2023-02-03 15:08:40 +01:00
Jay McDoniel
ff9a577119 fix: address pr comments 2023-02-02 06:47:04 -08:00
Jay McDoniel
c29a919e05 ci: don't install greater than npm 8 2023-02-02 06:47:04 -08:00
Jay McDoniel
edbd0a80c6 feat: move get pattern to top level method of switch to ws 2023-02-02 06:47:04 -08:00
Jay McDoniel
ce74e7fa2e fix: add case for when args is null 2023-02-02 06:47:04 -08:00
Jay McDoniel
8ff0a048d1 feat: create on client to get websocket pattern
close: #10520
2023-02-02 06:47:01 -08:00
Kamil Mysliwiec
899bd93c23 Update integration/lazy-modules/e2e/lazy-import-global-modules.spec.ts 2022-07-31 13:05:50 +02:00
Léo Anesi
f022a62723 fix(core): allow importing providers from global modules in lazy modules 2022-07-31 13:05:49 +02:00
309 changed files with 120768 additions and 128788 deletions

View File

@@ -1,9 +1,31 @@
version: 2
version: 2.1
parameters:
check-legacy-node-version:
type: boolean
default: false
legacy-node-version:
type: string
default: '14.21.3'
maintenance-node-version:
type: string
default: '16.20'
active-node-version:
type: string
default: '18.17'
current-node-version:
type: string
default: '20.5'
aliases:
- &restore-cache
restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- &save-cache
save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- &install-deps
run:
name: Install dependencies
@@ -17,70 +39,89 @@ aliases:
name: Test
command: npm run test
unit-tests-template: &unit-tests-template
working_directory: ~/nest
steps:
- checkout
- *restore-cache
- *install-deps
- *build-packages
- *run-unit-tests
jobs:
build:
working_directory: ~/nest
docker:
- image: cimg/node:16.19
- image: cimg/node:<< pipeline.parameters.maintenance-node-version >>
steps:
- checkout
- run:
name: Update NPM version
command: 'sudo npm install -g npm@^8'
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: Install dependencies
command: npm ci --legacy-peer-deps
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: Build
command: npm run build
test_node_16:
working_directory: ~/nest
docker:
- image: cimg/node:16.19
steps:
- checkout
command: 'sudo npm install -g npm@^9'
- *restore-cache
- *install-deps
- *save-cache
- *build-packages
- run:
name: Test (coverage)
command: npm run test:cov
- run:
name: Collect coverage
command: npm run coverage
- store_artifacts:
path: coverage
test_node_18:
<<: *unit-tests-template
test:
parameters:
node-version:
type: string
working_directory: ~/nest
docker:
- image: cimg/node:18.14
test_node_19:
<<: *unit-tests-template
docker:
- image: cimg/node:19.8
- image: cimg/node:<< parameters.node-version >>
steps:
- when:
condition:
and:
- equal:
[
'<< parameters.node-version >>',
'<< pipeline.parameters.legacy-node-version >>',
]
- not: << pipeline.parameters.check-legacy-node-version >>
steps:
- run:
name: Skip
command: |
echo Skipping
- when:
condition:
or:
- not:
equal:
[
'<< parameters.node-version >>',
'<< pipeline.parameters.legacy-node-version >>',
]
- << pipeline.parameters.check-legacy-node-version >>
steps:
- checkout
- *restore-cache
- *install-deps
- *build-packages
- when:
condition:
equal:
[
'<< parameters.node-version >>',
'<< pipeline.parameters.maintenance-node-version >>',
]
steps:
- run:
name: Test (coverage)
command: npm run test:cov
- run:
name: Collect coverage
command: npm run coverage
- store_artifacts:
path: coverage
- when:
condition:
not:
equal:
[
'<< parameters.node-version >>',
'<< pipeline.parameters.maintenance-node-version >>',
]
steps:
- *run-unit-tests
lint:
working_directory: ~/nest
docker:
- image: circleci/node:16
- image: cimg/node:<< pipeline.parameters.maintenance-node-version >>
steps:
- checkout
- *restore-cache
@@ -105,9 +146,9 @@ jobs:
- run:
name: Upgrade Node.js
command: |
nvm install v16
nvm install << pipeline.parameters.maintenance-node-version >>
node -v
nvm alias default v16
nvm alias default << pipeline.parameters.maintenance-node-version >>
- run:
name: Install Docker Compose
command: |
@@ -130,7 +171,7 @@ jobs:
codechecks_benchmarks:
working_directory: ~/nest
docker:
- image: cimg/node:16.19
- image: cimg/node:<< pipeline.parameters.maintenance-node-version >>
steps:
- checkout
- *restore-cache
@@ -146,9 +187,9 @@ jobs:
samples:
working_directory: ~/nest
docker:
- image: cimg/node:16.19
- image: cimg/node:<< pipeline.parameters.maintenance-node-version >>
environment:
- DISABLE_OPENCOLLECTIVE: true
DISABLE_OPENCOLLECTIVE: 'true'
steps:
- checkout
- *restore-cache
@@ -158,16 +199,21 @@ jobs:
command: npm run build:samples
workflows:
version: 2
build-and-test:
jobs:
- build
- test_node_16:
requires:
- build
- test_node_18:
- test:
requires:
- build
matrix:
parameters:
node-version:
[
'<< pipeline.parameters.legacy-node-version >>',
'<< pipeline.parameters.maintenance-node-version >>',
'<< pipeline.parameters.active-node-version >>',
'<< pipeline.parameters.current-node-version >>',
]
- lint:
requires:
- build

View File

@@ -23,6 +23,7 @@ module.exports = {
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-array-constructor': 'off',
},
},
{

View File

@@ -6,7 +6,7 @@ body:
attributes:
value: |
## :warning: We use GitHub Issues to track bug reports, feature requests and regressions
If you are not sure that your issue is a bug, you could:
- read the [FAQ's common errors](https://docs.nestjs.com/faq/common-errors) page

View File

@@ -6,7 +6,7 @@ body:
attributes:
value: |
## :warning: We use GitHub Issues to track bug reports, feature requests and regressions
If you are not sure that your issue is a bug, you could:
- read the [FAQ's common errors](https://docs.nestjs.com/faq/common-errors) page

View File

@@ -6,7 +6,7 @@ body:
attributes:
value: |
## :warning: We use GitHub Issues to track bug reports, feature requests and regressions
If you are not sure that your issue is a bug, you could:
- read the [FAQ's common errors](https://docs.nestjs.com/faq/common-errors) page

View File

@@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.

View File

@@ -1,11 +1,11 @@
<p align="center">
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
<a href="https://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
</p>
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest
<p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">A progressive <a href="https://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
@@ -23,7 +23,7 @@
## Description
Nest is a framework for building efficient, scalable <a href="http://nodejs.org" target="_blank">Node.js</a> server-side applications. It uses modern JavaScript, is built with <a href="http://www.typescriptlang.org" target="_blank">TypeScript</a> (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).
Nest is a framework for building efficient, scalable <a href="https://nodejs.org" target="_blank">Node.js</a> server-side applications. It uses modern JavaScript, is built with <a href="https://www.typescriptlang.org" target="_blank">TypeScript</a> (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).
<p>Under the hood, Nest makes use of <a href="https://expressjs.com/" target="_blank">Express</a>, but also, provides compatibility with a wide range of other libraries, like e.g. <a href="https://github.com/fastify/fastify" target="_blank">Fastify</a>, allowing for easy use of the myriad third-party plugins which are available.</p>
@@ -34,10 +34,10 @@ Nest is a framework for building efficient, scalable <a href="http://nodejs.org"
## Getting started
* To check out the [guide](https://docs.nestjs.com), visit [docs.nestjs.com](https://docs.nestjs.com). :books:
* 要查看中文 [指南](readme_zh.md), 请访问 [docs.nestjs.cn](https://docs.nestjs.cn). :books:
* [가이드](readme_kr.md) 문서는 [docs.nestjs.com](https://docs.nestjs.com)에서 확인하실 수 있습니다. :books:
* [ガイド](readme_jp.md)は [docs.nestjs.com](https://docs.nestjs.com)でご確認ください。 :books:
- To check out the [guide](https://docs.nestjs.com), visit [docs.nestjs.com](https://docs.nestjs.com). :books:
- 要查看中文 [指南](readme_zh.md), 请访问 [docs.nestjs.cn](https://docs.nestjs.cn). :books:
- [가이드](readme_kr.md) 문서는 [docs.nestjs.com](https://docs.nestjs.com)에서 확인하실 수 있습니다. :books:
- [ガイド](readme_jp.md)は [docs.nestjs.com](https://docs.nestjs.com)でご確認ください。 :books:
## Questions
@@ -56,26 +56,29 @@ With official support, you can get expert help straight from Nest core team. We
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support from the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
#### Principal Sponsors
<table style="text-align:center;"><tr>
<td><a href="https://trilon.io" target="_blank"><img src="https://nestjs.com/img/trilon.svg" width="200" valign="middle" /></a></td>
<td><a href="https://www.redhat.com" target="_blank"><img src="https://nestjs.com/img/red-hat-logo.svg" width="200" valign="middle" /></a></td>
<td>
<a href="https://github.com/Sanofi-IADC" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/sanofi.png" width="180" valign="middle" /></a></td>
<td>
<a href="https://nx.dev" target="_blank"><img src="https://nestjs.com/img/nx-logo.png" height="45" valign="middle" /></a></td>
<td>
<a href="https://valor-software.com/" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/valor-software.png" width="170" valign="middle" /></a></td><td>
<a href="https://valor-software.com/" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/valor-software.png" width="170" valign="middle" /></a></td>
<td>
<a href="https://amplication.com/" target="_blank"><img src="https://nestjs.com/img/amplication-logo.svg" width="190" valign="middle" /></a></td>
</tr></table>
#### Gold Sponsors
<table style="text-align:center;"><tr><td>
<table style="text-align:center;"><tr>
<td><a href="https://www.redhat.com" target="_blank"><img src="https://nestjs.com/img/red-hat-logo.svg" width="200" valign="middle" /></a></td>
<td>
<a href="https://github.com/Sanofi-IADC" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/sanofi.png" width="180" valign="middle" /></a></td>
<td>
<a href="https://nx.dev" target="_blank"><img src="https://nestjs.com/img/nx-logo.png" height="45" valign="middle" /></a></td>
<td>
<a href="https://weld.app/" target="_blank"><img src="https://nestjs.com/img/weld-logo.svg" width="140" valign="middle" /></a></td>
<td>
<a href="https://intrinsic.ventures/" target="_blank"><img src="https://nestjs.com/img/intrinisic-logo.png" width="210" valign="middle" /></a></td>
<a href="https://intrinsic.ventures/" target="_blank"><img src="https://nestjs.com/img/intrinisic-logo.png" width="210" valign="middle" /></a></td></tr><tr>
<td>
<a href="https://jetbrains.com/" target="_blank"><img src="https://nestjs.com/img/jetbrains-logo.svg" width="110" valign="middle" /></a></td><td>
<a href="https://jetbrains.com/" target="_blank"><img src="https://nestjs.com/img/jetbrains-logo.svg" width="90" valign="middle" /></a></td><td>
<a href="https://snyk.co/nestjs" target="_blank"><img src="https://nestjs.com/img/snyk-logo-black.png" width="185" valign="middle" /></a></td><td>
<a href="https://fuseautotech.com/" target="_blank"><img src="https://nestjs.com/img/fuse-logo.svg" width="105" valign="middle" /></a></td>
<td>
@@ -84,17 +87,11 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
#### Silver Sponsors
<table style="text-align:center;"><tr><td>
<a href="https://neoteric.eu/" target="_blank"><img src="https://nestjs.com/img/neoteric-cut.png" width="120" valign="middle" /></a> </td><td>
<a href="http://gojob.com" target="_blank"><img src="http://nestjs.com/img/gojob-logo.png" valign="middle" width="100" /></a> </td><td>
<a href="https://www.myleodsc.com/" target="_blank"><img src="https://nestjs.com/img/myleo-logo.png" width="180" valign="middle" /></td><td>
<a href="https://careers.meetdandy.com/?gh_src=063ba61e3us" target="_blank"><img src="https://nestjs.com/img/dandy-roles-logo.svg" width="150" valign="middle" /></td><td>
<a href="https://www.castlecraft.in" target="_blank"><img src="https://nestjs.com/img/castlecraft-logo.png" width="150" valign="middle" /></td>
<td><a href="https://www.tinystacks.com" target="_blank"><img src="https://nestjs.com/img/tinystacks-logo.png#1" width="140" valign="middle" /></td>
<td><a href="https://n.inc" target="_blank"><img src="https://nestjs.com/img/n-inc-logo.svg" width="120" valign="middle" /></td></tr><tr>
<td><a href="https://bilberrry.com/" target="_blank"><img src="https://nestjs.com/img/bilberrry-logo.svg" width="180" valign="middle" /></td>
<td><a href="https://ipinfo.ai/" target="_blank"><img src="https://nestjs.com/img/ipinfo-logo.png" width="130" valign="middle" /></td>
<td><a href="https://chax.at" target="_blank"><img src="https://nestjs.com/img/chaxat-logo.png" width="100" valign="middle" /></td></tr>
<table style="text-align:center;"><tr>
<td><a href="https://n.inc" target="_blank"><img src="https://nestjs.com/img/n-inc-logo.svg" width="120" valign="middle" /></td>
<td><a href="https://twistag.com/" target="_blank"><img src="https://nestjs.com/img/twistag-logo.png" width="120" valign="middle" /></td>
<td><a href="https://immediateedgeapp.org/" target="_blank"><img src="https://nestjs.com/img/immediate-edge-logo.png" width="120" valign="middle" /></td>
</tr>
</table>
#### Sponsors
@@ -102,41 +99,26 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<table><tr><td align="center" valign="middle">
<a href="https://www.swingdev.io" target="_blank"><img src="https://nestjs.com/img/swingdev-logo.svg#1" width="110" valign="middle" /> </a></td><td align="center" valign="middle">
<a href="https://www.novologic.com/" target="_blank"><img src="https://nestjs.com/img/novologic.png" width="110" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://ever.co/" target="_blank"><img src="https://nestjs.com/img/ever-logo.png" width="72" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://blokt.com" target="_blank"><img src="https://nestjs.com/img/blokt-logo.png" width="120" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="http://architectnow.net/" target="_blank"><img src="https://nestjs.com/img/architectnow.png" width="125" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://quander.io/" target="_blank"><img src="https://nestjs.com/img/quander.png" width="100" valign="middle" /></a> </td></tr><tr><td align="center" valign="middle">
<a href="https://mantro.net/" target="_blank"><img src="https://nestjs.com/img/mantro-logo.svg" width="95" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://triplebyte.com/" target="_blank"><img src="https://nestjs.com/img/triplebyte.png" width="107" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://reposit.co.uk/" target="_blank"><img src="https://nestjs.com/img/reposit-logo.png" width="71" valign="middle" /></a></td><td align="center" valign="middle">
<a href="https://nearpod.com/" target="_blank"><img src="https://nestjs.com/img/nearpod-logo.svg" width="100" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://clay.global/" target="_blank"><img src="https://nestjs.com/img/clay-logo.svg" width="75" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://firesticktricks.com" target="_blank"><img src="https://nestjs.com/img/firesticktricks-logo.png" width="120" valign="middle" /></a></td></tr><tr><td align="center" valign="middle">
<a href="https://www.codeguesser.co.uk" target="_blank"><img src="https://nestjs.com/img/codeguesser-logo.svg" width="120" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://f-a.nz/" target="_blank"><img src="https://nestjs.com/img/franz.svg" width="80" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://sparkfabrik.com/" target="_blank"><img src="https://nestjs.com/img/sparkfabrik-logo.png" width="120" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://www.thebigphonestore.co.uk/" target="_blank"><img src="https://nestjs.com/img/the-big-phone-store-logo.png" width="65" valign="middle" /></a></td>
<a href="https://nearpod.com/" target="_blank"><img src="https://nestjs.com/img/nearpod-logo.svg" width="100" valign="middle" /></a> </td>
<td align="center" valign="middle">
<a href="https://genuinebee.com/" target="_blank"><img src="https://nestjs.com/img/genuinebee.svg" width="97" valign="middle" /></a> </td>
<td align="center" valign="middle"><a href="https://sanyodigital.com/" target="_blank"><img src="https://nestjs.com/img/sanyo-digital.png" width="130" valign="middle" /></a></td></tr><tr><td align="center" valign="middle"><a href="https://vpn-review.com/vpn-for-torrenting" target="_blank"><img src="https://nestjs.com/img/vpn-review-logo.png" width="85" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://lambda-it.ch/" target="_blank"><img src="https://nestjs.com/img/lambda-it-logo.svg" width="115" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://pickwriters.com/top-10-translation-services" target="_blank"><img src="https://nestjs.com/img/pickwriters-logo.png" width="40" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://thewordpoint.com/services/localization" target="_blank"><img src="https://nestjs.com/img/thewordpoint-logo.png" width="40" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://meercode.io/" target="_blank"><img src="https://nestjs.com/img/meercode-logo.png" width="60" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.najlepszeplatformyforex.pl/blog/broker-xtb/" target="_blank"><img src="https://nestjs.com/img/npf-logo.jpg" width="200" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://thestandarddaily.com/" target="_blank"><img src="https://nestjs.com/img/the-standard-daily-logo.png" width="180" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://houseofangular.io/" target="_blank"><img src="https://nestjs.com/img/house-of-angular.png" width="100" valign="middle" /></a></td>
<a href="https://genuinebee.com/" target="_blank"><img src="https://nestjs.com/img/genuinebee.svg" width="97" valign="middle" /></a> </td></tr><tr>
<td align="center" valign="middle"><a href="https://sanyodigital.com/" target="_blank"><img src="https://nestjs.com/img/sanyo-digital.png" width="130" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://vpn-review.com/vpn-for-torrenting" target="_blank"><img src="https://nestjs.com/img/vpn-review-logo.png" width="85" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://lambda-it.ch/" target="_blank"><img src="https://nestjs.com/img/lambda-it-logo.svg" width="115" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.najlepszeplatformyforex.pl/blog/broker-xtb/" target="_blank"><img src="https://nestjs.com/img/npf-logo.jpg" width="200" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://rocketech.it/cases/?utm_source=google&utm_medium=badge&utm_campaign=nestjs" target="_blank"><img src="https://nestjs.com/img/rocketech-logo.svg" width="110" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.bystored.com/" target="_blank"><img src="https://nestjs.com/img/stored-logo.svg" width="110" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://studyclerk.com/pay-for-research-paper" target="_blank"><img src="https://nestjs.com/img/studyclerk-logo.png" width="125" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://xyndata.com" target="_blank"><img src="https://nestjs.com/img/xyndata-logo.png" width="125" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://www.anonymistic.com/" target="_blank"><img src="https://nestjs.com/img/anonymistic-logo.png" width="125" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.anonymistic.com/" target="_blank"><img src="https://nestjs.com/img/anonymistic-logo.png" width="125" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://www.naologic.com/" target="_blank"><img src="https://nestjs.com/img/naologic-logo.svg" width="125" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://messaged.com/" target="_blank"><img src="https://nestjs.com/img/messaged-logo.png" width="50" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://triplecore.io" target="_blank"><img src="https://nestjs.com/img/triplecore-logo.svg" width="50" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://klqc.de" target="_blank"><img src="https://nestjs.com/img/klcqcl-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://thecasinowizard.com/bonuses/no-deposit-bonuses/" target="_blank"><img src="https://nestjs.com/img/casinowizard-logo.png" width="120" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://thecasinowizard.com/bonuses/no-deposit-bonuses/" target="_blank"><img src="https://nestjs.com/img/casinowizard-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://polygon-software.ch/" target="_blank"><img src="https://nestjs.com/img/polygon-logo.svg" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://themobilereality.com/" target="_blank"><img src="https://nestjs.com/img/mobile-reality-logo.png" width="45" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://boringowl.io/" target="_blank"><img src="https://nestjs.com/img/boringowl-logo.svg" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.mobilefactory.jp/" target="_blank"><img src="https://nestjs.com/img/mobilefactory-logo.png" width="100" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://nordbot.app/" target="_blank"><img src="https://nestjs.com/img/nordbot-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://nordbot.app/" target="_blank"><img src="https://nestjs.com/img/nordbot-logo.png" width="120" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://doppio.sh/" target="_blank"><img src="https://nestjs.com/img/dopiosh-logo.png" width="50" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.hingehealth.com/" target="_blank"><img src="https://nestjs.com/img/hinge-health-logo.svg" width="100" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://julienferand.dev/" target="_blank"><img src="https://nestjs.com/img/julienferand-logo.jpeg" width="65" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.tripoffice.com/" target="_blank"><img src="https://nestjs.com/img/tripoffice-logo.png" width="140" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://solcellsforetag.se/" target="_blank"><img src="https://nestjs.com/img/solcellsforetag-logo.svg" width="140" valign="middle" /></a></td>
</tr></table>
## Backers
@@ -145,9 +127,9 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
## Stay in touch
* Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
* Website - [https://nestjs.com](https://nestjs.com/)
* Twitter - [@nestframework](https://twitter.com/nestframework)
- Author - [Kamil Myśliwiec](https://x.com/kammysliwiec)
- Website - [https://nestjs.com](https://nestjs.com/)
- X - [@nestframework](https://x.com/nestframework)
## License

View File

@@ -0,0 +1,35 @@
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import { AppModule } from '../src/app.module';
import { WebhooksExplorer } from '../src/webhooks.explorer';
describe('DiscoveryModule', () => {
it('should discover all providers & handlers with corresponding annotations', async () => {
const builder = Test.createTestingModule({
imports: [AppModule],
});
const testingModule = await builder.compile();
const webhooksExplorer = testingModule.get(WebhooksExplorer);
expect(webhooksExplorer.getWebhooks()).to.be.eql([
{
handlers: [
{
event: 'start',
methodName: 'onStart',
},
],
name: 'cleanup',
},
{
handlers: [
{
event: 'start',
methodName: 'onStart',
},
],
name: 'flush',
},
]);
});
});

View File

@@ -0,0 +1,10 @@
import { Module } from '@nestjs/common';
import { DiscoveryModule } from '@nestjs/core';
import { MyWebhookModule } from './my-webhook/my-webhook.module';
import { WebhooksExplorer } from './webhooks.explorer';
@Module({
imports: [MyWebhookModule, DiscoveryModule],
providers: [WebhooksExplorer],
})
export class AppModule {}

View File

@@ -0,0 +1,6 @@
import { DiscoveryService } from '@nestjs/core';
export const Webhook = DiscoveryService.createDecorator<{ name: string }>();
export const WebhookHandler = DiscoveryService.createDecorator<{
event: string;
}>();

View File

@@ -0,0 +1,9 @@
import { Webhook, WebhookHandler } from '../decorators/webhook.decorators';
@Webhook({ name: 'cleanup' })
export class CleanupWebhook {
@WebhookHandler({ event: 'start' })
onStart() {
console.log('cleanup started');
}
}

View File

@@ -0,0 +1,9 @@
import { Webhook, WebhookHandler } from '../decorators/webhook.decorators';
@Webhook({ name: 'flush' })
export class FlushWebhook {
@WebhookHandler({ event: 'start' })
onStart() {
console.log('flush started');
}
}

View File

@@ -0,0 +1,6 @@
import { Module } from '@nestjs/common';
import { CleanupWebhook } from './cleanup.webhook';
import { FlushWebhook } from './flush.webhook';
@Module({ providers: [CleanupWebhook, FlushWebhook] })
export class MyWebhookModule {}

View File

@@ -0,0 +1,39 @@
import { Injectable } from '@nestjs/common';
import { DiscoveryService, MetadataScanner } from '@nestjs/core';
import { Webhook, WebhookHandler } from './decorators/webhook.decorators';
@Injectable()
export class WebhooksExplorer {
constructor(
private readonly discoveryService: DiscoveryService,
private readonly metadataScanner: MetadataScanner,
) {}
getWebhooks() {
const webhooks = this.discoveryService.getProviders({
metadataKey: Webhook.KEY,
});
return webhooks.map(wrapper => {
const { name } = this.discoveryService.getMetadataByDecorator(
Webhook,
wrapper,
);
return {
name,
handlers: this.metadataScanner
.getAllMethodNames(wrapper.metatype.prototype)
.map(methodName => {
const { event } = this.discoveryService.getMetadataByDecorator(
WebhookHandler,
wrapper,
methodName,
);
return {
methodName,
event,
};
}),
};
});
}
}

View File

@@ -0,0 +1,40 @@
{
"compilerOptions": {
"module": "commonjs",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",
"paths": {
"@nestjs/common": ["../../packages/common"],
"@nestjs/common/*": ["../../packages/common/*"],
"@nestjs/core": ["../../packages/core"],
"@nestjs/core/*": ["../../packages/core/*"],
"@nestjs/microservices": ["../../packages/microservices"],
"@nestjs/microservices/*": ["../../packages/microservices/*"],
"@nestjs/websockets": ["../../packages/websockets"],
"@nestjs/websockets/*": ["../../packages/websockets/*"],
"@nestjs/testing": ["../../packages/testing"],
"@nestjs/testing/*": ["../../packages/testing/*"],
"@nestjs/platform-express": ["../../packages/platform-express"],
"@nestjs/platform-express/*": ["../../packages/platform-express/*"],
"@nestjs/platform-socket.io": ["../../packages/platform-socket.io"],
"@nestjs/platform-socket.io/*": ["../../packages/platform-socket.io/*"],
"@nestjs/platform-ws": ["../../packages/platform-ws"],
"@nestjs/platform-ws/*": ["../../packages/platform-ws/*"]
}
},
"include": [
"src/**/*",
"e2e/**/*"
],
"exclude": [
"node_modules",
]
}

View File

@@ -25,7 +25,7 @@ services:
- "9001:9001"
restart: always
mysql:
image: mysql:8.0.32
image: mysql:8.0.33
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: test
@@ -50,7 +50,7 @@ services:
zookeeper:
container_name: test-zookeeper
hostname: zookeeper
image: confluentinc/cp-zookeeper:7.3.2
image: confluentinc/cp-zookeeper:7.4.1
ports:
- "2181:2181"
environment:
@@ -59,7 +59,7 @@ services:
kafka:
container_name: test-kafka
hostname: kafka
image: confluentinc/cp-kafka:7.3.2
image: confluentinc/cp-kafka:7.4.1
depends_on:
- zookeeper
ports:

View File

@@ -3,7 +3,10 @@ import {
Get,
MiddlewareConsumer,
Module,
NestMiddleware,
NestModule,
Query,
Req,
RequestMethod,
} from '@nestjs/common';
import {
@@ -14,178 +17,385 @@ import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import { AppModule } from '../src/app.module';
const INCLUDED_VALUE = 'test_included';
const QUERY_VALUE = 'test_query';
const REQ_URL_VALUE = 'test_req_url';
const RETURN_VALUE = 'test';
const SCOPED_VALUE = 'test_scoped';
const WILDCARD_VALUE = 'test_wildcard';
@Controller()
class TestController {
@Get('express_style_wildcard/wildcard_nested')
express_style_wildcard() {
return RETURN_VALUE;
}
@Get('test')
test() {
return RETURN_VALUE;
}
@Get('query')
query() {
return RETURN_VALUE;
}
@Get('tests/wildcard_nested')
wildcard_nested() {
return RETURN_VALUE;
}
@Get('tests/included')
included() {
return RETURN_VALUE;
}
}
@Controller(QUERY_VALUE)
class TestQueryController {
@Get()
[QUERY_VALUE](@Query('test') test: string) {
return test;
}
}
@Module({
imports: [AppModule],
controllers: [TestController, TestQueryController],
})
class TestModule {
configure(consumer: MiddlewareConsumer) {
consumer
.apply((req, res, next) => res.end(INCLUDED_VALUE))
.forRoutes({ path: 'tests/included', method: RequestMethod.POST })
.apply((req, res, next) => res.end(`${REQ_URL_VALUE}${req.url}`))
.forRoutes('req/url/')
.apply((req, res, next) => res.end(WILDCARD_VALUE))
.forRoutes('express_style_wildcard/*', 'tests/(.*)')
.apply((req, res, next) => res.end(QUERY_VALUE))
.forRoutes('query')
.apply((req, res, next) => next())
.forRoutes(TestQueryController)
.apply((req, res, next) => res.end(SCOPED_VALUE))
.forRoutes(TestController)
.apply((req, res, next) => res.end(RETURN_VALUE))
.exclude({ path: QUERY_VALUE, method: -1 as any })
.forRoutes('(.*)');
}
}
describe('Middleware (FastifyAdapter)', () => {
let app: NestFastifyApplication;
beforeEach(async () => {
app = (
await Test.createTestingModule({
imports: [TestModule],
}).compile()
).createNestApplication<NestFastifyApplication>(new FastifyAdapter());
describe('should return expected values depending on the route', () => {
const INCLUDED_VALUE = 'test_included';
const QUERY_VALUE = 'test_query';
const REQ_URL_VALUE = 'test_req_url';
const RETURN_VALUE = 'test';
const SCOPED_VALUE = 'test_scoped';
const WILDCARD_VALUE = 'test_wildcard';
await app.init();
@Controller()
class TestController {
@Get('express_style_wildcard/wildcard_nested')
express_style_wildcard() {
return RETURN_VALUE;
}
@Get('test')
test() {
return RETURN_VALUE;
}
@Get('query')
query() {
return RETURN_VALUE;
}
@Get('tests/wildcard_nested')
wildcard_nested() {
return RETURN_VALUE;
}
@Get('tests/included')
included() {
return RETURN_VALUE;
}
}
@Controller(QUERY_VALUE)
class TestQueryController {
@Get()
[QUERY_VALUE](@Query('test') test: string) {
return test;
}
}
@Module({
imports: [AppModule],
controllers: [TestController, TestQueryController],
})
class TestModule {
configure(consumer: MiddlewareConsumer) {
consumer
.apply((req, res, next) => res.end(INCLUDED_VALUE))
.forRoutes({ path: 'tests/included', method: RequestMethod.POST })
.apply((req, res, next) => res.end(REQ_URL_VALUE))
.forRoutes('req/url/(.*)')
.apply((req, res, next) => res.end(WILDCARD_VALUE))
.forRoutes('express_style_wildcard/*', 'tests/(.*)')
.apply((req, res, next) => res.end(QUERY_VALUE))
.forRoutes('query')
.apply((req, res, next) => next())
.forRoutes(TestQueryController)
.apply((req, res, next) => res.end(SCOPED_VALUE))
.forRoutes(TestController)
.apply((req, res, next) => res.end(RETURN_VALUE))
.exclude({ path: QUERY_VALUE, method: -1 as any })
.forRoutes('(.*)');
}
}
beforeEach(async () => {
app = (
await Test.createTestingModule({
imports: [TestModule],
}).compile()
).createNestApplication<NestFastifyApplication>(new FastifyAdapter());
await app.init();
});
it(`forRoutes((.*))`, () => {
return app
.inject({
method: 'GET',
url: '/hello',
})
.then(({ payload }) => expect(payload).to.be.eql(RETURN_VALUE));
});
it(`forRoutes(TestController)`, () => {
return app
.inject({
method: 'GET',
url: '/test',
})
.then(({ payload }) => expect(payload).to.be.eql(SCOPED_VALUE));
});
it(`query?test=${QUERY_VALUE} forRoutes(query)`, () => {
return app
.inject({
method: 'GET',
url: '/query',
query: {
test: QUERY_VALUE,
},
})
.then(({ payload }) => expect(payload).to.be.eql(QUERY_VALUE));
});
it(`${QUERY_VALUE}?test=${QUERY_VALUE} forRoutes(${QUERY_VALUE})`, () => {
return app
.inject({
method: 'GET',
url: QUERY_VALUE,
query: {
test: QUERY_VALUE,
},
})
.then(({ payload }) => expect(payload).to.be.eql(QUERY_VALUE));
});
it(`forRoutes(tests/(.*))`, () => {
return app
.inject({
method: 'GET',
url: '/tests/wildcard_nested',
})
.then(({ payload }) => expect(payload).to.be.eql(WILDCARD_VALUE));
});
it(`forRoutes(express_style_wildcard/*)`, () => {
return app
.inject({
method: 'GET',
url: '/express_style_wildcard/wildcard_nested',
})
.then(({ payload }) => expect(payload).to.be.eql(WILDCARD_VALUE));
});
it(`forRoutes(req/url/)`, () => {
const reqUrl = '/test';
return app
.inject({
method: 'GET',
url: `/req/url${reqUrl}`,
})
.then(({ payload }) => expect(payload).to.be.eql(REQ_URL_VALUE));
});
it(`GET forRoutes(POST tests/included)`, () => {
return app
.inject({
method: 'GET',
url: '/tests/included',
})
.then(({ payload }) => expect(payload).to.be.eql(WILDCARD_VALUE));
});
it(`POST forRoutes(POST tests/included)`, () => {
return app
.inject({
method: 'POST',
url: '/tests/included',
})
.then(({ payload }) => expect(payload).to.be.eql(INCLUDED_VALUE));
});
afterEach(async () => {
await app.close();
});
});
it(`forRoutes((.*))`, () => {
return app
.inject({
method: 'GET',
url: '/hello',
})
.then(({ payload }) => expect(payload).to.be.eql(RETURN_VALUE));
});
describe('should execute middleware only once for given routes', () => {
class Middleware implements NestMiddleware {
use(request: any, reply: any, next: () => void) {
if (request.middlewareExecutionCount === undefined) {
request.middlewareExecutionCount = 1;
} else {
request.middlewareExecutionCount++;
}
next();
}
}
it(`forRoutes(TestController)`, () => {
return app
.inject({
method: 'GET',
url: '/test',
})
.then(({ payload }) => expect(payload).to.be.eql(SCOPED_VALUE));
});
@Controller()
class AbcController {
@Get('/a')
async a(@Req() request: any) {
return this.validateExecutionCount({
request,
expected: 1,
});
}
it(`query?test=${QUERY_VALUE} forRoutes(query)`, () => {
return app
.inject({
method: 'GET',
url: '/query',
query: {
test: QUERY_VALUE,
},
})
.then(({ payload }) => expect(payload).to.be.eql(QUERY_VALUE));
});
@Get('/a/b')
async ab(@Req() request: any) {
return this.validateExecutionCount({
request,
expected: 1,
});
}
it(`${QUERY_VALUE}?test=${QUERY_VALUE} forRoutes(${QUERY_VALUE})`, () => {
return app
.inject({
method: 'GET',
url: QUERY_VALUE,
query: {
test: QUERY_VALUE,
},
})
.then(({ payload }) => expect(payload).to.be.eql(QUERY_VALUE));
});
@Get('/a/b/c')
async abc(@Req() request: any) {
return this.validateExecutionCount({
request,
expected: 1,
});
}
it(`forRoutes(tests/(.*))`, () => {
return app
.inject({
method: 'GET',
url: '/tests/wildcard_nested',
})
.then(({ payload }) => expect(payload).to.be.eql(WILDCARD_VALUE));
});
@Get('/similar')
async withSimilar(@Req() request: any) {
return this.validateExecutionCount({
request,
expected: 1,
});
}
it(`forRoutes(express_style_wildcard/*)`, () => {
return app
.inject({
method: 'GET',
url: '/express_style_wildcard/wildcard_nested',
})
.then(({ payload }) => expect(payload).to.be.eql(WILDCARD_VALUE));
});
@Get('/similar/test')
async withSimilarTest(@Req() request: any) {
return this.validateExecutionCount({
request,
expected: 1,
});
}
it(`forRoutes(req/url/)`, () => {
const reqUrl = '/test';
return app
.inject({
method: 'GET',
url: `/req/url${reqUrl}`,
})
.then(({ payload }) =>
expect(payload).to.be.eql(`${REQ_URL_VALUE}${reqUrl}`),
);
});
@Get('/similar/:id')
async withSimilarId(@Req() request: any) {
return this.validateExecutionCount({
request,
expected: 1,
});
}
it(`GET forRoutes(POST tests/included)`, () => {
return app
.inject({
method: 'GET',
url: '/tests/included',
})
.then(({ payload }) => expect(payload).to.be.eql(WILDCARD_VALUE));
});
private validateExecutionCount({
request,
expected,
}: {
request: any;
expected: number;
}) {
let actual: number | undefined;
actual = request.raw.middlewareExecutionCount;
actual ??= 0;
it(`POST forRoutes(POST tests/included)`, () => {
return app
.inject({
method: 'POST',
url: '/tests/included',
})
.then(({ payload }) => expect(payload).to.be.eql(INCLUDED_VALUE));
});
return {
success: actual === expected,
actual,
expected,
};
}
}
afterEach(async () => {
await app.close();
@Module({
controllers: [AbcController],
})
class TestModule implements NestModule {
configure(consumer: MiddlewareConsumer) {
consumer.apply(Middleware).forRoutes(AbcController);
}
}
beforeEach(async () => {
app = (
await Test.createTestingModule({
imports: [TestModule],
}).compile()
).createNestApplication<NestFastifyApplication>(new FastifyAdapter());
await app.init();
});
it(`GET forRoutes(/a/b/c)`, () => {
return app
.inject({
method: 'GET',
url: '/a/b/c',
})
.then(({ payload }) => {
expect(payload).to.be.eql(
JSON.stringify({
success: true,
actual: 1,
expected: 1,
}),
);
});
});
it(`GET forRoutes(/a/b)`, () => {
return app
.inject({
method: 'GET',
url: '/a/b',
})
.then(({ payload }) =>
expect(payload).to.be.eql(
JSON.stringify({
success: true,
actual: 1,
expected: 1,
}),
),
);
});
it(`GET forRoutes(/a)`, () => {
return app
.inject({
method: 'GET',
url: '/a',
})
.then(({ payload }) =>
expect(payload).to.be.eql(
JSON.stringify({
success: true,
actual: 1,
expected: 1,
}),
),
);
});
it(`GET forRoutes(/similar)`, () => {
return app
.inject({
method: 'GET',
url: '/similar',
})
.then(({ payload }) =>
expect(payload).to.be.eql(
JSON.stringify({
success: true,
actual: 1,
expected: 1,
}),
),
);
});
it(`GET forRoutes(/similar/test)`, () => {
return app
.inject({
method: 'GET',
url: '/similar/test',
})
.then(({ payload }) =>
expect(payload).to.be.eql(
JSON.stringify({
success: true,
actual: 1,
expected: 1,
}),
),
);
});
it(`GET forRoutes(/similar/arbitrary)`, () => {
return app
.inject({
method: 'GET',
url: '/similar/arbitrary',
})
.then(({ payload }) =>
expect(payload).to.be.eql(
JSON.stringify({
success: true,
actual: 1,
expected: 1,
}),
),
);
});
afterEach(async () => {
await app.close();
});
});
});

View File

@@ -0,0 +1,63 @@
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import { Controller, Injectable, Module } from '@nestjs/common';
class B {}
@Injectable()
class A {
constructor(b: B) {}
}
@Injectable()
class BImpl {
constructor(a: A) {}
}
@Controller()
class AppController {
constructor(a: A) {}
}
@Module({
imports: [],
controllers: [AppController],
providers: [A, { provide: B, useClass: BImpl }],
})
export class AppModule {}
describe('Circular custom providers', () => {
it('should throw an exception (useClass + regular provider)', async () => {
try {
const builder = Test.createTestingModule({
imports: [AppModule],
});
await builder.compile();
expect(true).to.be.eql(false);
} catch (err) {
expect(err.message).to.be.eql(
'A circular dependency has been detected inside "A". Please, make sure that each side of a bidirectional relationships are decorated with "forwardRef()". Note that circular relationships between custom providers (e.g., factories) are not supported since functions cannot be called more than once.',
);
}
});
it('should throw an exception (2 factories)', async () => {
try {
const builder = Test.createTestingModule({
providers: [
{ provide: 'ABC', useFactory: () => ({}), inject: ['DEF'] },
{ provide: 'DEF', useFactory: () => ({}), inject: ['ABC'] },
],
});
await builder.compile();
expect(true).to.be.eql(false);
} catch (err) {
expect(err.message).to.be.eql(
'A circular dependency has been detected inside "ABC". Please, make sure that each side of a bidirectional relationships are decorated with "forwardRef()". Note that circular relationships between custom providers (e.g., factories) are not supported since functions cannot be called more than once.',
);
}
});
});

View File

@@ -0,0 +1,29 @@
import { INestApplication } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import * as chai from 'chai';
import { expect } from 'chai';
import chaiAsPromised = require('chai-as-promised');
import { AppModule } from '../src/app.module';
chai.use(chaiAsPromised);
describe('Lazy imports', () => {
let server;
let app: INestApplication;
beforeEach(async () => {
const module = await Test.createTestingModule({
imports: [AppModule],
}).compile();
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
});
it(`should allow imports of global modules`, async () => {
await expect(app.init()).to.eventually.be.fulfilled;
});
afterEach(async () => {
await app.close();
});
});

View File

@@ -0,0 +1,16 @@
import { Module } from '@nestjs/common';
import { LazyModuleLoader } from '@nestjs/core';
import { EagerModule } from './eager.module';
import { GlobalModule } from './global.module';
import { LazyModule } from './lazy.module';
@Module({
imports: [GlobalModule, EagerModule],
})
export class AppModule {
constructor(public loader: LazyModuleLoader) {}
async onApplicationBootstrap() {
await this.loader.load(() => LazyModule);
}
}

View File

@@ -0,0 +1,12 @@
import { Module, Injectable } from '@nestjs/common';
import { GlobalService } from './global.module';
@Injectable()
export class EagerService {
constructor(public globalService: GlobalService) {}
}
@Module({
providers: [EagerService],
})
export class EagerModule {}

View File

@@ -0,0 +1,13 @@
import { Module, Injectable, Global } from '@nestjs/common';
@Injectable()
export class GlobalService {
constructor() {}
}
@Global()
@Module({
providers: [GlobalService],
exports: [GlobalService],
})
export class GlobalModule {}

View File

@@ -0,0 +1,12 @@
import { Module, Injectable } from '@nestjs/common';
import { GlobalService } from './global.module';
@Injectable()
export class LazyService {
constructor(public globalService: GlobalService) {}
}
@Module({
providers: [LazyService],
})
export class LazyModule {}

View File

@@ -0,0 +1,8 @@
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
}
bootstrap();

View File

@@ -4,9 +4,7 @@ import { CatsModule } from './cats/cats.module';
@Module({
imports: [
MongooseModule.forRoot('mongodb://localhost:27017/test', {
useNewUrlParser: true,
}),
MongooseModule.forRoot('mongodb://localhost:27017/test'),
CatsModule,
],
})

View File

@@ -10,7 +10,6 @@ class ConfigService implements MongooseOptionsFactory {
createMongooseOptions(): MongooseModuleOptions {
return {
uri: 'mongodb://localhost:27017/test',
useNewUrlParser: true,
};
}
}

View File

@@ -10,7 +10,6 @@ class ConfigService implements MongooseOptionsFactory {
createMongooseOptions(): MongooseModuleOptions {
return {
uri: 'mongodb://localhost:27017/test',
useNewUrlParser: true,
};
}
}

View File

@@ -6,7 +6,6 @@ import { CatsModule } from './cats/cats.module';
imports: [
MongooseModule.forRootAsync({
useFactory: () => ({
useNewUrlParser: true,
uri: 'mongodb://localhost:27017/test',
}),
}),

View File

@@ -6,7 +6,7 @@ export class AppController {
@Sse('sse')
sse(): Observable<MessageEvent> {
return interval(1000).pipe(
map(_ => ({ data: { hello: 'world' } } as MessageEvent)),
map(_ => ({ data: { hello: 'world' } }) as MessageEvent),
);
}
}

View File

@@ -77,7 +77,7 @@ describe('Fastify FileSend', () => {
expect(headers['content-disposition']).to.equal(
'attachment; filename="Readme.md"',
);
expect(headers['content-length']).to.equal(readme.byteLength);
expect(headers['content-length']).to.equal(`${readme.byteLength}`);
expect(payload).to.equal(readmeString);
});
});

View File

@@ -1,6 +1,6 @@
{
"type": "mysql",
"host": "localhost",
"host": "127.0.0.1",
"port": 3306,
"username": "root",
"password": "root",

View File

@@ -7,7 +7,7 @@ import { PhotoModule } from './photo/photo.module';
imports: [
TypeOrmModule.forRoot({
type: 'mysql',
host: 'localhost',
host: '127.0.0.1',
port: 3306,
username: 'root',
password: 'root',

View File

@@ -11,7 +11,7 @@ class ConfigService implements TypeOrmOptionsFactory {
createTypeOrmOptions(): TypeOrmModuleOptions {
return {
type: 'mysql',
host: 'localhost',
host: '127.0.0.1',
port: 3306,
username: 'root',
password: 'root',

View File

@@ -11,7 +11,7 @@ class ConfigService implements TypeOrmOptionsFactory {
createTypeOrmOptions(): TypeOrmModuleOptions {
return {
type: 'mysql',
host: 'localhost',
host: '127.0.0.1',
port: 3306,
username: 'root',
password: 'root',

View File

@@ -8,7 +8,7 @@ import { PhotoModule } from './photo/photo.module';
TypeOrmModule.forRootAsync({
useFactory: () => ({
type: 'mysql',
host: 'localhost',
host: '127.0.0.1',
port: 3306,
username: 'root',
password: 'root',

View File

@@ -11,7 +11,7 @@ export class DatabaseModule {
imports: [
TypeOrmModule.forRoot({
type: 'mysql',
host: 'localhost',
host: '127.0.0.1',
port: 3306,
username: 'root',
password: 'root',

View File

@@ -418,4 +418,67 @@ describe('URI Versioning', () => {
await app.close();
});
});
// ======================================================================== //
describe('with middleware applied', () => {
before(async () => {
const moduleRef = await Test.createTestingModule({
imports: [AppModule],
}).compile();
app = moduleRef.createNestApplication();
app.enableVersioning({
type: VersioningType.URI,
defaultVersion: '1',
});
await app.init();
});
describe('GET /middleware', () => {
it('should return "Hello from middleware function!"', () => {
return request(app.getHttpServer())
.get('/v1/middleware')
.expect(200)
.expect('Hello from middleware function!');
});
});
describe('GET /middleware/override', () => {
it('should return "Hello from middleware function!"', () => {
return request(app.getHttpServer())
.get('/v2/middleware/override')
.expect(200)
.expect('Hello from middleware function!');
});
});
describe('GET /middleware/multiple', () => {
it('should return "Hello from middleware function!" (v1)', () => {
return request(app.getHttpServer())
.get('/v1/middleware/multiple')
.expect(200)
.expect('Hello from middleware function!');
});
it('should return "Hello from middleware function!" (v2)', () => {
return request(app.getHttpServer())
.get('/v2/middleware/multiple')
.expect(200)
.expect('Hello from middleware function!');
});
});
describe('GET /middleware/neutral', () => {
it('should return "Hello from middleware function!"', () => {
return request(app.getHttpServer())
.get('/middleware/neutral')
.expect(200)
.expect('Hello from middleware function!');
});
});
after(async () => {
await app.close();
});
});
});

View File

@@ -1,11 +1,14 @@
import { Module } from '@nestjs/common';
import { MiddlewareConsumer, Module } from '@nestjs/common';
import { AppV1Controller } from './app-v1.controller';
import { AppV2Controller } from './app-v2.controller';
import { MiddlewareController } from './middleware.controller';
import { MultipleMiddlewareVersionController } from './multiple-middleware.controller';
import { MultipleVersionController } from './multiple.controller';
import { NoVersioningController } from './no-versioning.controller';
import { VersionNeutralMiddlewareController } from './neutral-middleware.controller';
import { VersionNeutralController } from './neutral.controller';
import { OverrideController } from './override.controller';
import { NoVersioningController } from './no-versioning.controller';
import { OverridePartialController } from './override-partial.controller';
import { OverrideController } from './override.controller';
@Module({
imports: [],
@@ -17,6 +20,19 @@ import { OverridePartialController } from './override-partial.controller';
VersionNeutralController,
OverrideController,
OverridePartialController,
MiddlewareController,
MultipleMiddlewareVersionController,
VersionNeutralMiddlewareController,
],
})
export class AppModule {}
export class AppModule {
configure(consumer: MiddlewareConsumer) {
consumer
.apply((req, res) => res.end('Hello from middleware function!'))
.forRoutes(
MiddlewareController,
MultipleMiddlewareVersionController,
VersionNeutralMiddlewareController,
);
}
}

View File

@@ -0,0 +1,18 @@
import { Controller, Get, Version } from '@nestjs/common';
@Controller({
path: 'middleware',
version: '1',
})
export class MiddlewareController {
@Get('/')
hello() {
return 'Hello from "MiddlewareController"!';
}
@Version('2')
@Get('/override')
hellov2() {
return 'Hello from "MiddlewareController"!';
}
}

View File

@@ -0,0 +1,12 @@
import { Controller, Get } from '@nestjs/common';
@Controller({
version: ['1', '2'],
path: 'middleware',
})
export class MultipleMiddlewareVersionController {
@Get('/multiple')
multiple() {
return 'Multiple Versions 1 or 2';
}
}

View File

@@ -0,0 +1,12 @@
import { Controller, Get, VERSION_NEUTRAL } from '@nestjs/common';
@Controller({
path: 'middleware',
version: VERSION_NEUTRAL,
})
export class VersionNeutralMiddlewareController {
@Get('/neutral')
neutral() {
return 'Neutral';
}
}

View File

@@ -66,5 +66,37 @@ describe('WebSocketGateway', () => {
);
});
it(`should be able to get the pattern in an interceptor`, async () => {
app = await createNestApp(ApplicationGateway);
await app.listen(3000);
ws = io('http://localhost:8080');
ws.emit('getClient', {
test: 'test',
});
await new Promise<void>(resolve =>
ws.on('popClient', data => {
expect(data.path).to.be.eql('getClient');
resolve();
}),
);
});
it(`should be able to get the pattern in a filter (when the error comes from a known handler)`, async () => {
app = await createNestApp(ApplicationGateway);
await app.listen(3000);
ws = io('http://localhost:8080');
ws.emit('getClientWithError', {
test: 'test',
});
await new Promise<void>(resolve =>
ws.on('exception', data => {
expect(data.pattern).to.be.eql('getClientWithError');
resolve();
}),
);
});
afterEach(() => app.close());
});

View File

@@ -194,6 +194,30 @@ describe('WebSocketGateway (WsAdapter)', () => {
});
});
it('should let the execution context have a getPattern() method on getClient()', async () => {
app = await createNestApp(ApplicationGateway);
await app.listen(3000);
ws = new WebSocket('ws://localhost:8080');
await new Promise(resolve => ws.on('open', resolve));
ws.send(
JSON.stringify({
event: 'getClient',
data: {
test: 'test',
},
}),
);
await new Promise<void>(resolve =>
ws.on('message', data => {
expect(JSON.parse(data).data.path).to.be.eql('getClient');
ws.close();
resolve();
}),
);
});
afterEach(async function () {
await app.close();
});

View File

@@ -1,8 +1,13 @@
import { UseFilters, UseInterceptors } from '@nestjs/common';
import {
MessageBody,
SubscribeMessage,
WebSocketGateway,
WsException,
} from '@nestjs/websockets';
import { RequestInterceptor } from './request.interceptor';
import { throwError } from 'rxjs';
import { RequestFilter } from './request.filter';
@WebSocketGateway(8080)
export class ApplicationGateway {
@@ -13,4 +18,19 @@ export class ApplicationGateway {
data,
};
}
@UseInterceptors(RequestInterceptor)
@SubscribeMessage('getClient')
getPathCalled(client, data) {
return {
event: 'popClient',
data: { ...data, path: client.pattern },
};
}
@UseFilters(RequestFilter)
@SubscribeMessage('getClientWithError')
getPathCalledWithError() {
return throwError(() => new WsException('This is an error'));
}
}

View File

@@ -0,0 +1,12 @@
import { ArgumentsHost, Catch, ExceptionFilter } from '@nestjs/common';
import { WsException } from '@nestjs/websockets';
@Catch(WsException)
export class RequestFilter implements ExceptionFilter {
catch(exception: WsException, host: ArgumentsHost) {
const wsCtx = host.switchToWs();
const pattern = wsCtx.getPattern();
const client = wsCtx.getClient();
client.emit('exception', { pattern, message: exception.message });
}
}

View File

@@ -0,0 +1,11 @@
import { CallHandler, ExecutionContext, Injectable } from '@nestjs/common';
@Injectable()
export class RequestInterceptor {
intercept(context: ExecutionContext, next: CallHandler) {
const client = context.switchToWs().getClient();
const pattern = context.switchToWs().getPattern();
client.pattern = pattern;
return next.handle();
}
}

View File

@@ -1,4 +1,6 @@
import { UseInterceptors } from '@nestjs/common';
import { SubscribeMessage, WebSocketGateway } from '@nestjs/websockets';
import { RequestInterceptor } from './request.interceptor';
@WebSocketGateway()
export class ServerGateway {
@@ -9,4 +11,13 @@ export class ServerGateway {
data,
};
}
@UseInterceptors(RequestInterceptor)
@SubscribeMessage('getClient')
getPathCalled(client, data) {
return {
event: 'popClient',
data: { ...data, path: client.pattern },
};
}
}

View File

@@ -3,5 +3,5 @@
"packages": [
"packages/*"
],
"version": "9.4.0"
"version": "10.2.6"
}

7699
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/core",
"version": "9.4.0",
"version": "10.1.3",
"description": "Modern, fast, powerful node.js web framework",
"homepage": "https://nestjs.com",
"repository": {
@@ -25,7 +25,7 @@
"move:node_modules": "gulp move:node_modules",
"build:samples": "gulp install:samples && npm run build && npm run move:samples && gulp build:samples && gulp test:samples && gulp test:e2e:samples",
"codechecks:benchmarks": "codechecks ./tools/benchmarks/check-benchmarks.ts",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"coverage": "nyc report --reporter=text-lcov | coveralls -v",
"format": "prettier \"**/*.ts\" \"packages/**/*.json\" --ignore-path ./.prettierignore --write && git status",
"postinstall": "opencollective",
"test": "mocha packages/**/*.spec.ts",
@@ -64,76 +64,76 @@
"cli-color": "2.0.3",
"cors": "2.8.5",
"express": "4.18.2",
"fast-json-stringify": "5.7.0",
"fast-json-stringify": "5.8.0",
"fast-safe-stringify": "2.1.1",
"graphql-subscriptions": "2.0.0",
"iterare": "1.2.1",
"object-hash": "3.0.0",
"path-to-regexp": "3.2.0",
"reflect-metadata": "0.1.13",
"rxjs": "7.8.0",
"socket.io": "4.6.1",
"tslib": "2.5.0",
"rxjs": "7.8.1",
"socket.io": "4.7.2",
"tslib": "2.6.2",
"uid": "2.0.2",
"uuid": "9.0.0"
"uuid": "9.0.1"
},
"devDependencies": {
"@apollo/server": "4.7.0",
"@apollo/server": "4.9.3",
"@codechecks/client": "0.1.12",
"@commitlint/cli": "17.6.1",
"@commitlint/config-angular": "17.6.1",
"@fastify/cors": "^8.0.0",
"@commitlint/cli": "17.7.1",
"@commitlint/config-angular": "17.7.0",
"@fastify/cors": "8.3.0",
"@fastify/formbody": "7.4.0",
"@fastify/middie": "8.1.0",
"@fastify/multipart": "7.6.0",
"@fastify/static": "6.10.1",
"@fastify/view": "7.4.1",
"@grpc/grpc-js": "1.8.14",
"@grpc/proto-loader": "0.7.6",
"@nestjs/apollo": "11.0.5",
"@nestjs/graphql": "11.0.5",
"@nestjs/mongoose": "9.2.2",
"@nestjs/typeorm": "9.0.1",
"@fastify/middie": "8.3.0",
"@fastify/multipart": "7.7.3",
"@fastify/static": "6.11.0",
"@fastify/view": "8.0.0",
"@grpc/grpc-js": "1.9.2",
"@grpc/proto-loader": "0.7.10",
"@nestjs/apollo": "12.0.4",
"@nestjs/graphql": "12.0.9",
"@nestjs/mongoose": "10.0.1",
"@nestjs/typeorm": "10.0.0",
"@types/amqplib": "0.10.1",
"@types/bytes": "3.1.1",
"@types/chai": "4.3.4",
"@types/chai-as-promised": "7.1.5",
"@types/cors": "2.8.13",
"@types/chai": "4.3.6",
"@types/chai-as-promised": "7.1.6",
"@types/cors": "2.8.14",
"@types/express": "4.17.17",
"@types/gulp": "4.0.10",
"@types/gulp": "4.0.14",
"@types/http-errors": "2.0.1",
"@types/mocha": "10.0.1",
"@types/node": "18.16.0",
"@types/sinon": "10.0.14",
"@types/node": "20.6.0",
"@types/sinon": "10.0.16",
"@types/supertest": "2.0.12",
"@types/ws": "8.5.4",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"amqp-connection-manager": "4.1.12",
"@types/ws": "8.5.5",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"amqp-connection-manager": "4.1.14",
"amqplib": "0.10.3",
"artillery": "1.7.9",
"body-parser": "1.20.2",
"bytes": "3.1.2",
"cache-manager": "5.2.1",
"cache-manager": "5.2.3",
"cache-manager-redis-store": "3.0.1",
"chai": "4.3.7",
"chai": "4.3.8",
"chai-as-promised": "7.1.1",
"clang-format": "1.8.0",
"commitlint-circle": "1.0.0",
"concurrently": "8.0.1",
"conventional-changelog": "3.1.25",
"core-js": "3.30.1",
"concurrently": "8.2.1",
"conventional-changelog": "5.1.0",
"core-js": "3.32.2",
"coveralls": "3.1.1",
"delete-empty": "3.0.0",
"engine.io-client": "6.4.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"engine.io-client": "6.5.2",
"eslint": "8.49.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"eventsource": "2.0.2",
"fancy-log": "2.0.0",
"fastify": "4.15.0",
"graphql": "16.6.0",
"graphql-tools": "8.3.20",
"fastify": "4.23.2",
"graphql": "16.8.1",
"graphql-tools": "9.0.0",
"gulp": "4.0.2",
"gulp-clang-format": "1.0.27",
"gulp-clean": "0.4.0",
@@ -148,30 +148,30 @@
"kafkajs": "2.2.4",
"lerna": "2.11.0",
"lerna-changelog": "2.2.0",
"light-my-request": "5.9.1",
"lint-staged": "13.2.1",
"light-my-request": "5.10.0",
"lint-staged": "14.0.1",
"markdown-table": "2.0.0",
"merge-graphql-schemas": "1.7.8",
"mocha": "10.2.0",
"mongoose": "7.0.4",
"mqtt": "4.3.7",
"mongoose": "7.5.2",
"mqtt": "5.0.5",
"multer": "1.4.4",
"mysql2": "3.2.3",
"nats": "2.13.1",
"nodemon": "2.0.22",
"mysql2": "3.6.1",
"nats": "2.17.0",
"nodemon": "3.0.1",
"nyc": "15.1.0",
"prettier": "2.8.8",
"redis": "4.6.5",
"prettier": "3.0.3",
"redis": "4.6.9",
"rxjs-compat": "6.6.7",
"sinon": "15.0.4",
"sinon": "15.2.0",
"sinon-chai": "3.7.0",
"socket.io-client": "4.6.1",
"socket.io-client": "4.7.2",
"subscriptions-transport-ws": "0.11.0",
"supertest": "6.3.3",
"ts-morph": "18.0.0",
"ts-morph": "19.0.0",
"ts-node": "10.9.1",
"typeorm": "0.3.15",
"typescript": "5.0.4",
"typeorm": "0.3.17",
"typescript": "5.2.2",
"wrk": "1.2.1",
"ws": "8.13.0"
},

View File

@@ -1,11 +1,11 @@
<p align="center">
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
<a href="https://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
</p>
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest
<p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">A progressive <a href="https://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
@@ -23,7 +23,7 @@
## Description
Nest is a framework for building efficient, scalable <a href="http://nodejs.org" target="_blank">Node.js</a> server-side applications. It uses modern JavaScript, is built with <a href="http://www.typescriptlang.org" target="_blank">TypeScript</a> (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).
Nest is a framework for building efficient, scalable <a href="https://nodejs.org" target="_blank">Node.js</a> server-side applications. It uses modern JavaScript, is built with <a href="https://www.typescriptlang.org" target="_blank">TypeScript</a> (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).
<p>Under the hood, Nest makes use of <a href="https://expressjs.com/" target="_blank">Express</a>, but also, provides compatibility with a wide range of other libraries, like e.g. <a href="https://github.com/fastify/fastify" target="_blank">Fastify</a>, allowing for easy use of the myriad third-party plugins which are available.</p>
@@ -34,10 +34,10 @@ Nest is a framework for building efficient, scalable <a href="http://nodejs.org"
## Getting started
* To check out the [guide](https://docs.nestjs.com), visit [docs.nestjs.com](https://docs.nestjs.com). :books:
* 要查看中文 [指南](readme_zh.md), 请访问 [docs.nestjs.cn](https://docs.nestjs.cn). :books:
* [가이드](readme_kr.md) 문서는 [docs.nestjs.com](https://docs.nestjs.com)에서 확인하실 수 있습니다. :books:
* [ガイド](readme_jp.md)は [docs.nestjs.com](https://docs.nestjs.com)でご確認ください。 :books:
- To check out the [guide](https://docs.nestjs.com), visit [docs.nestjs.com](https://docs.nestjs.com). :books:
- 要查看中文 [指南](readme_zh.md), 请访问 [docs.nestjs.cn](https://docs.nestjs.cn). :books:
- [가이드](readme_kr.md) 문서는 [docs.nestjs.com](https://docs.nestjs.com)에서 확인하실 수 있습니다. :books:
- [ガイド](readme_jp.md)は [docs.nestjs.com](https://docs.nestjs.com)でご確認ください。 :books:
## Questions
@@ -56,26 +56,29 @@ With official support, you can get expert help straight from Nest core team. We
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support from the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
#### Principal Sponsors
<table style="text-align:center;"><tr>
<td><a href="https://trilon.io" target="_blank"><img src="https://nestjs.com/img/trilon.svg" width="200" valign="middle" /></a></td>
<td><a href="https://www.redhat.com" target="_blank"><img src="https://nestjs.com/img/red-hat-logo.svg" width="200" valign="middle" /></a></td>
<td>
<a href="https://github.com/Sanofi-IADC" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/sanofi.png" width="180" valign="middle" /></a></td>
<td>
<a href="https://nx.dev" target="_blank"><img src="https://nestjs.com/img/nx-logo.png" height="45" valign="middle" /></a></td>
<td>
<a href="https://valor-software.com/" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/valor-software.png" width="170" valign="middle" /></a></td><td>
<a href="https://valor-software.com/" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/valor-software.png" width="170" valign="middle" /></a></td>
<td>
<a href="https://amplication.com/" target="_blank"><img src="https://nestjs.com/img/amplication-logo.svg" width="190" valign="middle" /></a></td>
</tr></table>
#### Gold Sponsors
<table style="text-align:center;"><tr><td>
<table style="text-align:center;"><tr>
<td><a href="https://www.redhat.com" target="_blank"><img src="https://nestjs.com/img/red-hat-logo.svg" width="200" valign="middle" /></a></td>
<td>
<a href="https://github.com/Sanofi-IADC" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/sanofi.png" width="180" valign="middle" /></a></td>
<td>
<a href="https://nx.dev" target="_blank"><img src="https://nestjs.com/img/nx-logo.png" height="45" valign="middle" /></a></td>
<td>
<a href="https://weld.app/" target="_blank"><img src="https://nestjs.com/img/weld-logo.svg" width="140" valign="middle" /></a></td>
<td>
<a href="https://intrinsic.ventures/" target="_blank"><img src="https://nestjs.com/img/intrinisic-logo.png" width="210" valign="middle" /></a></td>
<a href="https://intrinsic.ventures/" target="_blank"><img src="https://nestjs.com/img/intrinisic-logo.png" width="210" valign="middle" /></a></td></tr><tr>
<td>
<a href="https://jetbrains.com/" target="_blank"><img src="https://nestjs.com/img/jetbrains-logo.svg" width="110" valign="middle" /></a></td><td>
<a href="https://jetbrains.com/" target="_blank"><img src="https://nestjs.com/img/jetbrains-logo.svg" width="90" valign="middle" /></a></td><td>
<a href="https://snyk.co/nestjs" target="_blank"><img src="https://nestjs.com/img/snyk-logo-black.png" width="185" valign="middle" /></a></td><td>
<a href="https://fuseautotech.com/" target="_blank"><img src="https://nestjs.com/img/fuse-logo.svg" width="105" valign="middle" /></a></td>
<td>
@@ -84,17 +87,9 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
#### Silver Sponsors
<table style="text-align:center;"><tr><td>
<a href="https://neoteric.eu/" target="_blank"><img src="https://nestjs.com/img/neoteric-cut.png" width="120" valign="middle" /></a> </td><td>
<a href="http://gojob.com" target="_blank"><img src="http://nestjs.com/img/gojob-logo.png" valign="middle" width="100" /></a> </td><td>
<a href="https://www.myleodsc.com/" target="_blank"><img src="https://nestjs.com/img/myleo-logo.png" width="180" valign="middle" /></td><td>
<a href="https://careers.meetdandy.com/?gh_src=063ba61e3us" target="_blank"><img src="https://nestjs.com/img/dandy-roles-logo.svg" width="150" valign="middle" /></td><td>
<a href="https://www.castlecraft.in" target="_blank"><img src="https://nestjs.com/img/castlecraft-logo.png" width="150" valign="middle" /></td>
<td><a href="https://www.tinystacks.com" target="_blank"><img src="https://nestjs.com/img/tinystacks-logo.png#1" width="140" valign="middle" /></td>
<td><a href="https://n.inc" target="_blank"><img src="https://nestjs.com/img/n-inc-logo.svg" width="120" valign="middle" /></td></tr><tr>
<td><a href="https://bilberrry.com/" target="_blank"><img src="https://nestjs.com/img/bilberrry-logo.svg" width="180" valign="middle" /></td>
<td><a href="https://ipinfo.ai/" target="_blank"><img src="https://nestjs.com/img/ipinfo-logo.png" width="130" valign="middle" /></td>
<td><a href="https://chax.at" target="_blank"><img src="https://nestjs.com/img/chaxat-logo.png" width="100" valign="middle" /></td></tr>
<table style="text-align:center;"><tr>
<td><a href="https://n.inc" target="_blank"><img src="https://nestjs.com/img/n-inc-logo.svg" width="120" valign="middle" /></td>
<td><a href="https://twistag.com/" target="_blank"><img src="https://nestjs.com/img/twistag-logo.png" width="120" valign="middle" /></td></tr>
</table>
#### Sponsors
@@ -102,41 +97,25 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<table><tr><td align="center" valign="middle">
<a href="https://www.swingdev.io" target="_blank"><img src="https://nestjs.com/img/swingdev-logo.svg#1" width="110" valign="middle" /> </a></td><td align="center" valign="middle">
<a href="https://www.novologic.com/" target="_blank"><img src="https://nestjs.com/img/novologic.png" width="110" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://ever.co/" target="_blank"><img src="https://nestjs.com/img/ever-logo.png" width="72" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://blokt.com" target="_blank"><img src="https://nestjs.com/img/blokt-logo.png" width="120" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="http://architectnow.net/" target="_blank"><img src="https://nestjs.com/img/architectnow.png" width="125" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://quander.io/" target="_blank"><img src="https://nestjs.com/img/quander.png" width="100" valign="middle" /></a> </td></tr><tr><td align="center" valign="middle">
<a href="https://mantro.net/" target="_blank"><img src="https://nestjs.com/img/mantro-logo.svg" width="95" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://triplebyte.com/" target="_blank"><img src="https://nestjs.com/img/triplebyte.png" width="107" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://reposit.co.uk/" target="_blank"><img src="https://nestjs.com/img/reposit-logo.png" width="71" valign="middle" /></a></td><td align="center" valign="middle">
<a href="https://nearpod.com/" target="_blank"><img src="https://nestjs.com/img/nearpod-logo.svg" width="100" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://clay.global/" target="_blank"><img src="https://nestjs.com/img/clay-logo.svg" width="75" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://firesticktricks.com" target="_blank"><img src="https://nestjs.com/img/firesticktricks-logo.png" width="120" valign="middle" /></a></td></tr><tr><td align="center" valign="middle">
<a href="https://www.codeguesser.co.uk" target="_blank"><img src="https://nestjs.com/img/codeguesser-logo.svg" width="120" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://f-a.nz/" target="_blank"><img src="https://nestjs.com/img/franz.svg" width="80" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://sparkfabrik.com/" target="_blank"><img src="https://nestjs.com/img/sparkfabrik-logo.png" width="120" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://www.thebigphonestore.co.uk/" target="_blank"><img src="https://nestjs.com/img/the-big-phone-store-logo.png" width="65" valign="middle" /></a></td>
<a href="https://nearpod.com/" target="_blank"><img src="https://nestjs.com/img/nearpod-logo.svg" width="100" valign="middle" /></a> </td>
<td align="center" valign="middle">
<a href="https://genuinebee.com/" target="_blank"><img src="https://nestjs.com/img/genuinebee.svg" width="97" valign="middle" /></a> </td>
<td align="center" valign="middle"><a href="https://sanyodigital.com/" target="_blank"><img src="https://nestjs.com/img/sanyo-digital.png" width="130" valign="middle" /></a></td></tr><tr><td align="center" valign="middle"><a href="https://vpn-review.com/vpn-for-torrenting" target="_blank"><img src="https://nestjs.com/img/vpn-review-logo.png" width="85" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://lambda-it.ch/" target="_blank"><img src="https://nestjs.com/img/lambda-it-logo.svg" width="115" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://pickwriters.com/top-10-translation-services" target="_blank"><img src="https://nestjs.com/img/pickwriters-logo.png" width="40" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://thewordpoint.com/services/localization" target="_blank"><img src="https://nestjs.com/img/thewordpoint-logo.png" width="40" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://meercode.io/" target="_blank"><img src="https://nestjs.com/img/meercode-logo.png" width="60" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.najlepszeplatformyforex.pl/blog/broker-xtb/" target="_blank"><img src="https://nestjs.com/img/npf-logo.jpg" width="200" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://thestandarddaily.com/" target="_blank"><img src="https://nestjs.com/img/the-standard-daily-logo.png" width="180" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://houseofangular.io/" target="_blank"><img src="https://nestjs.com/img/house-of-angular.png" width="100" valign="middle" /></a></td>
<a href="https://genuinebee.com/" target="_blank"><img src="https://nestjs.com/img/genuinebee.svg" width="97" valign="middle" /></a> </td></tr><tr>
<td align="center" valign="middle"><a href="https://sanyodigital.com/" target="_blank"><img src="https://nestjs.com/img/sanyo-digital.png" width="130" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://vpn-review.com/vpn-for-torrenting" target="_blank"><img src="https://nestjs.com/img/vpn-review-logo.png" width="85" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://lambda-it.ch/" target="_blank"><img src="https://nestjs.com/img/lambda-it-logo.svg" width="115" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.najlepszeplatformyforex.pl/blog/broker-xtb/" target="_blank"><img src="https://nestjs.com/img/npf-logo.jpg" width="200" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://rocketech.it/cases/?utm_source=google&utm_medium=badge&utm_campaign=nestjs" target="_blank"><img src="https://nestjs.com/img/rocketech-logo.svg" width="110" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.bystored.com/" target="_blank"><img src="https://nestjs.com/img/stored-logo.svg" width="110" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://studyclerk.com/pay-for-research-paper" target="_blank"><img src="https://nestjs.com/img/studyclerk-logo.png" width="125" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://xyndata.com" target="_blank"><img src="https://nestjs.com/img/xyndata-logo.png" width="125" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://www.anonymistic.com/" target="_blank"><img src="https://nestjs.com/img/anonymistic-logo.png" width="125" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.anonymistic.com/" target="_blank"><img src="https://nestjs.com/img/anonymistic-logo.png" width="125" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://www.naologic.com/" target="_blank"><img src="https://nestjs.com/img/naologic-logo.svg" width="125" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://messaged.com/" target="_blank"><img src="https://nestjs.com/img/messaged-logo.png" width="50" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://triplecore.io" target="_blank"><img src="https://nestjs.com/img/triplecore-logo.svg" width="50" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://klqc.de" target="_blank"><img src="https://nestjs.com/img/klcqcl-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://thecasinowizard.com/bonuses/no-deposit-bonuses/" target="_blank"><img src="https://nestjs.com/img/casinowizard-logo.png" width="120" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://thecasinowizard.com/bonuses/no-deposit-bonuses/" target="_blank"><img src="https://nestjs.com/img/casinowizard-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://polygon-software.ch/" target="_blank"><img src="https://nestjs.com/img/polygon-logo.svg" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://mobilereality.pl/" target="_blank"><img src="https://nestjs.com/img/mobile-reality-logo.png" width="45" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://boringowl.io/" target="_blank"><img src="https://nestjs.com/img/boringowl-logo.svg" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.mobilefactory.jp/" target="_blank"><img src="https://nestjs.com/img/mobilefactory-logo.png" width="100" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://nordbot.app/" target="_blank"><img src="https://nestjs.com/img/nordbot-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://nordbot.app/" target="_blank"><img src="https://nestjs.com/img/nordbot-logo.png" width="120" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://doppio.sh/" target="_blank"><img src="https://nestjs.com/img/dopiosh-logo.png" width="50" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.hingehealth.com/" target="_blank"><img src="https://nestjs.com/img/hinge-health-logo.svg" width="100" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://julienferand.dev/" target="_blank"><img src="https://nestjs.com/img/julienferand-logo.jpeg" width="65" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.tripoffice.com/" target="_blank"><img src="https://nestjs.com/img/tripoffice-logo.png" width="140" valign="middle" /></a></td>
</tr></table>
## Backers
@@ -145,9 +124,9 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
## Stay in touch
* Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
* Website - [https://nestjs.com](https://nestjs.com/)
* Twitter - [@nestframework](https://twitter.com/nestframework)
- Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)
## License

View File

@@ -111,7 +111,7 @@ export const Head = createMappingDecorator(RequestMethod.HEAD);
export const All = createMappingDecorator(RequestMethod.ALL);
/**
* Route handler (method) Decorator. Routes all HTTP requests to the specified path.
* Route handler (method) Decorator. Routes HTTP SEARCH requests to the specified path.
*
* @see [Routing](https://docs.nestjs.com/controllers#routing)
*

View File

@@ -5,7 +5,8 @@ import {
import { isObject, isString } from '../utils/shared.utils';
export interface HttpExceptionOptions {
cause?: Error;
/** original cause of the error */
cause?: unknown;
description?: string;
}
@@ -68,14 +69,13 @@ export class HttpException extends Error {
this.initCause();
}
public cause: Error | undefined;
public cause: unknown;
/**
* Configures error chaining support
*
* See:
* - https://nodejs.org/en/blog/release/v16.9.0/#error-cause
* - https://github.com/microsoft/TypeScript/issues/45167
* @see https://nodejs.org/en/blog/release/v16.9.0/#error-cause
* @see https://github.com/microsoft/TypeScript/issues/45167
*/
public initCause(): void {
if (this.options?.cause) {

View File

@@ -28,6 +28,7 @@ export {
HttpServer,
HttpExceptionBody,
HttpExceptionBodyMessage,
HttpRedirectResponse,
INestApplication,
INestApplicationContext,
INestMicroservice,

View File

@@ -31,6 +31,10 @@ export interface WsArgumentsHost {
* Returns the client object.
*/
getClient<T = any>(): T;
/**
* Returns the pattern for the event
*/
getPattern(): string;
}
/**

View File

@@ -0,0 +1,6 @@
import { HttpStatus } from '../../enums';
export interface HttpRedirectResponse {
url: string;
statusCode: HttpStatus;
}

View File

@@ -1,4 +1,5 @@
export * from './http-exception-body.interface';
export * from './http-redirect-response.interface';
export * from './http-server.interface';
export * from './message-event.interface';
export * from './raw-body-request.interface';

View File

@@ -51,7 +51,8 @@ export interface ConfigurableModuleBuilderOptions {
export class ConfigurableModuleBuilder<
ModuleOptions,
StaticMethodKey extends string = typeof DEFAULT_METHOD_KEY,
FactoryClassMethodKey extends string = typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
FactoryClassMethodKey extends
string = typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
ExtraModuleDefinitionOptions = {},
> {
protected staticMethodKey: StaticMethodKey;

View File

@@ -28,7 +28,8 @@ export type ConfigurableModuleOptionsFactory<
*/
export interface ConfigurableModuleAsyncOptions<
ModuleOptions,
FactoryClassMethodKey extends string = typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
FactoryClassMethodKey extends
string = typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
> extends Pick<ModuleMetadata, 'imports'> {
/**
* Injection token resolving to an existing provider. The provider must implement

View File

@@ -15,7 +15,8 @@ import { ConfigurableModuleAsyncOptions } from './configurable-module-async-opti
export type ConfigurableModuleCls<
ModuleOptions,
MethodKey extends string = typeof DEFAULT_METHOD_KEY,
FactoryClassMethodKey extends string = typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
FactoryClassMethodKey extends
string = typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
ExtraModuleDefinitionOptions = {},
> = {
new (): any;

View File

@@ -42,8 +42,7 @@ export function getInjectionProviders(
// get injection tokens of the matched providers, if any
search = match
.filter(p => (p as any)?.inject)
.map(p => (p as FactoryProvider).inject)
.flat()
.flatMap(p => (p as FactoryProvider).inject)
.map(mapInjectToTokens);
}
return result;

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/common",
"version": "9.4.0",
"version": "10.2.6",
"description": "Nest - modern, fast, powerful node.js web framework (@common)",
"author": "Kamil Mysliwiec",
"homepage": "https://nestjs.com",
@@ -19,7 +19,7 @@
"license": "MIT",
"dependencies": {
"iterare": "1.2.1",
"tslib": "2.5.0",
"tslib": "2.6.2",
"uid": "2.0.2"
},
"peerDependencies": {

View File

@@ -16,17 +16,21 @@ export type FileTypeValidatorOptions = {
*
* @publicApi
*/
export class FileTypeValidator extends FileValidator<FileTypeValidatorOptions> {
export class FileTypeValidator extends FileValidator<
FileTypeValidatorOptions,
IFile
> {
buildErrorMessage(): string {
return `Validation failed (expected type is ${this.validationOptions.fileType})`;
}
isValid<TFile extends IFile = any>(file: TFile): boolean {
isValid(file?: IFile): boolean {
if (!this.validationOptions) {
return true;
}
return (
!!file &&
'mimetype' in file &&
!!file.mimetype.match(this.validationOptions.fileType)
);

View File

@@ -6,15 +6,18 @@ import { IFile } from './interfaces';
* @see {ParseFilePipe}
* @publicApi
*/
export abstract class FileValidator<TValidationOptions = Record<string, any>> {
export abstract class FileValidator<
TValidationOptions = Record<string, any>,
TFile extends IFile = IFile,
> {
constructor(protected readonly validationOptions: TValidationOptions) {}
/**
* Indicates if this file should be considered valid, according to the options passed in the constructor.
* @param file the file from the request object
*/
abstract isValid<TFile extends IFile = any>(
file?: TFile,
abstract isValid(
file?: TFile | TFile[] | Record<string, TFile[]>,
): boolean | Promise<boolean>;
/**

View File

@@ -3,6 +3,7 @@ import { IFile } from './interfaces';
export type MaxFileSizeValidatorOptions = {
maxSize: number;
message?: string | ((maxSize: number) => string);
};
/**
@@ -12,13 +13,24 @@ export type MaxFileSizeValidatorOptions = {
*
* @publicApi
*/
export class MaxFileSizeValidator extends FileValidator<MaxFileSizeValidatorOptions> {
export class MaxFileSizeValidator extends FileValidator<
MaxFileSizeValidatorOptions,
IFile
> {
buildErrorMessage(): string {
if ('message' in this.validationOptions) {
if (typeof this.validationOptions.message === 'function') {
return this.validationOptions.message(this.validationOptions.maxSize);
}
return this.validationOptions.message;
}
return `Validation failed (expected size is less than ${this.validationOptions.maxSize})`;
}
public isValid<TFile extends IFile = any>(file: TFile): boolean {
if (!this.validationOptions) {
public isValid(file?: IFile): boolean {
if (!this.validationOptions || !file) {
return true;
}

View File

@@ -9,6 +9,7 @@ import {
ErrorHttpStatusCode,
HttpErrorByCode,
} from '../utils/http-error-by-code.util';
import { isNil } from '../utils/shared.utils';
/**
* @publicApi
@@ -16,6 +17,7 @@ import {
export interface ParseBoolPipeOptions {
errorHttpStatusCode?: ErrorHttpStatusCode;
exceptionFactory?: (error: string) => any;
optional?: boolean;
}
/**
@@ -31,7 +33,7 @@ export class ParseBoolPipe
{
protected exceptionFactory: (error: string) => any;
constructor(@Optional() options?: ParseBoolPipeOptions) {
constructor(@Optional() protected readonly options?: ParseBoolPipeOptions) {
options = options || {};
const { exceptionFactory, errorHttpStatusCode = HttpStatus.BAD_REQUEST } =
options;
@@ -51,6 +53,9 @@ export class ParseBoolPipe
value: string | boolean,
metadata: ArgumentMetadata,
): Promise<boolean> {
if (isNil(value) && this.options?.optional) {
return value;
}
if (this.isTrue(value)) {
return true;
}

View File

@@ -1,14 +1,17 @@
import { ArgumentMetadata, HttpStatus, Injectable, Optional } from '../index';
import { Injectable, Optional } from '../decorators/core';
import { ArgumentMetadata, HttpStatus } from '../index';
import { PipeTransform } from '../interfaces/features/pipe-transform.interface';
import {
ErrorHttpStatusCode,
HttpErrorByCode,
} from '../utils/http-error-by-code.util';
import { isNil } from '../utils/shared.utils';
/**
* @publicApi
*/
export interface ParseEnumPipeOptions {
optional?: boolean;
errorHttpStatusCode?: ErrorHttpStatusCode;
exceptionFactory?: (error: string) => any;
}
@@ -23,10 +26,9 @@ export interface ParseEnumPipeOptions {
@Injectable()
export class ParseEnumPipe<T = any> implements PipeTransform<T> {
protected exceptionFactory: (error: string) => any;
constructor(
protected readonly enumType: T,
@Optional() options?: ParseEnumPipeOptions,
@Optional() protected readonly options?: ParseEnumPipeOptions,
) {
if (!enumType) {
throw new Error(
@@ -50,6 +52,9 @@ export class ParseEnumPipe<T = any> implements PipeTransform<T> {
* @param metadata contains metadata about the currently processed route argument
*/
async transform(value: T, metadata: ArgumentMetadata): Promise<T> {
if (isNil(value) && this.options?.optional) {
return value;
}
if (!this.isEnum(value)) {
throw this.exceptionFactory(
'Validation failed (enum string is expected)',

View File

@@ -1,9 +1,11 @@
import { ArgumentMetadata, HttpStatus, Injectable, Optional } from '../index';
import { Injectable, Optional } from '../decorators/core';
import { ArgumentMetadata, HttpStatus } from '../index';
import { PipeTransform } from '../interfaces/features/pipe-transform.interface';
import {
ErrorHttpStatusCode,
HttpErrorByCode,
} from '../utils/http-error-by-code.util';
import { isNil } from '../utils/shared.utils';
/**
* @publicApi
@@ -11,6 +13,7 @@ import {
export interface ParseFloatPipeOptions {
errorHttpStatusCode?: ErrorHttpStatusCode;
exceptionFactory?: (error: string) => any;
optional?: boolean;
}
/**
@@ -24,7 +27,7 @@ export interface ParseFloatPipeOptions {
export class ParseFloatPipe implements PipeTransform<string> {
protected exceptionFactory: (error: string) => any;
constructor(@Optional() options?: ParseFloatPipeOptions) {
constructor(@Optional() protected readonly options?: ParseFloatPipeOptions) {
options = options || {};
const { exceptionFactory, errorHttpStatusCode = HttpStatus.BAD_REQUEST } =
options;
@@ -42,6 +45,9 @@ export class ParseFloatPipe implements PipeTransform<string> {
* @param metadata contains metadata about the currently processed route argument
*/
async transform(value: string, metadata: ArgumentMetadata): Promise<number> {
if (isNil(value) && this.options?.optional) {
return value;
}
if (!this.isNumeric(value)) {
throw this.exceptionFactory(
'Validation failed (numeric string is expected)',

View File

@@ -9,6 +9,7 @@ import {
ErrorHttpStatusCode,
HttpErrorByCode,
} from '../utils/http-error-by-code.util';
import { isNil } from '../utils/shared.utils';
/**
* @publicApi
@@ -16,6 +17,7 @@ import {
export interface ParseIntPipeOptions {
errorHttpStatusCode?: ErrorHttpStatusCode;
exceptionFactory?: (error: string) => any;
optional?: boolean;
}
/**
@@ -29,7 +31,7 @@ export interface ParseIntPipeOptions {
export class ParseIntPipe implements PipeTransform<string> {
protected exceptionFactory: (error: string) => any;
constructor(@Optional() options?: ParseIntPipeOptions) {
constructor(@Optional() protected readonly options?: ParseIntPipeOptions) {
options = options || {};
const { exceptionFactory, errorHttpStatusCode = HttpStatus.BAD_REQUEST } =
options;
@@ -47,6 +49,9 @@ export class ParseIntPipe implements PipeTransform<string> {
* @param metadata contains metadata about the currently processed route argument
*/
async transform(value: string, metadata: ArgumentMetadata): Promise<number> {
if (isNil(value) && this.options?.optional) {
return value;
}
if (!this.isNumeric(value)) {
throw this.exceptionFactory(
'Validation failed (numeric string is expected)',

View File

@@ -9,7 +9,7 @@ import {
ErrorHttpStatusCode,
HttpErrorByCode,
} from '../utils/http-error-by-code.util';
import { isString } from '../utils/shared.utils';
import { isNil, isString } from '../utils/shared.utils';
/**
* @publicApi
@@ -18,6 +18,7 @@ export interface ParseUUIDPipeOptions {
version?: '3' | '4' | '5';
errorHttpStatusCode?: ErrorHttpStatusCode;
exceptionFactory?: (errors: string) => any;
optional?: boolean;
}
/**
@@ -38,7 +39,7 @@ export class ParseUUIDPipe implements PipeTransform<string> {
private readonly version: '3' | '4' | '5';
protected exceptionFactory: (errors: string) => any;
constructor(@Optional() options?: ParseUUIDPipeOptions) {
constructor(@Optional() protected readonly options?: ParseUUIDPipeOptions) {
options = options || {};
const {
exceptionFactory,
@@ -53,6 +54,9 @@ export class ParseUUIDPipe implements PipeTransform<string> {
}
async transform(value: string, metadata: ArgumentMetadata): Promise<string> {
if (isNil(value) && this.options?.optional) {
return value;
}
if (!this.isUUID(value, this.version)) {
throw this.exceptionFactory(
`Validation failed (uuid${

View File

@@ -26,6 +26,7 @@ const DEFAULT_LOG_LEVELS: LogLevel[] = [
'warn',
'debug',
'verbose',
'fatal',
];
const dateTimeFormatter = new Intl.DateTimeFormat(undefined, {
@@ -80,6 +81,7 @@ export class ConsoleLogger implements LoggerService {
* Write an 'error' level log, if the configured level allows for it.
* Prints to `stderr` with newline.
*/
error(message: any, stackOrContext?: string): void;
error(message: any, stack?: string, context?: string): void;
error(message: any, ...optionalParams: [...any, string?, string?]): void;
error(message: any, ...optionalParams: any[]) {
@@ -144,6 +146,23 @@ export class ConsoleLogger implements LoggerService {
this.printMessages(messages, context, 'verbose');
}
/**
* Write a 'fatal' level log, if the configured level allows for it.
* Prints to `stdout` with newline.
*/
fatal(message: any, context?: string): void;
fatal(message: any, ...optionalParams: [...any, string?]): void;
fatal(message: any, ...optionalParams: any[]) {
if (!this.isLevelEnabled('fatal')) {
return;
}
const { messages, context } = this.getContextAndMessagesToPrint([
message,
...optionalParams,
]);
this.printMessages(messages, context, 'fatal');
}
/**
* Set log levels
* @param levels log levels
@@ -281,6 +300,19 @@ export class ConsoleLogger implements LoggerService {
}
private getContextAndStackAndMessagesToPrint(args: unknown[]) {
if (args.length === 2) {
return this.isStackFormat(args[1])
? {
messages: [args[0]],
stack: args[1] as string,
context: this.context,
}
: {
messages: [args[0]],
context: args[1] as string,
};
}
const { messages, context } = this.getContextAndMessagesToPrint(args);
if (messages?.length <= 1) {
return { messages, context };
@@ -298,6 +330,14 @@ export class ConsoleLogger implements LoggerService {
};
}
private isStackFormat(stack: unknown) {
if (!isString(stack) && !isUndefined(stack)) {
return false;
}
return /^(.)+\n\s+at .+:\d+:\d+$/.test(stack);
}
private getColorByLogLevel(level: LogLevel) {
switch (level) {
case 'debug':
@@ -308,6 +348,8 @@ export class ConsoleLogger implements LoggerService {
return clc.red;
case 'verbose':
return clc.cyanBright;
case 'fatal':
return clc.bold;
default:
return clc.green;
}

View File

@@ -6,7 +6,7 @@ import { isLogLevelEnabled } from './utils';
/**
* @publicApi
*/
export type LogLevel = 'log' | 'error' | 'warn' | 'debug' | 'verbose';
export type LogLevel = 'log' | 'error' | 'warn' | 'debug' | 'verbose' | 'fatal';
/**
* @publicApi
@@ -37,6 +37,11 @@ export interface LoggerService {
*/
verbose?(message: any, ...optionalParams: any[]): any;
/**
* Write a 'fatal' level log.
*/
fatal?(message: any, ...optionalParams: any[]): any;
/**
* Set log levels.
* @param levels log levels
@@ -185,9 +190,23 @@ export class Logger implements LoggerService {
this.localInstance?.verbose?.(message, ...optionalParams);
}
/**
* Write a 'fatal' level log.
*/
fatal(message: any, context?: string): void;
fatal(message: any, ...optionalParams: [...any, string?]): void;
@Logger.WrapBuffer
fatal(message: any, ...optionalParams: any[]) {
optionalParams = this.context
? optionalParams.concat(this.context)
: optionalParams;
this.localInstance?.fatal?.(message, ...optionalParams);
}
/**
* Write an 'error' level log.
*/
static error(message: any, stackOrContext?: string): void;
static error(message: any, context?: string): void;
static error(message: any, stack?: string, context?: string): void;
static error(
@@ -240,6 +259,16 @@ export class Logger implements LoggerService {
this.staticInstanceRef?.verbose?.(message, ...optionalParams);
}
/**
* Write a 'fatal' level log.
*/
static fatal(message: any, context?: string): void;
static fatal(message: any, ...optionalParams: [...any, string?]): void;
@Logger.WrapBuffer
static fatal(message: any, ...optionalParams: any[]) {
this.staticInstanceRef?.fatal?.(message, ...optionalParams);
}
/**
* Print buffered logs and detach buffer.
*/

View File

@@ -1,11 +1,12 @@
import { LogLevel } from '../logger.service';
const LOG_LEVEL_VALUES: Record<LogLevel, number> = {
debug: 0,
verbose: 1,
verbose: 0,
debug: 1,
log: 2,
warn: 3,
error: 4,
fatal: 5,
};
/**

View File

@@ -1,7 +1,9 @@
import { expect } from 'chai';
import { Body, HostParam, Param, Query, Search } from '../../decorators';
import { RequestMethod } from '../../enums/request-method.enum';
import { All, Delete, Get, Patch, Post, Put } from '../../index';
import { All, Delete, Get, ParseIntPipe, Patch, Post, Put } from '../../index';
import { ROUTE_ARGS_METADATA } from '../../constants';
import { RouteParamtypes } from '../../enums/route-paramtypes.enum';
describe('@Get', () => {
const requestPath = 'test';
@@ -19,18 +21,28 @@ describe('@Get', () => {
it('should enhance class with expected request metadata', () => {
class Test {
@Get(requestPath)
public static test(@Param('id') params) {}
public static test(@Param('id', ParseIntPipe) params) {}
@Get(requestPathUsingArray)
public static testUsingArray(@Param('id') params) {}
}
const path = Reflect.getMetadata('path', Test.test);
const args = Reflect.getMetadata(
ROUTE_ARGS_METADATA,
Test.constructor,
'test',
);
const method = Reflect.getMetadata('method', Test.test);
const pathUsingArray = Reflect.getMetadata('path', Test.testUsingArray);
const methodUsingArray = Reflect.getMetadata('method', Test.testUsingArray);
expect(path).to.be.eql(requestPath);
expect(args[`${RouteParamtypes.PARAM}:0`]).to.be.eql({
index: 0,
data: 'id',
pipes: [ParseIntPipe],
});
expect(method).to.be.eql(requestProps.method);
expect(pathUsingArray).to.be.eql(requestPathUsingArray);
expect(methodUsingArray).to.be.eql(requestPropsUsingArray.method);

View File

@@ -104,7 +104,6 @@ describe('ConfigurableModuleBuilder', () => {
expect(definition.global).to.equal(true);
expect(definition.providers).to.have.length(5);
console.log(definition.providers);
expect(definition.providers).to.deep.contain('test');
expect(definition.providers).to.include.members(
provideInjectionTokensFrom.slice(0, 2),

View File

@@ -72,6 +72,14 @@ describe('FileTypeValidator', () => {
expect(fileTypeValidator.isValid(requestFile)).to.equal(false);
});
it('should return false when no file provided', () => {
const fileTypeValidator = new FileTypeValidator({
fileType: 'image/jpeg',
});
expect(fileTypeValidator.isValid()).to.equal(false);
});
});
describe('buildErrorMessage', () => {

View File

@@ -40,6 +40,14 @@ describe('MaxFileSizeValidator', () => {
expect(maxFileSizeValidator.isValid(requestFile)).to.equal(false);
});
it('should return true when no file provided', () => {
const maxFileSizeValidator = new MaxFileSizeValidator({
maxSize: oneKb,
});
expect(maxFileSizeValidator.isValid()).to.equal(true);
});
});
describe('buildErrorMessage', () => {

View File

@@ -18,6 +18,12 @@ describe('ParseBoolPipe', () => {
expect(await target.transform(false, {} as ArgumentMetadata)).to.be
.false;
});
it('should not throw an error if the value is undefined/null and optional is true', async () => {
const target = new ParseBoolPipe({ optional: true });
const value = await target.transform(undefined, {} as ArgumentMetadata);
expect(value).to.equal(undefined);
});
});
describe('when validation fails', () => {
it('should throw an error', async () => {

View File

@@ -14,6 +14,7 @@ describe('ParseEnumPipe', () => {
Up = 'UP',
}
let target: ParseEnumPipe;
beforeEach(() => {
target = new ParseEnumPipe(Direction, {
exceptionFactory: (error: any) => new CustomTestError(),
@@ -26,6 +27,12 @@ describe('ParseEnumPipe', () => {
Direction.Up,
);
});
it('should not throw an error if enumType is undefined/null and optional is true', async () => {
const target = new ParseEnumPipe('DOWN', { optional: true });
const value = await target.transform(undefined, {} as ArgumentMetadata);
expect(value).to.equal(undefined);
});
});
describe('when validation fails', () => {
it('should throw an error', async () => {
@@ -33,6 +40,16 @@ describe('ParseEnumPipe', () => {
target.transform('DOWN', {} as ArgumentMetadata),
).to.be.rejectedWith(CustomTestError);
});
it('should throw an error if enumType is wrong and optional is true', async () => {
target = new ParseEnumPipe(Direction, {
exceptionFactory: (error: any) => new CustomTestError(),
optional: true,
});
return expect(
target.transform('DOWN', {} as ArgumentMetadata),
).to.be.rejectedWith(CustomTestError);
});
});
});
describe('constructor', () => {

View File

@@ -25,6 +25,11 @@ describe('ParseFloatPipe', () => {
parseFloat(num),
);
});
it('should not throw an error if the value is undefined/null and optional is true', async () => {
const target = new ParseFloatPipe({ optional: true });
const value = await target.transform(undefined, {} as ArgumentMetadata);
expect(value).to.equal(undefined);
});
});
describe('when validation fails', () => {
it('should throw an error', async () => {

View File

@@ -30,6 +30,11 @@ describe('ParseIntPipe', () => {
-3,
);
});
it('should not throw an error if the value is undefined/null and optional is true', async () => {
const target = new ParseIntPipe({ optional: true });
const value = await target.transform(undefined, {} as ArgumentMetadata);
expect(value).to.equal(undefined);
});
});
describe('when validation fails', () => {
it('should throw an error', async () => {

View File

@@ -41,6 +41,11 @@ describe('ParseUUIDPipe', () => {
target = new ParseUUIDPipe({ version: '5', exceptionFactory });
expect(await target.transform(v5, {} as ArgumentMetadata)).to.equal(v5);
});
it('should not throw an error if the value is undefined/null and optional is true', async () => {
const target = new ParseUUIDPipe({ optional: true });
const value = await target.transform(undefined, {} as ArgumentMetadata);
expect(value).to.equal(undefined);
});
});
describe('when validation fails', () => {

View File

@@ -70,7 +70,7 @@ describe('Logger', () => {
);
});
it('should print one error to the console', () => {
it('should print one error to the console with context', () => {
const message = 'random error';
const context = 'RandomContext';
@@ -83,6 +83,20 @@ describe('Logger', () => {
expect(processStderrWriteSpy.firstCall.firstArg).to.include(message);
});
it('should print one error to the console with stacktrace', () => {
const message = 'random error';
const stacktrace = 'Error: message\n at <anonymous>:1:2';
Logger.error(message, stacktrace);
expect(processStderrWriteSpy.calledTwice).to.be.true;
expect(processStderrWriteSpy.firstCall.firstArg).to.not.include(`[]`);
expect(processStderrWriteSpy.firstCall.firstArg).to.include(message);
expect(processStderrWriteSpy.secondCall.firstArg).to.equal(
stacktrace + '\n',
);
});
it('should print one error without context to the console', () => {
const message = 'random error without context';
@@ -354,7 +368,7 @@ describe('Logger', () => {
);
});
it('should print one error to the console', () => {
it('should print one error to the console with context', () => {
const message = 'random error';
const context = 'RandomContext';
@@ -367,6 +381,20 @@ describe('Logger', () => {
expect(processStderrWriteSpy.firstCall.firstArg).to.include(message);
});
it('should print one error to the console with stacktrace', () => {
const message = 'random error';
const stacktrace = 'Error: message\n at <anonymous>:1:2';
logger.error(message, stacktrace);
expect(processStderrWriteSpy.calledTwice).to.be.true;
expect(processStderrWriteSpy.firstCall.firstArg).to.not.include(`[]`);
expect(processStderrWriteSpy.firstCall.firstArg).to.include(message);
expect(processStderrWriteSpy.secondCall.firstArg).to.equal(
stacktrace + '\n',
);
});
it('should print one error without context to the console', () => {
const message = 'random error without context';

View File

@@ -1,11 +1,11 @@
<p align="center">
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
<a href="https://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
</p>
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest
<p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">A progressive <a href="https://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
@@ -23,7 +23,7 @@
## Description
Nest is a framework for building efficient, scalable <a href="http://nodejs.org" target="_blank">Node.js</a> server-side applications. It uses modern JavaScript, is built with <a href="http://www.typescriptlang.org" target="_blank">TypeScript</a> (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).
Nest is a framework for building efficient, scalable <a href="https://nodejs.org" target="_blank">Node.js</a> server-side applications. It uses modern JavaScript, is built with <a href="https://www.typescriptlang.org" target="_blank">TypeScript</a> (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).
<p>Under the hood, Nest makes use of <a href="https://expressjs.com/" target="_blank">Express</a>, but also, provides compatibility with a wide range of other libraries, like e.g. <a href="https://github.com/fastify/fastify" target="_blank">Fastify</a>, allowing for easy use of the myriad third-party plugins which are available.</p>
@@ -34,10 +34,10 @@ Nest is a framework for building efficient, scalable <a href="http://nodejs.org"
## Getting started
* To check out the [guide](https://docs.nestjs.com), visit [docs.nestjs.com](https://docs.nestjs.com). :books:
* 要查看中文 [指南](readme_zh.md), 请访问 [docs.nestjs.cn](https://docs.nestjs.cn). :books:
* [가이드](readme_kr.md) 문서는 [docs.nestjs.com](https://docs.nestjs.com)에서 확인하실 수 있습니다. :books:
* [ガイド](readme_jp.md)は [docs.nestjs.com](https://docs.nestjs.com)でご確認ください。 :books:
- To check out the [guide](https://docs.nestjs.com), visit [docs.nestjs.com](https://docs.nestjs.com). :books:
- 要查看中文 [指南](readme_zh.md), 请访问 [docs.nestjs.cn](https://docs.nestjs.cn). :books:
- [가이드](readme_kr.md) 문서는 [docs.nestjs.com](https://docs.nestjs.com)에서 확인하실 수 있습니다. :books:
- [ガイド](readme_jp.md)は [docs.nestjs.com](https://docs.nestjs.com)でご確認ください。 :books:
## Questions
@@ -56,26 +56,29 @@ With official support, you can get expert help straight from Nest core team. We
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support from the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
#### Principal Sponsors
<table style="text-align:center;"><tr>
<td><a href="https://trilon.io" target="_blank"><img src="https://nestjs.com/img/trilon.svg" width="200" valign="middle" /></a></td>
<td><a href="https://www.redhat.com" target="_blank"><img src="https://nestjs.com/img/red-hat-logo.svg" width="200" valign="middle" /></a></td>
<td>
<a href="https://github.com/Sanofi-IADC" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/sanofi.png" width="180" valign="middle" /></a></td>
<td>
<a href="https://nx.dev" target="_blank"><img src="https://nestjs.com/img/nx-logo.png" height="45" valign="middle" /></a></td>
<td>
<a href="https://valor-software.com/" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/valor-software.png" width="170" valign="middle" /></a></td><td>
<a href="https://valor-software.com/" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/valor-software.png" width="170" valign="middle" /></a></td>
<td>
<a href="https://amplication.com/" target="_blank"><img src="https://nestjs.com/img/amplication-logo.svg" width="190" valign="middle" /></a></td>
</tr></table>
#### Gold Sponsors
<table style="text-align:center;"><tr><td>
<table style="text-align:center;"><tr>
<td><a href="https://www.redhat.com" target="_blank"><img src="https://nestjs.com/img/red-hat-logo.svg" width="200" valign="middle" /></a></td>
<td>
<a href="https://github.com/Sanofi-IADC" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/sanofi.png" width="180" valign="middle" /></a></td>
<td>
<a href="https://nx.dev" target="_blank"><img src="https://nestjs.com/img/nx-logo.png" height="45" valign="middle" /></a></td>
<td>
<a href="https://weld.app/" target="_blank"><img src="https://nestjs.com/img/weld-logo.svg" width="140" valign="middle" /></a></td>
<td>
<a href="https://intrinsic.ventures/" target="_blank"><img src="https://nestjs.com/img/intrinisic-logo.png" width="210" valign="middle" /></a></td>
<a href="https://intrinsic.ventures/" target="_blank"><img src="https://nestjs.com/img/intrinisic-logo.png" width="210" valign="middle" /></a></td></tr><tr>
<td>
<a href="https://jetbrains.com/" target="_blank"><img src="https://nestjs.com/img/jetbrains-logo.svg" width="110" valign="middle" /></a></td><td>
<a href="https://jetbrains.com/" target="_blank"><img src="https://nestjs.com/img/jetbrains-logo.svg" width="90" valign="middle" /></a></td><td>
<a href="https://snyk.co/nestjs" target="_blank"><img src="https://nestjs.com/img/snyk-logo-black.png" width="185" valign="middle" /></a></td><td>
<a href="https://fuseautotech.com/" target="_blank"><img src="https://nestjs.com/img/fuse-logo.svg" width="105" valign="middle" /></a></td>
<td>
@@ -84,17 +87,9 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
#### Silver Sponsors
<table style="text-align:center;"><tr><td>
<a href="https://neoteric.eu/" target="_blank"><img src="https://nestjs.com/img/neoteric-cut.png" width="120" valign="middle" /></a> </td><td>
<a href="http://gojob.com" target="_blank"><img src="http://nestjs.com/img/gojob-logo.png" valign="middle" width="100" /></a> </td><td>
<a href="https://www.myleodsc.com/" target="_blank"><img src="https://nestjs.com/img/myleo-logo.png" width="180" valign="middle" /></td><td>
<a href="https://careers.meetdandy.com/?gh_src=063ba61e3us" target="_blank"><img src="https://nestjs.com/img/dandy-roles-logo.svg" width="150" valign="middle" /></td><td>
<a href="https://www.castlecraft.in" target="_blank"><img src="https://nestjs.com/img/castlecraft-logo.png" width="150" valign="middle" /></td>
<td><a href="https://www.tinystacks.com" target="_blank"><img src="https://nestjs.com/img/tinystacks-logo.png#1" width="140" valign="middle" /></td>
<td><a href="https://n.inc" target="_blank"><img src="https://nestjs.com/img/n-inc-logo.svg" width="120" valign="middle" /></td></tr><tr>
<td><a href="https://bilberrry.com/" target="_blank"><img src="https://nestjs.com/img/bilberrry-logo.svg" width="180" valign="middle" /></td>
<td><a href="https://ipinfo.ai/" target="_blank"><img src="https://nestjs.com/img/ipinfo-logo.png" width="130" valign="middle" /></td>
<td><a href="https://chax.at" target="_blank"><img src="https://nestjs.com/img/chaxat-logo.png" width="100" valign="middle" /></td></tr>
<table style="text-align:center;"><tr>
<td><a href="https://n.inc" target="_blank"><img src="https://nestjs.com/img/n-inc-logo.svg" width="120" valign="middle" /></td>
<td><a href="https://twistag.com/" target="_blank"><img src="https://nestjs.com/img/twistag-logo.png" width="120" valign="middle" /></td></tr>
</table>
#### Sponsors
@@ -102,41 +97,25 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<table><tr><td align="center" valign="middle">
<a href="https://www.swingdev.io" target="_blank"><img src="https://nestjs.com/img/swingdev-logo.svg#1" width="110" valign="middle" /> </a></td><td align="center" valign="middle">
<a href="https://www.novologic.com/" target="_blank"><img src="https://nestjs.com/img/novologic.png" width="110" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://ever.co/" target="_blank"><img src="https://nestjs.com/img/ever-logo.png" width="72" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://blokt.com" target="_blank"><img src="https://nestjs.com/img/blokt-logo.png" width="120" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="http://architectnow.net/" target="_blank"><img src="https://nestjs.com/img/architectnow.png" width="125" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://quander.io/" target="_blank"><img src="https://nestjs.com/img/quander.png" width="100" valign="middle" /></a> </td></tr><tr><td align="center" valign="middle">
<a href="https://mantro.net/" target="_blank"><img src="https://nestjs.com/img/mantro-logo.svg" width="95" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://triplebyte.com/" target="_blank"><img src="https://nestjs.com/img/triplebyte.png" width="107" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://reposit.co.uk/" target="_blank"><img src="https://nestjs.com/img/reposit-logo.png" width="71" valign="middle" /></a></td><td align="center" valign="middle">
<a href="https://nearpod.com/" target="_blank"><img src="https://nestjs.com/img/nearpod-logo.svg" width="100" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://clay.global/" target="_blank"><img src="https://nestjs.com/img/clay-logo.svg" width="75" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://firesticktricks.com" target="_blank"><img src="https://nestjs.com/img/firesticktricks-logo.png" width="120" valign="middle" /></a></td></tr><tr><td align="center" valign="middle">
<a href="https://www.codeguesser.co.uk" target="_blank"><img src="https://nestjs.com/img/codeguesser-logo.svg" width="120" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://f-a.nz/" target="_blank"><img src="https://nestjs.com/img/franz.svg" width="80" valign="middle" /></a> </td><td align="center" valign="middle">
<a href="https://sparkfabrik.com/" target="_blank"><img src="https://nestjs.com/img/sparkfabrik-logo.png" width="120" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://www.thebigphonestore.co.uk/" target="_blank"><img src="https://nestjs.com/img/the-big-phone-store-logo.png" width="65" valign="middle" /></a></td>
<a href="https://nearpod.com/" target="_blank"><img src="https://nestjs.com/img/nearpod-logo.svg" width="100" valign="middle" /></a> </td>
<td align="center" valign="middle">
<a href="https://genuinebee.com/" target="_blank"><img src="https://nestjs.com/img/genuinebee.svg" width="97" valign="middle" /></a> </td>
<td align="center" valign="middle"><a href="https://sanyodigital.com/" target="_blank"><img src="https://nestjs.com/img/sanyo-digital.png" width="130" valign="middle" /></a></td></tr><tr><td align="center" valign="middle"><a href="https://vpn-review.com/vpn-for-torrenting" target="_blank"><img src="https://nestjs.com/img/vpn-review-logo.png" width="85" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://lambda-it.ch/" target="_blank"><img src="https://nestjs.com/img/lambda-it-logo.svg" width="115" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://pickwriters.com/top-10-translation-services" target="_blank"><img src="https://nestjs.com/img/pickwriters-logo.png" width="40" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://thewordpoint.com/services/localization" target="_blank"><img src="https://nestjs.com/img/thewordpoint-logo.png" width="40" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://meercode.io/" target="_blank"><img src="https://nestjs.com/img/meercode-logo.png" width="60" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.najlepszeplatformyforex.pl/blog/broker-xtb/" target="_blank"><img src="https://nestjs.com/img/npf-logo.jpg" width="200" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://thestandarddaily.com/" target="_blank"><img src="https://nestjs.com/img/the-standard-daily-logo.png" width="180" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://houseofangular.io/" target="_blank"><img src="https://nestjs.com/img/house-of-angular.png" width="100" valign="middle" /></a></td>
<a href="https://genuinebee.com/" target="_blank"><img src="https://nestjs.com/img/genuinebee.svg" width="97" valign="middle" /></a> </td></tr><tr>
<td align="center" valign="middle"><a href="https://sanyodigital.com/" target="_blank"><img src="https://nestjs.com/img/sanyo-digital.png" width="130" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://vpn-review.com/vpn-for-torrenting" target="_blank"><img src="https://nestjs.com/img/vpn-review-logo.png" width="85" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://lambda-it.ch/" target="_blank"><img src="https://nestjs.com/img/lambda-it-logo.svg" width="115" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.najlepszeplatformyforex.pl/blog/broker-xtb/" target="_blank"><img src="https://nestjs.com/img/npf-logo.jpg" width="200" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://rocketech.it/cases/?utm_source=google&utm_medium=badge&utm_campaign=nestjs" target="_blank"><img src="https://nestjs.com/img/rocketech-logo.svg" width="110" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.bystored.com/" target="_blank"><img src="https://nestjs.com/img/stored-logo.svg" width="110" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://studyclerk.com/pay-for-research-paper" target="_blank"><img src="https://nestjs.com/img/studyclerk-logo.png" width="125" valign="middle" /></a></td><td align="center" valign="middle"><a href="https://xyndata.com" target="_blank"><img src="https://nestjs.com/img/xyndata-logo.png" width="125" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://www.anonymistic.com/" target="_blank"><img src="https://nestjs.com/img/anonymistic-logo.png" width="125" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.anonymistic.com/" target="_blank"><img src="https://nestjs.com/img/anonymistic-logo.png" width="125" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://www.naologic.com/" target="_blank"><img src="https://nestjs.com/img/naologic-logo.svg" width="125" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://messaged.com/" target="_blank"><img src="https://nestjs.com/img/messaged-logo.png" width="50" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://triplecore.io" target="_blank"><img src="https://nestjs.com/img/triplecore-logo.svg" width="50" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://klqc.de" target="_blank"><img src="https://nestjs.com/img/klcqcl-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://thecasinowizard.com/bonuses/no-deposit-bonuses/" target="_blank"><img src="https://nestjs.com/img/casinowizard-logo.png" width="120" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://thecasinowizard.com/bonuses/no-deposit-bonuses/" target="_blank"><img src="https://nestjs.com/img/casinowizard-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://polygon-software.ch/" target="_blank"><img src="https://nestjs.com/img/polygon-logo.svg" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://mobilereality.pl/" target="_blank"><img src="https://nestjs.com/img/mobile-reality-logo.png" width="45" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://boringowl.io/" target="_blank"><img src="https://nestjs.com/img/boringowl-logo.svg" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.mobilefactory.jp/" target="_blank"><img src="https://nestjs.com/img/mobilefactory-logo.png" width="100" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://nordbot.app/" target="_blank"><img src="https://nestjs.com/img/nordbot-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://nordbot.app/" target="_blank"><img src="https://nestjs.com/img/nordbot-logo.png" width="120" valign="middle" /></a></td></tr><tr>
<td align="center" valign="middle"><a href="https://doppio.sh/" target="_blank"><img src="https://nestjs.com/img/dopiosh-logo.png" width="50" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.hingehealth.com/" target="_blank"><img src="https://nestjs.com/img/hinge-health-logo.svg" width="100" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://julienferand.dev/" target="_blank"><img src="https://nestjs.com/img/julienferand-logo.jpeg" width="65" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.tripoffice.com/" target="_blank"><img src="https://nestjs.com/img/tripoffice-logo.png" width="140" valign="middle" /></a></td>
</tr></table>
## Backers
@@ -145,9 +124,9 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
## Stay in touch
* Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
* Website - [https://nestjs.com](https://nestjs.com/)
* Twitter - [@nestframework](https://twitter.com/nestframework)
- Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)
## License

View File

@@ -0,0 +1,153 @@
import { Type } from '@nestjs/common';
import { InstanceWrapper } from '../injector/instance-wrapper';
import { ModulesContainer } from '../injector/modules-container';
export class DiscoverableMetaHostCollection {
/**
* A map of class references to metadata keys.
*/
public static readonly metaHostLinks = new Map<Type | Function, string>();
/**
* A map of metadata keys to instance wrappers (providers) with the corresponding metadata key.
* The map is weakly referenced by the modules container (unique per application).
*/
private static readonly providersByMetaKey = new WeakMap<
ModulesContainer,
Map<string, Set<InstanceWrapper>>
>();
/**
* A map of metadata keys to instance wrappers (controllers) with the corresponding metadata key.
* The map is weakly referenced by the modules container (unique per application).
*/
private static readonly controllersByMetaKey = new WeakMap<
ModulesContainer,
Map<string, Set<InstanceWrapper>>
>();
/**
* Adds a link between a class reference and a metadata key.
* @param target The class reference.
* @param metadataKey The metadata key.
*/
public static addClassMetaHostLink(
target: Type | Function,
metadataKey: string,
) {
this.metaHostLinks.set(target, metadataKey);
}
/**
* Inspects a provider instance wrapper and adds it to the collection of providers
* if it has a metadata key.
* @param hostContainerRef A reference to the modules container.
* @param instanceWrapper A provider instance wrapper.
* @returns void
*/
public static inspectProvider(
hostContainerRef: ModulesContainer,
instanceWrapper: InstanceWrapper,
) {
return this.inspectInstanceWrapper(
hostContainerRef,
instanceWrapper,
this.providersByMetaKey,
);
}
/**
* Inspects a controller instance wrapper and adds it to the collection of controllers
* if it has a metadata key.
* @param hostContainerRef A reference to the modules container.
* @param instanceWrapper A controller's instance wrapper.
* @returns void
*/
public static inspectController(
hostContainerRef: ModulesContainer,
instanceWrapper: InstanceWrapper,
) {
return this.inspectInstanceWrapper(
hostContainerRef,
instanceWrapper,
this.controllersByMetaKey,
);
}
public static insertByMetaKey(
metaKey: string,
instanceWrapper: InstanceWrapper,
collection: Map<string, Set<InstanceWrapper>>,
) {
if (collection.has(metaKey)) {
const wrappers = collection.get(metaKey);
wrappers.add(instanceWrapper);
} else {
const wrappers = new Set<InstanceWrapper>();
wrappers.add(instanceWrapper);
collection.set(metaKey, wrappers);
}
}
public static getProvidersByMetaKey(
hostContainerRef: ModulesContainer,
metaKey: string,
): Set<InstanceWrapper> {
const wrappersByMetaKey = this.providersByMetaKey.get(hostContainerRef);
return wrappersByMetaKey.get(metaKey);
}
public static getControllersByMetaKey(
hostContainerRef: ModulesContainer,
metaKey: string,
): Set<InstanceWrapper> {
const wrappersByMetaKey = this.controllersByMetaKey.get(hostContainerRef);
return wrappersByMetaKey.get(metaKey);
}
private static inspectInstanceWrapper(
hostContainerRef: ModulesContainer,
instanceWrapper: InstanceWrapper,
wrapperByMetaKeyMap: WeakMap<
ModulesContainer,
Map<string, Set<InstanceWrapper>>
>,
) {
const metaKey =
DiscoverableMetaHostCollection.getMetaKeyByInstanceWrapper(
instanceWrapper,
);
if (!metaKey) {
return;
}
let collection: Map<string, Set<InstanceWrapper>>;
if (wrapperByMetaKeyMap.has(hostContainerRef)) {
collection = wrapperByMetaKeyMap.get(hostContainerRef);
} else {
collection = new Map<string, Set<InstanceWrapper>>();
wrapperByMetaKeyMap.set(hostContainerRef, collection);
}
this.insertByMetaKey(metaKey, instanceWrapper, collection);
}
private static getMetaKeyByInstanceWrapper(
instanceWrapper: InstanceWrapper<any>,
) {
return this.metaHostLinks.get(
// NOTE: Regarding the ternary statement below,
// - The condition `!wrapper.metatype` is needed because when we use `useValue`
// the value of `wrapper.metatype` will be `null`.
// - The condition `wrapper.inject` is needed here because when we use
// `useFactory`, the value of `wrapper.metatype` will be the supplied
// factory function.
// For both cases, we should use `wrapper.instance.constructor` instead
// of `wrapper.metatype` to resolve processor's class properly.
// But since calling `wrapper.instance` could degrade overall performance
// we must defer it as much we can.
instanceWrapper.metatype || instanceWrapper.inject
? instanceWrapper.instance?.constructor ?? instanceWrapper.metatype
: instanceWrapper.metatype,
);
}
}

View File

@@ -1,15 +1,48 @@
import { flatten, Injectable } from '@nestjs/common';
import {
CustomDecorator,
flatten,
Injectable,
SetMetadata,
} from '@nestjs/common';
import { uid } from 'uid';
import { InstanceWrapper } from '../injector/instance-wrapper';
import { Module } from '../injector/module';
import { ModulesContainer } from '../injector/modules-container';
import { DiscoverableMetaHostCollection } from './discoverable-meta-host-collection';
/**
* @publicApi
*/
export interface DiscoveryOptions {
export interface FilterByInclude {
/**
* List of modules to include (whitelist) into the discovery process.
*/
include?: Function[];
}
/**
* @publicApi
*/
export interface FilterByMetadataKey {
/**
* A key to filter controllers and providers by.
* Only instance wrappers with the specified metadata key will be returned.
*/
metadataKey?: string;
}
/**
* @publicApi
*/
export type DiscoveryOptions = FilterByInclude | FilterByMetadataKey;
/**
* @publicApi
*/
export type DiscoverableDecorator<T> = ((opts?: T) => CustomDecorator) & {
KEY: string;
};
/**
* @publicApi
*/
@@ -17,24 +50,107 @@ export interface DiscoveryOptions {
export class DiscoveryService {
constructor(private readonly modulesContainer: ModulesContainer) {}
getProviders(
/**
* Creates a decorator that can be used to decorate classes and methods with metadata.
* The decorator will also add the class to the collection of discoverable classes (by metadata key).
* Decorated classes can be discovered using the `getProviders` and `getControllers` methods.
* @returns A decorator function.
*/
static createDecorator<T>(): DiscoverableDecorator<T> {
const metadataKey = uid(21);
const decoratorFn =
(opts: T) =>
(target: object | Function, key?: string | symbol, descriptor?: any) => {
if (!descriptor) {
DiscoverableMetaHostCollection.addClassMetaHostLink(
target as Function,
metadataKey,
);
}
SetMetadata(metadataKey, opts ?? {})(target, key, descriptor);
};
decoratorFn.KEY = metadataKey;
return decoratorFn as DiscoverableDecorator<T>;
}
/**
* Returns an array of instance wrappers (providers).
* Depending on the options, the array will contain either all providers or only providers with the specified metadata key.
* @param options Discovery options.
* @param modules A list of modules to filter by.
* @returns An array of instance wrappers (providers).
*/
public getProviders(
options: DiscoveryOptions = {},
modules: Module[] = this.getModules(options),
): InstanceWrapper[] {
if ('metadataKey' in options) {
const providers = DiscoverableMetaHostCollection.getProvidersByMetaKey(
this.modulesContainer,
options.metadataKey,
);
return Array.from(providers);
}
const providers = modules.map(item => [...item.providers.values()]);
return flatten(providers);
}
getControllers(
/**
* Returns an array of instance wrappers (controllers).
* Depending on the options, the array will contain either all controllers or only controllers with the specified metadata key.
* @param options Discovery options.
* @param modules A list of modules to filter by.
* @returns An array of instance wrappers (controllers).
*/
public getControllers(
options: DiscoveryOptions = {},
modules: Module[] = this.getModules(options),
): InstanceWrapper[] {
if ('metadataKey' in options) {
const controllers =
DiscoverableMetaHostCollection.getControllersByMetaKey(
this.modulesContainer,
options.metadataKey,
);
return Array.from(controllers);
}
const controllers = modules.map(item => [...item.controllers.values()]);
return flatten(controllers);
}
/**
* Retrieves metadata from the specified instance wrapper.
* @param decorator The decorator to retrieve metadata of.
* @param instanceWrapper Reference to the instance wrapper.
* @param methodKey An optional method key to retrieve metadata from.
* @returns Discovered metadata.
*/
public getMetadataByDecorator<T extends DiscoverableDecorator<any>>(
decorator: T,
instanceWrapper: InstanceWrapper,
methodKey?: string,
): T extends DiscoverableDecorator<infer R> ? R | undefined : T | undefined {
if (methodKey) {
return Reflect.getMetadata(
decorator.KEY,
instanceWrapper.instance[methodKey],
);
}
const clsRef =
instanceWrapper.instance?.constructor ?? instanceWrapper.metatype;
return Reflect.getMetadata(decorator.KEY, clsRef);
}
/**
* Returns a list of modules to be used for discovery.
*/
protected getModules(options: DiscoveryOptions = {}): Module[] {
if (!options.include) {
const includeInOpts = 'include' in options;
if (!includeInOpts) {
const moduleRefs = [...this.modulesContainer.values()];
return moduleRefs;
}

View File

@@ -4,7 +4,7 @@ export class CircularDependencyException extends RuntimeException {
constructor(context?: string) {
const ctx = context ? ` inside ${context}` : ``;
super(
`A circular dependency has been detected${ctx}. Please, make sure that each side of a bidirectional relationships are decorated with "forwardRef()".`,
`A circular dependency has been detected${ctx}. Please, make sure that each side of a bidirectional relationships are decorated with "forwardRef()". Note that circular relationships between custom providers (e.g., factories) are not supported since functions cannot be called more than once.`,
);
}
}

View File

@@ -59,6 +59,7 @@ export class ExecutionContextHost implements ExecutionContext {
return Object.assign(this, {
getClient: () => this.getArgByIndex(0),
getData: () => this.getArgByIndex(1),
getPattern: () => this.getArgByIndex(this.getArgs().length - 1),
});
}
}

View File

@@ -5,6 +5,7 @@ import {
} from '@nestjs/common/constants';
import { Injectable, Type } from '@nestjs/common/interfaces';
import { ApplicationConfig } from '../application-config';
import { DiscoverableMetaHostCollection } from '../discovery/discoverable-meta-host-collection';
import {
CircularDependencyException,
UndefinedForwardRefException,
@@ -70,34 +71,51 @@ export class NestContainer {
public async addModule(
metatype: ModuleMetatype,
scope: ModuleScope,
): Promise<Module | undefined> {
): Promise<
| {
moduleRef: Module;
inserted: boolean;
}
| undefined
> {
// In DependenciesScanner#scanForModules we already check for undefined or invalid modules
// We still need to catch the edge-case of `forwardRef(() => undefined)`
if (!metatype) {
throw new UndefinedForwardRefException(scope);
}
const { type, dynamicMetadata, token } = await this.moduleCompiler.compile(
metatype,
);
const { type, dynamicMetadata, token } =
await this.moduleCompiler.compile(metatype);
if (this.modules.has(token)) {
return this.modules.get(token);
return {
moduleRef: this.modules.get(token),
inserted: true,
};
}
return this.setModule(
{
token,
type,
dynamicMetadata,
},
scope,
);
return {
moduleRef: await this.setModule(
{
token,
type,
dynamicMetadata,
},
scope,
),
inserted: true,
};
}
public async replaceModule(
metatypeToReplace: ModuleMetatype,
newMetatype: ModuleMetatype,
scope: ModuleScope,
): Promise<Module | undefined> {
): Promise<
| {
moduleRef: Module;
inserted: boolean;
}
| undefined
> {
// In DependenciesScanner#scanForModules we already check for undefined or invalid modules
// We still need to catch the edge-case of `forwardRef(() => undefined)`
if (!metatypeToReplace || !newMetatype) {
@@ -105,18 +123,20 @@ export class NestContainer {
}
const { token } = await this.moduleCompiler.compile(metatypeToReplace);
const { type, dynamicMetadata } = await this.moduleCompiler.compile(
newMetatype,
);
const { type, dynamicMetadata } =
await this.moduleCompiler.compile(newMetatype);
return this.setModule(
{
token,
type,
dynamicMetadata,
},
scope,
);
return {
moduleRef: await this.setModule(
{
token,
type,
dynamicMetadata,
},
scope,
),
inserted: false,
};
}
private async setModule(
@@ -198,11 +218,10 @@ export class NestContainer {
return;
}
const moduleRef = this.modules.get(token);
const { token: relatedModuleToken } = await this.moduleCompiler.compile(
relatedModule,
);
const { token: relatedModuleToken } =
await this.moduleCompiler.compile(relatedModule);
const related = this.modules.get(relatedModuleToken);
moduleRef.addRelatedModule(related);
moduleRef.addImport(related);
}
public addProvider(
@@ -217,7 +236,12 @@ export class NestContainer {
if (!moduleRef) {
throw new UnknownModuleException();
}
return moduleRef.addProvider(provider, enhancerSubtype) as Function;
const providerKey = moduleRef.addProvider(provider, enhancerSubtype);
const providerRef = moduleRef.getProviderByKey(providerKey);
DiscoverableMetaHostCollection.inspectProvider(this.modules, providerRef);
return providerKey as Function;
}
public addInjectable(
@@ -247,6 +271,12 @@ export class NestContainer {
}
const moduleRef = this.modules.get(token);
moduleRef.addController(controller);
const controllerRef = moduleRef.controllers.get(controller);
DiscoverableMetaHostCollection.inspectController(
this.modules,
controllerRef,
);
}
public clear() {
@@ -271,7 +301,7 @@ export class NestContainer {
if (target === globalModule || target === this.internalCoreModule) {
return;
}
target.addRelatedModule(globalModule);
target.addImport(globalModule);
}
public getDynamicMetadataByToken(token: string): Partial<DynamicModule>;

View File

@@ -8,5 +8,6 @@ export class SilentLogger extends Logger {
warn = noop;
debug = noop;
verbose = noop;
fatal = noop;
setLogLevels = noop;
}

View File

@@ -23,6 +23,7 @@ import {
} from '@nestjs/common/utils/shared.utils';
import { iterate } from 'iterare';
import { performance } from 'perf_hooks';
import { CircularDependencyException } from '../errors/exceptions';
import { RuntimeException } from '../errors/exceptions/runtime.exception';
import { UndefinedDependencyException } from '../errors/exceptions/undefined-dependency.exception';
import { UnknownDependenciesException } from '../errors/exceptions/unknown-dependencies.exception';
@@ -35,6 +36,7 @@ import {
PropertyMetadata,
} from './instance-wrapper';
import { Module } from './module';
import { SettlementSignal } from './settlement-signal';
/**
* The type of an injectable dependency
@@ -111,14 +113,21 @@ export class Injector {
this.getContextId(contextId, wrapper),
inquirerId,
);
if (instanceHost.isPending) {
const settlementSignal = wrapper.settlementSignal;
if (inquirer && settlementSignal?.isCycle(inquirer.id)) {
throw new CircularDependencyException(`"${wrapper.name}"`);
}
return instanceHost.donePromise.then((err?: unknown) => {
if (err) {
throw err;
}
});
}
const done = this.applyDoneHook(instanceHost);
const settlementSignal = this.applySettlementSignal(instanceHost, wrapper);
const token = wrapper.token || wrapper.name;
const { inject } = wrapper;
@@ -127,7 +136,7 @@ export class Injector {
throw new RuntimeException();
}
if (instanceHost.isResolved) {
return done();
return settlementSignal.complete();
}
try {
const t0 = this.getNowTimestamp();
@@ -149,7 +158,7 @@ export class Injector {
);
this.applyProperties(instance, properties);
wrapper.initTime = this.getNowTimestamp() - t0;
done();
settlementSignal.complete();
};
await this.resolveConstructorParams<T>(
wrapper,
@@ -161,7 +170,7 @@ export class Injector {
inquirer,
);
} catch (err) {
done(err);
settlementSignal.error(err);
throw err;
}
}
@@ -237,15 +246,16 @@ export class Injector {
await this.loadEnhancersPerContext(wrapper, contextId, wrapper);
}
public applyDoneHook<T>(
wrapper: InstancePerContext<T>,
): (err?: unknown) => void {
let done: (err?: unknown) => void;
wrapper.donePromise = new Promise<unknown>((resolve, reject) => {
done = resolve;
});
wrapper.isPending = true;
return done;
public applySettlementSignal<T>(
instancePerContext: InstancePerContext<T>,
host: InstanceWrapper<T>,
) {
const settlementSignal = new SettlementSignal();
instancePerContext.donePromise = settlementSignal.asPromise();
instancePerContext.isPending = true;
host.settlementSignal = settlementSignal;
return settlementSignal;
}
public async resolveConstructorParams<T>(
@@ -457,6 +467,8 @@ export class Injector {
inquirerId,
);
if (!instanceHost.isResolved && !instanceWrapper.forwardRef) {
inquirer?.settlementSignal?.insertRef(instanceWrapper.id);
await this.loadProvider(
instanceWrapper,
instanceWrapper.host ?? moduleRef,
@@ -581,6 +593,7 @@ export class Injector {
}
this.printLookingForProviderLog(name, relatedModule);
moduleRegistry.push(relatedModule.id);
const { providers, exports } = relatedModule;
if (!exports.has(name) || !providers.has(name)) {
const instanceRef = await this.lookupComponentInImports(
@@ -609,6 +622,8 @@ export class Injector {
inquirerId,
);
if (!instanceHost.isResolved && !instanceWrapperRef.forwardRef) {
wrapper.settlementSignal?.insertRef(instanceWrapperRef.id);
await this.loadProvider(
instanceWrapperRef,
relatedModule,

View File

@@ -17,6 +17,7 @@ import {
isValueProvider,
} from './helpers/provider-classifier';
import { Module } from './module';
import { SettlementSignal } from './settlement-signal';
export const INSTANCE_METADATA_SYMBOL = Symbol.for('instance_metadata:cache');
export const INSTANCE_ID_SYMBOL = Symbol.for('instance_metadata:id');
@@ -63,13 +64,13 @@ export class InstanceWrapper<T = any> {
public readonly host?: Module;
public readonly isAlias: boolean = false;
public readonly subtype?: EnhancerSubtype;
public scope?: Scope = Scope.DEFAULT;
public metatype: Type<T> | Function;
public inject?: FactoryProvider['inject'];
public forwardRef?: boolean;
public durable?: boolean;
public initTime?: number;
public settlementSignal?: SettlementSignal;
private static logger: LoggerService = new Logger(InstanceWrapper.name);
@@ -104,8 +105,11 @@ export class InstanceWrapper<T = any> {
}
get isNotMetatype(): boolean {
const isFactory = this.metatype && !isNil(this.inject);
return !this.metatype || isFactory;
return !this.metatype || this.isFactory;
}
get isFactory(): boolean {
return this.metatype && !isNil(this.inject);
}
get isTransient(): boolean {

View File

@@ -31,6 +31,7 @@ export class LazyModuleLoader {
const moduleInstances = await this.dependenciesScanner.scanForModules({
moduleDefinition: moduleClassOrDynamicDefinition,
overrides: this.moduleOverrides,
lazy: true,
});
if (moduleInstances.length === 0) {
// The module has been loaded already. In this case, we must

View File

@@ -128,7 +128,10 @@ export abstract class ModuleRef extends AbstractInstanceResolver {
options?: ModuleRefGetOrResolveOpts,
): Promise<TResult | Array<TResult>>;
public abstract create<T = any>(type: Type<T>): Promise<T>;
public abstract create<T = any>(
type: Type<T>,
contextId?: ContextId,
): Promise<T>;
public introspect<T = any>(
token: Type<T> | string | symbol,
@@ -151,6 +154,7 @@ export abstract class ModuleRef extends AbstractInstanceResolver {
protected async instantiateClass<T = any>(
type: Type<T>,
moduleRef: Module,
contextId?: ContextId,
): Promise<T> {
const wrapper = new InstanceWrapper({
name: type && type.name,
@@ -166,6 +170,8 @@ export abstract class ModuleRef extends AbstractInstanceResolver {
const properties = await this.injector.resolveProperties(
wrapper,
moduleRef,
undefined,
contextId,
);
const instance = new type(...instances);
this.injector.applyProperties(instance, properties);
@@ -176,6 +182,7 @@ export abstract class ModuleRef extends AbstractInstanceResolver {
moduleRef,
undefined,
callback,
contextId,
);
} catch (err) {
reject(err);

View File

@@ -37,8 +37,9 @@ import { isDurable } from '../helpers/is-durable';
import { UuidFactory } from '../inspector/uuid-factory';
import { CONTROLLER_ID_KEY } from './constants';
import { NestContainer } from './container';
import { InstanceWrapper } from './instance-wrapper';
import { ContextId, InstanceWrapper } from './instance-wrapper';
import { ModuleRef, ModuleRefGetOrResolveOpts } from './module-ref';
import { Injector } from './injector';
export class Module {
private readonly _id: string;
@@ -240,11 +241,11 @@ export class Module {
return instanceWrapper;
}
public addProvider(provider: Provider): Provider | InjectionToken;
public addProvider(provider: Provider): InjectionToken;
public addProvider(
provider: Provider,
enhancerSubtype: EnhancerSubtype,
): Provider | InjectionToken;
): InjectionToken;
public addProvider(provider: Provider, enhancerSubtype?: EnhancerSubtype) {
if (this.isCustomProvider(provider)) {
if (this.isEntryProvider(provider.provide)) {
@@ -517,6 +518,13 @@ export class Module {
});
}
public addImport(moduleRef: Module) {
this._imports.add(moduleRef);
}
/**
* @deprecated
*/
public addRelatedModule(module: Module) {
this._imports.add(module);
}
@@ -626,11 +634,14 @@ export class Module {
);
}
public async create<T = any>(type: Type<T>): Promise<T> {
public async create<T = any>(
type: Type<T>,
contextId?: ContextId,
): Promise<T> {
if (!(type && isFunction(type) && type.prototype)) {
throw new InvalidClassException(type);
}
return this.instantiateClass<T>(type, self);
return this.instantiateClass<T>(type, self, contextId);
}
};
}

View File

@@ -0,0 +1,59 @@
/**
* SettlementSignal is used to signal the resolution of a provider/instance.
* Calling `complete` or `error` will resolve the promise returned by `asPromise`.
* Can be used to detect circular dependencies.
*/
export class SettlementSignal {
private readonly _refs = new Set();
private readonly settledPromise: Promise<unknown>;
private settleFn!: (err?: unknown) => void;
private completed = false;
constructor() {
this.settledPromise = new Promise<unknown>(resolve => {
this.settleFn = resolve;
});
}
/**
* Resolves the promise returned by `asPromise`.
*/
public complete() {
this.completed = true;
this.settleFn();
}
/**
* Rejects the promise returned by `asPromise` with the given error.
* @param err Error to reject the promise returned by `asPromise` with.
*/
public error(err: unknown) {
this.completed = true;
this.settleFn(err);
}
/**
* Returns a promise that will be resolved when `complete` or `error` is called.
* @returns Promise that will be resolved when `complete` or `error` is called.
*/
public asPromise() {
return this.settledPromise;
}
/**
* Inserts a wrapper id that the host of this signal depends on.
* @param wrapperId Wrapper id to insert.
*/
public insertRef(wrapperId: string) {
this._refs.add(wrapperId);
}
/**
* Check if relationship is circular.
* @param wrapperId Wrapper id to check.
* @returns True if relationship is circular, false otherwise.
*/
public isCycle(wrapperId: string) {
return !this.completed && this._refs.has(wrapperId);
}
}

View File

@@ -5,7 +5,8 @@ import {
Controller,
} from '@nestjs/common/interfaces';
import { isEmpty } from '@nestjs/common/utils/shared.utils';
import { defer, from as fromPromise, Observable } from 'rxjs';
import { AsyncResource } from 'async_hooks';
import { Observable, defer, from as fromPromise } from 'rxjs';
import { mergeAll, switchMap } from 'rxjs/operators';
import { ExecutionContextHost } from '../helpers/execution-context-host';
@@ -26,7 +27,7 @@ export class InterceptorsConsumer {
const nextFn = async (i = 0) => {
if (i >= interceptors.length) {
return this.transformDeferred(next);
return defer(AsyncResource.bind(() => this.transformDeferred(next)));
}
const handler: CallHandler = {
handle: () => fromPromise(nextFn(i + 1)).pipe(mergeAll()),

View File

@@ -9,7 +9,7 @@ export class MetadataScanner {
private readonly cachedScannedPrototypes: Map<object, string[]> = new Map();
/**
* @deprecated
* @deprecated
* @see {@link getAllMethodNames}
* @see getAllMethodNames
*/
@@ -62,7 +62,7 @@ export class MetadataScanner {
}
/**
* @deprecated
* @deprecated
* @see {@link getAllMethodNames}
* @see getAllMethodNames
*/

View File

@@ -9,6 +9,7 @@ import {
MiddlewareConfiguration,
RouteInfo,
} from '@nestjs/common/interfaces/middleware';
import { stripEndSlash } from '@nestjs/common/utils/shared.utils';
import { iterate } from 'iterare';
import { RouteInfoPathExtractor } from './route-info-path-extractor';
import { RoutesMapper } from './routes-mapper';
@@ -100,21 +101,27 @@ export class MiddlewareBuilder implements MiddlewareConsumer {
const routesWithRegex = routes
.filter(route => route.path.includes(':'))
.map(route => ({
method: route.method,
path: route.path,
regex: new RegExp(
'^(' + route.path.replace(regexMatchParams, wildcard) + ')$',
'g',
),
}));
return routes.filter(route => {
const isOverlapped = (v: { path: string; regex: RegExp }) => {
return route.path !== v.path && route.path.match(v.regex);
const isOverlapped = (item: { regex: RegExp } & RouteInfo): boolean => {
if (route.method !== item.method) {
return false;
}
const normalizedRoutePath = stripEndSlash(route.path);
return (
normalizedRoutePath !== item.path &&
item.regex.test(normalizedRoutePath)
);
};
const routeMatch = routesWithRegex.find(isOverlapped);
if (routeMatch === undefined) {
return route;
}
return routeMatch === undefined;
});
}
};

View File

@@ -33,7 +33,8 @@ import { RouteInfoPathExtractor } from './route-info-path-extractor';
import { RoutesMapper } from './routes-mapper';
export class MiddlewareModule<
TAppOptions extends NestApplicationContextOptions = NestApplicationContextOptions,
TAppOptions extends
NestApplicationContextOptions = NestApplicationContextOptions,
> {
private readonly routerProxy = new RouterProxy();
private readonly exceptionFiltersCache = new WeakMap();
@@ -66,7 +67,7 @@ export class MiddlewareModule<
config,
appRef,
);
this.routesMapper = new RoutesMapper(container);
this.routesMapper = new RoutesMapper(container, config);
this.resolver = new MiddlewareResolver(middlewareContainer, injector);
this.routeInfoPathExtractor = new RouteInfoPathExtractor(config);
this.injector = injector;

Some files were not shown because too many files have changed in this diff Show More