Compare commits

...

951 Commits

Author SHA1 Message Date
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
Kamil Mysliwiec
8053f11451 Merge pull request #9809 from rychardvale/fix-middleware-multiple-runs
feat(core): middleware runs once for matching route
2023-06-12 09:47:02 +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
Kamil Mysliwiec
b1be7a3d21 Merge pull request #11650 from nestjs/fix/global-prefix-exclude-with-versioning
fix(core): global prefix exclude when versioning is turned on
2023-05-24 11:34:14 +02: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
Kamil Myśliwiec
0faddb4c37 fix(core): global prefix exclude when versioning is turned on 2023-05-22 13:17:22 +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
974c946845 Update integration/testing-module-override/tsconfig.json 2023-05-19 14:55:33 +02:00
Kamil Myśliwiec
c4828c473a ci: add --legacy-peer-deps flag to samples install 2023-05-19 13:01:19 +02:00
Kamil Myśliwiec
0a674557bd ci: add legacy peer deps flag to npm ci 2023-05-19 12:52:12 +02:00
Kamil Myśliwiec
b9d8a0769f chore: recreate package lock file 2023-05-19 12:44:15 +02:00
Kamil Myśliwiec
1e467c17f6 test: update async local storage signature 2023-05-19 12:35:57 +02:00
Kamil Myśliwiec
a665efcfba chore: update package lock file 2023-05-19 12:35:41 +02:00
Kamil Myśliwiec
aea0a0470a Merge branch 'parzhitsky-feat/improve-typings-for-createbody' into 10.0.0 2023-05-19 12:33:59 +02:00
Kamil Myśliwiec
5820bed145 chore: resolve conflicts 2023-05-19 12:33:43 +02: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 Mysliwiec
f6f577a4df Merge pull request #11555 from MaurerKrisztian/InjectionToken-generic
refactor(common): Add generic to InjectionToken type
2023-04-25 08:28:10 +02:00
krisztian.maurer
3bf74d8fb6 refactor(common): Add generic to InjectionToken type 2023-04-24 13:49:24 +02:00
Kamil Myśliwiec
278654247b ci: dont run test node 19 for now 2023-04-17 14:18:06 +02:00
Kamil Myśliwiec
6a8b649840 Merge branch 'leonardovillela-testing-module-builder-add-override-module-method' into 10.0.0 2023-04-17 14:06:14 +02:00
Kamil Myśliwiec
f98c779e35 test: update outdated tests 2023-04-17 14:05:50 +02:00
Kamil Myśliwiec
11b7418e3f Merge branch '10.0.0' into leonardovillela-testing-module-builder-add-override-module-method 2023-04-17 13:49:11 +02:00
Kamil Myśliwiec
fdfabf978c chore: resolve conflicts 2023-04-17 13:49:01 +02:00
Kamil Mysliwiec
7b05cd0cbf Merge pull request #10533 from Gustrb/add-search-method
feat(core/common): Add @Search decorator to the available HTTP route handlers
2023-04-17 13:14:09 +02:00
Kamil Mysliwiec
69fba03c7d Merge pull request #10359 from tijsmoree/redis-microservice-psubscribe
feat(microservices): enable wildcards in redis microservice patterns
2023-04-17 13:12:28 +02:00
Kamil Mysliwiec
b908f1a012 Merge pull request #11118 from elplancton/host-regex
feat(core): add support to named groups
2023-04-17 13:09:35 +02:00
Kamil Myśliwiec
bc4a571ef4 fix: update outdated imports 2023-04-17 13:06:25 +02:00
Kamil Myśliwiec
8b74665bdf chore: remove deprecated types, utils, logic 2023-04-11 13:34:10 +02:00
Kamil Mysliwiec
648f2d587f Merge pull request #11450 from micalevisk/refactor-v10/drop-deprecations
refactor(common)!: drop deprecated misspelled constant `CUSTOM_ROUTE_AGRS_METADATA`
2023-04-11 11:53:22 +02:00
Micael Levi L. Cavalcante
1a2ac3eeae refactor(common): drop deprecated misspelled constant 2023-04-10 20:33:11 -04:00
Julien Sarazin
9af95fcf50 fix(microservices): grpc-server handle async interceptors 2023-04-06 16:06:34 +02:00
Kamil Myśliwiec
880e08b718 ci: update circleci setup to use newer versions of node 2023-04-06 09:07:54 +02:00
Kamil Mysliwiec
4765b46e6d Merge pull request #10630 from micalevisk/feat/narrowing-http-adapter-instance-type
feat(common)!: narrow `getInstance` return type for http adapters
2023-04-06 09:04:37 +02:00
Micael Levi L. Cavalcante
3b6b66b7cc feat(common): narrow getInstance return type for http platforms 2023-04-05 09:05:43 -04:00
Dima Parzhitsky
48e25d4080 chore: improve typings of .createBody(…)
Add overload signatures to `HttpException.createBody(…)` to reflect different ways of creating it:

```ts
createBody(<message>, <error>, <statusCode>);
createBody(<messages>, <error>, <statusCode>);
createBody(null, <message>, <statusCode>);
createBody(null, <messages>, <statusCode>);
createBody(<custom>);
```

Signed-off-by: Dima Parzhitsky <parzhitsky@gmail.com>
2023-04-05 14:43:45 +03:00
Kamil Myśliwiec
353b974ffe Merge branch '10.0.0' of https://github.com/nestjs/nest into 10.0.0 2023-04-05 13:31:18 +02:00
Kamil Myśliwiec
0f904d2cab chore: update minimum engine version to 16 2023-04-05 13:31:07 +02:00
Kamil Mysliwiec
77442c806f Merge pull request #10133 from TheKhanj/refactor/error
refactor(): refactor exception handlers
2023-04-05 13:14:53 +02:00
Kamil Mysliwiec
10c1bd8405 Merge pull request #11142 from nordfjord/support-async-local-storage-in-interceptors
feat: Support async local storage in interceptors
2023-04-05 13:11:37 +02:00
Kamil Mysliwiec
252e864df7 Merge pull request #10953 from micalevisk/fix/partial-issue-10246
fix(common)!: when transforming optional boolean parameters on `ValidationPipe`
2023-04-05 13:11:31 +02:00
Kamil Myśliwiec
90a3416288 Merge branch 'CodyTseng-feat-enhance-http-server-type' into 10.0.0 2023-04-05 13:10:43 +02:00
Kamil Myśliwiec
702eebf9b5 chore: resolve conflicts 2023-04-05 13:10:23 +02:00
Kamil Mysliwiec
2eb932cc58 Merge pull request #11040 from mohamadrezamomeni/refactor-define-type
feat(common): define type for file input
2023-04-05 13:07:20 +02:00
Kamil Mysliwiec
5a2be89eab Merge pull request #10549 from Papooch/fix/microservices-client-falsy-options
fix(microservices): allow falsy values in options
2023-04-05 13:06:50 +02:00
Kamil Mysliwiec
5aab28f260 Merge pull request #11318 from skrtheboss/fix/inject-and-optional-decorator-typings
fix(common): fix @Inject and @Optional return types
2023-04-05 13:06:42 +02:00
Kamil Mysliwiec
03aa13e980 Merge pull request #11413 from Tony133/chore/update-interface-deprecated-kafka
chore(): update interface deprecated for kafka
2023-04-05 13:06:10 +02:00
Kamil Myśliwiec
a432407efc chore: remove cache-manager from peer deps 2023-04-05 13:04:02 +02:00
Kamil Mysliwiec
9e06786820 Merge pull request #11428 from nestjs/chore/remove-cache-module
chore(common): remove cache module
2023-04-05 13:03:35 +02:00
Kamil Myśliwiec
31deefe3de test(): update internal core module test 2023-04-05 12:24:28 +02:00
Kamil Myśliwiec
2599395b3c Merge branch 'master' into chore/remove-cache-module 2023-04-05 12:23:56 +02:00
Kamil Myśliwiec
f9550c3393 chore: remove cache decorator test 2023-04-05 12:07:07 +02:00
Kamil Myśliwiec
570e52132c chore(common): remove cache module 2023-04-05 11:01:17 +02:00
Tony133
0eec329070 chore(): update interface deprecated for kafka 2023-03-31 16:59:45 +02:00
skrtheboss
ffc09ee82c fix(common): adjust @inject and @optional return types
Use PropertyDecorator and ParameterDecorator as return type to ensure typings are correct
2023-03-22 09:08:41 +01:00
Einar Norðfjörð
25d9ef940c feat(core): Support async local storage in interceptors
This is necessary to allow use cases such as allowing interceptors to
change the context in OpenTelemetry. You might for example want to add
Baggage to the context in an interceptor but because of the way it was
structured before the baggage would not make its way into the controller
2023-02-20 14:13:16 -05:00
Rafael
df74cde2a0 feat(core): add support to named groups 2023-02-15 15:18:49 -03:00
codytseng
ea79cefc28 fix(testing): correct the type of server 2023-02-15 15:46:18 +08:00
codytseng
cf4097cf24 feat(common,express,fastify): enhance the type of httpServer 2023-02-15 14:42:03 +08:00
Mohammad Reza Momeni
0b847e75bc chore: remove | {} 2023-02-09 16:14:57 +03:30
Mohammad Reza Momeni
a33e377d00 fix: generix with default type 2023-02-07 00:52:28 +03:30
Mohammad Reza Momeni
2ccf67b8e4 fix: make filetype small and rename to ifile 2023-02-07 00:22:20 +03:30
mohamadrezamomeni
f3e118e9c0 Update packages/common/pipes/file/file-validator.interface.ts
Co-authored-by: Thiago Valentim <51245643+thiagomini@users.noreply.github.com>
2023-02-06 22:32:03 +03:30
Mohammad Reza Momeni
a0f7ee8b1e fix: fix file type checking 2023-02-04 00:29:09 +03:30
Mohammad Reza Momeni
809dadbf82 refactor: use synthetic sugar in file-validator for validate mimetype 2023-02-03 23:33:49 +03:30
Mohammad Reza Momeni
dba518e89c refactor: define types for input file in file-type.validator
and file-validator.interface and max-file-size.validator
2023-02-03 23:31:19 +03:30
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
Micael Levi L. Cavalcante
14a0f069ac fix(common): when transforming invalid boolean values
on `ValidationPipe`, it must not return a valid boolean
2023-01-25 21:37:54 -04:00
Micael Levi L. Cavalcante
bcf4bf9b81 test(common): add tests for broken cases on ValidationPipe
when transforming booleans with non-valid boolean values
2023-01-25 21:23:00 -04:00
Gustrb
a7655a051d ci: don't install greater than npm 8 2022-11-12 22:06:38 -03:00
Gustrb
2f69e96852 feat(core): Add the search method to the adapter
This update was really simple, because we dont need any kind of aliasing
due to fastify and express already supporting the search method for Application
2022-11-09 19:49:35 -03:00
Gustrb
2dd3526d08 feat(common): Add the @Search decorator
This decorator uses the SEARCH method to construct a decorator
for a handler to a Search http request
2022-11-09 19:25:55 -03:00
Gustrb
93694eea56 feat(common): Add the search method to the list
The search method is going to be anexed with the @Search decorator and
going to be used to reference a SEARCH request
2022-11-09 19:25:52 -03:00
Ondřej Švanda
e45e04aa69 fix(microservices): allow falsy values in options 2022-11-09 16:08:47 +01:00
Tijs Moree
39d6e8ecf8 feat(microservices): add wildcard option in redis microservice patterns
The redis microservice now makes use of `psubscribe` and `pmessage`
when the `wildcards` option is enabled in the options of the microservice,
which makes it possible to use wildcards as specified by the Redis
documentation.

Closes #10344
2022-10-11 17:40:27 +02:00
Pooyan Khanjankhani
92bc195eb2 chore(common): add .util postfix to test filename 2022-08-19 00:34:31 +04:30
Pooyan Khanjankhani
1f81c86d84 test(common): add test for exception handler selector 2022-08-19 00:30:37 +04:30
Pooyan Khanjankhani
dcc2fa7836 chore(): append .util postfix to filename 2022-08-19 00:03:08 +04:30
Pooyan Khanjankhani
98acbe6430 fix(common): check for empty length in exception handler selector 2022-08-18 23:55:05 +04:30
Pooyan Khanjankhani
82555bed36 chore(common): fix import issue 2022-08-18 23:11:34 +04:30
Pooyan Khanjankhani
273f1aa3ed refactor(core): use selectExceptionFilterMetadata in
ExternalExceptionHandler
2022-08-18 23:09:06 +04:30
Pooyan Khanjankhani
469580da63 refactor(microservices): use selectExceptionFilterMetadata 2022-08-18 23:07:10 +04:30
Pooyan Khanjankhani
fe069f6ebe refactor(core): use 2022-08-18 23:06:50 +04:30
Pooyan Khanjankhani
c067f85d37 refactor(websockets): use selectExceptionFilterMetadata 2022-08-18 23:00:24 +04:30
Pooyan Khanjankhani
f98d0e9956 refactor(common): add selectExceptionFilterMetadata function 2022-08-18 22:58:30 +04:30
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
Rychard Vale
b0837af94f fix: convention/code style.
Co-authored-by: Antonio T. as Tony <Tony133@users.noreply.github.com>
2022-06-26 14:57:47 -03:00
Rychard
5bf90ac6d8 fix: increase readability 2022-06-24 23:46:49 -03:00
Rychard Vale
328169628b feat(core): middleware runs once for matching route 2022-06-20 07:26:58 -03:00
Leonardo Villela
91d4870323 refactor(testing): transform module override sample to integration test 2021-12-21 00:18:03 +01:00
Leonardo Villela
d725aae31c docs(testing): add modules override sample 2021-12-19 19:33:21 +01:00
Leonardo Villela
09f6c94d85 chore(testing): remove debugger instructions 2021-12-19 16:24:09 +01:00
Leonardo Villela
59bae05cb2 fix(testing): lazy module override 2021-12-19 01:38:15 +01:00
Leonardo Villela
d7351b7a49 fix(testing): circular dependency module override 2021-12-19 00:02:50 +01:00
Leonardo Villela
6ea534e2f4 feat(testing): add missing validation for replace container module 2021-12-13 20:54:04 +01:00
Leonardo Villela
3114a54d25 refactor(testing): remove duplication to add/replace container module 2021-12-13 20:38:00 +01:00
Leonardo Villela
2071461d5e feat(testing): support override modules in test module builder 2021-12-12 23:32:31 +01:00
421 changed files with 140303 additions and 144831 deletions

View File

@@ -1,86 +1,127 @@
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" }}
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
command: npm ci
name: Install dependencies
command: npm ci --legacy-peer-deps
- &build-packages
run:
name: Build
command: npm run build
name: Build
command: npm run build
- &run-unit-tests
run:
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
name: Test
command: npm run test
jobs:
build:
working_directory: ~/nest
docker:
- image: circleci/node:12
- 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
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: Build
command: npm run build
test_node_12:
<<: *unit-tests-template
docker:
- image: circleci/node:12
test_node_14:
<<: *unit-tests-template
docker:
- image: circleci/node:14
test_node_16:
working_directory: ~/nest
docker:
- image: circleci/node:16
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:
parameters:
node-version:
type: string
working_directory: ~/nest
docker:
- 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
@@ -97,17 +138,17 @@ jobs:
machine: true
steps:
- checkout
- run:
- run:
name: Prepare nvm
command: |
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV
echo ' [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
- run:
- run:
name: Upgrade Node.js
command: |
nvm install v12
nvm install << pipeline.parameters.maintenance-node-version >>
node -v
nvm alias default v12
nvm alias default << pipeline.parameters.maintenance-node-version >>
- run:
name: Install Docker Compose
command: |
@@ -126,11 +167,11 @@ jobs:
- run:
name: Integration tests
command: npm run test:integration
codechecks_benchmarks:
working_directory: ~/nest
docker:
- image: circleci/node:16
- image: cimg/node:<< pipeline.parameters.maintenance-node-version >>
steps:
- checkout
- *restore-cache
@@ -146,9 +187,9 @@ jobs:
samples:
working_directory: ~/nest
docker:
- image: circleci/node:16
- image: cimg/node:<< pipeline.parameters.maintenance-node-version >>
environment:
- DISABLE_OPENCOLLECTIVE: true
DISABLE_OPENCOLLECTIVE: 'true'
steps:
- checkout
- *restore-cache
@@ -158,19 +199,21 @@ jobs:
command: npm run build:samples
workflows:
version: 2
build-and-test:
jobs:
- build
- test_node_16:
requires:
- build
- test_node_14:
requires:
- build
- test_node_12:
- 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

@@ -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://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>
</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

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -1,39 +0,0 @@
import { CACHE_MANAGER, INestApplication } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import * as request from 'supertest';
import { AsyncRegisterExtraModule } from '../src/async-register-extra-providers/async-register-extra.module';
import { Cache } from 'cache-manager';
import { assert } from 'chai';
describe('Async Register Extra Providers', () => {
let server;
let app: INestApplication;
let cacheManager: Cache;
before(async () => {
const module = await Test.createTestingModule({
imports: [AsyncRegisterExtraModule],
}).compile();
cacheManager = module.get<Cache>(CACHE_MANAGER);
app = module.createNestApplication();
server = app.getHttpServer();
await app.init();
});
it('should be defined', async () => {
assert.isDefined(cacheManager);
});
it(`should return empty`, async () => {
return request(server).get('/').expect(200, 'Not found');
});
it(`should return data`, async () => {
return request(server).get('/').expect(200, 'value');
});
after(async () => {
await app.close();
});
});

View File

@@ -1,39 +0,0 @@
import { CACHE_MANAGER, INestApplication } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import * as request from 'supertest';
import { AsyncRegisterModule } from '../src/async-register/async-register.module';
import { Cache } from 'cache-manager';
import { assert } from 'chai';
describe('Async Register', () => {
let server;
let app: INestApplication;
let cacheManager: Cache;
before(async () => {
const module = await Test.createTestingModule({
imports: [AsyncRegisterModule],
}).compile();
cacheManager = module.get<Cache>(CACHE_MANAGER);
app = module.createNestApplication();
server = app.getHttpServer();
await app.init();
});
it('should be defined', async () => {
assert.isDefined(cacheManager);
});
it(`should return empty`, async () => {
return request(server).get('/').expect(200, 'Not found');
});
it(`should return data`, async () => {
return request(server).get('/').expect(200, 'value');
});
after(async () => {
await app.close();
});
});

View File

@@ -1,35 +0,0 @@
import { INestApplication } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import * as request from 'supertest';
import { CustomTtlModule } from '../src/custom-ttl/custom-ttl.module';
describe('Caching Custom TTL', () => {
let server;
let app: INestApplication;
beforeEach(async () => {
const module = await Test.createTestingModule({
imports: [CustomTtlModule],
}).compile();
app = module.createNestApplication();
server = app.getHttpServer();
await app.init();
});
it('should return a differnt value after the TTL is elapsed', async () => {
await request(server).get('/').expect(200, '0');
await new Promise(resolve => setTimeout(resolve, 500));
await request(server).get('/').expect(200, '1');
});
it('should return the cached value within the TTL', async () => {
await request(server).get('/').expect(200, '0');
await new Promise(resolve => setTimeout(resolve, 200));
await request(server).get('/').expect(200, '0');
});
afterEach(async () => {
await app.close();
});
});

View File

@@ -1,31 +0,0 @@
import { INestApplication } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import * as request from 'supertest';
import { MultiStoreModule } from '../src/multi-store/multi-store.module';
describe('Caching Multi Store', () => {
let server;
let app: INestApplication;
before(async () => {
const module = await Test.createTestingModule({
imports: [MultiStoreModule],
}).compile();
app = module.createNestApplication();
server = app.getHttpServer();
await app.init();
});
it(`should return empty`, async () => {
return request(server).get('/').expect(200, '');
});
it(`should return data`, async () => {
return request(server).get('/').expect(200, 'multi-store-value');
});
after(async () => {
await app.close();
});
});

View File

@@ -1,16 +0,0 @@
import { Controller, Get, Inject, CACHE_MANAGER } from '@nestjs/common';
import { Cache } from 'cache-manager';
@Controller()
export class AsyncRegisterExtraController {
constructor(@Inject(CACHE_MANAGER) private cacheManager: Cache) {}
@Get()
async getFromStore(): Promise<string> {
const value: string | undefined = await this.cacheManager.get('key');
if (!value) {
await this.cacheManager.set('key', 'value');
}
return value ?? 'Not found';
}
}

View File

@@ -1,16 +0,0 @@
import { CacheModule, Module } from '@nestjs/common';
import { AsyncRegisterExtraController } from './async-register-extra.controller';
import { CacheConfig } from './config/cache.config';
import { ConfigModule } from './config/config.module';
@Module({
imports: [
CacheModule.registerAsync({
extraProviders: [ConfigModule],
isGlobal: true,
useClass: CacheConfig,
}),
],
controllers: [AsyncRegisterExtraController],
})
export class AsyncRegisterExtraModule {}

View File

@@ -1,17 +0,0 @@
import {
CacheModuleOptions,
CacheOptionsFactory,
Injectable,
} from '@nestjs/common';
import { ConfigService } from './config.service';
@Injectable()
export class CacheConfig implements CacheOptionsFactory {
constructor(private readonly configService: ConfigService) {}
createCacheOptions(): CacheModuleOptions {
const ttl = this.configService.getTtl();
return { ttl };
}
}

View File

@@ -1,8 +0,0 @@
import { Module } from '@nestjs/common';
import { ConfigService } from './config.service';
@Module({
providers: [ConfigService],
exports: [ConfigService],
})
export class ConfigModule {}

View File

@@ -1,8 +0,0 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class ConfigService {
public getTtl(): number {
return 10;
}
}

View File

@@ -1,16 +0,0 @@
import { Controller, Get, Inject, CACHE_MANAGER } from '@nestjs/common';
import { Cache } from 'cache-manager';
@Controller()
export class AsyncRegisterController {
constructor(@Inject(CACHE_MANAGER) private cacheManager: Cache) {}
@Get()
async getFromStore(): Promise<string> {
const value: string | undefined = await this.cacheManager.get('key');
if (!value) {
await this.cacheManager.set('key', 'value');
}
return value ?? 'Not found';
}
}

View File

@@ -1,14 +0,0 @@
import { CacheModule, Module } from '@nestjs/common';
import { AsyncRegisterController } from './async-register.controller';
import { CacheConfig } from './config/cache.config';
@Module({
imports: [
CacheModule.registerAsync({
isGlobal: true,
useClass: CacheConfig,
}),
],
controllers: [AsyncRegisterController],
})
export class AsyncRegisterModule {}

View File

@@ -1,14 +0,0 @@
import {
CacheModuleOptions,
CacheOptionsFactory,
Injectable,
} from '@nestjs/common';
@Injectable()
export class CacheConfig implements CacheOptionsFactory {
createCacheOptions(): CacheModuleOptions {
const ttl = 100;
return { ttl };
}
}

View File

@@ -1,40 +0,0 @@
{
"compilerOptions": {
"module": "commonjs",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"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

@@ -1,20 +0,0 @@
import {
CacheInterceptor,
CacheTTL,
Controller,
Get,
UseInterceptors,
} from '@nestjs/common';
@Controller()
export class CustomTtlController {
counter = 0;
constructor() {}
@Get()
@CacheTTL(500)
@UseInterceptors(CacheInterceptor)
getNumber() {
return this.counter++;
}
}

View File

@@ -1,8 +0,0 @@
import { CacheModule, Module } from '@nestjs/common';
import { CustomTtlController } from './custom-ttl.controller';
@Module({
imports: [CacheModule.register()],
controllers: [CustomTtlController],
})
export class CustomTtlModule {}

View File

@@ -1,40 +0,0 @@
{
"compilerOptions": {
"module": "commonjs",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"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

@@ -1,16 +0,0 @@
import { Controller, Get, Inject, CACHE_MANAGER } from '@nestjs/common';
import { Cache } from 'cache-manager';
@Controller()
export class MultiStoreController {
constructor(@Inject(CACHE_MANAGER) private cacheManager: Cache) {}
@Get()
async getFromMultiStore(): Promise<unknown> {
const value = await this.cacheManager.get('multi-store-key');
if (!value) {
await this.cacheManager.set('multi-store-key', 'multi-store-value');
}
return value;
}
}

View File

@@ -1,24 +0,0 @@
import { CacheModule, Module } from '@nestjs/common';
import { redisStore } from 'cache-manager-redis-store';
import { MultiStoreController } from './multi-store.controller';
@Module({
imports: [
CacheModule.register([
{
store: 'memory',
max: 100,
ttl: 10,
},
{
store: redisStore,
host: 'localhost',
port: 6379,
db: 0,
ttl: 600,
},
]),
],
controllers: [MultiStoreController],
})
export class MultiStoreModule {}

View File

@@ -1,40 +0,0 @@
{
"compilerOptions": {
"module": "commonjs",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"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

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

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

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",
@@ -37,4 +37,4 @@
"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

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -1,15 +1,16 @@
import { HttpServer, HttpStatus, INestApplication } from '@nestjs/common';
import { HttpStatus, INestApplication } from '@nestjs/common';
import {
FastifyAdapter,
NestFastifyApplication,
} from '@nestjs/platform-fastify';
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import { RawServerDefault } from 'fastify';
import * as request from 'supertest';
import { ErrorsController } from '../src/errors/errors.controller';
describe('Error messages', () => {
let server: HttpServer;
let server: RawServerDefault;
describe('Express', () => {
let app: INestApplication;

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,103 @@
import {
Controller,
Get,
INestApplication,
Injectable,
MiddlewareConsumer,
NestMiddleware,
Module,
} from '@nestjs/common';
import { Test } from '../../../packages/testing';
import * as request from 'supertest';
import { expect } from 'chai';
/**
* Number of times that the middleware was executed.
*/
let triggerCounter = 0;
@Injectable()
class Middleware implements NestMiddleware {
use(req, res, next) {
triggerCounter++;
next();
}
}
@Controller()
class TestController {
@Get('/test')
testA() {}
@Get('/:id')
testB() {}
@Get('/static/route')
testC() {}
@Get('/:id/:nested')
testD() {}
}
@Module({
controllers: [TestController],
})
class TestModule {
configure(consumer: MiddlewareConsumer) {
consumer.apply(Middleware).forRoutes(TestController);
}
}
describe('Middleware (run on route match)', () => {
let app: INestApplication;
beforeEach(async () => {
triggerCounter = 0;
app = (
await Test.createTestingModule({
imports: [TestModule],
}).compile()
).createNestApplication();
await app.init();
});
it(`forRoutes(TestController) should execute middleware once when request url is equal match`, () => {
return request(app.getHttpServer())
.get('/test')
.expect(200)
.then(() => {
expect(triggerCounter).to.be.eq(1);
});
});
it(`forRoutes(TestController) should execute middleware once when request url is not equal match`, () => {
return request(app.getHttpServer())
.get('/1')
.expect(200)
.then(() => {
expect(triggerCounter).to.be.eq(1);
});
});
it(`forRoutes(TestController) should execute middleware once when request url is not of nested params`, () => {
return request(app.getHttpServer())
.get('/static/route')
.expect(200)
.then(() => {
expect(triggerCounter).to.be.eq(1);
});
});
it(`forRoutes(TestController) should execute middleware once when request url is of nested params`, () => {
return request(app.getHttpServer())
.get('/1/abc')
.expect(200)
.then(() => {
expect(triggerCounter).to.be.eq(1);
});
});
afterEach(async () => {
await app.close();
});
});

View File

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

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

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -822,23 +822,6 @@
"token": "HttpAdapterHost"
}
},
"-553129559": {
"id": "-553129559",
"label": "HttpAdapterHost",
"parent": "555176277",
"metadata": {
"type": "provider",
"internal": true,
"sourceModuleName": "InternalCoreModule",
"durable": false,
"static": true,
"scope": 0,
"transient": false,
"exported": true,
"token": "HttpAdapterHost",
"initTime": 0
}
},
"-702581189": {
"id": "-702581189",
"label": "LazyModuleLoader",
@@ -2214,23 +2197,6 @@
},
"id": "1976848738"
},
"-1759625292": {
"source": "-553129559",
"target": "-326832201",
"metadata": {
"type": "class-to-class",
"sourceModuleName": "InternalCoreModule",
"sourceClassName": "HttpAdapterHost",
"targetClassName": "HttpAdapterHost",
"sourceClassToken": "HttpAdapterHost",
"targetClassToken": "HttpAdapterHost",
"targetModuleName": "InternalCoreModule",
"keyOrIndex": 0,
"injectionType": "constructor",
"internal": true
},
"id": "-1759625292"
},
"-2105726668": {
"source": "-1803759743",
"target": "1010833816",
@@ -2756,7 +2722,8 @@
"patterns": [
"createExternalSvc"
],
"isEventHandler": false
"isEventHandler": false,
"extras": {}
},
"id": "-349899408_create"
},
@@ -2771,7 +2738,8 @@
"patterns": [
"findAllExternalSvc"
],
"isEventHandler": false
"isEventHandler": false,
"extras": {}
},
"id": "-349899408_findAll"
},
@@ -2786,7 +2754,8 @@
"patterns": [
"findOneExternalSvc"
],
"isEventHandler": false
"isEventHandler": false,
"extras": {}
},
"id": "-349899408_findOne"
},
@@ -2801,7 +2770,8 @@
"patterns": [
"updateExternalSvc"
],
"isEventHandler": false
"isEventHandler": false,
"extras": {}
},
"id": "-349899408_update"
},
@@ -2816,7 +2786,8 @@
"patterns": [
"removeExternalSvc"
],
"isEventHandler": false
"isEventHandler": false,
"extras": {}
},
"id": "-349899408_remove"
}

View File

@@ -806,23 +806,6 @@
"token": "HttpAdapterHost"
}
},
"-553129559": {
"id": "-553129559",
"label": "HttpAdapterHost",
"parent": "555176277",
"metadata": {
"type": "provider",
"internal": true,
"sourceModuleName": "InternalCoreModule",
"durable": false,
"static": true,
"scope": 0,
"transient": false,
"exported": true,
"token": "HttpAdapterHost",
"initTime": 0
}
},
"-702581189": {
"id": "-702581189",
"label": "LazyModuleLoader",
@@ -2198,23 +2181,6 @@
},
"id": "1976848738"
},
"-1759625292": {
"source": "-553129559",
"target": "-326832201",
"metadata": {
"type": "class-to-class",
"sourceModuleName": "InternalCoreModule",
"sourceClassName": "HttpAdapterHost",
"targetClassName": "HttpAdapterHost",
"sourceClassToken": "HttpAdapterHost",
"targetClassToken": "HttpAdapterHost",
"targetModuleName": "InternalCoreModule",
"keyOrIndex": 0,
"injectionType": "constructor",
"internal": true
},
"id": "-1759625292"
},
"-2105726668": {
"source": "-1803759743",
"target": "1010833816",

View File

@@ -4,7 +4,7 @@ import { SerializedGraph } from '@nestjs/core/inspector/serialized-graph';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test, TestingModule } from '@nestjs/testing';
import { expect } from 'chai';
import { readFileSync, writeFileSync } from 'fs';
import { readFileSync } from 'fs';
import { join } from 'path';
import * as sinon from 'sinon';
import { AppModule } from '../src/app.module';
@@ -26,10 +26,10 @@ describe('Graph inspector', () => {
const graph = testingModule.get(SerializedGraph);
// Update snapshot:
writeFileSync(
join(__dirname, 'fixtures', 'pre-init-graph.json'),
graph.toString(),
);
// writeFileSync(
// join(__dirname, 'fixtures', 'pre-init-graph.json'),
// graph.toString(),
// );
const snapshot = readFileSync(
join(__dirname, 'fixtures', 'pre-init-graph.json'),
@@ -54,10 +54,10 @@ describe('Graph inspector', () => {
const graph = testingModule.get(SerializedGraph);
// Update snapshot:
writeFileSync(
join(__dirname, 'fixtures', 'post-init-graph.json'),
graph.toString(),
);
// writeFileSync(
// join(__dirname, 'fixtures', 'post-init-graph.json'),
// graph.toString(),
// );
const snapshot = readFileSync(
join(__dirname, 'fixtures', 'post-init-graph.json'),

View File

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

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

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

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

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"lib": ["dom"],

View File

@@ -8,7 +8,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist"

View File

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

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

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -0,0 +1,12 @@
import { Injectable, Module, forwardRef } from '@nestjs/common';
import { BModule, BProvider } from './b.module';
@Injectable()
export class AProvider {}
@Module({
imports: [forwardRef(() => BModule)],
providers: [AProvider],
exports: [AProvider],
})
export class AModule {}

View File

@@ -0,0 +1,12 @@
import { Injectable, Module, forwardRef } from '@nestjs/common';
import { AModule, AProvider } from './a.module';
@Injectable()
export class BProvider {}
@Module({
imports: [forwardRef(() => AModule)],
providers: [BProvider],
exports: [BProvider],
})
export class BModule {}

View File

@@ -0,0 +1,309 @@
import {
Controller,
DynamicModule,
forwardRef,
Global,
Injectable,
Module,
} from '@nestjs/common';
import { LazyModuleLoader } from '@nestjs/core';
import { Test, TestingModule } from '@nestjs/testing';
import { expect } from 'chai';
import { AModule, AProvider } from './circular-dependency/a.module';
import { BModule, BProvider } from './circular-dependency/b.module';
describe('Modules overriding', () => {
describe('Top-level module', () => {
@Controller()
class ControllerOverwritten {}
@Module({
controllers: [ControllerOverwritten],
})
class ModuleToBeOverwritten {}
@Controller()
class ControllerOverride {}
@Module({
controllers: [ControllerOverride],
})
class ModuleOverride {}
let testingModule: TestingModule;
beforeEach(async () => {
testingModule = await Test.createTestingModule({
imports: [ModuleToBeOverwritten],
})
.overrideModule(ModuleToBeOverwritten)
.useModule(ModuleOverride)
.compile();
});
it('should override top-level modules using testing module builder', () => {
expect(() =>
testingModule.get<ControllerOverwritten>(ControllerOverwritten),
).to.throw();
expect(
testingModule.get<ControllerOverride>(ControllerOverride),
).to.be.an.instanceof(ControllerOverride);
});
});
describe('Dynamic module', () => {
@Controller()
class ControllerOverwritten {}
@Module({})
class DynamicModuleToBeOverwritten {}
const dynamicModuleOverwritten: DynamicModule = {
module: DynamicModuleToBeOverwritten,
controllers: [ControllerOverwritten],
};
@Controller()
class ControllerOverride {}
@Module({})
class DynamicModuleOverride {}
const dynamicModuleOverride: DynamicModule = {
module: DynamicModuleOverride,
controllers: [ControllerOverride],
};
let testingModule: TestingModule;
beforeEach(async () => {
testingModule = await Test.createTestingModule({
imports: [dynamicModuleOverwritten],
})
.overrideModule(dynamicModuleOverwritten)
.useModule(dynamicModuleOverride)
.compile();
});
it('should override dynamic modules using testing module builder', () => {
expect(() =>
testingModule.get<ControllerOverwritten>(ControllerOverwritten),
).to.throw();
expect(
testingModule.get<ControllerOverride>(ControllerOverride),
).to.be.an.instanceof(ControllerOverride);
});
});
describe('Circular dependency module', () => {
let testingModule: TestingModule;
@Injectable()
class CProvider {}
@Module({
providers: [CProvider],
})
class CModule {}
@Injectable()
class BProviderOverride {}
@Module({
imports: [forwardRef(() => AModule), forwardRef(() => CModule)],
providers: [BProviderOverride],
exports: [BProviderOverride],
})
class BModuleOverride {}
beforeEach(async () => {
testingModule = await Test.createTestingModule({
imports: [AModule],
})
.overrideModule(BModule)
.useModule(BModuleOverride)
.compile();
});
it('should override top-level modules using testing module builder', () => {
expect(testingModule.get<AProvider>(AProvider)).to.be.an.instanceof(
AProvider,
);
expect(() => testingModule.get<BProvider>(BProvider)).to.throw();
expect(testingModule.get<CProvider>(CProvider)).to.be.an.instanceof(
CProvider,
);
expect(
testingModule.get<BProviderOverride>(BProviderOverride),
).to.be.an.instanceof(BProviderOverride);
});
});
describe('Nested module', () => {
let testingModule: TestingModule;
@Controller()
class OverwrittenNestedModuleController {}
@Module({
controllers: [OverwrittenNestedModuleController],
})
class OverwrittenNestedModule {}
@Controller()
class OverrideNestedModuleController {}
@Module({
controllers: [OverrideNestedModuleController],
})
class OverrideNestedModule {}
@Module({
imports: [OverwrittenNestedModule],
})
class AppModule {}
beforeEach(async () => {
testingModule = await Test.createTestingModule({
imports: [AppModule],
})
.overrideModule(OverwrittenNestedModule)
.useModule(OverrideNestedModule)
.compile();
});
it('should override nested modules using testing module builder', () => {
expect(
testingModule.get<OverrideNestedModuleController>(
OverrideNestedModuleController,
),
).to.be.an.instanceof(OverrideNestedModuleController);
expect(() =>
testingModule.get<OverwrittenNestedModuleController>(
OverwrittenNestedModuleController,
),
).to.throw();
});
});
describe('Lazy-loaded module', () => {
let testingModule: TestingModule;
@Injectable()
class OverwrittenLazyProvider {
value() {
return 'overwritten lazy';
}
}
@Module({
providers: [
{
provide: 'LAZY_PROVIDER',
useClass: OverwrittenLazyProvider,
},
],
})
class OverwrittenLazyModule {}
@Injectable()
class OverrideLazyProvider {
value() {
return 'override lazy';
}
}
@Module({
providers: [
{
provide: 'LAZY_PROVIDER',
useClass: OverrideLazyProvider,
},
],
})
class OverrideLazyModule {}
@Injectable()
class AppService {
constructor(private lazyModuleLoader: LazyModuleLoader) {}
async value() {
const moduleRef = await this.lazyModuleLoader.load(
() => OverwrittenLazyModule,
);
return moduleRef.get('LAZY_PROVIDER').value();
}
}
@Module({
imports: [],
providers: [AppService],
})
class AppModule {}
beforeEach(async () => {
testingModule = await Test.createTestingModule({
imports: [AppModule],
})
.overrideModule(OverwrittenLazyModule)
.useModule(OverrideLazyModule)
.compile();
});
it('should override lazy loaded modules using testing module builder', async () => {
const result = await testingModule.get<AppService>(AppService).value();
expect(result).to.be.equal('override lazy');
});
});
describe('Global module', () => {
let testingModule: TestingModule;
@Injectable()
class OverwrittenProvider {
value() {
return 'overwritten lazy';
}
}
@Global()
@Module({
providers: [OverwrittenProvider],
exports: [OverwrittenProvider],
})
class OverwrittenModule {}
@Injectable()
class OverrideProvider {
value() {
return 'override lazy';
}
}
@Global()
@Module({
providers: [OverrideProvider],
exports: [OverrideProvider],
})
class OverrideModule {}
beforeEach(async () => {
testingModule = await Test.createTestingModule({
imports: [OverwrittenModule],
})
.overrideModule(OverwrittenModule)
.useModule(OverrideModule)
.compile();
});
it('should override global modules using testing module builder', () => {
expect(
testingModule.get<OverrideProvider>(OverrideProvider),
).to.be.an.instanceof(OverrideProvider);
expect(() =>
testingModule.get<OverwrittenProvider>(OverwrittenProvider),
).to.throw();
});
});
});

View File

@@ -0,0 +1,17 @@
{
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2021",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true
},
"include": ["src/**/*"]
}

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

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -352,4 +352,133 @@ describe('URI Versioning', () => {
await app.close();
});
});
// ======================================================================== //
describe('with the global prefix enabled and an excluded route', () => {
before(async () => {
const moduleRef = await Test.createTestingModule({
imports: [AppModule],
}).compile();
app = moduleRef.createNestApplication();
app.setGlobalPrefix('api', { exclude: ['/foo/bar'] });
app.enableVersioning({
type: VersioningType.URI,
defaultVersion: '1',
});
await app.init();
});
describe('GET /', () => {
it('V1', () => {
return request(app.getHttpServer())
.get('/api/v1')
.expect(200)
.expect('Hello World V1!');
});
it('V2', () => {
return request(app.getHttpServer())
.get('/api/v2')
.expect(200)
.expect('Hello World V2!');
});
it('V3', () => {
return request(app.getHttpServer()).get('/api/v3').expect(404);
});
it('No Version', () => {
return request(app.getHttpServer()).get('/api').expect(404);
});
});
describe('GET /foo/bar (excluded from the API prefix)', () => {
it('V1', () => {
return request(app.getHttpServer())
.get('/v1/foo/bar')
.expect(200)
.expect('Hello FooBar!');
});
it('V2', () => {
return request(app.getHttpServer()).get('/v2/foo/bar').expect(404);
});
it('V3', () => {
return request(app.getHttpServer()).get('/v3/foo/bar').expect(404);
});
it('No Version', () => {
return request(app.getHttpServer()).get('/foo/bar').expect(404);
});
});
after(async () => {
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

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -66,5 +66,21 @@ 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();
}),
);
});
afterEach(() => app.close());
});

View File

@@ -145,7 +145,7 @@ describe('WebSocketGateway (WsAdapter)', () => {
}),
);
});
});
}).timeout(5000);
it(`should support 2 different gateways running on the same path (but different ports)`, async function () {
this.retries(10);
@@ -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,10 @@
import { UseInterceptors } from '@nestjs/common';
import {
MessageBody,
SubscribeMessage,
WebSocketGateway,
} from '@nestjs/websockets';
import { RequestInterceptor } from './request.interceptor';
@WebSocketGateway(8080)
export class ApplicationGateway {
@@ -13,4 +15,13 @@ export class ApplicationGateway {
data,
};
}
@UseInterceptors(RequestInterceptor)
@SubscribeMessage('getClient')
getPathCalled(client, data) {
return {
event: 'popClient',
data: { ...data, path: client.pattern },
};
}
}

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

@@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",

View File

@@ -3,5 +3,5 @@
"packages": [
"packages/*"
],
"version": "9.4.1"
"version": "10.2.2"
}

41438
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,7 +64,7 @@
"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",
@@ -72,68 +72,68 @@
"path-to-regexp": "3.2.0",
"reflect-metadata": "0.1.13",
"rxjs": "7.8.1",
"socket.io": "4.6.1",
"tslib": "2.5.0",
"socket.io": "4.7.2",
"tslib": "2.6.2",
"uid": "2.0.2",
"uuid": "9.0.0"
},
"devDependencies": {
"@apollo/server": "4.7.1",
"@apollo/server": "4.7.5",
"@codechecks/client": "0.1.12",
"@commitlint/cli": "17.6.3",
"@commitlint/config-angular": "17.6.3",
"@fastify/cors": "8.2.1",
"@commitlint/cli": "17.7.1",
"@commitlint/config-angular": "17.7.0",
"@fastify/cors": "8.3.0",
"@fastify/formbody": "7.4.0",
"@fastify/middie": "8.3.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.7",
"@nestjs/apollo": "11.0.5",
"@nestjs/graphql": "11.0.5",
"@nestjs/mongoose": "9.2.2",
"@nestjs/typeorm": "9.0.1",
"@fastify/multipart": "7.7.3",
"@fastify/static": "6.10.2",
"@fastify/view": "8.0.0",
"@grpc/grpc-js": "1.9.1",
"@grpc/proto-loader": "0.7.9",
"@nestjs/apollo": "12.0.4",
"@nestjs/graphql": "12.0.7",
"@nestjs/mongoose": "10.0.1",
"@nestjs/typeorm": "10.0.0",
"@types/amqplib": "0.10.1",
"@types/bytes": "3.1.1",
"@types/chai": "4.3.5",
"@types/chai-as-promised": "7.1.5",
"@types/cors": "2.8.13",
"@types/express": "4.17.17",
"@types/gulp": "4.0.10",
"@types/gulp": "4.0.13",
"@types/http-errors": "2.0.1",
"@types/mocha": "10.0.1",
"@types/node": "20.1.5",
"@types/sinon": "10.0.15",
"@types/node": "20.5.7",
"@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.13",
"@types/ws": "8.5.5",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "6.4.1",
"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-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.2",
"concurrently": "8.2.1",
"conventional-changelog": "4.0.0",
"core-js": "3.32.1",
"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.47.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"eventsource": "2.0.2",
"fancy-log": "2.0.0",
"fastify": "4.17.0",
"graphql": "16.6.0",
"graphql-tools": "8.3.20",
"fastify": "4.21.0",
"graphql": "16.8.0",
"graphql-tools": "9.0.0",
"gulp": "4.0.2",
"gulp-clang-format": "1.0.27",
"gulp-clean": "0.4.0",
@@ -148,35 +148,35 @@
"kafkajs": "2.2.4",
"lerna": "2.11.0",
"lerna-changelog": "2.2.0",
"light-my-request": "5.9.1",
"lint-staged": "13.2.2",
"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.1.1",
"mqtt": "4.3.7",
"mongoose": "7.4.5",
"mqtt": "5.0.3",
"multer": "1.4.4",
"mysql2": "3.3.1",
"nats": "2.13.1",
"nodemon": "2.0.22",
"mysql2": "3.6.0",
"nats": "2.16.0",
"nodemon": "3.0.1",
"nyc": "15.1.0",
"prettier": "2.8.8",
"redis": "4.6.6",
"prettier": "3.0.2",
"redis": "4.6.8",
"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.16",
"typescript": "5.0.4",
"typeorm": "0.3.17",
"typescript": "5.2.2",
"wrk": "1.2.1",
"ws": "8.13.0"
},
"engines": {
"node": ">= 12.9.0"
"node": ">= 16"
},
"collective": {
"type": "opencollective",

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

@@ -1,16 +0,0 @@
import { MODULE_OPTIONS_TOKEN } from './cache.module-definition';
/**
* @deprecated `CacheModule` (from the `@nestjs/common` package) is deprecated and will be removed in the next major release. Please, use the `@nestjs/cache-manager` package instead
* @publicApi
*/
export const CACHE_MANAGER = 'CACHE_MANAGER';
export const CACHE_KEY_METADATA = 'cache_module:cache_key';
export const CACHE_TTL_METADATA = 'cache_module:cache_ttl';
/**
* @deprecated `CacheModule` (from the `@nestjs/common` package) is deprecated and will be removed in the next major release. Please, use the `@nestjs/cache-manager` package instead
* @publicApi
*/
export const CACHE_MODULE_OPTIONS = MODULE_OPTIONS_TOKEN;

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