Compare commits

...

874 Commits

Author SHA1 Message Date
Kamil Myśliwiec
e5612e0197 chore: merge 10.0.0 2023-06-12 10:58:30 +02:00
Kamil Myśliwiec
6c54448bf7 fix(fastify): validate middleware paths 2023-06-12 10:51:02 +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
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
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
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 Myśliwiec
468c179e18 chore(@nestjs) publish v9.4.1 release 2023-05-16 09:32:38 +02:00
Kamil Mysliwiec
fabbd09906 Merge pull request #11600 from matt1097/issue-11586
fix(core): Only update module distance if greater
2023-05-16 09:28:14 +02:00
Kamil Mysliwiec
7cebc3b1eb Merge pull request #11622 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-17.6.3
chore(deps-dev): bump @commitlint/config-angular from 17.6.1 to 17.6.3
2023-05-16 09:15:42 +02:00
Kamil Mysliwiec
aacea0e07c Merge pull request #11541 from kuronijin/master
feat(microservices): Add isGlobal option to the ClientsModule
2023-05-16 09:15:25 +02:00
Kamil Mysliwiec
927525e082 Merge pull request #11549 from dammy001/patch-1
chore(validation): add ability to pass custom message in file size validator
2023-05-16 09:14:39 +02:00
Kamil Mysliwiec
37f332c2c7 Merge pull request #11621 from nestjs/dependabot/npm_and_yarn/types/sinon-10.0.15
chore(deps-dev): bump @types/sinon from 10.0.14 to 10.0.15
2023-05-16 09:14:14 +02:00
dependabot[bot]
11ebf30c53 chore(deps-dev): bump @types/sinon from 10.0.14 to 10.0.15
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 10.0.14 to 10.0.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 01:01:53 +00:00
Viktor Belokhvostov
924c5f32bb feat(microservices): Updated the ClientsModule options types 2023-04-24 14:31:25 +01:00
krisztian.maurer
3bf74d8fb6 refactor(common): Add generic to InjectionToken type 2023-04-24 13:49:24 +02:00
Kamil Mysliwiec
e389c08c1b Merge pull request #11552 from nestjs/dependabot/npm_and_yarn/prettier-2.8.8
chore(deps-dev): bump prettier from 2.8.7 to 2.8.8
2023-04-24 10:57:39 +02:00
Kamil Mysliwiec
79e5401044 Merge pull request #11553 from nestjs/dependabot/npm_and_yarn/types/node-18.16.0
chore(deps-dev): bump @types/node from 18.15.12 to 18.16.0
2023-04-24 10:57:17 +02:00
Kamil Mysliwiec
819f2d13c2 Merge pull request #11551 from nestjs/dependabot/npm_and_yarn/cache-manager-5.2.1
chore(deps-dev): bump cache-manager from 5.2.0 to 5.2.1
2023-04-24 10:57:08 +02:00
dependabot[bot]
2e741338c9 chore(deps-dev): bump @types/node from 18.15.12 to 18.16.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.12 to 18.16.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-04-24 02:07:39 +00:00
dependabot[bot]
728afa1017 chore(deps-dev): bump prettier from 2.8.7 to 2.8.8
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.7 to 2.8.8.
- [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.7...2.8.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 02:01:11 +00:00
dependabot[bot]
af595fd631 chore(deps-dev): bump cache-manager from 5.2.0 to 5.2.1
Bumps [cache-manager](https://github.com/node-cache-manager/node-cache-manager) from 5.2.0 to 5.2.1.
- [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.0...5.2.1)

---
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-04-24 01:56:00 +00:00
Anjorin Damilare
d46db256af Update max-file-size.validator.ts 2023-04-23 07:26:04 +01:00
Anjorin Damilare
df0270af04 Update max-file-size.validator.ts 2023-04-23 07:13:25 +01:00
Anjorin Damilare
93a2b48be7 chore: remove function to prevent breaking change 2023-04-23 07:10:15 +01:00
Anjorin Damilare
619b98caf7 Update max-file-size.validator.ts 2023-04-23 07:04:50 +01:00
Anjorin Damilare
84bd87c86a chore: add ability to pass custom message in file size validator 2023-04-23 06:57:52 +01:00
Viktor Belokhvostov
dc5aaf9af3 feat(microservices): Add isGlobal option to the ClientsModule 2023-04-21 11:50:12 +01:00
Kamil Mysliwiec
55aa3f3352 Merge pull request #11535 from CemYil03/update-package-json-files
chore: update repo references in package.json files
2023-04-21 09:31:25 +02:00
Kamil Mysliwiec
35dcfbf3db Merge pull request #11538 from nestjs/dependabot/npm_and_yarn/apollo/server-4.7.0
chore(deps-dev): bump @apollo/server from 4.6.0 to 4.7.0
2023-04-21 09:27:26 +02:00
Kamil Mysliwiec
f21713a27b Merge pull request #11539 from nestjs/dependabot/npm_and_yarn/sinon-15.0.4
chore(deps-dev): bump sinon from 15.0.3 to 15.0.4
2023-04-21 09:27:15 +02:00
dependabot[bot]
43c4c06779 chore(deps-dev): bump sinon from 15.0.3 to 15.0.4
Bumps [sinon](https://github.com/sinonjs/sinon) from 15.0.3 to 15.0.4.
- [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.3...v15.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 01:10:00 +00:00
dependabot[bot]
485bb3bc85 chore(deps-dev): bump @apollo/server from 4.6.0 to 4.7.0
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 4.6.0 to 4.7.0.
- [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.0/packages/server)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 01:07:00 +00:00
Cem Yilmaz
cdd0e67876 chore: update repo references in package.json files 2023-04-20 10:26:09 +02:00
Kamil Mysliwiec
4629c2e416 Merge pull request #11533 from nestjs/dependabot/npm_and_yarn/types/node-18.15.12
chore(deps-dev): bump @types/node from 18.15.11 to 18.15.12
2023-04-20 08:21:11 +02:00
dependabot[bot]
2198f4dfc8 chore(deps-dev): bump @types/node from 18.15.11 to 18.15.12
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.11 to 18.15.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 01:01:05 +00:00
Kamil Mysliwiec
d113f68dd7 Merge pull request #11527 from nestjs/renovate/mongoose-6.x
fix(deps): update dependency mongoose to v6.10.5
2023-04-18 10:06:36 +02:00
Kamil Mysliwiec
08793e6ac0 Merge pull request #11528 from nestjs/dependabot/npm_and_yarn/mongoose-7.0.4
chore(deps-dev): bump mongoose from 7.0.3 to 7.0.4
2023-04-18 10:05:18 +02:00
Kamil Mysliwiec
997d1476b1 Merge pull request #11529 from nestjs/dependabot/npm_and_yarn/types/sinon-10.0.14
chore(deps-dev): bump @types/sinon from 10.0.13 to 10.0.14
2023-04-18 10:05:14 +02:00
Kamil Mysliwiec
dafea5ad0f Merge pull request #11523 from nestjs/renovate/nestjs-graphql-10.x
fix(deps): update dependency @nestjs/graphql to v10.2.1
2023-04-18 10:04:52 +02:00
Kamil Mysliwiec
83bb3d2429 Merge pull request #11521 from nestjs/renovate/fastify-static-6.x
fix(deps): update dependency @fastify/static to v6.10.1
2023-04-18 10:04:40 +02:00
Kamil Mysliwiec
1de477deef Merge pull request #11522 from nestjs/renovate/grpc-grpc-js-1.x
fix(deps): update dependency @grpc/grpc-js to v1.8.14
2023-04-18 10:04:14 +02:00
Kamil Mysliwiec
70c37baf2c Merge pull request #11525 from nestjs/renovate/nestjs-schedule-2.x
fix(deps): update dependency @nestjs/schedule to v2.2.1
2023-04-18 10:03:52 +02:00
Kamil Mysliwiec
61858b7e28 Merge pull request #11526 from nestjs/renovate/nestjs-swagger-6.x
fix(deps): update dependency @nestjs/swagger to v6.3.0
2023-04-18 10:03:45 +02:00
Kamil Mysliwiec
50282e9c0e Merge pull request #11518 from nestjs/renovate/tsconfig-paths-4.x
chore(deps): update dependency tsconfig-paths to v4.2.0
2023-04-18 10:03:14 +02:00
dependabot[bot]
14986a631c chore(deps-dev): bump @types/sinon from 10.0.13 to 10.0.14
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 10.0.13 to 10.0.14.
- [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-04-18 01:01:00 +00:00
dependabot[bot]
c1245486fe chore(deps-dev): bump mongoose from 7.0.3 to 7.0.4
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.0.3 to 7.0.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.0.3...7.0.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-04-18 00:58:50 +00:00
renovate[bot]
ba92ce7353 fix(deps): update dependency mongoose to v6.10.5 2023-04-17 12:26:54 +00:00
renovate[bot]
0da7a14388 fix(deps): update dependency @grpc/grpc-js to v1.8.14 2023-04-17 12:26:11 +00:00
renovate[bot]
b46071dce7 chore(deps): update dependency tsconfig-paths to v4.2.0 2023-04-17 12:19:59 +00: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
renovate[bot]
eb4a529fdd fix(deps): update dependency @nestjs/swagger to v6.3.0 2023-04-17 11:29:58 +00:00
renovate[bot]
4be9d27e32 fix(deps): update dependency @nestjs/schedule to v2.2.1 2023-04-17 11:29:42 +00:00
renovate[bot]
5cc160df76 fix(deps): update dependency @nestjs/graphql to v10.2.1 2023-04-17 11:29:07 +00:00
renovate[bot]
86f83a0902 fix(deps): update dependency @fastify/static to v6.10.1 2023-04-17 11:28:31 +00:00
Kamil Mysliwiec
32db0fcfdb Merge pull request #11515 from nestjs/renovate/nestjs-cli-9.x
chore(deps): update dependency @nestjs/cli to v9.4.0
2023-04-17 13:16:42 +02:00
Kamil Myśliwiec
25c721a2ca chore: resolve conflicts 2023-04-17 13:16:27 +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
renovate[bot]
f30058b3d8 chore(deps): update dependency @nestjs/cli to v9.4.0 2023-04-17 11:11:09 +00: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 Mysliwiec
fa8f3b8737 Merge pull request #11508 from nestjs/dependabot/npm_and_yarn/sample/05-sql-typeorm/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/05-sql-typeorm
2023-04-17 13:07:50 +02:00
Kamil Mysliwiec
1f0adb8925 Merge pull request #11509 from nestjs/dependabot/npm_and_yarn/sample/06-mongoose/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/06-mongoose
2023-04-17 13:07:43 +02:00
Kamil Mysliwiec
42446072d3 Merge pull request #11510 from nestjs/dependabot/npm_and_yarn/sample/07-sequelize/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/07-sequelize
2023-04-17 13:07:37 +02:00
Kamil Mysliwiec
ce32df444f Merge pull request #11511 from nestjs/dependabot/npm_and_yarn/sample/04-grpc/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/04-grpc
2023-04-17 13:07:31 +02:00
Kamil Mysliwiec
4ebf7d7723 Merge pull request #11512 from nestjs/dependabot/npm_and_yarn/sample/02-gateways/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/02-gateways
2023-04-17 13:07:25 +02:00
Kamil Mysliwiec
1eb3311386 Merge pull request #11513 from nestjs/dependabot/npm_and_yarn/sample/03-microservices/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/03-microservices
2023-04-17 13:07:12 +02:00
Kamil Mysliwiec
1f83076760 Merge pull request #11514 from nestjs/dependabot/npm_and_yarn/sample/01-cats-app/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/01-cats-app
2023-04-17 13:07:05 +02:00
Kamil Myśliwiec
bc4a571ef4 fix: update outdated imports 2023-04-17 13:06:25 +02:00
dependabot[bot]
01bb998ed7 chore(deps): bump webpack and @nestjs/cli in /sample/01-cats-app
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 08:14:59 +00:00
dependabot[bot]
048652bb7a chore(deps): bump webpack and @nestjs/cli in /sample/03-microservices
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 08:14:40 +00:00
dependabot[bot]
f7e3f75dca chore(deps): bump webpack and @nestjs/cli in /sample/02-gateways
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 08:13:37 +00:00
dependabot[bot]
ad67359762 chore(deps): bump webpack and @nestjs/cli in /sample/04-grpc
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 08:13:21 +00:00
dependabot[bot]
f954e4464f chore(deps): bump webpack and @nestjs/cli in /sample/07-sequelize
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 08:13:08 +00:00
dependabot[bot]
9a0b2b95a8 chore(deps): bump webpack and @nestjs/cli in /sample/06-mongoose
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 08:12:52 +00:00
dependabot[bot]
8de9202ed4 chore(deps): bump webpack and @nestjs/cli in /sample/05-sql-typeorm
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 08:12:51 +00:00
Kamil Mysliwiec
31f0f30365 Merge pull request #11497 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-17.6.1
chore(deps-dev): bump @commitlint/config-angular from 17.6.0 to 17.6.1
2023-04-17 10:12:37 +02:00
Kamil Mysliwiec
a802804860 Merge pull request #11499 from nestjs/dependabot/npm_and_yarn/sample/19-auth-jwt/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/19-auth-jwt
2023-04-17 10:12:32 +02:00
Kamil Mysliwiec
0d4797549f Merge pull request #11500 from nestjs/dependabot/npm_and_yarn/sample/18-context/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/18-context
2023-04-17 10:12:26 +02:00
Kamil Mysliwiec
0742b04a95 Merge pull request #11501 from nestjs/dependabot/npm_and_yarn/sample/17-mvc-fastify/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/17-mvc-fastify
2023-04-17 10:12:20 +02:00
Kamil Mysliwiec
e78764d731 Merge pull request #11502 from nestjs/dependabot/npm_and_yarn/sample/16-gateways-ws/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/16-gateways-ws
2023-04-17 10:12:15 +02:00
Kamil Mysliwiec
c5f3485a17 Merge pull request #11503 from nestjs/dependabot/npm_and_yarn/sample/15-mvc/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/15-mvc
2023-04-17 10:12:10 +02:00
Kamil Mysliwiec
9d59a1f0ea Merge pull request #11504 from nestjs/dependabot/npm_and_yarn/sample/13-mongo-typeorm/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/13-mongo-typeorm
2023-04-17 10:12:04 +02:00
Kamil Mysliwiec
66128c7042 Merge pull request #11505 from nestjs/dependabot/npm_and_yarn/sample/14-mongoose-base/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/14-mongoose-base
2023-04-17 10:11:57 +02:00
Kamil Mysliwiec
7aa74bb93a Merge pull request #11506 from nestjs/dependabot/npm_and_yarn/sample/10-fastify/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/10-fastify
2023-04-17 10:11:51 +02:00
Kamil Mysliwiec
dd074aa0f8 Merge pull request #11507 from nestjs/dependabot/npm_and_yarn/sample/11-swagger/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/11-swagger
2023-04-17 10:11:40 +02:00
dependabot[bot]
ab7474dccb chore(deps-dev): bump @commitlint/config-angular from 17.6.0 to 17.6.1
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 17.6.0 to 17.6.1.
- [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.1/@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-04-17 07:49:14 +00:00
dependabot[bot]
793f8e945d chore(deps): bump webpack and @nestjs/cli in /sample/11-swagger
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:47:52 +00:00
dependabot[bot]
e01733fa27 chore(deps): bump webpack and @nestjs/cli in /sample/19-auth-jwt
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:47:39 +00:00
dependabot[bot]
6d7f7d3046 chore(deps): bump webpack and @nestjs/cli in /sample/10-fastify
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:47:39 +00:00
dependabot[bot]
e71bc0aeef chore(deps): bump webpack and @nestjs/cli in /sample/14-mongoose-base
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:47:37 +00:00
dependabot[bot]
79cceb5798 chore(deps): bump webpack and @nestjs/cli in /sample/13-mongo-typeorm
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:47:28 +00:00
dependabot[bot]
18a6cfb596 chore(deps): bump webpack and @nestjs/cli in /sample/18-context
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:47:25 +00:00
dependabot[bot]
eaa1f93ae1 chore(deps): bump webpack and @nestjs/cli in /sample/15-mvc
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:47:19 +00:00
Kamil Mysliwiec
cf8ac196c5 Merge pull request #11496 from nestjs/dependabot/npm_and_yarn/typeorm-0.3.15
chore(deps-dev): bump typeorm from 0.3.14 to 0.3.15
2023-04-17 09:46:52 +02:00
dependabot[bot]
6485c9f357 chore(deps): bump webpack and @nestjs/cli in /sample/16-gateways-ws
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:46:47 +00:00
dependabot[bot]
584f25631c chore(deps): bump webpack and @nestjs/cli in /sample/17-mvc-fastify
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:46:46 +00:00
Kamil Mysliwiec
0308912ee8 Merge pull request #11495 from nestjs/dependabot/npm_and_yarn/ioredis-5.3.2
chore(deps-dev): bump ioredis from 5.3.1 to 5.3.2
2023-04-17 09:46:46 +02:00
Kamil Mysliwiec
771671481b Merge pull request #11488 from nestjs/dependabot/npm_and_yarn/sample/20-cache/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/20-cache
2023-04-17 09:46:43 +02:00
Kamil Mysliwiec
c431c0828e Merge pull request #11487 from nestjs/dependabot/npm_and_yarn/sample/25-dynamic-modules/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/25-dynamic-modules
2023-04-17 09:46:35 +02:00
Kamil Mysliwiec
fcd9e603ec Merge pull request #11486 from nestjs/dependabot/npm_and_yarn/sample/26-queues/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/26-queues
2023-04-17 09:46:29 +02:00
dependabot[bot]
a6909bc5d7 chore(deps): bump webpack and @nestjs/cli in /sample/26-queues
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:46:23 +00:00
Kamil Mysliwiec
8708d14096 Merge pull request #11485 from nestjs/dependabot/npm_and_yarn/sample/28-sse/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/28-sse
2023-04-17 09:46:22 +02:00
dependabot[bot]
bd1d93f129 chore(deps): bump webpack and @nestjs/cli in /sample/20-cache
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:46:19 +00:00
Kamil Mysliwiec
8001f96290 Merge pull request #11484 from nestjs/dependabot/npm_and_yarn/sample/21-serializer/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/21-serializer
2023-04-17 09:46:15 +02:00
Kamil Mysliwiec
c708970ac8 Merge pull request #11483 from nestjs/dependabot/npm_and_yarn/sample/29-file-upload/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/29-file-upload
2023-04-17 09:46:05 +02:00
dependabot[bot]
1d05023cc4 chore(deps): bump webpack and @nestjs/cli in /sample/25-dynamic-modules
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:45:56 +00:00
dependabot[bot]
a5c8d86383 chore(deps): bump webpack and @nestjs/cli in /sample/29-file-upload
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:45:55 +00:00
dependabot[bot]
1c5e263c97 chore(deps): bump webpack and @nestjs/cli in /sample/28-sse
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:45:54 +00:00
dependabot[bot]
09321efa3b chore(deps): bump webpack and @nestjs/cli in /sample/21-serializer
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 07:45:46 +00:00
Kamil Mysliwiec
f2dc78ebd3 Merge pull request #11482 from nestjs/dependabot/npm_and_yarn/sample/27-scheduling/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/27-scheduling
2023-04-17 09:45:29 +02:00
Kamil Mysliwiec
ecd298aeb8 Merge pull request #11481 from nestjs/dependabot/npm_and_yarn/sample/24-serve-static/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/24-serve-static
2023-04-17 09:45:22 +02:00
Kamil Mysliwiec
29906a334a Merge pull request #11480 from nestjs/dependabot/npm_and_yarn/commitlint/cli-17.6.1
chore(deps-dev): bump @commitlint/cli from 17.5.1 to 17.6.1
2023-04-17 09:45:13 +02:00
Kamil Mysliwiec
64a4519789 Merge pull request #11479 from nestjs/dependabot/npm_and_yarn/sample/30-event-emitter/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/30-event-emitter
2023-04-17 09:45:03 +02:00
Kamil Mysliwiec
8e2cd3d2cc Merge pull request #11471 from nestjs/dependabot/npm_and_yarn/sample/22-graphql-prisma/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/22-graphql-prisma
2023-04-17 09:44:56 +02:00
Kamil Mysliwiec
58627e6c45 Merge pull request #11498 from nestjs/dependabot/npm_and_yarn/mysql2-3.2.3
chore(deps-dev): bump mysql2 from 3.2.1 to 3.2.3
2023-04-17 09:44:43 +02:00
dependabot[bot]
9335820f2f chore(deps-dev): bump mysql2 from 3.2.1 to 3.2.3
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.2.1 to 3.2.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.2.1...v3.2.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-04-17 01:07:53 +00:00
dependabot[bot]
9d64003af7 chore(deps-dev): bump typeorm from 0.3.14 to 0.3.15
Bumps [typeorm](https://github.com/typeorm/typeorm) from 0.3.14 to 0.3.15.
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.14...0.3.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 01:02:56 +00:00
dependabot[bot]
30616bd5a2 chore(deps-dev): bump ioredis from 5.3.1 to 5.3.2
Bumps [ioredis](https://github.com/luin/ioredis) from 5.3.1 to 5.3.2.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.3.1...v5.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 00:59:57 +00:00
dependabot[bot]
8321044ecb chore(deps): bump webpack and @nestjs/cli in /sample/24-serve-static
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 10:05:52 +00:00
dependabot[bot]
56365a7c7b chore(deps): bump webpack and @nestjs/cli in /sample/27-scheduling
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 10:05:51 +00:00
dependabot[bot]
a2654aca28 chore(deps): bump webpack and @nestjs/cli in /sample/22-graphql-prisma
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.75.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.79.0)

Updates `@nestjs/cli` from 9.2.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.2.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 10:05:51 +00:00
dependabot[bot]
d72f691d99 chore(deps): bump webpack and @nestjs/cli in /sample/30-event-emitter
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 10:05:47 +00:00
Kamil Mysliwiec
e33c5509e2 Merge pull request #11469 from nestjs/dependabot/npm_and_yarn/sample/32-graphql-federation-schema-first/gateway/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/32-graphql-federation-schema-first/gateway
2023-04-14 12:04:52 +02:00
dependabot[bot]
960034ecee chore(deps): bump webpack and @nestjs/cli
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.75.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.79.0)

Updates `@nestjs/cli` from 9.2.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.2.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 09:59:44 +00:00
dependabot[bot]
258ed425b9 chore(deps-dev): bump @commitlint/cli from 17.5.1 to 17.6.1
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.5.1 to 17.6.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.6.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-04-14 09:59:34 +00:00
Kamil Mysliwiec
38e98b3d09 Merge pull request #11470 from nestjs/dependabot/npm_and_yarn/sample/32-graphql-federation-schema-first/posts-application/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/32-graphql-federation-schema-first/posts-application
2023-04-14 11:58:50 +02:00
Kamil Mysliwiec
df028fd29b Merge pull request #11472 from nestjs/dependabot/npm_and_yarn/sample/31-graphql-federation-code-first/users-application/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/31-graphql-federation-code-first/users-application
2023-04-14 11:58:43 +02:00
Kamil Mysliwiec
f66dca2525 Merge pull request #11473 from nestjs/dependabot/npm_and_yarn/sample/33-graphql-mercurius/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/33-graphql-mercurius
2023-04-14 11:58:35 +02:00
Kamil Mysliwiec
3c57c7ec98 Merge pull request #11474 from nestjs/dependabot/npm_and_yarn/sample/31-graphql-federation-code-first/gateway/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/31-graphql-federation-code-first/gateway
2023-04-14 11:58:28 +02:00
Kamil Mysliwiec
9859b08668 Merge pull request #11475 from nestjs/dependabot/npm_and_yarn/sample/23-graphql-code-first/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/23-graphql-code-first
2023-04-14 11:58:21 +02:00
Kamil Mysliwiec
95566e96d9 Merge pull request #11476 from nestjs/dependabot/npm_and_yarn/sample/12-graphql-schema-first/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/12-graphql-schema-first
2023-04-14 11:58:15 +02:00
Kamil Mysliwiec
01ce40796a Merge pull request #11477 from nestjs/dependabot/npm_and_yarn/sample/32-graphql-federation-schema-first/users-application/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/32-graphql-federation-schema-first/users-application
2023-04-14 11:58:07 +02:00
Kamil Mysliwiec
ea75dd48a6 Merge pull request #11478 from nestjs/dependabot/npm_and_yarn/sample/31-graphql-federation-code-first/posts-application/webpack-and-nestjs/cli-5.79.0
chore(deps): bump webpack and @nestjs/cli in /sample/31-graphql-federation-code-first/posts-application
2023-04-14 11:58:00 +02:00
Kamil Mysliwiec
8f2382bb50 Merge pull request #11463 from nestjs/dependabot/npm_and_yarn/core-js-3.30.1
chore(deps-dev): bump core-js from 3.30.0 to 3.30.1
2023-04-14 11:57:32 +02:00
dependabot[bot]
70a2093004 chore(deps): bump webpack and @nestjs/cli
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.75.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.79.0)

Updates `@nestjs/cli` from 9.2.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.2.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 09:57:22 +00:00
dependabot[bot]
a2db2c794c chore(deps): bump webpack and @nestjs/cli
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.75.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.79.0)

Updates `@nestjs/cli` from 9.2.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.2.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 09:57:22 +00:00
Kamil Mysliwiec
ec35efa378 Merge pull request #11465 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-17.6.0
chore(deps-dev): bump @commitlint/config-angular from 17.4.4 to 17.6.0
2023-04-14 11:57:22 +02:00
dependabot[bot]
299964d0e0 chore(deps): bump webpack and @nestjs/cli
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.75.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.79.0)

Updates `@nestjs/cli` from 9.2.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.2.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 09:57:20 +00:00
dependabot[bot]
9a7be45785 chore(deps): bump webpack and @nestjs/cli
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.75.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.79.0)

Updates `@nestjs/cli` from 9.2.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.2.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 09:57:20 +00:00
dependabot[bot]
c3f0856dae chore(deps): bump webpack and @nestjs/cli
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.75.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.79.0)

Updates `@nestjs/cli` from 9.2.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.2.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 09:57:20 +00:00
dependabot[bot]
bd59cbfdf2 chore(deps): bump webpack and @nestjs/cli
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.73.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.79.0)

Updates `@nestjs/cli` from 9.0.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.0.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 09:57:16 +00:00
Kamil Mysliwiec
7f1aa73405 Merge pull request #11466 from nestjs/dependabot/npm_and_yarn/fastify/static-6.10.1
chore(deps-dev): bump @fastify/static from 6.10.0 to 6.10.1
2023-04-14 11:57:15 +02:00
dependabot[bot]
b4adce1333 chore(deps): bump webpack and @nestjs/cli
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.75.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.79.0)

Updates `@nestjs/cli` from 9.2.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.2.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 09:57:08 +00:00
dependabot[bot]
2ef5417f43 chore(deps): bump webpack and @nestjs/cli
Bumps [webpack](https://github.com/webpack/webpack) to 5.79.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli). These dependencies need to be updated together.


Updates `webpack` from 5.75.0 to 5.79.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.79.0)

Updates `@nestjs/cli` from 9.2.0 to 9.4.0
- [Release notes](https://github.com/nestjs/nest-cli/releases)
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/nest-cli/compare/9.2.0...9.4.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@nestjs/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 09:57:07 +00:00
Kamil Mysliwiec
1948f06e1e Merge pull request #11467 from nestjs/dependabot/npm_and_yarn/mysql2-3.2.1
chore(deps-dev): bump mysql2 from 3.2.0 to 3.2.1
2023-04-14 11:56:27 +02:00
Kamil Mysliwiec
748bcffdd4 Merge pull request #11468 from nestjs/dependabot/npm_and_yarn/graphql-tools-8.3.20
chore(deps-dev): bump graphql-tools from 8.3.19 to 8.3.20
2023-04-14 11:56:16 +02:00
dependabot[bot]
bbc95e3a69 chore(deps-dev): bump graphql-tools from 8.3.19 to 8.3.20
Bumps [graphql-tools](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/graphql-tools) from 8.3.19 to 8.3.20.
- [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@8.3.20/packages/graphql-tools)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 01:12:11 +00:00
dependabot[bot]
1e1d2f027a chore(deps-dev): bump mysql2 from 3.2.0 to 3.2.1
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.2.0...v3.2.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-04-14 01:09:45 +00:00
dependabot[bot]
7b879015f5 chore(deps-dev): bump @fastify/static from 6.10.0 to 6.10.1
Bumps [@fastify/static](https://github.com/fastify/fastify-static) from 6.10.0 to 6.10.1.
- [Release notes](https://github.com/fastify/fastify-static/releases)
- [Commits](https://github.com/fastify/fastify-static/compare/v6.10.0...v6.10.1)

---
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-04-14 01:08:25 +00:00
dependabot[bot]
ec6aac2525 chore(deps-dev): bump @commitlint/config-angular from 17.4.4 to 17.6.0
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 17.4.4 to 17.6.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.6.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-04-14 01:06:47 +00:00
dependabot[bot]
19fa3438ef chore(deps-dev): bump core-js from 3.30.0 to 3.30.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.30.0 to 3.30.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.30.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-04-14 00:59:46 +00:00
Kamil Mysliwiec
75c86c95bd Merge pull request #11458 from nestjs/dependabot/npm_and_yarn/nestjs/apollo-11.0.5
chore(deps-dev): bump @nestjs/apollo from 11.0.4 to 11.0.5
2023-04-13 15:25:38 +02:00
Kamil Mysliwiec
ba4f3cdadc Merge pull request #11443 from nestjs/dependabot/npm_and_yarn/fastify/multipart-7.6.0
chore(deps-dev): bump @fastify/multipart from 7.5.0 to 7.6.0
2023-04-13 15:25:29 +02:00
dependabot[bot]
6e44e7cb9b chore(deps-dev): bump @nestjs/apollo from 11.0.4 to 11.0.5
Bumps [@nestjs/apollo](https://github.com/nestjs/graphql) from 11.0.4 to 11.0.5.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v11.0.4...v11.0.5)

---
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-04-13 08:19:13 +00:00
dependabot[bot]
4834d64a4f chore(deps-dev): bump @fastify/multipart from 7.5.0 to 7.6.0
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 7.5.0 to 7.6.0.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v7.5.0...v7.6.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-04-13 08:19:02 +00:00
Kamil Mysliwiec
df899608a6 Merge pull request #11460 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.8.14
chore(deps-dev): bump @grpc/grpc-js from 1.8.13 to 1.8.14
2023-04-13 10:16:49 +02:00
Kamil Mysliwiec
3cda125875 Merge pull request #11457 from nestjs/dependabot/npm_and_yarn/nestjs/graphql-11.0.5
chore(deps-dev): bump @nestjs/graphql from 11.0.4 to 11.0.5
2023-04-13 10:16:41 +02:00
Kamil Mysliwiec
9feaf9a8d3 Merge pull request #11453 from nestjs/dependabot/npm_and_yarn/sample/05-sql-typeorm/xml2js-and-typeorm--removed
chore(deps): bump xml2js and typeorm in /sample/05-sql-typeorm
2023-04-13 10:16:36 +02:00
Kamil Mysliwiec
ec570a7e9f Merge pull request #11449 from nestjs/dependabot/npm_and_yarn/sample/13-mongo-typeorm/xml2js-and-typeorm--removed
chore(deps): bump xml2js and typeorm in /sample/13-mongo-typeorm
2023-04-13 10:16:29 +02:00
Kamil Mysliwiec
26818a89be Merge pull request #11446 from nestjs/dependabot/npm_and_yarn/typescript-5.0.4
chore(deps-dev): bump typescript from 5.0.3 to 5.0.4
2023-04-13 10:16:24 +02:00
Kamil Myśliwiec
03257a5cb7 docs(common): update the validator options interface comment 2023-04-13 09:53:33 +02:00
dependabot[bot]
909a7a0e88 chore(deps-dev): bump @grpc/grpc-js from 1.8.13 to 1.8.14
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.13 to 1.8.14.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.13...@grpc/grpc-js@1.8.14)

---
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-04-13 01:01:41 +00:00
dependabot[bot]
da4e61d263 chore(deps-dev): bump @nestjs/graphql from 11.0.4 to 11.0.5
Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 11.0.4 to 11.0.5.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v11.0.4...v11.0.5)

---
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-04-12 01:03:25 +00:00
Kamil Myśliwiec
8b74665bdf chore: remove deprecated types, utils, logic 2023-04-11 13:34:10 +02:00
Kamil Mysliwiec
6d17c2a869 Update Readme.md 2023-04-11 13:16:49 +02:00
dependabot[bot]
584ddc52b4 chore(deps-dev): bump typescript from 5.0.3 to 5.0.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.3...v5.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 11:12:28 +00:00
dependabot[bot]
c02ad6bdd9 chore(deps): bump xml2js and typeorm in /sample/05-sql-typeorm
Removes [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js). It's no longer used after updating ancestor dependency [typeorm](https://github.com/typeorm/typeorm). These dependencies need to be updated together.


Removes `xml2js`

Updates `typeorm` from 0.3.12 to 0.3.14
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.12...0.3.14)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: indirect
- dependency-name: typeorm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 11:11:31 +00:00
dependabot[bot]
1f0f913f27 chore(deps): bump xml2js and typeorm in /sample/13-mongo-typeorm
Removes [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js). It's no longer used after updating ancestor dependency [typeorm](https://github.com/typeorm/typeorm). These dependencies need to be updated together.


Removes `xml2js`

Updates `typeorm` from 0.3.12 to 0.3.14
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.12...0.3.14)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: indirect
- dependency-name: typeorm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 11:11:21 +00:00
Kamil Mysliwiec
ac261f4741 Merge pull request #11444 from nestjs/dependabot/npm_and_yarn/lint-staged-13.2.1
chore(deps-dev): bump lint-staged from 13.2.0 to 13.2.1
2023-04-11 13:10:37 +02:00
Kamil Mysliwiec
1b0c84fb71 Merge pull request #11445 from nestjs/dependabot/npm_and_yarn/typeorm-0.3.14
chore(deps-dev): bump typeorm from 0.3.13 to 0.3.14
2023-04-11 13:10:33 +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
dependabot[bot]
91944abcc9 chore(deps-dev): bump typeorm from 0.3.13 to 0.3.14
Bumps [typeorm](https://github.com/typeorm/typeorm) from 0.3.13 to 0.3.14.
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/0.3.14/CHANGELOG.md)
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.13...0.3.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 01:15:25 +00:00
dependabot[bot]
08a1168199 chore(deps-dev): bump lint-staged from 13.2.0 to 13.2.1
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.2.0 to 13.2.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v13.2.0...v13.2.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-04-10 01:11:40 +00:00
Kamil Mysliwiec
bee462e031 Merge pull request #11438 from nestjs/dependabot/npm_and_yarn/typeorm-0.3.13
chore(deps-dev): bump typeorm from 0.3.12 to 0.3.13
2023-04-07 09:09:40 +02:00
dependabot[bot]
73ea8979ee chore(deps-dev): bump typeorm from 0.3.12 to 0.3.13
Bumps [typeorm](https://github.com/typeorm/typeorm) from 0.3.12 to 0.3.13.
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.12...0.3.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 01:04:31 +00: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
Kamil Mysliwiec
d3d28f121d Merge pull request #11430 from micalevisk/patch-1
test(integration): fix wrong class import on typeorm integration test
2023-04-06 09:03:51 +02:00
Micael Levi L. Cavalcante
2e2ae090cd test(integration): wrong class import on typeorm integration test 2023-04-05 09:13:26 -04: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
0d8c618c76 chore: update package.json 2023-04-05 12:49:00 +02:00
Kamil Myśliwiec
676c98ca91 chore(@nestjs) publish v9.4.0 release 2023-04-05 12:45:18 +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
11f512c7db sample: update 20-cache sample 2023-04-05 12:12:58 +02:00
Kamil Mysliwiec
4be791ffca Merge pull request #11426 from voiceflow/feat/extend-microservice-extras
feat: allow extension of microservice event and message extras
2023-04-05 12:08:20 +02:00
Kamil Myśliwiec
f9550c3393 chore: remove cache decorator test 2023-04-05 12:07:07 +02:00
Kamil Myśliwiec
e990336deb Merge branch 'master' of https://github.com/nestjs/nest 2023-04-05 12:02:45 +02:00
Kamil Myśliwiec
06da94bca5 chore: assert type of route info objects 2023-04-05 12:02:34 +02:00
Kamil Mysliwiec
402a389e54 Merge pull request #10228 from nathanArseneau/test/sample-02-gateways
test(sample-02): added unit tests
2023-04-05 11:12:44 +02:00
Kamil Mysliwiec
c885a89dec Merge pull request #11188 from CodyTseng/fix-ws-multi-servers-on-different-paths
fix(ws): mount multi `ws` servers on different paths
2023-04-05 11:12:18 +02:00
Kamil Myśliwiec
718e70476b chore: upgrade typescript 2023-04-05 11:09:22 +02:00
Kamil Myśliwiec
570e52132c chore(common): remove cache module 2023-04-05 11:01:17 +02:00
Kamil Mysliwiec
9b6b00f0de Merge branch 'master' into test/sample-02-gateways 2023-04-05 10:58:09 +02:00
Kamil Mysliwiec
e46147ebcb Merge branch 'master' into fix-ws-multi-servers-on-different-paths 2023-04-05 10:56:47 +02:00
Kamil Mysliwiec
aa2717be24 Merge pull request #11427 from nestjs/chore/deprecate-cache-module
chore(common): deprecate cache module
2023-04-05 10:55:34 +02:00
Kamil Mysliwiec
1187af5564 Merge pull request #11325 from tolgap/fix/11302-remove-body-parser-types-dep
fix(express): remove body-parser types and ship these types our own
2023-04-05 10:47:37 +02:00
Kamil Mysliwiec
a8ae4f4389 Merge pull request #10628 from nomaxg/tls
feat(microservice): TCP microservice over TLS
2023-04-05 10:46:48 +02:00
Kamil Myśliwiec
676eed6714 chore(common): deprecate cache module 2023-04-05 10:44:58 +02:00
Ben Teichman
daa215e3b0 test: add tests for extending extras 2023-04-04 13:07:11 -04:00
Ben Teichman
fd070b82c3 feat: allow microserivce event or message extras to be extended 2023-04-04 12:46:37 -04:00
Tolga Paksoy
793e95f2a3 chore(express): add publicApi jsdoc
Co-authored-by: Micael Levi L. Cavalcante <mllc@icomp.ufam.edu.br>
2023-04-04 16:09:41 +02:00
Kamil Mysliwiec
e33cf196af Merge pull request #11394 from nestjs/dependabot/npm_and_yarn/sinon-15.0.3
chore(deps-dev): bump sinon from 15.0.2 to 15.0.3
2023-04-04 13:17:56 +02:00
dependabot[bot]
07271f5ac6 chore(deps-dev): bump sinon from 15.0.2 to 15.0.3
Bumps [sinon](https://github.com/sinonjs/sinon) from 15.0.2 to 15.0.3.
- [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.2...v15.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-04 08:22:21 +00:00
Kamil Mysliwiec
3b8ed626e4 Merge pull request #11406 from nestjs/dependabot/npm_and_yarn/types/node-18.15.11
chore(deps-dev): bump @types/node from 18.15.6 to 18.15.11
2023-04-04 10:16:42 +02:00
Kamil Mysliwiec
ede263c115 Merge pull request #11417 from nestjs/dependabot/npm_and_yarn/uid-2.0.2
chore(deps): bump uid from 2.0.1 to 2.0.2
2023-04-04 10:16:19 +02:00
Kamil Mysliwiec
8a5deaea0c Merge pull request #11418 from nestjs/dependabot/npm_and_yarn/fastify/static-6.10.0
chore(deps-dev): bump @fastify/static from 6.9.0 to 6.10.0
2023-04-04 10:15:40 +02:00
Kamil Mysliwiec
7524694749 Merge pull request #11419 from nestjs/dependabot/npm_and_yarn/fast-json-stringify-5.7.0
chore(deps): bump fast-json-stringify from 5.6.2 to 5.7.0
2023-04-04 10:15:33 +02:00
Kamil Mysliwiec
97009804bd Merge pull request #11422 from nestjs/dependabot/npm_and_yarn/apollo/server-4.6.0
chore(deps-dev): bump @apollo/server from 4.5.0 to 4.6.0
2023-04-04 10:15:26 +02:00
Kamil Mysliwiec
d1af2cef87 Merge pull request #11423 from nestjs/dependabot/npm_and_yarn/amqp-connection-manager-4.1.12
chore(deps-dev): bump amqp-connection-manager from 4.1.11 to 4.1.12
2023-04-04 10:15:21 +02:00
Kamil Mysliwiec
6596fecbb7 Merge pull request #11424 from nestjs/dependabot/npm_and_yarn/core-js-3.30.0
chore(deps-dev): bump core-js from 3.29.1 to 3.30.0
2023-04-04 10:14:45 +02:00
dependabot[bot]
141223c6aa chore(deps-dev): bump core-js from 3.29.1 to 3.30.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.29.1 to 3.30.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.30.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-04-04 01:09:07 +00:00
dependabot[bot]
11893d75bf chore(deps-dev): bump amqp-connection-manager from 4.1.11 to 4.1.12
Bumps [amqp-connection-manager](https://github.com/jwalton/node-amqp-connection-manager) from 4.1.11 to 4.1.12.
- [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.11...v4.1.12)

---
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-04-04 01:06:32 +00:00
dependabot[bot]
23f45b9cf6 chore(deps-dev): bump @apollo/server from 4.5.0 to 4.6.0
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 4.5.0 to 4.6.0.
- [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.6.0/packages/server)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-04 01:03:51 +00:00
dependabot[bot]
d9b2bdd136 chore(deps): bump fast-json-stringify from 5.6.2 to 5.7.0
Bumps [fast-json-stringify](https://github.com/fastify/fast-json-stringify) from 5.6.2 to 5.7.0.
- [Release notes](https://github.com/fastify/fast-json-stringify/releases)
- [Commits](https://github.com/fastify/fast-json-stringify/compare/v5.6.2...v5.7.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-04-03 01:07:53 +00:00
dependabot[bot]
b7e1beed64 chore(deps-dev): bump @fastify/static from 6.9.0 to 6.10.0
Bumps [@fastify/static](https://github.com/fastify/fastify-static) from 6.9.0 to 6.10.0.
- [Release notes](https://github.com/fastify/fastify-static/releases)
- [Commits](https://github.com/fastify/fastify-static/compare/v6.9.0...v6.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 01:06:15 +00:00
dependabot[bot]
ce4affc85c chore(deps): bump uid from 2.0.1 to 2.0.2
Bumps [uid](https://github.com/lukeed/uid) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/lukeed/uid/releases)
- [Commits](https://github.com/lukeed/uid/compare/v2.0.1...v2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 01:02:49 +00:00
Tony133
0eec329070 chore(): update interface deprecated for kafka 2023-03-31 16:59:45 +02:00
dependabot[bot]
4e11d643aa chore(deps-dev): bump @types/node from 18.15.6 to 18.15.11
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.6 to 18.15.11.
- [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-03-31 07:34:29 +00:00
Kamil Mysliwiec
cb9c3c65b3 Merge pull request #11410 from hyunjinjeong/patch-mongoose-sample
sample(mongoose): change mongoose model type
2023-03-30 08:44:57 +02:00
hyunjin-jeong
1977245a0d sample(mongoose): change mongoose model type 2023-03-30 13:36:51 +09:00
Kamil Myśliwiec
26bb739beb sample(): update auth service and its e2e test 2023-03-29 15:28:23 +02:00
Kamil Myśliwiec
dd12812089 sample(19-auth): remove outdated unit tests 2023-03-29 15:01:48 +02:00
Kamil Mysliwiec
e3e0fe436f Merge pull request #11405 from nestjs/dependabot/npm_and_yarn/ts-morph-18.0.0
chore(deps-dev): bump ts-morph from 17.0.1 to 18.0.0
2023-03-29 14:46:18 +02:00
Kamil Mysliwiec
56a76ca447 Merge pull request #11403 from nestjs/renovate/nestjs-apollo-11.x
fix(deps): update dependency @nestjs/apollo to v11.0.4
2023-03-29 14:46:11 +02:00
Kamil Mysliwiec
51794af4bf Merge pull request #11402 from nestjs/renovate/cache-manager-4.x-lockfile
chore(deps): update dependency @types/cache-manager to v4.0.2
2023-03-29 14:46:04 +02:00
Kamil Mysliwiec
1530fec5af Merge pull request #11401 from nestjs/renovate/babel-monorepo
chore(deps): update dependency @babel/core to v7.21.3
2023-03-29 14:45:57 +02:00
Kamil Mysliwiec
0d94c86369 Merge pull request #11407 from nestjs/dependabot/npm_and_yarn/concurrently-8.0.1
chore(deps-dev): bump concurrently from 7.6.0 to 8.0.1
2023-03-29 14:45:42 +02:00
Kamil Mysliwiec
7fc6c5c45c Merge pull request #11408 from nestjs/dependabot/npm_and_yarn/commitlint/cli-17.5.1
chore(deps-dev): bump @commitlint/cli from 17.5.0 to 17.5.1
2023-03-29 14:45:39 +02:00
Kamil Mysliwiec
2151aee69b Merge pull request #11347 from nestjs/renovate/sequelize-typescript-2.x
fix(deps): update dependency sequelize-typescript to v2.1.5
2023-03-29 14:44:23 +02:00
Kamil Mysliwiec
7e80ceb845 Merge pull request #11344 from nestjs/renovate/nestjs-typeorm-9.x
fix(deps): update dependency @nestjs/typeorm to v9.0.1
2023-03-29 14:44:11 +02:00
Kamil Mysliwiec
cd673b9bb4 Merge pull request #11343 from nestjs/renovate/nestjs-serve-static-3.x
fix(deps): update dependency @nestjs/serve-static to v3.0.1
2023-03-29 14:44:07 +02:00
Kamil Mysliwiec
427f7d885e Merge pull request #11342 from nestjs/renovate/nestjs-mongoose-9.x
fix(deps): update dependency @nestjs/mongoose to v9.2.2
2023-03-29 14:43:56 +02:00
Kamil Mysliwiec
e96a7ff1dd Merge pull request #11340 from nestjs/renovate/nestjs-bull-0.x
fix(deps): update dependency @nestjs/bull to v0.6.3
2023-03-29 14:43:48 +02:00
Kamil Mysliwiec
6bbdc06aae Merge pull request #11351 from nestjs/renovate/amqplib-0.x
chore(deps): update dependency @types/amqplib to v0.10.1
2023-03-29 14:43:25 +02:00
Kamil Myśliwiec
a692e637fd chore: resolve conflicts 2023-03-29 14:41:29 +02:00
Kamil Myśliwiec
4d71fe4152 sample(19-auth): update sample to not use passport 2023-03-29 14:39:23 +02:00
dependabot[bot]
7f833010b7 chore(deps-dev): bump @commitlint/cli from 17.5.0 to 17.5.1
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.5.0 to 17.5.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.5.1/@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-03-29 01:10:00 +00:00
dependabot[bot]
1c5468e578 chore(deps-dev): bump concurrently from 7.6.0 to 8.0.1
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 7.6.0 to 8.0.1.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v7.6.0...v8.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 01:07:54 +00:00
dependabot[bot]
94396e05fa chore(deps-dev): bump ts-morph from 17.0.1 to 18.0.0
Bumps [ts-morph](https://github.com/dsherret/ts-morph) from 17.0.1 to 18.0.0.
- [Release notes](https://github.com/dsherret/ts-morph/releases)
- [Commits](https://github.com/dsherret/ts-morph/compare/17.0.1...18.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-03-29 01:00:37 +00:00
renovate[bot]
081ce594d7 chore(deps): update dependency @types/amqplib to v0.10.1 2023-03-28 08:08:17 +00:00
renovate[bot]
2e6bf0cc52 fix(deps): update dependency sequelize-typescript to v2.1.5 2023-03-28 08:01:45 +00:00
renovate[bot]
72fdfaa26d fix(deps): update dependency @nestjs/typeorm to v9.0.1 2023-03-28 08:00:48 +00:00
renovate[bot]
02a9b110ef fix(deps): update dependency @nestjs/serve-static to v3.0.1 2023-03-28 08:00:20 +00:00
renovate[bot]
7fa5d1a792 fix(deps): update dependency @nestjs/mongoose to v9.2.2 2023-03-28 08:00:02 +00:00
renovate[bot]
d693221c79 fix(deps): update dependency @nestjs/bull to v0.6.3 2023-03-28 07:59:27 +00:00
renovate[bot]
441368ccde fix(deps): update dependency @nestjs/apollo to v11.0.4 2023-03-28 07:59:09 +00:00
renovate[bot]
062d417c00 chore(deps): update dependency @types/cache-manager to v4.0.2 2023-03-28 07:53:09 +00:00
renovate[bot]
f3376880ad chore(deps): update dependency @babel/core to v7.21.3 2023-03-28 07:52:51 +00:00
Kamil Mysliwiec
e34578d06d Merge pull request #11399 from nestjs/revert-11385-renovate/mongodb-5.x
Revert "fix(deps): update dependency mongodb to v5"
2023-03-27 09:44:49 +02:00
Kamil Mysliwiec
a6d3635078 Revert "fix(deps): update dependency mongodb to v5" 2023-03-27 09:44:35 +02:00
Kamil Mysliwiec
1e90b2849c Merge pull request #11323 from nestjs/dependabot/npm_and_yarn/grpc/proto-loader-0.7.6
chore(deps-dev): bump @grpc/proto-loader from 0.7.5 to 0.7.6
2023-03-27 08:55:11 +02:00
Kamil Mysliwiec
a565f506b6 Merge pull request #11395 from nestjs/dependabot/npm_and_yarn/prettier-2.8.7
chore(deps-dev): bump prettier from 2.8.6 to 2.8.7
2023-03-27 08:55:03 +02:00
Kamil Mysliwiec
0dd4158944 Merge pull request #11336 from nestjs/renovate/nodemon-2.x
chore(deps): update dependency nodemon to v2.0.22
2023-03-27 08:54:53 +02:00
Kamil Mysliwiec
407d2d7a57 Merge pull request #11339 from nestjs/renovate/mysql-8.x
chore(deps): update mysql docker tag to v8.0.32
2023-03-27 08:54:41 +02:00
Kamil Mysliwiec
7609481791 Merge pull request #11348 from nestjs/renovate/typeorm-0.x
fix(deps): update dependency typeorm to v0.3.12
2023-03-27 08:54:18 +02:00
Kamil Mysliwiec
37a036b5eb Merge pull request #11349 from nestjs/renovate/confluentinc-cp-kafka-7.x
chore(deps): update confluentinc/cp-kafka docker tag to v7.3.2
2023-03-27 08:54:06 +02:00
Kamil Mysliwiec
d80ed7a929 Merge pull request #11366 from nestjs/renovate/fastify-view-7.x
fix(deps): update dependency @fastify/view to v7.4.1
2023-03-27 08:53:30 +02:00
Kamil Mysliwiec
502a268f52 Merge pull request #11376 from nestjs/renovate/socket.io-packages
fix(deps): update dependency socket.io to v4.6.1
2023-03-27 08:52:55 +02:00
Kamil Mysliwiec
8c41e0112e Merge pull request #11381 from nestjs/renovate/mongo-6.x
chore(deps): update mongo docker tag to v6
2023-03-27 08:52:23 +02:00
Kamil Mysliwiec
bf415d8416 Merge pull request #11384 from nestjs/renovate/mercurius-12.x
fix(deps): update dependency mercurius to v12
2023-03-27 08:52:03 +02:00
Kamil Mysliwiec
8bdb847309 Merge pull request #11385 from nestjs/renovate/mongodb-5.x
fix(deps): update dependency mongodb to v5
2023-03-27 08:51:46 +02:00
Kamil Mysliwiec
c75e951d5c Update express.spec.ts 2023-03-27 08:51:28 +02:00
dependabot[bot]
48d2952259 chore(deps-dev): bump prettier from 2.8.6 to 2.8.7
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.6 to 2.8.7.
- [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.6...2.8.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 06:50:44 +00:00
Kamil Mysliwiec
d79e5da487 Merge pull request #11387 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3
2023-03-27 08:50:23 +02:00
Kamil Mysliwiec
0e0a9b3ff6 Merge pull request #11389 from nestjs/renovate/rimraf-4.x
fix(deps): update dependency rimraf to v4.4.1
2023-03-27 08:50:01 +02:00
Kamil Mysliwiec
83e6918c25 Merge pull request #11334 from nestjs/renovate/babel-monorepo
chore(deps): update dependency @babel/core to v7.21.3
2023-03-27 08:49:46 +02:00
Kamil Mysliwiec
9719e4fa34 Merge pull request #11353 from nestjs/renovate/eslint-config-prettier-8.x
chore(deps): update dependency eslint-config-prettier to v8.8.0
2023-03-27 08:48:02 +02:00
Kamil Mysliwiec
70e4997522 Merge pull request #11356 from nestjs/renovate/redis-4.x
chore(deps): update dependency redis to v4.6.5
2023-03-27 08:47:49 +02:00
Kamil Mysliwiec
7f549588af Merge pull request #11363 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v5.56.0
2023-03-27 08:47:28 +02:00
Kamil Mysliwiec
4550146b05 Merge pull request #11338 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.76.3
2023-03-27 08:47:20 +02:00
Kamil Mysliwiec
fd30c0a240 Merge pull request #11337 from nestjs/renovate/ts-jest-28.x
chore(deps): update dependency ts-jest to v28.0.8
2023-03-27 08:47:10 +02:00
Kamil Mysliwiec
63fa43b97b Merge pull request #11364 from nestjs/renovate/apollo-graphql-packages
fix(deps): update apollo graphql packages
2023-03-27 08:46:29 +02:00
Kamil Mysliwiec
74739ee67f Merge pull request #11361 from nestjs/renovate/typescript-4.x
chore(deps): update dependency typescript to v4.9.5
2023-03-27 08:46:15 +02:00
Kamil Mysliwiec
d2de15aa0b Merge pull request #11377 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo
2023-03-27 08:45:39 +02:00
Kamil Mysliwiec
c0bff9c7b6 Merge pull request #11392 from ianzone/console-logger
feat: change updateAndGetTimestampDiff from private to protected
2023-03-27 08:31:50 +02:00
ian
4cad5067a3 feat: change updateandgettimestampdiff from private to protected 2023-03-26 12:41:41 +08:00
renovate[bot]
e21ef19a3d fix(deps): update dependency rimraf to v4.4.1 2023-03-24 18:28:19 +00:00
renovate[bot]
ba4fff1c3f fix(deps): update dependency mysql2 to v3 2023-03-24 18:27:40 +00:00
renovate[bot]
456b242bb1 fix(deps): update dependency mongodb to v5 2023-03-24 18:27:14 +00:00
renovate[bot]
853f76d7fb fix(deps): update dependency mercurius to v12 2023-03-24 18:27:04 +00:00
renovate[bot]
c2e2ee6451 chore(deps): update mongo docker tag to v6 2023-03-24 18:26:33 +00:00
renovate[bot]
aebed922e4 fix(deps): update nest monorepo 2023-03-24 18:25:25 +00:00
renovate[bot]
51228f09e4 fix(deps): update dependency socket.io to v4.6.1 2023-03-24 18:24:50 +00:00
renovate[bot]
1854bbb67c fix(deps): update dependency @fastify/view to v7.4.1 2023-03-24 18:22:37 +00:00
renovate[bot]
335b48ad8a fix(deps): update apollo graphql packages 2023-03-24 18:22:15 +00:00
renovate[bot]
be14e5bd1c chore(deps): update typescript-eslint monorepo to v5.56.0 2023-03-24 18:21:44 +00:00
renovate[bot]
88e87693af chore(deps): update dependency typescript to v4.9.5 2023-03-24 18:20:33 +00:00
renovate[bot]
70fa720780 chore(deps): update dependency redis to v4.6.5 2023-03-24 18:18:34 +00:00
renovate[bot]
17fc17c967 chore(deps): update dependency eslint-config-prettier to v8.8.0 2023-03-24 18:17:32 +00:00
renovate[bot]
d084702af4 chore(deps): update confluentinc/cp-kafka docker tag to v7.3.2 2023-03-24 18:16:03 +00:00
renovate[bot]
ec0ec25c39 fix(deps): update dependency typeorm to v0.3.12 2023-03-24 18:15:52 +00:00
renovate[bot]
fa60e14a64 chore(deps): update mysql docker tag to v8.0.32 2023-03-24 18:14:14 +00:00
renovate[bot]
5dce51d875 chore(deps): update dependency webpack to v5.76.3 2023-03-24 18:14:04 +00:00
renovate[bot]
0d1348697f chore(deps): update dependency ts-jest to v28.0.8 2023-03-24 18:13:53 +00:00
renovate[bot]
5efb8f507a chore(deps): update dependency nodemon to v2.0.22 2023-03-24 18:13:31 +00:00
renovate[bot]
b5b7382a62 chore(deps): update dependency @babel/core to v7.21.3 2023-03-24 18:12:57 +00:00
dependabot[bot]
c841cef9b2 chore(deps-dev): bump @grpc/proto-loader from 0.7.5 to 0.7.6
Bumps [@grpc/proto-loader](https://github.com/grpc/grpc-node) from 0.7.5 to 0.7.6.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/proto-loader@0.7.5...@grpc/proto-loader@0.7.6)

---
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-03-24 07:44:52 +00:00
Kamil Mysliwiec
cde4e7f324 Merge pull request #11321 from nestjs/dependabot/npm_and_yarn/nodemon-2.0.22
chore(deps-dev): bump nodemon from 2.0.21 to 2.0.22
2023-03-24 08:40:38 +01:00
Kamil Mysliwiec
294a7fe8c2 Merge pull request #11322 from nestjs/dependabot/npm_and_yarn/commitlint/cli-17.5.0
chore(deps-dev): bump @commitlint/cli from 17.4.4 to 17.5.0
2023-03-24 08:40:33 +01:00
Kamil Mysliwiec
4b8cd7e939 Merge pull request #11328 from nestjs/dependabot/npm_and_yarn/mongoose-7.0.3
chore(deps-dev): bump mongoose from 7.0.2 to 7.0.3
2023-03-24 08:40:22 +01:00
Kamil Mysliwiec
94e99410ad Merge pull request #11329 from nestjs/dependabot/npm_and_yarn/types/node-18.15.6
chore(deps-dev): bump @types/node from 18.15.5 to 18.15.6
2023-03-24 08:40:08 +01:00
Kamil Mysliwiec
e9b6106939 Merge pull request #11330 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.8.13
chore(deps-dev): bump @grpc/grpc-js from 1.8.12 to 1.8.13
2023-03-24 08:39:47 +01:00
dependabot[bot]
768292ec98 chore(deps-dev): bump @grpc/grpc-js from 1.8.12 to 1.8.13
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.12 to 1.8.13.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.12...@grpc/grpc-js@1.8.13)

---
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-03-24 01:15:25 +00:00
dependabot[bot]
9d85848f6f chore(deps-dev): bump @types/node from 18.15.5 to 18.15.6
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.5 to 18.15.6.
- [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-03-24 01:13:13 +00:00
dependabot[bot]
0cb62a9f79 chore(deps-dev): bump mongoose from 7.0.2 to 7.0.3
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.0.2 to 7.0.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.0.2...7.0.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-03-24 01:05:40 +00:00
Tolga Paksoy
1af7d379db fix(express): remove body-parser types and use own 2023-03-23 12:01:16 +01:00
dependabot[bot]
f9260bdb7b chore(deps-dev): bump @commitlint/cli from 17.4.4 to 17.5.0
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.4.4 to 17.5.0.
- [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.5.0/@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-03-23 01:11:15 +00:00
dependabot[bot]
821d4bf58e chore(deps-dev): bump nodemon from 2.0.21 to 2.0.22
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.21 to 2.0.22.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.21...v2.0.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 01:01:15 +00:00
Kamil Myśliwiec
07f54b7c6c chore(@nestjs) publish v9.3.12 release 2023-03-22 09:49:40 +01:00
Kamil Myśliwiec
36e8bfca81 fix(core): circular structure error (jest) #11303 2023-03-22 09:46:33 +01: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
Kamil Mysliwiec
6ed1b14d33 Merge pull request #11307 from nestjs/dependabot/npm_and_yarn/nestjs/apollo-11.0.4
chore(deps-dev): bump @nestjs/apollo from 11.0.3 to 11.0.4
2023-03-22 08:57:53 +01:00
Kamil Mysliwiec
536d65f945 Merge pull request #11129 from micalevisk/patch-1
fix(core): false-positive value provider not registered error when the value is `undefined`
2023-03-22 08:57:46 +01:00
Kamil Mysliwiec
92d5415417 Merge pull request #11281 from hansl/console-fn
perf(common): In case of an expensive log, allow to pass a function
2023-03-22 08:57:12 +01:00
Kamil Mysliwiec
57a185869e Merge pull request #11315 from nestjs/dependabot/npm_and_yarn/prettier-2.8.6
chore(deps-dev): bump prettier from 2.8.5 to 2.8.6
2023-03-22 08:56:58 +01:00
Kamil Mysliwiec
4fb0ac44c8 Merge pull request #11316 from nestjs/dependabot/npm_and_yarn/cache-manager-5.2.0
chore(deps-dev): bump cache-manager from 5.1.7 to 5.2.0
2023-03-22 08:56:51 +01:00
dependabot[bot]
78876e2722 chore(deps-dev): bump cache-manager from 5.1.7 to 5.2.0
Bumps [cache-manager](https://github.com/node-cache-manager/node-cache-manager) from 5.1.7 to 5.2.0.
- [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.1.7...5.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-22 01:05:09 +00:00
dependabot[bot]
a1a84b38d7 chore(deps-dev): bump prettier from 2.8.5 to 2.8.6
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.5 to 2.8.6.
- [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.5...2.8.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-22 00:59:21 +00:00
dependabot[bot]
435e5f1e6d chore(deps-dev): bump @nestjs/apollo from 11.0.3 to 11.0.4
Bumps [@nestjs/apollo](https://github.com/nestjs/graphql) from 11.0.3 to 11.0.4.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v11.0.3...v11.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-03-21 08:43:42 +00:00
Kamil Mysliwiec
5999d6b9e2 Merge pull request #11306 from nestjs/dependabot/npm_and_yarn/mongoose-7.0.2
chore(deps-dev): bump mongoose from 6.10.3 to 7.0.2
2023-03-21 09:41:16 +01:00
Kamil Mysliwiec
073c4e3b6b Merge pull request #11308 from nestjs/dependabot/npm_and_yarn/nestjs/graphql-11.0.4
chore(deps-dev): bump @nestjs/graphql from 11.0.0 to 11.0.4
2023-03-21 09:41:05 +01:00
Kamil Mysliwiec
7a265a1762 Merge pull request #11309 from nestjs/dependabot/npm_and_yarn/fastify-4.15.0
chore(deps): bump fastify from 4.14.1 to 4.15.0
2023-03-21 09:40:57 +01:00
Kamil Mysliwiec
5d8be38292 Merge pull request #11310 from nestjs/dependabot/npm_and_yarn/eslint-config-prettier-8.8.0
chore(deps-dev): bump eslint-config-prettier from 8.7.0 to 8.8.0
2023-03-21 09:40:53 +01:00
Kamil Mysliwiec
4549933d01 Merge pull request #11311 from nestjs/dependabot/npm_and_yarn/types/node-18.15.5
chore(deps-dev): bump @types/node from 18.15.3 to 18.15.5
2023-03-21 09:40:44 +01:00
Kamil Mysliwiec
d1879ca2ce Merge pull request #11312 from nestjs/dependabot/npm_and_yarn/prettier-2.8.5
chore(deps-dev): bump prettier from 2.8.4 to 2.8.5
2023-03-21 09:40:37 +01:00
Kamil Myśliwiec
8eadcf4f2a chore(@nestjs) publish v9.3.11 release 2023-03-21 09:40:04 +01:00
Kamil Myśliwiec
23d67272c1 Merge branch 'master' of https://github.com/nestjs/nest 2023-03-21 09:39:06 +01:00
Kamil Myśliwiec
aa6baa4303 fix(core): fix durable context id resolution for enhancers (#11305) 2023-03-21 09:38:56 +01:00
dependabot[bot]
6886b456cc chore(deps-dev): bump prettier from 2.8.4 to 2.8.5
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.4 to 2.8.5.
- [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.4...2.8.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 01:13:48 +00:00
dependabot[bot]
97e7cd1d55 chore(deps-dev): bump @types/node from 18.15.3 to 18.15.5
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.3 to 18.15.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-03-21 01:12:36 +00:00
dependabot[bot]
f1b0d7671a chore(deps-dev): bump eslint-config-prettier from 8.7.0 to 8.8.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.7.0 to 8.8.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.7.0...v8.8.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-03-21 01:11:28 +00:00
dependabot[bot]
fdcd6f54b5 chore(deps): bump fastify from 4.14.1 to 4.15.0
Bumps [fastify](https://github.com/fastify/fastify) from 4.14.1 to 4.15.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.14.1...v4.15.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-03-21 01:10:15 +00:00
dependabot[bot]
e3f43eaf2f chore(deps-dev): bump @nestjs/graphql from 11.0.0 to 11.0.4
Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 11.0.0 to 11.0.4.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v11.0.0...v11.0.4)

---
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-03-21 01:08:59 +00:00
dependabot[bot]
1373e219c9 chore(deps-dev): bump mongoose from 6.10.3 to 7.0.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.10.3 to 7.0.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/6.10.3...7.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 01:03:39 +00:00
Kamil Mysliwiec
09f00de29f Merge pull request #11300 from nestjs/dependabot/npm_and_yarn/nestjs/mongoose-9.2.2
chore(deps-dev): bump @nestjs/mongoose from 9.2.1 to 9.2.2
2023-03-20 08:28:34 +01:00
dependabot[bot]
ec9c3d902d chore(deps-dev): bump @nestjs/mongoose from 9.2.1 to 9.2.2
Bumps [@nestjs/mongoose](https://github.com/nestjs/mongoose) from 9.2.1 to 9.2.2.
- [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.1...9.2.2)

---
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-03-20 01:13:07 +00:00
Kamil Mysliwiec
b0db06eb9e Merge pull request #11288 from nestjs/dependabot/npm_and_yarn/fastify/cors-8.2.1
chore(deps): bump @fastify/cors from 8.2.0 to 8.2.1
2023-03-16 10:20:08 +01:00
dependabot[bot]
33f4ace142 chore(deps): bump @fastify/cors from 8.2.0 to 8.2.1
Bumps [@fastify/cors](https://github.com/fastify/fastify-cors) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/fastify/fastify-cors/releases)
- [Commits](https://github.com/fastify/fastify-cors/compare/v8.2.0...v8.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 01:06:17 +00:00
Kamil Myśliwiec
b106733ad5 chore: publish 9.3.10 release 2023-03-15 14:23:36 +01:00
Kamil Myśliwiec
ccc8a987ae chore(@nestjs) publish v9.3.10 release 2023-03-15 14:18:30 +01:00
Kamil Mysliwiec
7fb37bd233 Merge pull request #11131 from Flusinerd/cache-ttl-bug
fix(common): fix cache ttl not beeing respected
2023-03-15 14:15:55 +01:00
Kamil Myśliwiec
77ee77afab Merge branch 'master' of https://github.com/nestjs/nest 2023-03-15 14:14:51 +01:00
Kamil Myśliwiec
a064e6df66 feat(core): add support for partial graphs 2023-03-15 14:14:37 +01:00
Kamil Mysliwiec
ee11bea4ed Update packages/common/cache/interceptors/cache.interceptor.ts 2023-03-15 08:17:02 +01:00
Kamil Mysliwiec
ffe9651109 Merge pull request #11267 from nestjs/dependabot/npm_and_yarn/apollo/server-4.5.0
chore(deps-dev): bump @apollo/server from 4.4.1 to 4.5.0
2023-03-15 08:16:07 +01:00
Kamil Mysliwiec
510d57ebec Merge pull request #11266 from nestjs/dependabot/npm_and_yarn/lint-staged-13.2.0
chore(deps-dev): bump lint-staged from 13.1.2 to 13.2.0
2023-03-15 08:15:00 +01:00
Kamil Mysliwiec
40155e9b4f Merge pull request #11268 from nestjs/dependabot/npm_and_yarn/nats-2.13.1
chore(deps-dev): bump nats from 2.13.0 to 2.13.1
2023-03-15 08:14:52 +01:00
Kamil Mysliwiec
626d37a277 Merge pull request #11269 from nestjs/dependabot/npm_and_yarn/ws-8.13.0
chore(deps): bump ws from 8.12.1 to 8.13.0
2023-03-15 08:14:49 +01:00
dependabot[bot]
3d21912734 chore(deps-dev): bump @apollo/server from 4.4.1 to 4.5.0
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 4.4.1 to 4.5.0.
- [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.5.0/packages/server)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 07:14:29 +00:00
dependabot[bot]
7f76ade025 chore(deps): bump ws from 8.12.1 to 8.13.0
Bumps [ws](https://github.com/websockets/ws) from 8.12.1 to 8.13.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.12.1...8.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 07:14:15 +00:00
Kamil Mysliwiec
3d52e19a83 Merge pull request #11270 from nestjs/dependabot/npm_and_yarn/sinon-15.0.2
chore(deps-dev): bump sinon from 15.0.1 to 15.0.2
2023-03-15 08:13:12 +01:00
Kamil Mysliwiec
e0d859c5bd Merge pull request #11271 from nestjs/dependabot/npm_and_yarn/nestjs/apollo-11.0.3
chore(deps-dev): bump @nestjs/apollo from 11.0.2 to 11.0.3
2023-03-15 08:11:34 +01:00
Kamil Mysliwiec
46d9d82e79 Merge pull request #11274 from nestjs/dependabot/npm_and_yarn/fastify/multipart-7.5.0
chore(deps-dev): bump @fastify/multipart from 7.4.2 to 7.5.0
2023-03-15 08:11:28 +01:00
Kamil Mysliwiec
a4c023ea8a Merge pull request #11275 from nestjs/dependabot/npm_and_yarn/core-js-3.29.1
chore(deps-dev): bump core-js from 3.29.0 to 3.29.1
2023-03-15 08:11:23 +01:00
dependabot[bot]
2d0a0254ca chore(deps-dev): bump sinon from 15.0.1 to 15.0.2
Bumps [sinon](https://github.com/sinonjs/sinon) from 15.0.1 to 15.0.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.0.1...v15.0.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-03-15 07:10:26 +00:00
Kamil Mysliwiec
46dbf615e1 Merge pull request #11276 from nestjs/dependabot/npm_and_yarn/mongoose-6.10.3
chore(deps-dev): bump mongoose from 6.10.2 to 6.10.3
2023-03-15 08:07:51 +01:00
Kamil Mysliwiec
473e3402ed Merge pull request #11283 from nestjs/dependabot/npm_and_yarn/types/node-18.15.3
chore(deps-dev): bump @types/node from 18.15.0 to 18.15.3
2023-03-15 08:07:18 +01:00
Kamil Mysliwiec
5702d3b8e2 Merge pull request #11284 from nestjs/dependabot/npm_and_yarn/sample/08-webpack/webpack-5.76.0
chore(deps-dev): bump webpack from 5.73.0 to 5.76.0 in /sample/08-webpack
2023-03-15 08:07:12 +01:00
Kamil Mysliwiec
1518191051 Merge pull request #11280 from micalevisk/fix/issue-11279
fix(platform-express): wrong type def for `NestExpressApplication#listen`
2023-03-15 08:06:40 +01:00
dependabot[bot]
8af4394b1e chore(deps-dev): bump webpack in /sample/08-webpack
Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.76.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 03:00:24 +00:00
dependabot[bot]
1bc5259ff9 chore(deps-dev): bump @types/node from 18.15.0 to 18.15.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.0 to 18.15.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-03-15 01:02:01 +00:00
Micael Levi L. Cavalcante
545d69c0f6 fix(platform-express): replace net.server with http.server 2023-03-14 14:44:13 -04:00
Hans Larsen
618bcc43b7 perf(common): In case of an expensive log, allow to pass a function
In certain case, it is very expensive to log some values. Instead of
checking if certain level is enabled, allow the users to pass in a
function that is only called if we need to stringify the log value.

This keeps the API small, while still allowing expensive logging to
be called when needed, and skipped when not.

e.g. instead of

```javascript
// This check is technically done twice.
if (this.logger.isLevelEnabled('debug')) {
  this.logger.debug(this.generateAsciiArtFromJpeg());
}
```

the customer could use:

```javascript
this.logger.debug(() => this.generateAsciiArtFromJpeg());
```
2023-03-14 11:24:30 -07:00
dependabot[bot]
c80c789d99 chore(deps-dev): bump mongoose from 6.10.2 to 6.10.3
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.10.2 to 6.10.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/6.10.2...6.10.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-03-14 02:06:47 +00:00
dependabot[bot]
2cc4c29e21 chore(deps-dev): bump core-js from 3.29.0 to 3.29.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.29.0 to 3.29.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.29.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-03-14 02:02:13 +00:00
dependabot[bot]
0e509f87af chore(deps-dev): bump @fastify/multipart from 7.4.2 to 7.5.0
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 7.4.2 to 7.5.0.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v7.4.2...v7.5.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-03-14 01:56:10 +00:00
Kamil Mysliwiec
a61bcd3099 Merge pull request #11260 from Tony133/chore/update-comment-jsdoc-and-others-update
chore(): update comment jsdoc and others update
2023-03-13 08:23:39 +01:00
Kamil Mysliwiec
aa83bb5ef4 Merge pull request #11261 from jbl428/microservice-server-type
test: add microservice generic type explicitly
2023-03-13 08:22:54 +01:00
Kamil Mysliwiec
f5d359e349 Merge pull request #11263 from SloCompTech/master
Updated excluded path in 24-serve-static example
2023-03-13 08:18:29 +01:00
dependabot[bot]
dfad4e7ad6 chore(deps-dev): bump @nestjs/apollo from 11.0.2 to 11.0.3
Bumps [@nestjs/apollo](https://github.com/nestjs/graphql) from 11.0.2 to 11.0.3.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v11.0.2...v11.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-03-13 01:26:27 +00:00
dependabot[bot]
31179fcd55 chore(deps-dev): bump nats from 2.13.0 to 2.13.1
Bumps [nats](https://github.com/nats-io/nats.js) from 2.13.0 to 2.13.1.
- [Release notes](https://github.com/nats-io/nats.js/releases)
- [Commits](https://github.com/nats-io/nats.js/compare/v2.13.0...v2.13.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-03-13 01:15:52 +00:00
dependabot[bot]
05b7b9e484 chore(deps-dev): bump lint-staged from 13.1.2 to 13.2.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.1.2 to 13.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v13.1.2...v13.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 01:07:15 +00:00
Martin Dagarin
5575545be5 Updated excluded path in 24-serve-static example
Updated path specification to working one #92.
2023-03-11 16:13:53 +01:00
Jake Son
56b0c57729 test: add microservice generic type explicitly 2023-03-11 09:45:21 +09:00
Tony133
1e7bc5a21d chore(): remove import not used 2023-03-10 18:48:32 +01:00
Tony133
b895b03ebe chore(): update comment jsdoc 2023-03-10 18:36:50 +01:00
Kamil Myśliwiec
e63f5c0ff5 chore: upgrade apollo, fix integration tests 2023-03-10 17:15:17 +01:00
Kamil Myśliwiec
99dc8e6d18 chore: upgrade grapql to v16 2023-03-10 16:03:16 +01:00
Kamil Myśliwiec
0a82282098 test: remove the debug flag 2023-03-10 15:22:07 +01:00
Kamil Myśliwiec
dd649481bf chore(deps): upgrade gql and apollo packages 2023-03-10 14:36:29 +01:00
Kamil Mysliwiec
d11549c6c3 Merge pull request #11044 from mohamadrezamomeni/refactor-satisfy-function-quality-in-parse-file.pipe.ts
refactor(common): satisfy function quality in parse-file.pipe.ts
2023-03-10 14:35:37 +01:00
Kamil Mysliwiec
364d416841 Update packages/common/pipes/file/parse-file.pipe.ts 2023-03-10 14:22:31 +01:00
Kamil Mysliwiec
91009d8669 Update packages/common/pipes/file/parse-file.pipe.ts 2023-03-10 14:22:26 +01:00
Kamil Mysliwiec
f89cd0dbaa Update packages/common/pipes/file/parse-file.pipe.ts 2023-03-10 14:22:21 +01:00
Kamil Mysliwiec
797b08850e Merge pull request #11186 from CodyTseng/fix-ws-adaptor-filter-non-nil-result
fix(ws): filter only nil results
2023-03-10 14:17:54 +01:00
Kamil Mysliwiec
8b72c52678 Merge pull request #11170 from thgh/parse-array-pipe-string
Add test case for ParseArrayPipe that doesn't work as expected
2023-03-10 14:17:02 +01:00
Kamil Mysliwiec
ca2eed1fbc Merge pull request #11104 from eugenk/feature/expose-external-context-creator
feat(core): expose external-context-creator
2023-03-10 14:16:03 +01:00
Kamil Myśliwiec
ef04478555 chore(sample): update samples to use the latest apollo version 2023-03-10 14:12:04 +01:00
mohamadrezamomen97@gmail.com
99288e0f14 chore: unneccery functions 2023-03-10 16:38:12 +03:30
Kamil Mysliwiec
87939461e5 Merge pull request #11251 from nestjs/dependabot/npm_and_yarn/nats-2.13.0
chore(deps-dev): bump nats from 2.12.1 to 2.13.0
2023-03-10 13:25:25 +01:00
Kamil Mysliwiec
0a4b6fcb39 Merge pull request #11257 from nestjs/dependabot/npm_and_yarn/types/node-18.15.0
chore(deps-dev): bump @types/node from 18.14.6 to 18.15.0
2023-03-10 13:25:08 +01:00
dependabot[bot]
ff24dbd19a chore(deps-dev): bump @types/node from 18.14.6 to 18.15.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.14.6 to 18.15.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-03-10 01:08:38 +00:00
Kamil Mysliwiec
78ac574b9b Merge pull request #11245 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo
2023-03-09 12:22:17 +01:00
Kamil Mysliwiec
45a1916a39 Merge pull request #11243 from nestjs/renovate/bull-3.x
chore(deps): update dependency @types/bull to v3.15.9
2023-03-09 12:22:11 +01:00
Kamil Mysliwiec
90532ba3c0 Merge pull request #11246 from nestjs/renovate/confluentinc-cp-zookeeper-7.x
chore(deps): update confluentinc/cp-zookeeper docker tag to v7.3.2
2023-03-09 12:22:04 +01:00
Kamil Mysliwiec
3ddd950944 Merge pull request #11250 from nestjs/renovate/major-graphql-tools-monorepo
fix(deps): update dependency @graphql-tools/utils to v9
2023-03-09 12:21:54 +01:00
Thomas Ghysels
96afa8e650 fix: disable JSON parse for strings in ParseArrayPipe 2023-03-09 10:40:21 +01:00
dependabot[bot]
3f77136979 chore(deps-dev): bump nats from 2.12.1 to 2.13.0
Bumps [nats](https://github.com/nats-io/nats.js) from 2.12.1 to 2.13.0.
- [Release notes](https://github.com/nats-io/nats.js/releases)
- [Commits](https://github.com/nats-io/nats.js/compare/v2.12.1...v2.13.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-03-09 01:03:37 +00:00
renovate[bot]
c7eafb2b5f fix(deps): update dependency @graphql-tools/utils to v9 2023-03-08 22:32:25 +00:00
renovate[bot]
f33f9c6465 chore(deps): update confluentinc/cp-zookeeper docker tag to v7.3.2 2023-03-08 22:18:00 +00:00
renovate[bot]
3aed6965fc chore(deps): update babel monorepo 2023-03-08 22:17:44 +00:00
renovate[bot]
e99a6f9e02 chore(deps): update dependency @types/bull to v3.15.9 2023-03-08 22:11:56 +00:00
Kamil Mysliwiec
9c3f65807c Merge pull request #11204 from nestjs/dependabot/npm_and_yarn/sample/01-cats-app/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/01-cats-app
2023-03-08 08:37:12 +01:00
Kamil Mysliwiec
6e7688b735 Merge pull request #11203 from nestjs/dependabot/npm_and_yarn/sample/06-mongoose/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/06-mongoose
2023-03-08 08:37:03 +01:00
Kamil Mysliwiec
fb0dd9780c Merge pull request #11205 from nestjs/dependabot/npm_and_yarn/sample/10-fastify/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/10-fastify
2023-03-08 08:36:56 +01:00
Kamil Mysliwiec
eeb7aa3895 Merge pull request #11206 from nestjs/dependabot/npm_and_yarn/sample/30-event-emitter/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/30-event-emitter
2023-03-08 08:36:50 +01:00
Kamil Mysliwiec
5ab25d15d9 Merge pull request #11207 from nestjs/dependabot/npm_and_yarn/sample/19-auth-jwt/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/19-auth-jwt
2023-03-08 08:36:45 +01:00
Kamil Mysliwiec
50798f10aa Merge pull request #11208 from nestjs/dependabot/npm_and_yarn/sample/05-sql-typeorm/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/05-sql-typeorm
2023-03-08 08:36:40 +01:00
Kamil Mysliwiec
963e2bdb31 Merge pull request #11209 from nestjs/dependabot/npm_and_yarn/sample/15-mvc/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/15-mvc
2023-03-08 08:36:33 +01:00
dependabot[bot]
6c36e09318 chore(deps): bump @nestjs/core in /sample/01-cats-app
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:36:31 +00:00
Kamil Mysliwiec
ef413d320f Merge pull request #11210 from nestjs/dependabot/npm_and_yarn/sample/22-graphql-prisma/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/22-graphql-prisma
2023-03-08 08:36:26 +01:00
dependabot[bot]
25d15695e8 chore(deps): bump @nestjs/core in /sample/06-mongoose
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:36:19 +00:00
dependabot[bot]
4dc2cbebec chore(deps): bump @nestjs/core in /sample/30-event-emitter
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:36:19 +00:00
dependabot[bot]
611ea05425 chore(deps): bump @nestjs/core in /sample/05-sql-typeorm
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:36:18 +00:00
Kamil Mysliwiec
6609ed0423 Merge pull request #11211 from nestjs/dependabot/npm_and_yarn/sample/02-gateways/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/02-gateways
2023-03-08 08:36:18 +01:00
dependabot[bot]
b1a2879646 chore(deps): bump @nestjs/core in /sample/19-auth-jwt
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:36:17 +00:00
dependabot[bot]
14ac406689 chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/10-fastify
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:36:14 +00:00
Kamil Mysliwiec
eb1c127a20 Merge pull request #11214 from nestjs/dependabot/npm_and_yarn/sample/09-babel-example/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/09-babel-example
2023-03-08 08:36:10 +01:00
dependabot[bot]
98df800c02 chore(deps): bump @nestjs/core in /sample/22-graphql-prisma
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:36:10 +00:00
dependabot[bot]
90eb0b47e0 chore(deps): bump @nestjs/core in /sample/02-gateways
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:35:57 +00:00
dependabot[bot]
01e847a6f3 chore(deps): bump @nestjs/core in /sample/09-babel-example
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:35:47 +00:00
dependabot[bot]
c31f0bdf50 chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/15-mvc
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:35:45 +00:00
Kamil Mysliwiec
58f07160d8 Merge pull request #11212 from nestjs/dependabot/npm_and_yarn/sample/08-webpack/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/08-webpack
2023-03-08 08:35:45 +01:00
dependabot[bot]
13f6eb496b chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/08-webpack
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:35:39 +00:00
Kamil Mysliwiec
c969008159 Merge pull request #11216 from nestjs/dependabot/npm_and_yarn/sample/17-mvc-fastify/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/17-mvc-fastify
2023-03-08 08:35:38 +01:00
Kamil Mysliwiec
8a9328a80f Merge pull request #11230 from nestjs/dependabot/npm_and_yarn/sample/16-gateways-ws/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/16-gateways-ws
2023-03-08 08:35:31 +01:00
dependabot[bot]
0905442138 chore(deps): bump @nestjs/core in /sample/17-mvc-fastify
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:35:31 +00:00
dependabot[bot]
63411a1874 chore(deps): bump @nestjs/core in /sample/16-gateways-ws
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:35:22 +00:00
Kamil Mysliwiec
0aef0c7ce4 Merge pull request #11213 from nestjs/dependabot/npm_and_yarn/sample/12-graphql-schema-first/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/12-graphql-schema-first
2023-03-08 08:35:10 +01:00
Kamil Mysliwiec
11603b1486 Merge pull request #11215 from nestjs/dependabot/npm_and_yarn/sample/28-sse/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/28-sse
2023-03-08 08:35:05 +01:00
Kamil Mysliwiec
831b99bac2 Merge pull request #11217 from nestjs/dependabot/npm_and_yarn/sample/20-cache/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/20-cache
2023-03-08 08:34:56 +01:00
dependabot[bot]
f0304895a2 chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/20-cache
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:34:51 +00:00
dependabot[bot]
951c9cdb66 chore(deps): bump @nestjs/core in /sample/12-graphql-schema-first
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:34:50 +00:00
Kamil Mysliwiec
c1a0437cc4 Merge pull request #11218 from nestjs/dependabot/npm_and_yarn/sample/32-graphql-federation-schema-first/gateway/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/32-graphql-federation-schema-first/gateway
2023-03-08 08:34:50 +01:00
Kamil Mysliwiec
76a1b15019 Merge pull request #11219 from nestjs/dependabot/npm_and_yarn/sample/24-serve-static/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/24-serve-static
2023-03-08 08:34:45 +01:00
dependabot[bot]
4591486e33 chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/28-sse
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:34:44 +00:00
dependabot[bot]
979726b8bf chore(deps): bump @nestjs/core in /sample/24-serve-static
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:34:39 +00:00
Kamil Mysliwiec
4a3fa7ccb3 Merge pull request #11220 from nestjs/dependabot/npm_and_yarn/sample/31-graphql-federation-code-first/users-application/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/31-graphql-federation-code-first/users-application
2023-03-08 08:34:38 +01:00
dependabot[bot]
b803b4f79d chore(deps): bump @nestjs/core
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:34:35 +00:00
Kamil Mysliwiec
56e1ac1e0c Merge pull request #11221 from nestjs/dependabot/npm_and_yarn/sample/32-graphql-federation-schema-first/posts-application/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/32-graphql-federation-schema-first/posts-application
2023-03-08 08:34:25 +01:00
Kamil Mysliwiec
6d605d30b9 Merge pull request #11222 from nestjs/dependabot/npm_and_yarn/sample/31-graphql-federation-code-first/gateway/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/31-graphql-federation-code-first/gateway
2023-03-08 08:34:19 +01:00
dependabot[bot]
3492e782a8 chore(deps): bump @nestjs/core
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:34:13 +00:00
Kamil Mysliwiec
23e6120dd5 Merge pull request #11223 from nestjs/dependabot/npm_and_yarn/sample/18-context/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/18-context
2023-03-08 08:34:13 +01:00
Kamil Mysliwiec
14e0064e23 Merge pull request #11224 from nestjs/dependabot/npm_and_yarn/sample/21-serializer/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/21-serializer
2023-03-08 08:34:04 +01:00
Kamil Mysliwiec
51684f761e Merge pull request #11225 from nestjs/dependabot/npm_and_yarn/sample/14-mongoose-base/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/14-mongoose-base
2023-03-08 08:33:57 +01:00
dependabot[bot]
e7bb3ad4b4 chore(deps): bump @nestjs/core
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:33:54 +00:00
Kamil Mysliwiec
3476a6aa3a Merge pull request #11226 from nestjs/dependabot/npm_and_yarn/sample/11-swagger/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/11-swagger
2023-03-08 08:33:51 +01:00
Kamil Mysliwiec
77132abd13 Merge pull request #11227 from nestjs/dependabot/npm_and_yarn/sample/33-graphql-mercurius/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/33-graphql-mercurius
2023-03-08 08:33:44 +01:00
Kamil Mysliwiec
d7e57e71aa Merge pull request #11228 from nestjs/dependabot/npm_and_yarn/sample/27-scheduling/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/27-scheduling
2023-03-08 08:33:37 +01:00
dependabot[bot]
d09a4a37a5 chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/11-swagger
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:33:32 +00:00
Kamil Mysliwiec
e188875abd Merge pull request #11229 from nestjs/dependabot/npm_and_yarn/sample/03-microservices/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/03-microservices
2023-03-08 08:33:32 +01:00
Kamil Mysliwiec
d30168fd7d Merge pull request #11231 from nestjs/dependabot/npm_and_yarn/sample/26-queues/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/26-queues
2023-03-08 08:33:24 +01:00
Kamil Mysliwiec
dd1b92169c Merge pull request #11232 from nestjs/dependabot/npm_and_yarn/sample/29-file-upload/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/29-file-upload
2023-03-08 08:33:17 +01:00
dependabot[bot]
396ca30110 chore(deps): bump @nestjs/core in /sample/03-microservices
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:33:16 +00:00
dependabot[bot]
4b1cd6ba34 chore(deps): bump @nestjs/core in /sample/27-scheduling
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:33:15 +00:00
dependabot[bot]
d9cffd7b02 chore(deps): bump @nestjs/core
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:32:59 +00:00
dependabot[bot]
862fd4561b chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/18-context
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:32:57 +00:00
dependabot[bot]
9856d3f226 chore(deps): bump @nestjs/core in /sample/14-mongoose-base
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:32:55 +00:00
dependabot[bot]
ad8a4d33f0 chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/26-queues
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:32:54 +00:00
dependabot[bot]
62c84614f3 chore(deps): bump @nestjs/core in /sample/21-serializer
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:32:53 +00:00
dependabot[bot]
7d4eed47a3 chore(deps): bump @nestjs/core in /sample/29-file-upload
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:32:51 +00:00
Kamil Mysliwiec
31f9b4e23f Merge pull request #11233 from nestjs/dependabot/npm_and_yarn/sample/13-mongo-typeorm/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/13-mongo-typeorm
2023-03-08 08:32:28 +01:00
dependabot[bot]
f11eca31d8 chore(deps): bump @nestjs/core in /sample/33-graphql-mercurius
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:32:27 +00:00
Kamil Mysliwiec
9a0d636dd4 Merge pull request #11234 from nestjs/dependabot/npm_and_yarn/sample/32-graphql-federation-schema-first/users-application/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/32-graphql-federation-schema-first/users-application
2023-03-08 08:32:21 +01:00
dependabot[bot]
f6ff13310b chore(deps): bump @nestjs/core
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:32:12 +00:00
dependabot[bot]
26597c175f chore(deps): bump @nestjs/core in /sample/13-mongo-typeorm
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 07:32:09 +00:00
Kamil Mysliwiec
ecfd433878 Merge pull request #11235 from nestjs/dependabot/npm_and_yarn/sample/23-graphql-code-first/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/23-graphql-code-first
2023-03-08 08:31:39 +01:00
Kamil Mysliwiec
7710285756 Merge pull request #11236 from nestjs/dependabot/npm_and_yarn/sample/04-grpc/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/04-grpc
2023-03-08 08:31:33 +01:00
Kamil Mysliwiec
9a046ecad5 Merge pull request #11237 from nestjs/dependabot/npm_and_yarn/sample/07-sequelize/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/07-sequelize
2023-03-08 08:31:29 +01:00
Kamil Mysliwiec
4dfbeea57c Merge pull request #11238 from nestjs/dependabot/npm_and_yarn/sample/31-graphql-federation-code-first/posts-application/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/31-graphql-federation-code-first/posts-application
2023-03-08 08:31:20 +01:00
Kamil Mysliwiec
17987d0d6a Merge pull request #11239 from nestjs/dependabot/npm_and_yarn/sample/25-dynamic-modules/nestjs/core-9.0.5
chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/25-dynamic-modules
2023-03-08 08:31:16 +01:00
Kamil Mysliwiec
efb61c9be8 Merge pull request #11201 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.8.12
chore(deps-dev): bump @grpc/grpc-js from 1.8.11 to 1.8.12
2023-03-08 08:30:59 +01:00
dependabot[bot]
e879b98395 chore(deps-dev): bump @grpc/grpc-js from 1.8.11 to 1.8.12
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.11 to 1.8.12.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.11...@grpc/grpc-js@1.8.12)

---
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-03-08 07:29:53 +00:00
Kamil Mysliwiec
cb06ff9e20 Merge pull request #11202 from nestjs/dependabot/npm_and_yarn/mongoose-6.10.2
chore(deps-dev): bump mongoose from 6.10.1 to 6.10.2
2023-03-08 08:29:24 +01:00
Kamil Mysliwiec
4b21f88a41 Merge pull request #11200 from nestjs/dependabot/npm_and_yarn/graphql-tools-8.3.19
chore(deps-dev): bump graphql-tools from 8.3.18 to 8.3.19
2023-03-08 08:28:14 +01:00
Kamil Mysliwiec
e3d2872d9c Merge pull request #11199 from nestjs/dependabot/npm_and_yarn/eslint-config-prettier-8.7.0
chore(deps-dev): bump eslint-config-prettier from 8.6.0 to 8.7.0
2023-03-08 08:27:44 +01:00
Kamil Mysliwiec
2bcb124685 Merge pull request #11198 from nestjs/dependabot/npm_and_yarn/fastify/multipart-7.4.2
chore(deps-dev): bump @fastify/multipart from 7.4.1 to 7.4.2
2023-03-08 08:27:36 +01:00
Kamil Mysliwiec
0c6be4fcd5 Merge pull request #11197 from nestjs/dependabot/npm_and_yarn/fastify-4.14.1
chore(deps): bump fastify from 4.14.0 to 4.14.1
2023-03-08 08:27:15 +01:00
dependabot[bot]
178c3e656a chore(deps): bump @nestjs/core in /sample/25-dynamic-modules
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 03:14:44 +00:00
dependabot[bot]
da03fd1fa7 chore(deps): bump @nestjs/core
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 03:05:38 +00:00
dependabot[bot]
fb8b6a819d chore(deps): bump @nestjs/core in /sample/07-sequelize
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 03:05:22 +00:00
dependabot[bot]
70e92344fb chore(deps): bump @nestjs/core from 9.0.1 to 9.0.5 in /sample/04-grpc
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 03:05:04 +00:00
dependabot[bot]
bdb6ba0a23 chore(deps): bump @nestjs/core in /sample/23-graphql-code-first
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 9.0.1 to 9.0.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v9.0.1...v9.0.5)

---
updated-dependencies:
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 03:04:59 +00:00
dependabot[bot]
aa3fb3b677 chore(deps-dev): bump mongoose from 6.10.1 to 6.10.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.10.1 to 6.10.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/6.10.1...6.10.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-03-08 01:05:45 +00:00
dependabot[bot]
a731f0d5bc chore(deps-dev): bump graphql-tools from 8.3.18 to 8.3.19
Bumps [graphql-tools](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/graphql-tools) from 8.3.18 to 8.3.19.
- [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@8.3.19/packages/graphql-tools)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 01:10:38 +00:00
dependabot[bot]
3c5fce12ec chore(deps-dev): bump eslint-config-prettier from 8.6.0 to 8.7.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.6.0 to 8.7.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.6.0...v8.7.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-03-07 01:08:07 +00:00
dependabot[bot]
7cfb23128f chore(deps-dev): bump @fastify/multipart from 7.4.1 to 7.4.2
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 7.4.1 to 7.4.2.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v7.4.1...v7.4.2)

---
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-03-07 01:05:45 +00:00
dependabot[bot]
b91677a027 chore(deps): bump fastify from 4.14.0 to 4.14.1
Bumps [fastify](https://github.com/fastify/fastify) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.14.0...v4.14.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 01:01:01 +00:00
Kamil Mysliwiec
c3abc94994 Merge pull request #11180 from nestjs/dependabot/npm_and_yarn/apollo-server-core-3.12.0
chore(deps-dev): bump apollo-server-core from 3.11.1 to 3.12.0
2023-03-06 08:43:52 +01:00
dependabot[bot]
dd73f1e074 chore(deps-dev): bump apollo-server-core from 3.11.1 to 3.12.0
Bumps [apollo-server-core](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-core) from 3.11.1 to 3.12.0.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/apollo-server-core@3.12.0/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server-core@3.12.0/packages/apollo-server-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 07:31:46 +00:00
Kamil Mysliwiec
c3f9270cc2 Merge pull request #11181 from nestjs/dependabot/npm_and_yarn/nodemon-2.0.21
chore(deps-dev): bump nodemon from 2.0.20 to 2.0.21
2023-03-06 08:29:41 +01:00
Kamil Mysliwiec
32751a7af0 Merge pull request #11182 from nestjs/dependabot/npm_and_yarn/apollo-server-express-3.12.0
chore(deps-dev): bump apollo-server-express from 3.11.1 to 3.12.0
2023-03-06 08:29:34 +01:00
dependabot[bot]
9939b91bd8 chore(deps-dev): bump nodemon from 2.0.20 to 2.0.21
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.20 to 2.0.21.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.20...v2.0.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 07:29:34 +00:00
Kamil Mysliwiec
baf8e38610 Merge pull request #11191 from nestjs/dependabot/npm_and_yarn/fastify-4.14.0
chore(deps): bump fastify from 4.13.0 to 4.14.0
2023-03-06 08:28:55 +01:00
Kamil Mysliwiec
517152ddaf Merge pull request #11192 from nestjs/dependabot/npm_and_yarn/mongoose-6.10.1
chore(deps-dev): bump mongoose from 6.10.0 to 6.10.1
2023-03-06 08:27:35 +01:00
Kamil Mysliwiec
c7b08fc26e Merge pull request #11193 from nestjs/dependabot/npm_and_yarn/types/node-18.14.6
chore(deps-dev): bump @types/node from 18.14.2 to 18.14.6
2023-03-06 08:27:24 +01:00
Kamil Mysliwiec
161690c7ac Merge pull request #11194 from nestjs/dependabot/npm_and_yarn/mysql2-3.2.0
chore(deps-dev): bump mysql2 from 3.1.2 to 3.2.0
2023-03-06 08:27:11 +01:00
dependabot[bot]
9eadbe6e0e chore(deps-dev): bump mysql2 from 3.1.2 to 3.2.0
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.1.2 to 3.2.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.1.2...v3.2.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-03-06 01:17:11 +00:00
dependabot[bot]
e0b3c3976e chore(deps-dev): bump @types/node from 18.14.2 to 18.14.6
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.14.2 to 18.14.6.
- [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-03-06 01:12:56 +00:00
dependabot[bot]
11937ff0e2 chore(deps-dev): bump mongoose from 6.10.0 to 6.10.1
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.10.0 to 6.10.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/6.10.0...6.10.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-03-06 01:10:24 +00:00
dependabot[bot]
994c21511c chore(deps): bump fastify from 4.13.0 to 4.14.0
Bumps [fastify](https://github.com/fastify/fastify) from 4.13.0 to 4.14.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.13.0...v4.14.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-03-06 01:05:07 +00:00
codytseng
081650beed fix(ws): mount multi ws servers on different paths 2023-03-04 13:35:15 +08:00
codytseng
6f8f111397 fix(ws): filter non nil result 2023-03-03 14:48:14 +08:00
Micael Levi L. Cavalcante
2bcf434c24 test(core): add test for when the value of value provider is undefined 2023-03-02 21:39:33 -04:00
Micael Levi L. Cavalcante
4cddcfb492 fix(core): false-negative value provider not registered error
when the value of the provider is `undefined`
2023-03-02 21:39:30 -04:00
dependabot[bot]
d6392f61bc chore(deps-dev): bump apollo-server-express from 3.11.1 to 3.12.0
Bumps [apollo-server-express](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-express) from 3.11.1 to 3.12.0.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/apollo-server-express@3.12.0/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server-express@3.12.0/packages/apollo-server-express)

---
updated-dependencies:
- dependency-name: apollo-server-express
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 01:15:14 +00:00
Kamil Mysliwiec
06b796098d Merge pull request #11177 from jongwooo/docs/fix-typo-on-issue-template
docs: fix typo
2023-03-02 08:13:12 +01:00
Jongwoo Han
6b456a8cce docs: fix typo 2023-03-02 06:49:33 +09:00
Kamil Mysliwiec
45f78426a6 Merge pull request #11171 from nestjs/dependabot/npm_and_yarn/kafkajs-2.2.4
chore(deps-dev): bump kafkajs from 2.2.3 to 2.2.4
2023-02-28 10:16:05 +01:00
dependabot[bot]
3e04a71449 chore(deps-dev): bump kafkajs from 2.2.3 to 2.2.4
Bumps [kafkajs](https://github.com/tulios/kafkajs) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/tulios/kafkajs/releases)
- [Changelog](https://github.com/tulios/kafkajs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tulios/kafkajs/compare/v2.2.3...v2.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 01:07:56 +00:00
Thomas Ghysels
a804bf4509 Add test case for ParseArrayPipe that doesn't work as expected 2023-02-27 14:07:11 +01:00
Kamil Mysliwiec
1e60955c01 Merge pull request #11161 from nestjs/dependabot/npm_and_yarn/sample/07-sequelize/sequelize-6.29.0
chore(deps): bump sequelize from 6.28.2 to 6.29.0 in /sample/07-sequelize
2023-02-27 08:29:59 +01:00
Kamil Mysliwiec
b276022744 Merge pull request #11164 from nestjs/dependabot/npm_and_yarn/core-js-3.29.0
chore(deps-dev): bump core-js from 3.28.0 to 3.29.0
2023-02-27 08:29:49 +01:00
Kamil Mysliwiec
5e92786997 Merge pull request #11165 from nestjs/dependabot/npm_and_yarn/amqp-connection-manager-4.1.11
chore(deps-dev): bump amqp-connection-manager from 4.1.10 to 4.1.11
2023-02-27 08:29:43 +01:00
Kamil Mysliwiec
d9a97562d5 Merge pull request #11166 from nestjs/dependabot/npm_and_yarn/types/node-18.14.2
chore(deps-dev): bump @types/node from 18.14.1 to 18.14.2
2023-02-27 08:29:37 +01:00
Kamil Mysliwiec
2e3cc0abd9 Merge pull request #11167 from nestjs/dependabot/npm_and_yarn/redis-4.6.5
chore(deps-dev): bump redis from 4.6.4 to 4.6.5
2023-02-27 08:29:32 +01:00
Kamil Mysliwiec
8a1df1fb10 Merge pull request #11168 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.8.11
chore(deps-dev): bump @grpc/grpc-js from 1.8.10 to 1.8.11
2023-02-27 08:29:21 +01:00
dependabot[bot]
4ee9e63656 chore(deps-dev): bump @grpc/grpc-js from 1.8.10 to 1.8.11
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.10 to 1.8.11.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.10...@grpc/grpc-js@1.8.11)

---
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-02-27 01:18:10 +00:00
dependabot[bot]
94aad126e2 chore(deps-dev): bump redis from 4.6.4 to 4.6.5
Bumps [redis](https://github.com/redis/node-redis) from 4.6.4 to 4.6.5.
- [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.4...redis@4.6.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 01:16:31 +00:00
dependabot[bot]
60c5fe0fa0 chore(deps-dev): bump @types/node from 18.14.1 to 18.14.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.14.1 to 18.14.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-02-27 01:15:10 +00:00
dependabot[bot]
4645756066 chore(deps-dev): bump amqp-connection-manager from 4.1.10 to 4.1.11
Bumps [amqp-connection-manager](https://github.com/jwalton/node-amqp-connection-manager) from 4.1.10 to 4.1.11.
- [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.10...v4.1.11)

---
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-02-27 01:08:52 +00:00
dependabot[bot]
e62814c4e5 chore(deps-dev): bump core-js from 3.28.0 to 3.29.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.28.0 to 3.29.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.29.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-02-27 01:05:40 +00:00
dependabot[bot]
c311a6c40d chore(deps): bump sequelize in /sample/07-sequelize
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.28.2 to 6.29.0.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v6.28.2...v6.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 01:33:35 +00:00
Kamil Mysliwiec
bd9998590f Merge pull request #11160 from stevejkang/fix-typo-on-issue-template
docs: fix typo
2023-02-24 14:39:22 +01:00
stevejkang
ac89fc64ce docs: fix typo 2023-02-24 22:25:17 +09:00
Kamil Mysliwiec
5dcb56bd7c Merge pull request #11158 from nestjs/dependabot/npm_and_yarn/cache-manager-5.1.7
chore(deps-dev): bump cache-manager from 5.1.6 to 5.1.7
2023-02-24 08:27:39 +01:00
Kamil Mysliwiec
bf71c17a20 Merge pull request #11159 from nestjs/dependabot/npm_and_yarn/fast-json-stringify-5.6.2
chore(deps): bump fast-json-stringify from 5.6.1 to 5.6.2
2023-02-24 08:27:33 +01:00
Kamil Mysliwiec
c457a970a0 Merge pull request #11157 from nestjs/dependabot/npm_and_yarn/types/node-18.14.1
chore(deps-dev): bump @types/node from 18.14.0 to 18.14.1
2023-02-24 08:27:23 +01:00
dependabot[bot]
4f8fd5f0ea chore(deps): bump fast-json-stringify from 5.6.1 to 5.6.2
Bumps [fast-json-stringify](https://github.com/fastify/fast-json-stringify) from 5.6.1 to 5.6.2.
- [Release notes](https://github.com/fastify/fast-json-stringify/releases)
- [Commits](https://github.com/fastify/fast-json-stringify/compare/v5.6.1...v5.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 00:20:11 +00:00
dependabot[bot]
dd99f1814d chore(deps-dev): bump cache-manager from 5.1.6 to 5.1.7
Bumps [cache-manager](https://github.com/node-cache-manager/node-cache-manager) from 5.1.6 to 5.1.7.
- [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.1.6...5.1.7)

---
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-02-24 00:19:17 +00:00
dependabot[bot]
455ecc6659 chore(deps-dev): bump @types/node from 18.14.0 to 18.14.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.14.0 to 18.14.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-02-24 00:13:50 +00:00
nomaxg
d771c52264 fix(microservices): Correctly use ConnectionOptions
Signed-off-by: nomaxg <noahgolub2@gmail.com>
2023-02-23 11:25:38 -05:00
Kamil Mysliwiec
54bf3fd43f Merge pull request #11147 from nestjs/dependabot/npm_and_yarn/nats-2.12.1
chore(deps-dev): bump nats from 2.12.0 to 2.12.1
2023-02-23 10:49:46 +01:00
Kamil Mysliwiec
9d0d7b1675 Merge pull request #11148 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.8.10
chore(deps-dev): bump @grpc/grpc-js from 1.8.9 to 1.8.10
2023-02-23 10:49:41 +01:00
Kamil Mysliwiec
3a306bb3e9 Merge pull request #11150 from nestjs/dependabot/npm_and_yarn/body-parser-1.20.2
chore(deps): bump body-parser from 1.20.1 to 1.20.2
2023-02-23 10:49:36 +01:00
Kamil Mysliwiec
7fc35588d0 Merge pull request #11151 from nestjs/dependabot/npm_and_yarn/mongoose-6.10.0
chore(deps-dev): bump mongoose from 6.9.2 to 6.10.0
2023-02-23 10:49:30 +01:00
Kamil Mysliwiec
ac9c28fcfe Merge pull request #11152 from nestjs/dependabot/npm_and_yarn/fast-json-stringify-5.6.1
chore(deps): bump fast-json-stringify from 5.5.0 to 5.6.1
2023-02-23 10:49:25 +01:00
Kamil Mysliwiec
bfd6becb80 Merge pull request #11153 from nestjs/dependabot/npm_and_yarn/sample/07-sequelize/sequelize-6.28.2
chore(deps): bump sequelize from 6.21.2 to 6.28.2 in /sample/07-sequelize
2023-02-23 10:49:17 +01:00
dependabot[bot]
7e80904159 chore(deps): bump sequelize in /sample/07-sequelize
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.21.2 to 6.28.2.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v6.21.2...v6.28.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 04:09:23 +00:00
dependabot[bot]
9cb92bb2e2 chore(deps): bump fast-json-stringify from 5.5.0 to 5.6.1
Bumps [fast-json-stringify](https://github.com/fastify/fast-json-stringify) from 5.5.0 to 5.6.1.
- [Release notes](https://github.com/fastify/fast-json-stringify/releases)
- [Commits](https://github.com/fastify/fast-json-stringify/compare/v5.5.0...v5.6.1)

---
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-02-23 00:22:51 +00:00
dependabot[bot]
68618c456d chore(deps-dev): bump mongoose from 6.9.2 to 6.10.0
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.9.2 to 6.10.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/6.9.2...6.10.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-02-23 00:20:14 +00:00
dependabot[bot]
3ea485f158 chore(deps): bump body-parser from 1.20.1 to 1.20.2
Bumps [body-parser](https://github.com/expressjs/body-parser) from 1.20.1 to 1.20.2.
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.1...1.20.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 00:17:39 +00:00
dependabot[bot]
006233be64 chore(deps-dev): bump @grpc/grpc-js from 1.8.9 to 1.8.10
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.9 to 1.8.10.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.9...@grpc/grpc-js@1.8.10)

---
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-02-22 01:25:58 +00:00
dependabot[bot]
c0b3f7ff72 chore(deps-dev): bump nats from 2.12.0 to 2.12.1
Bumps [nats](https://github.com/nats-io/nats.js) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/nats-io/nats.js/releases)
- [Commits](https://github.com/nats-io/nats.js/compare/v2.12.0...v2.12.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-02-22 00:28:30 +00:00
Kamil Mysliwiec
302f08dc52 Merge pull request #11135 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-17.4.4
chore(deps-dev): bump @commitlint/config-angular from 17.4.3 to 17.4.4
2023-02-21 13:15:20 +01:00
dependabot[bot]
4b1b3b4774 chore(deps-dev): bump @commitlint/config-angular from 17.4.3 to 17.4.4
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 17.4.3 to 17.4.4.
- [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.4.4/@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-02-21 07:17:53 +00:00
Kamil Mysliwiec
5f26def84c Merge pull request #11136 from nestjs/dependabot/npm_and_yarn/commitlint/cli-17.4.4
chore(deps-dev): bump @commitlint/cli from 17.4.3 to 17.4.4
2023-02-21 08:15:09 +01:00
Kamil Mysliwiec
983aaf58f0 Merge pull request #11137 from nestjs/dependabot/npm_and_yarn/types/node-18.14.0
chore(deps-dev): bump @types/node from 18.13.0 to 18.14.0
2023-02-21 08:15:04 +01:00
Kamil Mysliwiec
30193ceab8 Merge pull request #11143 from nestjs/dependabot/npm_and_yarn/socket.io-4.6.1
chore(deps): bump socket.io from 4.6.0 to 4.6.1
2023-02-21 08:14:58 +01:00
Kamil Mysliwiec
a183b7840e Merge pull request #11144 from nestjs/dependabot/npm_and_yarn/socket.io-client-4.6.1
chore(deps-dev): bump socket.io-client from 4.6.0 to 4.6.1
2023-02-21 08:14:43 +01:00
dependabot[bot]
4329971658 chore(deps-dev): bump socket.io-client from 4.6.0 to 4.6.1
Bumps [socket.io-client](https://github.com/socketio/socket.io-client) from 4.6.0 to 4.6.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.6.0...4.6.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-02-21 01:11:37 +00:00
dependabot[bot]
c704308796 chore(deps): bump socket.io from 4.6.0 to 4.6.1
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.6.0 to 4.6.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.6.0...4.6.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-02-21 01:07:54 +00: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
dependabot[bot]
b2769d36e2 chore(deps-dev): bump @types/node from 18.13.0 to 18.14.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.13.0 to 18.14.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-02-20 01:12:04 +00:00
dependabot[bot]
574cbb01eb chore(deps-dev): bump @commitlint/cli from 17.4.3 to 17.4.4
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.4.3 to 17.4.4.
- [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.4.4/@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-02-20 01:09:21 +00:00
Jan Krueger
7ef71f3f9b fix(common): fix cache-manager version detection running every request
move cache-manager version detection to constructor
2023-02-19 21:48:33 +01:00
Jan Krueger
e7b38a0dcd refactor(common): refactor cache-manager version detection
refactor cache-manager version detection in CacheInterceptor to be lazy
2023-02-19 21:18:45 +01:00
Jan Krüger
63814af6e6 Update packages/common/cache/interceptors/cache.interceptor.ts
Co-authored-by: Micael Levi L. Cavalcante <mllc@icomp.ufam.edu.br>
2023-02-19 18:24:17 +01:00
Jan Krueger
e151c47839 fix(common): fix cache ttl not beeing respected 2023-02-17 17:01:32 +01:00
Kamil Mysliwiec
1cc4f101a2 Merge pull request #11127 from nestjs/dependabot/npm_and_yarn/sample/33-graphql-mercurius/undici-5.19.1
chore(deps): bump undici from 5.9.1 to 5.19.1 in /sample/33-graphql-mercurius
2023-02-17 08:53:16 +01:00
Kamil Mysliwiec
87d1be8c9b Merge pull request #11128 from nestjs/dependabot/npm_and_yarn/mongoose-6.9.2
chore(deps-dev): bump mongoose from 6.9.1 to 6.9.2
2023-02-17 08:52:48 +01:00
dependabot[bot]
46239d9c76 chore(deps-dev): bump mongoose from 6.9.1 to 6.9.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.9.1 to 6.9.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/6.9.1...6.9.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-02-17 01:06:07 +00:00
dependabot[bot]
ca2bbfef4b chore(deps): bump undici in /sample/33-graphql-mercurius
Bumps [undici](https://github.com/nodejs/undici) from 5.9.1 to 5.19.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.9.1...v5.19.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 23:34:27 +00:00
Kamil Mysliwiec
ef3b5d743e Merge pull request #11120 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.8.9
chore(deps-dev): bump @grpc/grpc-js from 1.8.8 to 1.8.9
2023-02-16 08:56:13 +01:00
Kamil Mysliwiec
936cb9615a Merge pull request #11121 from nestjs/dependabot/npm_and_yarn/light-my-request-5.9.1
chore(deps): bump light-my-request from 5.8.0 to 5.9.1
2023-02-16 08:55:05 +01:00
dependabot[bot]
bd69f17a8c chore(deps): bump light-my-request from 5.8.0 to 5.9.1
Bumps [light-my-request](https://github.com/fastify/light-my-request) from 5.8.0 to 5.9.1.
- [Release notes](https://github.com/fastify/light-my-request/releases)
- [Commits](https://github.com/fastify/light-my-request/compare/v5.8.0...v5.9.1)

---
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-02-16 01:10:45 +00:00
dependabot[bot]
ed9c4d495e chore(deps-dev): bump @grpc/grpc-js from 1.8.8 to 1.8.9
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.8 to 1.8.9.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.8...@grpc/grpc-js@1.8.9)

---
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-02-16 01:07:25 +00:00
Rafael
df74cde2a0 feat(core): add support to named groups 2023-02-15 15:18:49 -03:00
Kamil Mysliwiec
176ec4ef00 Merge pull request #11113 from nestjs/dependabot/npm_and_yarn/fastify/multipart-7.4.1
chore(deps-dev): bump @fastify/multipart from 7.4.0 to 7.4.1
2023-02-15 12:59:41 +01: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
dependabot[bot]
658c30508c chore(deps-dev): bump @fastify/multipart from 7.4.0 to 7.4.1
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 7.4.0 to 7.4.1.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v7.4.0...v7.4.1)

---
updated-dependencies:
- dependency-name: "@fastify/multipart"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 22:24:55 +00:00
Kamil Myśliwiec
98a2802c00 chore(@nestjs) publish v9.3.9 release 2023-02-14 11:19:36 +01:00
Kamil Mysliwiec
4a7a61a1b0 Merge pull request #11109 from nestjs/dependabot/npm_and_yarn/commitlint/cli-17.4.3
chore(deps-dev): bump @commitlint/cli from 17.4.2 to 17.4.3
2023-02-14 09:26:33 +01:00
dependabot[bot]
f907ae82f5 chore(deps-dev): bump @commitlint/cli from 17.4.2 to 17.4.3
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.4.2 to 17.4.3.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.4.3/@commitlint/cli)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 08:24:29 +00:00
Kamil Mysliwiec
ba38eda74c Merge pull request #11106 from nestjs/dependabot/npm_and_yarn/core-js-3.28.0
chore(deps-dev): bump core-js from 3.27.2 to 3.28.0
2023-02-14 09:19:05 +01:00
Kamil Mysliwiec
fe171fda29 Merge pull request #11107 from nestjs/dependabot/npm_and_yarn/ws-8.12.1
chore(deps): bump ws from 8.12.0 to 8.12.1
2023-02-14 09:18:59 +01:00
Kamil Mysliwiec
1689ae2fc4 Merge pull request #11108 from nestjs/dependabot/npm_and_yarn/grpc/proto-loader-0.7.5
chore(deps-dev): bump @grpc/proto-loader from 0.7.4 to 0.7.5
2023-02-14 09:18:52 +01:00
Kamil Mysliwiec
6ecb213b9b Merge pull request #11110 from nestjs/dependabot/npm_and_yarn/lint-staged-13.1.2
chore(deps-dev): bump lint-staged from 13.1.1 to 13.1.2
2023-02-14 09:18:39 +01:00
Kamil Mysliwiec
38a2c7005c Merge pull request #11111 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-17.4.3
chore(deps-dev): bump @commitlint/config-angular from 17.4.2 to 17.4.3
2023-02-14 09:18:33 +01:00
dependabot[bot]
e03aca6221 chore(deps-dev): bump @commitlint/config-angular from 17.4.2 to 17.4.3
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 17.4.2 to 17.4.3.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-angular/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.4.3/@commitlint/config-angular)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 01:36:26 +00:00
dependabot[bot]
fecf2db872 chore(deps-dev): bump lint-staged from 13.1.1 to 13.1.2
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v13.1.1...v13.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 01:35:58 +00:00
dependabot[bot]
26b4eae5fd chore(deps-dev): bump @grpc/proto-loader from 0.7.4 to 0.7.5
Bumps [@grpc/proto-loader](https://github.com/grpc/grpc-node) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/proto-loader@0.7.4...@grpc/proto-loader@0.7.5)

---
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-02-14 01:34:33 +00:00
dependabot[bot]
d5c6234ad6 chore(deps): bump ws from 8.12.0 to 8.12.1
Bumps [ws](https://github.com/websockets/ws) from 8.12.0 to 8.12.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.12.0...8.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 01:31:46 +00:00
dependabot[bot]
06aed0eca5 chore(deps-dev): bump core-js from 3.27.2 to 3.28.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.27.2 to 3.28.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.28.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-02-14 01:14:45 +00:00
Kamil Myśliwiec
b9a9da31aa test(core): fix init time tests 2023-02-13 15:49:38 +01:00
Kamil Myśliwiec
3c4ff60679 feat(core): add init time for analytics purposes 2023-02-13 15:15:17 +01:00
Kamil Mysliwiec
dbf7f36d91 Merge pull request #11102 from nestjs/dependabot/npm_and_yarn/ioredis-5.3.1
chore(deps-dev): bump ioredis from 5.3.0 to 5.3.1
2023-02-13 08:25:14 +01:00
Kamil Mysliwiec
1af75d750f Merge pull request #11103 from nestjs/dependabot/npm_and_yarn/fastify/static-6.9.0
chore(deps-dev): bump @fastify/static from 6.8.0 to 6.9.0
2023-02-13 08:25:08 +01:00
Eugen Kuksa
aaaa1b7af1 feat(core): expose external-context-creator
Allow third party packages to register handlers (like controller
methods) that pass through the whole pipeline of interceptors, pipes,
guards, filters and param decorators while still being compliant with
node16 moduleResolution, where imports like

```typescript
import {
  ExternalContextCreator,
  ParamsFactory,
} from "@nestjs/core/helpers/external-context-creator";
```

are not allowed.

No tests are added here because functionality is not changed.
2023-02-13 07:33:22 +01:00
dependabot[bot]
a5b2825008 chore(deps-dev): bump @fastify/static from 6.8.0 to 6.9.0
Bumps [@fastify/static](https://github.com/fastify/fastify-static) from 6.8.0 to 6.9.0.
- [Release notes](https://github.com/fastify/fastify-static/releases)
- [Commits](https://github.com/fastify/fastify-static/compare/v6.8.0...v6.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 01:15:03 +00:00
dependabot[bot]
504e68142e chore(deps-dev): bump ioredis from 5.3.0 to 5.3.1
Bumps [ioredis](https://github.com/luin/ioredis) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.3.0...v5.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 01:06:48 +00:00
Kamil Mysliwiec
5735640413 Merge pull request #11067 from Tony133/chore/mark-facing-apis-public-microservices
chore(microservices): mark facing apis public in microservices
2023-02-12 18:22:20 +01:00
Tony133
b1398ec4c2 chore(microservices): mark facing apis public 2023-02-12 11:25:06 +01:00
Antonio Tripodi
2251363856 Merge branch 'nestjs:master' into chore/mark-facing-apis-public-microservices 2023-02-12 10:41:50 +01:00
Kamil Mysliwiec
f2b26981b5 Merge pull request #11096 from Lioness100/master
docs: fix typos
2023-02-11 10:19:07 +01:00
Lioness100
fda5fff1cd docs: fix typos 2023-02-10 21:39:29 -05:00
Kamil Myśliwiec
8aa042d937 chore(@nestjs) publish v9.3.8 release 2023-02-10 11:34:26 +01:00
Kamil Myśliwiec
e54b691eb5 test(core): update tests to include entry providers 2023-02-10 11:30:47 +01:00
Kamil Mysliwiec
786edcda72 Merge pull request #11091 from nestjs/dependabot/npm_and_yarn/fastify-4.13.0
chore(deps): bump fastify from 4.12.0 to 4.13.0
2023-02-10 11:08:54 +01:00
Kamil Mysliwiec
b497e0ba19 Merge pull request #11092 from nestjs/dependabot/npm_and_yarn/nats-2.12.0
chore(deps-dev): bump nats from 2.11.0 to 2.12.0
2023-02-10 11:08:39 +01:00
Kamil Myśliwiec
18a30cf1ac Merge branch 'master' of https://github.com/nestjs/nest 2023-02-10 10:59:51 +01:00
Kamil Myśliwiec
7d92d33614 fix(core): pass enhancer subtype for custom providers 2023-02-10 10:59:03 +01:00
Kamil Myśliwiec
a2b3e1b727 feat(core): introduce entry providers concept 2023-02-10 10:58:37 +01:00
dependabot[bot]
29c8022161 chore(deps-dev): bump nats from 2.11.0 to 2.12.0
Bumps [nats](https://github.com/nats-io/nats.js) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/nats-io/nats.js/releases)
- [Commits](https://github.com/nats-io/nats.js/compare/v2.11.0...v2.12.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-02-10 01:05:33 +00:00
dependabot[bot]
9b9fe4494f chore(deps): bump fastify from 4.12.0 to 4.13.0
Bumps [fastify](https://github.com/fastify/fastify) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.12.0...v4.13.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-02-10 01:01:54 +00:00
Mohammad Reza Momeni
0b847e75bc chore: remove | {} 2023-02-09 16:14:57 +03:30
Tony133
0df4dcafa2 chore(microservices): mark facing apis public in microservices 2023-02-09 10:33:27 +01:00
Kamil Mysliwiec
88fa8ee647 Merge pull request #11087 from nestjs/dependabot/npm_and_yarn/mysql2-3.1.2
chore(deps-dev): bump mysql2 from 3.1.1 to 3.1.2
2023-02-09 08:46:27 +01:00
Kamil Mysliwiec
b0b433bec9 Merge pull request #11088 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.8.8
chore(deps-dev): bump @grpc/grpc-js from 1.8.7 to 1.8.8
2023-02-09 08:46:19 +01:00
Kamil Mysliwiec
2f730ffcb6 Merge pull request #11089 from nestjs/dependabot/npm_and_yarn/prettier-2.8.4
chore(deps-dev): bump prettier from 2.8.3 to 2.8.4
2023-02-09 08:44:42 +01:00
dependabot[bot]
13f4c89fd7 chore(deps-dev): bump prettier from 2.8.3 to 2.8.4
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.3 to 2.8.4.
- [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.3...2.8.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 00:16:07 +00:00
dependabot[bot]
11b39d3366 chore(deps-dev): bump @grpc/grpc-js from 1.8.7 to 1.8.8
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.7 to 1.8.8.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.7...@grpc/grpc-js@1.8.8)

---
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-02-09 00:08:58 +00:00
dependabot[bot]
c51783e1ab chore(deps-dev): bump mysql2 from 3.1.1 to 3.1.2
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.1.1 to 3.1.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.1.1...v3.1.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-02-09 00:05:39 +00:00
Kamil Myśliwiec
7a90b7c9b4 chore: update package.json version 2023-02-08 14:37:37 +01:00
Kamil Myśliwiec
206bbd6471 chore(@nestjs) publish v9.3.7 release 2023-02-08 14:36:42 +01:00
Kamil Myśliwiec
be5434951d fix(core): fix deterministic uuid registry 2023-02-08 14:34:54 +01:00
Kamil Myśliwiec
6d1e9aff98 chore(@nestjs) publish v9.3.6 release 2023-02-08 13:09:30 +01:00
Kamil Myśliwiec
ec8ab90c58 chore: revert package.json change 2023-02-08 12:58:42 +01:00
Kamil Myśliwiec
033d97839f feat(core): use hashcode for uuid registry 2023-02-08 12:15:21 +01:00
Kamil Myśliwiec
f88dff24d9 Merge branch 'master' of https://github.com/nestjs/nest 2023-02-08 11:03:34 +01:00
Kamil Myśliwiec
5a110c453d test: update snapshots 2023-02-08 11:03:25 +01:00
Kamil Mysliwiec
426682b3d8 Merge pull request #11058 from vizio360/testForStaticityWhenCircularDependency
test(core):  added tests for checking durability and staticity calculation when circular dependency
2023-02-08 10:48:47 +01:00
Kamil Myśliwiec
bf5b7ad394 feat(core): initialize on preview allowlist 2023-02-08 10:42:52 +01:00
Simone Vicentini
ce9e9a65f4 test(core): Added tests
Added new tests for checking durability when circula dependency present
2023-02-08 08:38:57 +00:00
Kamil Mysliwiec
a64b9cc9cb Merge pull request #11073 from H4ad/fix/issue-with-xxhash
fix(core): removed xxhash to fix #11071
2023-02-08 09:08:32 +01:00
Kamil Mysliwiec
d8c8f5be43 Merge pull request #11075 from nestjs/dependabot/npm_and_yarn/nestjs/graphql-10.2.0
chore(deps-dev): bump @nestjs/graphql from 10.1.7 to 10.2.0
2023-02-08 09:07:36 +01:00
Kamil Mysliwiec
a7b2bf5638 Merge pull request #11081 from jmcdo29/fix/logger-error-parameters
fix(common): account for when stack is undefined in logger
2023-02-08 09:07:24 +01:00
dependabot[bot]
40471bf020 chore(deps-dev): bump @nestjs/graphql from 10.1.7 to 10.2.0
Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 10.1.7 to 10.2.0.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v10.1.7...v10.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 07:59:12 +00:00
Kamil Mysliwiec
a4a8561ce5 Merge pull request #11076 from nestjs/dependabot/npm_and_yarn/mysql2-3.1.1
chore(deps-dev): bump mysql2 from 3.1.0 to 3.1.1
2023-02-08 08:56:17 +01:00
Kamil Mysliwiec
90ce5ae2b5 Merge pull request #11077 from nestjs/dependabot/npm_and_yarn/nestjs/apollo-10.2.0
chore(deps-dev): bump @nestjs/apollo from 10.1.7 to 10.2.0
2023-02-08 08:56:08 +01:00
Kamil Mysliwiec
036a05c021 Merge pull request #11078 from nestjs/dependabot/npm_and_yarn/typeorm-0.3.12
chore(deps-dev): bump typeorm from 0.3.11 to 0.3.12
2023-02-08 08:55:50 +01:00
Kamil Mysliwiec
ca0d0c2c65 Merge pull request #11079 from nestjs/dependabot/npm_and_yarn/types/node-18.13.0
chore(deps-dev): bump @types/node from 18.11.19 to 18.13.0
2023-02-08 08:55:44 +01:00
Kamil Mysliwiec
a6dce1fc92 Merge pull request #11080 from nestjs/dependabot/npm_and_yarn/lint-staged-13.1.1
chore(deps-dev): bump lint-staged from 13.1.0 to 13.1.1
2023-02-08 08:54:58 +01:00
Jay McDoniel
bd74c7f1e3 chore: add link to comment with explanation 2023-02-07 16:56:50 -08:00
dependabot[bot]
22edce8ae6 chore(deps-dev): bump lint-staged from 13.1.0 to 13.1.1
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.1.0 to 13.1.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v13.1.0...v13.1.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-02-08 00:33:15 +00:00
Jay McDoniel
0fbceee402 fix(common): account for when stack is undefined in logger
Due to a change in #10531 when the `stack` is added as `undefined` a
new `undefined` log would be added whenever `this.logger.error()`
would be called. Now, we check that the last element is either
a string or undefined, and if so strip the last element. That element
should only exist when we artificially add the stack via the changes
from #10531.

closes #11074
2023-02-07 16:32:03 -08:00
dependabot[bot]
1e3f1fe748 chore(deps-dev): bump @types/node from 18.11.19 to 18.13.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.11.19 to 18.13.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-02-08 00:22:52 +00:00
dependabot[bot]
fef8e71a82 chore(deps-dev): bump typeorm from 0.3.11 to 0.3.12
Bumps [typeorm](https://github.com/typeorm/typeorm) from 0.3.11 to 0.3.12.
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.11...0.3.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 00:19:44 +00:00
dependabot[bot]
a417e895c3 chore(deps-dev): bump @nestjs/apollo from 10.1.7 to 10.2.0
Bumps [@nestjs/apollo](https://github.com/nestjs/graphql) from 10.1.7 to 10.2.0.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v10.1.7...v10.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 00:16:31 +00:00
dependabot[bot]
1dd4648640 chore(deps-dev): bump mysql2 from 3.1.0 to 3.1.1
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.1.0 to 3.1.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.1.0...v3.1.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-02-08 00:10:15 +00:00
Vinícius Lourenço
bd92969b0c fix(core): removed xxhash to fix #11071 2023-02-07 16:29:37 -03:00
Kamil Mysliwiec
4dcb8d54d5 Merge pull request #11059 from nestjs/dependabot/npm_and_yarn/mongoose-6.9.1
chore(deps-dev): bump mongoose from 6.9.0 to 6.9.1
2023-02-07 14:24:41 +01:00
Kamil Myśliwiec
075c8d0f81 chore(@nestjs) publish v9.3.5 release 2023-02-07 14:23:59 +01:00
Kamil Myśliwiec
89837fcfd5 fix(common): fix validation pipe regression #11070 2023-02-07 14:22:10 +01:00
Kamil Myśliwiec
51f4ba7fda chore(@nestjs) publish v9.3.4 release 2023-02-07 13:42:43 +01:00
Kamil Myśliwiec
8bcd80f724 Merge branch 'jpogorzelski-fix/include-uid-in-core-dependencies' 2023-02-07 13:38:07 +01:00
Kamil Myśliwiec
56dea12e25 chore: fix package.json order 2023-02-07 13:37:59 +01:00
Kamil Myśliwiec
a4b41419c8 Merge branch 'fix/include-uid-in-core-dependencies' of https://github.com/jpogorzelski/nest into jpogorzelski-fix/include-uid-in-core-dependencies 2023-02-07 13:37:32 +01:00
Kamil Mysliwiec
244c3c793d Merge pull request #11060 from nestjs/dependabot/npm_and_yarn/graphql-tools-8.3.18
chore(deps-dev): bump graphql-tools from 8.3.17 to 8.3.18
2023-02-07 13:37:02 +01:00
Kamil Mysliwiec
8ca22e7d15 Merge pull request #11061 from nestjs/dependabot/npm_and_yarn/cache-manager-5.1.6
chore(deps-dev): bump cache-manager from 5.1.5 to 5.1.6
2023-02-07 13:33:21 +01:00
Kamil Mysliwiec
4f62a0ed1c Merge pull request #11062 from nestjs/dependabot/npm_and_yarn/socket.io-4.6.0
chore(deps): bump socket.io from 4.5.4 to 4.6.0
2023-02-07 13:33:14 +01:00
Kamil Mysliwiec
af9703252c Merge pull request #11063 from nestjs/dependabot/npm_and_yarn/engine.io-client-6.4.0
chore(deps-dev): bump engine.io-client from 6.3.1 to 6.4.0
2023-02-07 13:33:09 +01:00
Kamil Mysliwiec
81ef0ac06f Merge pull request #11064 from nestjs/dependabot/npm_and_yarn/socket.io-client-4.6.0
chore(deps-dev): bump socket.io-client from 4.5.4 to 4.6.0
2023-02-07 13:32:59 +01:00
Kamil Mysliwiec
974987f9fb Merge pull request #11066 from jmcdo29/fix/cache-interceptorignore-streamable
fix: skip caching the response if it is a streamable file instance
2023-02-07 13:32:50 +01:00
Jakub Pogorzelski
92bf2f06f9 fix(core): need to depend on the uid
Closes #11068
2023-02-07 12:34:19 +01:00
Jay McDoniel
6b15ac0880 fix: skip caching the response if it is a streamable file instance 2023-02-06 20:50:48 -08:00
dependabot[bot]
c907995be9 chore(deps-dev): bump socket.io-client from 4.5.4 to 4.6.0
Bumps [socket.io-client](https://github.com/socketio/socket.io-client) from 4.5.4 to 4.6.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.5.4...4.6.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-02-07 00:31:35 +00:00
dependabot[bot]
b6cd399adc chore(deps-dev): bump engine.io-client from 6.3.1 to 6.4.0
Bumps [engine.io-client](https://github.com/socketio/engine.io-client) from 6.3.1 to 6.4.0.
- [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.3.1...6.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 00:30:13 +00:00
dependabot[bot]
b34e9e26c6 chore(deps): bump socket.io from 4.5.4 to 4.6.0
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.5.4 to 4.6.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.5.4...4.6.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-02-07 00:28:46 +00:00
dependabot[bot]
8d603d1b2c chore(deps-dev): bump cache-manager from 5.1.5 to 5.1.6
Bumps [cache-manager](https://github.com/node-cache-manager/node-cache-manager) from 5.1.5 to 5.1.6.
- [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.1.5...5.1.6)

---
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-02-07 00:16:28 +00:00
dependabot[bot]
f0f846684a chore(deps-dev): bump graphql-tools from 8.3.17 to 8.3.18
Bumps [graphql-tools](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/graphql-tools) from 8.3.17 to 8.3.18.
- [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@8.3.18/packages/graphql-tools)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 00:12:10 +00:00
dependabot[bot]
b932cc56ce chore(deps-dev): bump mongoose from 6.9.0 to 6.9.1
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.9.0 to 6.9.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/6.9.0...6.9.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-02-07 00:04:44 +00:00
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
Simone Vicentini
2cd8a59db1 test(core): added test
Added test for staticity calcuation when circular dependency present
2023-02-06 17:35:30 +00:00
Kamil Myśliwiec
67a58e9b85 chore: update readme 2023-02-06 14:40:50 +01:00
Kamil Myśliwiec
f57eacc952 chore(@nestjs) publish v9.3.3 release 2023-02-06 14:39:23 +01:00
Kamil Myśliwiec
6c99b704f6 fix(core): default deps introspection return val should be false 2023-02-06 14:28:09 +01:00
Kamil Mysliwiec
0a3a87673a Merge pull request #11053 from nestjs/chore/remove-uuid
chore(core): remove uuid dependency
2023-02-06 11:08:48 +01:00
Kamil Myśliwiec
36065d30f2 chore: update tests, id as string 2023-02-06 10:52:15 +01:00
Mohammad Reza Momeni
57d8ab9a23 refactor: correct grammer of variable 2023-02-06 13:15:05 +03:30
Kamil Myśliwiec
d323edbab9 chore(core): remove uuid dependency 2023-02-06 10:33:39 +01:00
mohamadrezamomeni
3dc080bd77 Update packages/common/pipes/file/parse-file.pipe.ts
Co-authored-by: Kamil Mysliwiec <mail@kamilmysliwiec.com>
2023-02-06 12:51:19 +03:30
Kamil Myśliwiec
71c987e490 Merge branch 'perf/metadata-scanner' of https://github.com/H4ad/nest 2023-02-06 10:20:40 +01:00
Kamil Myśliwiec
7b69554776 Merge branch 'CodyTseng-fix-middleware-exclude' 2023-02-06 10:19:03 +01:00
Kamil Myśliwiec
1069796df7 test: update broken unit tests 2023-02-06 10:18:38 +01:00
Kamil Myśliwiec
cf88a7814e Merge branch 'fix-middleware-exclude' of https://github.com/CodyTseng/nest into CodyTseng-fix-middleware-exclude 2023-02-06 10:13:53 +01:00
Kamil Myśliwiec
bf1071f142 Merge branch 'H4ad-perf/module-token-factory-fast-path' 2023-02-06 10:12:36 +01:00
Kamil Myśliwiec
e1c2d27966 style(core): minor formatting, naming changes 2023-02-06 10:12:20 +01:00
Kamil Myśliwiec
76b7185623 chore: resolve conflicts 2023-02-06 10:08:01 +01:00
Kamil Mysliwiec
dac1219879 Merge pull request #11041 from vizio360/fixFor11002
fix(core): 🚑 Fix for calculating durability of a provider
2023-02-06 09:59:53 +01:00
Kamil Mysliwiec
97e9c184a2 Merge pull request #11034 from Tony133/chore/mark-facing-apis-public-testing
chore(testing, websockets): mark facing apis public
2023-02-06 09:54:37 +01:00
Kamil Mysliwiec
1d5856c731 Update packages/core/middleware/builder.ts 2023-02-06 09:54:00 +01:00
Kamil Mysliwiec
c9c6468861 Update packages/core/middleware/route-info-path-extractor.ts 2023-02-06 09:53:51 +01:00
Tony133
216ce4c60f chore(websockets): mark facing apis public in websockets 2023-02-06 09:39:18 +01:00
Kamil Mysliwiec
6b39aaa00e Merge pull request #11049 from nestjs/dependabot/npm_and_yarn/types/node-18.11.19
chore(deps-dev): bump @types/node from 18.11.18 to 18.11.19
2023-02-06 09:24:04 +01:00
Kamil Mysliwiec
f211dee41a Merge pull request #11050 from nestjs/dependabot/npm_and_yarn/types/express-4.17.17
chore(deps-dev): bump @types/express from 4.17.16 to 4.17.17
2023-02-06 09:23:53 +01:00
Kamil Mysliwiec
593e6ffb1a Merge pull request #11051 from nestjs/dependabot/npm_and_yarn/cache-manager-5.1.5
chore(deps-dev): bump cache-manager from 5.1.4 to 5.1.5
2023-02-06 09:21:16 +01:00
Kamil Mysliwiec
ab25307fc2 Merge pull request #11052 from nestjs/dependabot/npm_and_yarn/engine.io-client-6.3.1
chore(deps-dev): bump engine.io-client from 6.3.0 to 6.3.1
2023-02-06 09:08:38 +01:00
dependabot[bot]
5a6bc1899b chore(deps-dev): bump engine.io-client from 6.3.0 to 6.3.1
Bumps [engine.io-client](https://github.com/socketio/engine.io-client) from 6.3.0 to 6.3.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.3.0...6.3.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-02-06 00:31:19 +00:00
dependabot[bot]
51dab24dad chore(deps-dev): bump cache-manager from 5.1.4 to 5.1.5
Bumps [cache-manager](https://github.com/node-cache-manager/node-cache-manager) from 5.1.4 to 5.1.5.
- [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.1.4...5.1.5)

---
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-02-06 00:24:59 +00:00
dependabot[bot]
19492a9974 chore(deps-dev): bump @types/express from 4.17.16 to 4.17.17
Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.16 to 4.17.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 00:18:27 +00:00
dependabot[bot]
3806a7631c chore(deps-dev): bump @types/node from 18.11.18 to 18.11.19
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.11.18 to 18.11.19.
- [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-02-06 00:14:19 +00:00
Mohammad Reza Momeni
446100cef7 fix: simple idea 2023-02-05 21:46:11 +03:30
Mohammad Reza Momeni
c17fc02cb3 refactor: get function of isRejected from utilities 2023-02-05 20:57:17 +03:30
Mohammad Reza Momeni
555a556d8d fix: fix performance issue 2023-02-05 20:47:05 +03:30
Mohammad Reza Momeni
43668f4efe fix: validate sequentially 2023-02-05 19:49:27 +03:30
Vinícius Lourenço
7f43821d48 perf(core): change sha1 to xxhash 2023-02-04 12:39:36 -03:00
Vinícius Lourenço
713ece9e88 perf(core): added map to cache scan from prototype 2023-02-04 10:04:45 -03:00
Mohammad Reza Momeni
4d226e7077 chore: define type for validateFilesOrfile 2023-02-04 15:40:53 +03:30
Mohammad Reza Momeni
212ffe77de chore: use better variable for checking file exist or not exist 2023-02-04 13:12:30 +03:30
Mohammad Reza Momeni
9a5bb3447b refactor: satisfy functional quality in parse-filel.pipe 2023-02-04 12:56:11 +03:30
Simone Vicentini
422eeb9ffa test(core): removed describe.only 2023-02-04 09:15:05 +00:00
Simone Vicentini
ab7cbf35f5 fix(core): 🚑 fix for 11002
Updated logic to determine dep tree durability and staticity and added a ton of tests
2023-02-04 09:12:09 +00:00
Mohammad Reza Momeni
09907ce7e4 refactor: use iterator instead of loop 2023-02-04 12:21:31 +03:30
codytseng
b8702d5dbd fix(core): add global prefix to exclude paths for middleware 2023-02-04 12:17:00 +08:00
Simone Vicentini
5a333d4fa7 fix(core): 🚑 remove extra durable check 2023-02-03 22:38:56 +00:00
Simone Vicentini
c3ad373f91 fix(core): 🚑 Fix for calculating durability of a provider 2023-02-03 22:22:18 +00:00
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
e92ae413f4 chore(websockets): mark facing apis public in websockets 2023-02-03 16:56:49 +01:00
Kamil Mysliwiec
ac6fc6ba9f Merge pull request #11033 from Tony133/chore/mark-facing-apis-public-platform
chore(platform): mark facing apis public adapter express, socket.io, ws
2023-02-03 13:19:17 +01:00
Kamil Mysliwiec
2124bc874c Update renovate.json 2023-02-03 13:02:45 +01:00
Tony133
c79f35c37c chore(testing): remove mark facing apis public 2023-02-03 12:37:40 +01:00
Tony133
b1d53e227b chore(testing): mark facing apis public 2023-02-03 12:27:12 +01:00
Tony133
15e4a5f9f1 chore(platform): mark facing apis public adapter express, socket.io, ws 2023-02-03 12:18:36 +01:00
Kamil Mysliwiec
6ab4b4891c Update Readme.md 2023-02-03 12:05:40 +01:00
Vinícius Lourenço
2d7703af06 chore(core): removed unused object-hash dependency 2023-02-03 08:04:06 -03:00
Vinícius Lourenço
caf056fba5 perf(core): faster module token factory 2023-02-03 08:04:00 -03:00
Vinícius Lourenço
ccbb604fc2 perf(core): better performance to get method names 2023-02-01 18:56:42 -03: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
nomaxg
b9c235ae18 feat(microservice): add tcp over tls support
Signed-off-by: nomaxg <noahgolub2@gmail.com>
2022-12-02 16:53:34 -05: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
Nathan Arseneau
53cd547004 test(sample-02): remove version increment in package-lock.json 2022-09-03 21:55:38 -04:00
Nathan Arseneau
938005d8e1 test(sample-02): added e2e tests 2022-09-03 21:50:05 -04:00
Nathan Arseneau
9139ccfb93 test(sample-02): added unit tests 2022-09-03 20:18:29 -04: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
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
492 changed files with 116224 additions and 78331 deletions

View File

@@ -3,19 +3,19 @@ version: 2
aliases:
- &restore-cache
restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-{{ checksum "package.json" }}
- &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
name: Test
command: npm run test
unit-tests-template: &unit-tests-template
working_directory: ~/nest
@@ -30,7 +30,7 @@ jobs:
build:
working_directory: ~/nest
docker:
- image: circleci/node:12
- image: cimg/node:16.19
steps:
- checkout
- run:
@@ -40,7 +40,7 @@ jobs:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: Install dependencies
command: npm ci
command: npm ci --legacy-peer-deps
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
@@ -48,21 +48,11 @@ jobs:
- 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
- image: cimg/node:16.19
steps:
- checkout
- *restore-cache
@@ -77,6 +67,16 @@ jobs:
- store_artifacts:
path: coverage
test_node_18:
<<: *unit-tests-template
docker:
- image: cimg/node:18.14
test_node_19:
<<: *unit-tests-template
docker:
- image: cimg/node:19.8
lint:
working_directory: ~/nest
docker:
@@ -97,17 +97,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 v16
node -v
nvm alias default v12
nvm alias default v16
- run:
name: Install Docker Compose
command: |
@@ -126,11 +126,11 @@ jobs:
- run:
name: Integration tests
command: npm run test:integration
codechecks_benchmarks:
working_directory: ~/nest
docker:
- image: circleci/node:16
- image: cimg/node:16.19
steps:
- checkout
- *restore-cache
@@ -146,7 +146,7 @@ jobs:
samples:
working_directory: ~/nest
docker:
- image: circleci/node:16
- image: cimg/node:16.19
environment:
- DISABLE_OPENCOLLECTIVE: true
steps:
@@ -165,10 +165,7 @@ workflows:
- test_node_16:
requires:
- build
- test_node_14:
requires:
- build
- test_node_12:
- test_node_18:
requires:
- build
- lint:

View File

@@ -57,7 +57,7 @@ body:
required: true
attributes:
label: "Expected behavior"
description: "A clear and concise description of what you expected to happend (or code)"
description: "A clear and concise description of what you expected to happened (or code)"
- type: markdown
attributes:

View File

@@ -74,7 +74,7 @@ body:
required: true
attributes:
label: "Expected behavior"
description: "A clear and concise description of what you expected to happend (or code)"
description: "A clear and concise description of what you expected to happened (or code)"
- type: textarea
attributes:

3
.gitignore vendored
View File

@@ -42,3 +42,6 @@ yarn-error.log
/packages/graphql
/benchmarks/memory
build/config\.gypi
.npmrc
pnpm-lock.yaml

View File

@@ -1,17 +1,16 @@
<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>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
<a href="https://coveralls.io/github/nestjs/nest?branch=master" target="_blank"><img src="https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#9" alt="Coverage" /></a>
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
<a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
@@ -133,11 +132,12 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<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://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://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://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://doppio.sh/" target="_blank"><img src="https://nestjs.com/img/dopiosh-logo.png" width="50" valign="middle" /></a></td></tr><tr>
<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>
</tr></table>
## Backers

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,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,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 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,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

@@ -25,7 +25,7 @@ services:
- "9001:9001"
restart: always
mysql:
image: mysql:8.0.30
image: mysql:8.0.32
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.0.1
image: confluentinc/cp-zookeeper:7.3.2
ports:
- "2181:2181"
environment:
@@ -59,7 +59,7 @@ services:
kafka:
container_name: test-kafka
hostname: kafka
image: confluentinc/cp-kafka:7.0.1
image: confluentinc/cp-kafka:7.3.2
depends_on:
- zookeeper
ports:

View File

@@ -30,8 +30,8 @@ describe('GraphQL Pipes', () => {
errors: [
{
extensions: {
code: 'BAD_USER_INPUT',
response: {
code: 'BAD_REQUEST',
originalError: {
error: 'Bad Request',
message: [
'description must be longer than or equal to 30 characters',
@@ -39,7 +39,14 @@ describe('GraphQL Pipes', () => {
statusCode: 400,
},
},
locations: [
{
column: 3,
line: 2,
},
],
message: 'Bad Request Exception',
path: ['addRecipe'],
},
],
});

View File

@@ -31,4 +31,4 @@ input NewRecipeInput {
type Subscription {
recipeAdded: Recipe!
}
}

View File

@@ -9,7 +9,7 @@ import { RecipesModule } from './recipes/recipes.module';
RecipesModule,
GraphQLModule.forRoot<ApolloDriverConfig>({
driver: ApolloDriver,
debug: false,
includeStacktraceInErrorResponses: false,
installSubscriptionHandlers: true,
autoSchemaFile: join(
process.cwd(),

View File

@@ -1,9 +1,9 @@
import { ValidationPipe } from '@nestjs/common';
import { NestFactory } from '@nestjs/core';
import { ApplicationModule } from './app.module';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(ApplicationModule);
const app = await NestFactory.create(AppModule);
app.useGlobalPipes(new ValidationPipe());
await app.listen(3000);
}

View File

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

View File

@@ -9,6 +9,7 @@ import { CatsModule } from './cats/cats.module';
CatsModule,
GraphQLModule.forRoot<ApolloDriverConfig>({
driver: ApolloDriver,
includeStacktraceInErrorResponses: true,
typePaths: [join(__dirname, '**', '*.graphql')],
}),
],

View File

@@ -1,8 +1,8 @@
import { NestFactory } from '@nestjs/core';
import { ApplicationModule } from './app.module';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(ApplicationModule);
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

@@ -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 })
.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.only('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

@@ -12,6 +12,7 @@ import { AppModule } from '../src/app.module';
const RETURN_VALUE = 'test';
const SCOPED_VALUE = 'test_scoped';
const WILDCARD_VALUE = 'test_wildcard';
const EXCLUDE_VALUE = 'test_exclude';
@Controller()
class TestController {
@@ -24,6 +25,11 @@ class TestController {
wildcard_nested() {
return RETURN_VALUE;
}
@Get('exclude')
exclude() {
return EXCLUDE_VALUE;
}
}
@Module({
@@ -36,8 +42,10 @@ class TestModule {
.apply((req, res, next) => res.send(WILDCARD_VALUE))
.forRoutes('tests/*')
.apply((req, res, next) => res.send(SCOPED_VALUE))
.exclude('exclude')
.forRoutes(TestController)
.apply((req, res, next) => res.send(RETURN_VALUE))
.exclude('exclude')
.forRoutes('*');
}
}
@@ -45,25 +53,34 @@ class TestModule {
describe('Middleware', () => {
let app: INestApplication;
beforeEach(async () => {
app = (
await Test.createTestingModule({
imports: [TestModule],
}).compile()
).createNestApplication();
await app.init();
it(`forRoutes(*)`, async () => {
app = await createApp();
await request(app.getHttpServer()).get('/hello').expect(200, RETURN_VALUE);
await request(app.getHttpServer())
.get('/exclude')
.expect(200, EXCLUDE_VALUE);
});
it(`forRoutes(*)`, () => {
return request(app.getHttpServer()).get('/hello').expect(200, RETURN_VALUE);
it(`forRoutes(*) with global prefix`, async () => {
app = await createApp(app => app.setGlobalPrefix('api'));
await request(app.getHttpServer())
.get('/api/hello')
.expect(200, RETURN_VALUE);
await request(app.getHttpServer())
.get('/api/exclude')
.expect(200, EXCLUDE_VALUE);
});
it(`forRoutes(TestController)`, () => {
return request(app.getHttpServer()).get('/test').expect(200, SCOPED_VALUE);
it(`forRoutes(TestController)`, async () => {
app = await createApp();
await request(app.getHttpServer()).get('/test').expect(200, SCOPED_VALUE);
await request(app.getHttpServer())
.get('/exclude')
.expect(200, EXCLUDE_VALUE);
});
it(`forRoutes(tests/*)`, () => {
it(`forRoutes(tests/*)`, async () => {
app = await createApp();
return request(app.getHttpServer())
.get('/tests/wildcard')
.expect(200, WILDCARD_VALUE);
@@ -73,3 +90,20 @@ describe('Middleware', () => {
await app.close();
});
});
async function createApp(
beforeInit?: (app: INestApplication) => void,
): Promise<INestApplication> {
const app = (
await Test.createTestingModule({
imports: [TestModule],
}).compile()
).createNestApplication();
if (beforeInit) {
beforeInit(app);
}
await app.init();
return app;
}

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

@@ -6,7 +6,7 @@ class ServiceInjectingItself {
}
@Injectable()
class ServiceInjectingItselfForwared {
class ServiceInjectingItselfForward {
constructor(
@Inject(forwardRef(() => ServiceInjectingItself))
private readonly coreService: ServiceInjectingItself,
@@ -24,7 +24,7 @@ class ServiceInjectingItselfViaCustomToken {
export class SelfInjectionProviderModule {}
@Module({
providers: [ServiceInjectingItselfForwared],
providers: [ServiceInjectingItselfForward],
})
export class SelfInjectionForwardProviderModule {}

View File

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,12 @@
import { ValidationPipe } from '@nestjs/common';
import { Injector } from '@nestjs/core/injector/injector';
import { SerializedGraph } from '@nestjs/core/inspector/serialized-graph';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test, TestingModule } from '@nestjs/testing';
import { expect } from 'chai';
import { readFileSync } from 'fs';
import { join } from 'path';
import * as sinon from 'sinon';
import { AppModule } from '../src/app.module';
import { HttpExceptionFilter } from '../src/common/filters/http-exception.filter';
import { TimeoutInterceptor } from '../src/common/interceptors/timeout.interceptor';
@@ -13,6 +15,8 @@ describe('Graph inspector', () => {
let testingModule: TestingModule;
before(async () => {
sinon.stub(Injector.prototype as any, 'getNowTimestamp').callsFake(() => 0);
testingModule = await Test.createTestingModule({
imports: [AppModule],
}).compile({ snapshot: true });
@@ -41,7 +45,10 @@ describe('Graph inspector', () => {
app.useGlobalFilters(new HttpExceptionFilter());
app.useGlobalInterceptors(new TimeoutInterceptor());
app.enableVersioning();
app.connectMicroservice({ transport: Transport.TCP, options: {} });
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.TCP,
options: {},
});
await app.init();
const graph = testingModule.get(SerializedGraph);

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,5 +1,5 @@
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import * as request from 'supertest';
import { MqttBroadcastController } from '../src/mqtt/mqtt-broadcast.controller';
@@ -16,13 +16,13 @@ describe('MQTT transport', () => {
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.MQTT,
options: {
host: '0.0.0.0',
},
});
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.MQTT,
options: {
host: '0.0.0.0',

View File

@@ -1,5 +1,5 @@
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import * as request from 'supertest';
import { NatsBroadcastController } from '../src/nats/nats-broadcast.controller';
@@ -16,13 +16,13 @@ describe('NATS transport', () => {
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.NATS,
options: {
servers: 'nats://0.0.0.0:4222',
},
});
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.NATS,
options: {
servers: 'servers://0.0.0.0:4222',

View File

@@ -1,5 +1,5 @@
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import * as request from 'supertest';
import { RedisBroadcastController } from '../src/redis/redis-broadcast.controller';
@@ -16,16 +16,18 @@ describe('REDIS transport', () => {
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.REDIS,
options: {
url: 'redis://0.0.0.0:6379',
host: '0.0.0.0',
port: 6379,
},
});
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.REDIS,
options: {
url: 'redis://0.0.0.0:6379',
host: '0.0.0.0',
port: 6379,
},
});
await app.startAllMicroservices();

View File

@@ -1,5 +1,5 @@
import { INestApplication, Logger } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import { Admin, ITopicMetadata, Kafka } from 'kafkajs';
import * as request from 'supertest';
@@ -37,7 +37,7 @@ describe.skip('Kafka concurrent', function () {
const server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.KAFKA,
options: {
client: {

View File

@@ -1,5 +1,5 @@
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import * as request from 'supertest';
import { MqttController } from '../src/mqtt/mqtt.controller';
@@ -16,7 +16,7 @@ describe('MQTT transport', () => {
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.MQTT,
options: {
url: 'mqtt://0.0.0.0:1883',

View File

@@ -1,7 +1,7 @@
import * as GRPC from '@grpc/grpc-js';
import * as ProtoLoader from '@grpc/proto-loader';
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { ExpressAdapter } from '@nestjs/platform-express';
import { Test } from '@nestjs/testing';
import { fail } from 'assert';
@@ -26,7 +26,7 @@ describe('Advanced GRPC transport', () => {
/*
* Create microservice configuration
*/
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.GRPC,
options: {
url: 'localhost:5001',

View File

@@ -1,7 +1,7 @@
import * as GRPC from '@grpc/grpc-js';
import * as ProtoLoader from '@grpc/proto-loader';
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import { fail } from 'assert';
import { expect } from 'chai';
@@ -22,7 +22,7 @@ describe('GRPC transport', () => {
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.GRPC,
options: {
package: ['math', 'math2'],

View File

@@ -1,5 +1,5 @@
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import * as request from 'supertest';
@@ -29,7 +29,7 @@ describe.skip('Kafka transport', function () {
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.KAFKA,
options: {
client: {

View File

@@ -1,5 +1,5 @@
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import * as request from 'supertest';
@@ -17,7 +17,7 @@ describe('MQTT transport', () => {
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.MQTT,
options: {
url: 'mqtt://0.0.0.0:1883',

View File

@@ -1,5 +1,5 @@
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import * as request from 'supertest';
@@ -19,7 +19,7 @@ describe('NATS transport', () => {
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.NATS,
options: {
servers: 'nats://0.0.0.0:4222',

View File

@@ -1,5 +1,5 @@
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import * as request from 'supertest';
@@ -17,10 +17,11 @@ describe('REDIS transport', () => {
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.REDIS,
options: {
url: 'redis://0.0.0.0:6379',
host: '0.0.0.0',
port: 6379,
},
});
await app.startAllMicroservices();

View File

@@ -1,5 +1,5 @@
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import * as request from 'supertest';
@@ -17,7 +17,7 @@ describe('RabbitMQ transport', () => {
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.RMQ,
options: {
urls: [`amqp://0.0.0.0:5672`],

View File

@@ -0,0 +1,142 @@
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import * as request from 'supertest';
import { AppController } from '../src/tcp-tls/app.controller';
import { ApplicationModule } from '../src/tcp-tls/app.module';
import * as fs from 'fs';
import * as path from 'path';
describe('RPC TLS transport', () => {
let server;
let app: INestApplication;
let key: string;
let cert: string;
before(() => {
// Generate a self-signed key pair
key = fs
.readFileSync(path.join(__dirname, '../src/tcp-tls/privkey.pem'), 'utf8')
.toString();
cert = fs
.readFileSync(path.join(__dirname, '../src/tcp-tls/ca.cert.pem'), 'utf8')
.toString();
});
beforeEach(async () => {
const module = await Test.createTestingModule({
imports: [ApplicationModule],
}).compile();
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
transport: Transport.TCP,
options: {
host: '0.0.0.0',
tlsOptions: { key: key, cert: cert },
},
});
await app.startAllMicroservices();
await app.init();
});
it(`/POST TLS`, () => {
return request(server)
.post('/?command=sum')
.send([1, 2, 3, 4, 5])
.expect(200, '15');
});
it(`/POST (Promise/async)`, () => {
return request(server)
.post('/?command=asyncSum')
.send([1, 2, 3, 4, 5])
.expect(200)
.expect(200, '15');
});
it(`/POST (Observable stream)`, () => {
return request(server)
.post('/?command=streamSum')
.send([1, 2, 3, 4, 5])
.expect(200, '15');
});
it(`/POST (useFactory client)`, () => {
return request(server)
.post('/useFactory?command=sum')
.send([1, 2, 3, 4, 5])
.expect(200, '15');
});
it(`/POST (useClass client)`, () => {
return request(server)
.post('/useClass?command=sum')
.send([1, 2, 3, 4, 5])
.expect(200, '15');
});
it(`/POST (concurrent)`, () => {
return request(server)
.post('/concurrent')
.send([
Array.from({ length: 10 }, (v, k) => k + 1),
Array.from({ length: 10 }, (v, k) => k + 11),
Array.from({ length: 10 }, (v, k) => k + 21),
Array.from({ length: 10 }, (v, k) => k + 31),
Array.from({ length: 10 }, (v, k) => k + 41),
Array.from({ length: 10 }, (v, k) => k + 51),
Array.from({ length: 10 }, (v, k) => k + 61),
Array.from({ length: 10 }, (v, k) => k + 71),
Array.from({ length: 10 }, (v, k) => k + 81),
Array.from({ length: 10 }, (v, k) => k + 91),
])
.expect(200, 'true');
});
it(`/POST (streaming)`, () => {
return request(server)
.post('/stream')
.send([1, 2, 3, 4, 5])
.expect(200, '15');
});
it(`/POST (pattern not found)`, () => {
return request(server).post('/?command=test').expect(500);
});
it(`/POST (event notification)`, done => {
request(server)
.post('/notify')
.send([1, 2, 3, 4, 5])
.end(() => {
setTimeout(() => {
expect(AppController.IS_NOTIFIED).to.be.true;
done();
}, 1000);
});
});
it('/POST (custom client)', () => {
return request(server)
.post('/error?client=custom')
.send({})
.expect(200)
.expect('true');
});
it('/POST (standard client)', () => {
return request(server)
.post('/error?client=standard')
.send({})
.expect(200)
.expect('false');
});
afterEach(async () => {
await app.close();
});
});

View File

@@ -1,5 +1,5 @@
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import * as request from 'supertest';
@@ -18,7 +18,7 @@ describe('RPC transport', () => {
app = module.createNestApplication();
server = app.getHttpAdapter().getInstance();
app.connectMicroservice({
app.connectMicroservice<MicroserviceOptions>({
transport: Transport.TCP,
options: {
host: '0.0.0.0',

View File

@@ -0,0 +1,141 @@
import {
Body,
Controller,
HttpCode,
Inject,
Post,
Query,
} from '@nestjs/common';
import {
Client,
ClientProxy,
EventPattern,
MessagePattern,
RpcException,
Transport,
} from '@nestjs/microservices';
import { from, lastValueFrom, Observable, of, throwError } from 'rxjs';
import { catchError, scan } from 'rxjs/operators';
import * as fs from 'fs';
import * as path from 'path';
@Controller()
export class AppController {
constructor(
@Inject('USE_CLASS_CLIENT') private useClassClient: ClientProxy,
@Inject('USE_FACTORY_CLIENT') private useFactoryClient: ClientProxy,
@Inject('CUSTOM_PROXY_CLIENT') private customClient: ClientProxy,
) {}
static IS_NOTIFIED = false;
@Client({
transport: Transport.TCP,
options: {
tlsOptions: {
ca: [
fs
.readFileSync(path.join(__dirname, 'ca.cert.pem'), 'utf-8')
.toString(),
],
},
},
})
client: ClientProxy;
@Post()
@HttpCode(200)
call(@Query('command') cmd, @Body() data: number[]): Observable<number> {
return this.client.send<number>({ cmd }, data);
}
@Post('useFactory')
@HttpCode(200)
callWithClientUseFactory(
@Query('command') cmd,
@Body() data: number[],
): Observable<number> {
return this.useFactoryClient.send<number>({ cmd }, data);
}
@Post('useClass')
@HttpCode(200)
callWithClientUseClass(
@Query('command') cmd,
@Body() data: number[],
): Observable<number> {
return this.useClassClient.send<number>({ cmd }, data);
}
@Post('stream')
@HttpCode(200)
stream(@Body() data: number[]): Observable<number> {
return this.client
.send<number>({ cmd: 'streaming' }, data)
.pipe(scan((a, b) => a + b));
}
@Post('concurrent')
@HttpCode(200)
concurrent(@Body() data: number[][]): Promise<boolean> {
const send = async (tab: number[]) => {
const expected = tab.reduce((a, b) => a + b);
const result = await lastValueFrom(
this.client.send<number>({ cmd: 'sum' }, tab),
);
return result === expected;
};
return data
.map(async tab => send(tab))
.reduce(async (a, b) => (await a) && b);
}
@Post('error')
@HttpCode(200)
serializeError(
@Query('client') query: 'custom' | 'standard' = 'standard',
@Body() body: Record<string, any>,
): Observable<boolean> {
const client = query === 'custom' ? this.customClient : this.client;
return client.send({ cmd: 'err' }, {}).pipe(
catchError(err => {
return of(err instanceof RpcException);
}),
);
}
@MessagePattern({ cmd: 'sum' })
sum(data: number[]): number {
return (data || []).reduce((a, b) => a + b);
}
@MessagePattern({ cmd: 'asyncSum' })
async asyncSum(data: number[]): Promise<number> {
return (data || []).reduce((a, b) => a + b);
}
@MessagePattern({ cmd: 'streamSum' })
streamSum(data: number[]): Observable<number> {
return of((data || []).reduce((a, b) => a + b));
}
@MessagePattern({ cmd: 'streaming' })
streaming(data: number[]): Observable<number> {
return from(data);
}
@MessagePattern({ cmd: 'err' })
throwAnError() {
return throwError(() => new Error('err'));
}
@Post('notify')
async sendNotification(): Promise<any> {
return this.client.emit<number>('notification', true);
}
@EventPattern('notification')
eventHandler(data: boolean) {
AppController.IS_NOTIFIED = data;
}
}

View File

@@ -0,0 +1,90 @@
import { Module, Injectable } from '@nestjs/common';
import { AppController } from './app.controller';
import {
ClientsModule,
Transport,
ClientsModuleOptionsFactory,
ClientOptions,
ClientTCP,
RpcException,
} from '@nestjs/microservices';
import * as fs from 'fs';
import * as path from 'path';
const caCert = fs.readFileSync(path.join(__dirname, 'ca.cert.pem')).toString();
class ErrorHandlingProxy extends ClientTCP {
constructor() {
super({
tlsOptions: { ca: caCert },
});
}
serializeError(err) {
return new RpcException(err);
}
}
@Injectable()
class ConfigService {
private readonly config = {
transport: Transport.TCP,
};
get(key: string, defaultValue?: any) {
return this.config[key] || defaultValue;
}
}
@Module({
providers: [ConfigService],
exports: [ConfigService],
})
class ConfigModule {}
@Injectable()
class ClientOptionService implements ClientsModuleOptionsFactory {
constructor(private readonly configService: ConfigService) {}
createClientOptions(): Promise<ClientOptions> | ClientOptions {
return {
transport: this.configService.get('transport'),
options: {
tlsOptions: { ca: caCert },
},
};
}
}
@Module({
imports: [
ClientsModule.registerAsync([
{
imports: [ConfigModule],
name: 'USE_FACTORY_CLIENT',
useFactory: (configService: ConfigService) => ({
transport: configService.get('transport'),
options: {
tlsOptions: { ca: caCert },
},
}),
inject: [ConfigService],
},
{
imports: [ConfigModule],
name: 'USE_CLASS_CLIENT',
useClass: ClientOptionService,
inject: [ConfigService],
},
{
imports: [ConfigModule],
inject: [ConfigService],
name: 'CUSTOM_PROXY_CLIENT',
useFactory: (config: ConfigService) => ({
customClass: ErrorHandlingProxy,
}),
},
]),
],
controllers: [AppController],
})
export class ApplicationModule {}

View File

@@ -0,0 +1,17 @@
-----BEGIN CERTIFICATE-----
MIICpDCCAYwCCQCyP27z3r0PFjANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDDAls
b2NhbGhvc3QwHhcNMjIxMjAyMDQ0NTQ1WhcNMzIxMTI5MDQ0NTQ1WjAUMRIwEAYD
VQQDDAlsb2NhbGhvc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ
1IdZZXqrwXql4AIOJnlfpoGKOKoIalnK7KaKHTsq1QOF8z2abFuNBVIIrO0etQ/0
PPAaFGkXl6HHBuA5PrFpsw3V1wSnNs1Cns9NhvypHI2V71lkwBJrEaSicNWL2AOE
QkQ9cZ4YsTGd0BrM8D5VvgXdrC7gOXfj7Hx3E4K+wFO/Gi4AUXl5CXxleSFcW4U+
jFulfq/DE8rBZXs29IsGeVkkgUoICjQ4Ey4zE6EY7f3SPKgU8gfgzYyGSd/ZZ/E7
6M2yakEUX448Nl4BeuNWroBHVm1pSiMo+Cm1g34pJScPrx1yw6qquziCc/2n1M6O
B4WGIZAmJDWnAOEjjrxFAgMBAAEwDQYJKoZIhvcNAQELBQADggEBAABGByZZUjaq
ZygICSH2qUGHPPIyrfaCe0qM7de6kYfxxPYQQZb0HDynzv780Lq1002XeT02fNR+
5sBCVFuKvS8BNvTq6kHzO1FiWIk/E5fQcYNToYSeEcXgWFLhJMty7+R6sIc9y8PH
2YNehf78Jjm9ukM52sLc4+JWl7AEeqPrOHZdh/ve8M2gTfimFKTrW5cEAVPIOPhp
2t5BdDKt8ZxgrGC7iRxga+v80VUOHRGfrd3hf3NlDQZO8upVGY8DdJhPRDB72+R0
kzJ7eyQwlGXM20atiFxPk43h0f273MneIJG8NgGiVU0ND4XnZkAB3KSAu7pB+nEw
QRYMYDgo/8Q=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDZ1IdZZXqrwXql
4AIOJnlfpoGKOKoIalnK7KaKHTsq1QOF8z2abFuNBVIIrO0etQ/0PPAaFGkXl6HH
BuA5PrFpsw3V1wSnNs1Cns9NhvypHI2V71lkwBJrEaSicNWL2AOEQkQ9cZ4YsTGd
0BrM8D5VvgXdrC7gOXfj7Hx3E4K+wFO/Gi4AUXl5CXxleSFcW4U+jFulfq/DE8rB
ZXs29IsGeVkkgUoICjQ4Ey4zE6EY7f3SPKgU8gfgzYyGSd/ZZ/E76M2yakEUX448
Nl4BeuNWroBHVm1pSiMo+Cm1g34pJScPrx1yw6qquziCc/2n1M6OB4WGIZAmJDWn
AOEjjrxFAgMBAAECggEANUKZtWnyjHxKGLSkzADsPE7h7YHdUSFvwwYJ0ktDZD2h
FudacJ994wUiAa0GbTOoKvebXUUQTQxuKdOsj1Kc3lNBVr+0C46CsX9TAIm4zUCF
/dr/6HpuBm/R6UXdcMvoUDZDqSJWnYL1trhjVSiIlT5ZANJQw9JJVhlEdXj3xtuc
I9aC+33f9hKO1wzei/mTjIRGyRIeKselZPpA7qJnE4s3hmZxnO/rSqyPIvh1XLfZ
3Eoyyg+xNpTZ8JqlHB5d7hDSnj8cjboa7IYpHJDXN3r8Aui+R9e/sQkezHbF7fR0
xHpBVYQvGMuqSnTBkdJfq4qPAR1K49UrpEXB2GHaIQKBgQDs3t/ZUA138AiPIeLd
aTsEPhf5dWEZynfNvXZ0VcoSr8ckaiaq9OEllprAriYWj+XphTDsBUAh/R7KlOR4
eb+m6OwH7LseGiLIEr54GGP0LzVXAkfH2/uR1cak8qAmHB00jNEg7sj0eVAsHO3f
WQm67f+RNP/IgAa+V8JKIkgTwwKBgQDrbAH8eAQsq9rjpxcic1EUI7uFHzr+cKf/
4Y8ThLUNAzNfAbQWRBYjS1R8GM79Wiuh+WT1ooHKLryuLF7LVukvKHJ5GiNFBmaO
llf72Zf1y4tBE2RCXQbf6h8+ohSDC/hwYy+w20/i2KzSBKkS0+gQuAX/HzfTpRd3
q3/uEniXVwKBgDNnElDIbIPQlSrqgZ7mzSXYi79Y15+PLnx5VxFb5KQ1fRPL7WRA
C/PqQN77a8yNoakRfFJbuVUm5t2zffkfApYoCcCWgOzBYzbjym2pbVd6PysIlacr
d+Zn69mzxUk/5J6YyHFLIFTdVqacCIrleZUVPNa4F6HdFpmL1d/cnKOdAoGAMDuB
sKsaF9jh0LBkEf/URa8IdT6vxH9qPAeHW7VdrpvQQ4/CyKkMbBC772zZw5hcxiOl
Zpnzw2uN5pVamohk3++GfH85aKPmESKGRigPdSFNl3iUmvAaP3flDN0CHNMwBD6d
/7r/A/fmeGTSCvR1YC+DswA/XNI/G5p8bFdGc6MCgYBd9oQiZlkYMiDGPUAjx+DO
kqtAmc8DLJEanSbWdIxL2bGL04cgBRPssM4m0UScx4PucvqWEPdN/5Ug0z5TrD77
2K5nZSBUdy4DunBImz1NHRQEiytkrYX0LesGr02QlzIH4wmwb1TFu7rLkr6KfNuV
xqWi+JVY8N4vuHAxCeEALw==
-----END PRIVATE KEY-----

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,
"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

@@ -1,5 +1,5 @@
import { INestApplication } from '@nestjs/common';
import { Transport } from '@nestjs/microservices';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import * as request from 'supertest';
@@ -31,7 +31,7 @@ describe('Request scope (microservices)', () => {
}).compile();
app = module.createNestApplication();
app.connectMicroservice({ transport: Transport.TCP });
app.connectMicroservice<MicroserviceOptions>({ transport: Transport.TCP });
server = app.getHttpServer();
await app.init();

View File

@@ -0,0 +1,21 @@
import {
CanActivate,
ExecutionContext,
Injectable,
Scope,
} from '@nestjs/common';
import { DurableService } from './durable.service';
@Injectable({ scope: Scope.REQUEST, durable: true })
export class DurableGuard implements CanActivate {
public instanceCounter = 0;
constructor(private readonly durableService: DurableService) {}
public async canActivate(context: ExecutionContext): Promise<boolean> {
if (typeof this.durableService === 'undefined') {
throw new Error('Durable service is undefined');
}
this.instanceCounter++;
return true;
}
}

View File

@@ -1,9 +1,17 @@
import { Module } from '@nestjs/common';
import { APP_GUARD } from '@nestjs/core';
import { DurableController } from './durable.controller';
import { DurableGuard } from './durable.guard';
import { DurableService } from './durable.service';
@Module({
controllers: [DurableController],
providers: [DurableService],
providers: [
DurableService,
{
provide: APP_GUARD,
useClass: DurableGuard,
},
],
})
export class DurableModule {}

View File

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

View File

@@ -73,11 +73,15 @@ describe('Express FileSend', () => {
it('should return an error if the file does not exist', async () => {
return request(app.getHttpServer()).get('/file/not/exist').expect(400);
});
it('should allow for the client to end the response and be able to make another', async () => {
await app.listen(0);
const url = await getHttpBaseOptions(app);
await sendCanceledHttpRequest(new URL('/file/slow', url));
const res = await sendHttpRequest(new URL('/file/stream', url));
expect(res.statusCode).to.be.eq(200);
}).timeout(5000);
// TODO: temporarily turned off (flaky test)
it.skip(
'should allow for the client to end the response and be able to make another',
async () => {
await app.listen(0);
const url = await getHttpBaseOptions(app);
await sendCanceledHttpRequest(new URL('/file/slow', url));
const res = await sendHttpRequest(new URL('/file/stream', url));
expect(res.statusCode).to.be.eq(200);
},
).timeout(5000);
});

View File

@@ -32,7 +32,7 @@ export const sendHttpRequest = async (url: URL) => {
res.on('data', chunk => {
// no op
});
// fail the test if somethin goes wrong
// fail the test if something goes wrong
res.on('error', err => {
reject(err);
});

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,8 +1,8 @@
import { NestFactory } from '@nestjs/core';
import { ApplicationModule } from './app.module';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(ApplicationModule);
const app = await NestFactory.create(AppModule);
await app.listen(3001);
}
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

@@ -352,4 +352,70 @@ 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();
});
});
});

View File

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

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);

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.3.2"
"version": "9.4.2"
}

34623
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,11 @@
{
"name": "@nestjs/core",
"version": "9.3.0",
"version": "9.4.0",
"description": "Modern, fast, powerful node.js web framework",
"homepage": "https://nestjs.com",
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
"url": "https://github.com/nestjs/nest.git"
},
"funding": {
"type": "opencollective",
@@ -64,77 +64,76 @@
"cli-color": "2.0.3",
"cors": "2.8.5",
"express": "4.18.2",
"fast-json-stringify": "5.5.0",
"fast-json-stringify": "5.7.0",
"fast-safe-stringify": "2.1.1",
"graphql-subscriptions": "2.0.0",
"iterare": "1.2.1",
"object-hash": "3.0.0",
"path-to-regexp": "3.2.0",
"reflect-metadata": "0.1.13",
"rxjs": "7.8.0",
"socket.io": "4.5.4",
"tslib": "2.5.0",
"uid": "2.0.1",
"rxjs": "7.8.1",
"socket.io": "4.6.1",
"tslib": "2.5.2",
"uid": "2.0.2",
"uuid": "9.0.0"
},
"devDependencies": {
"@apollo/server": "4.7.1",
"@codechecks/client": "0.1.12",
"@commitlint/cli": "17.4.2",
"@commitlint/config-angular": "17.4.2",
"@fastify/cors": "^8.0.0",
"@commitlint/cli": "17.6.3",
"@commitlint/config-angular": "17.6.3",
"@fastify/cors": "8.2.1",
"@fastify/formbody": "7.4.0",
"@fastify/middie": "8.1.0",
"@fastify/multipart": "7.4.0",
"@fastify/static": "6.8.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.7",
"@grpc/proto-loader": "0.7.4",
"@nestjs/apollo": "10.1.7",
"@nestjs/graphql": "10.1.7",
"@nestjs/mongoose": "9.2.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",
"@types/amqplib": "0.10.1",
"@types/bytes": "3.1.1",
"@types/chai": "4.3.4",
"@types/chai": "4.3.5",
"@types/chai-as-promised": "7.1.5",
"@types/cors": "2.8.13",
"@types/express": "4.17.16",
"@types/express": "4.17.17",
"@types/gulp": "4.0.10",
"@types/http-errors": "2.0.1",
"@types/mocha": "10.0.1",
"@types/node": "18.11.18",
"@types/sinon": "10.0.13",
"@types/node": "20.2.3",
"@types/sinon": "10.0.15",
"@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.10",
"amqp-connection-manager": "4.1.13",
"amqplib": "0.10.3",
"apollo-server-core": "3.11.1",
"apollo-server-express": "3.11.1",
"artillery": "1.7.9",
"body-parser": "1.20.1",
"body-parser": "1.20.2",
"bytes": "3.1.2",
"cache-manager": "5.1.4",
"cache-manager": "5.2.1",
"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": "7.6.0",
"concurrently": "8.0.1",
"conventional-changelog": "3.1.25",
"core-js": "3.27.2",
"core-js": "3.30.2",
"coveralls": "3.1.1",
"delete-empty": "3.0.0",
"engine.io-client": "6.3.0",
"engine.io-client": "6.4.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.6.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"eventsource": "2.0.2",
"fancy-log": "2.0.0",
"fastify": "4.12.0",
"graphql": "15.8.0",
"graphql-tools": "8.3.17",
"fastify": "4.17.0",
"graphql": "16.6.0",
"graphql-tools": "9.0.0",
"gulp": "4.0.2",
"gulp-clang-format": "1.0.27",
"gulp-clean": "0.4.0",
@@ -144,37 +143,37 @@
"http-errors": "2.0.0",
"husky": "8.0.3",
"imports-loader": "4.0.1",
"ioredis": "5.3.0",
"ioredis": "5.3.2",
"json-loader": "0.5.7",
"kafkajs": "2.2.3",
"kafkajs": "2.2.4",
"lerna": "2.11.0",
"lerna-changelog": "2.2.0",
"light-my-request": "5.8.0",
"lint-staged": "13.1.0",
"light-my-request": "5.9.1",
"lint-staged": "13.2.2",
"markdown-table": "2.0.0",
"merge-graphql-schemas": "1.7.8",
"mocha": "10.2.0",
"mongoose": "6.9.0",
"mongoose": "7.2.0",
"mqtt": "4.3.7",
"multer": "1.4.4",
"mysql2": "3.1.0",
"nats": "2.11.0",
"nodemon": "2.0.20",
"mysql2": "3.3.1",
"nats": "2.13.1",
"nodemon": "2.0.22",
"nyc": "15.1.0",
"prettier": "2.8.3",
"redis": "4.6.4",
"prettier": "2.8.8",
"redis": "4.6.6",
"rxjs-compat": "6.6.7",
"sinon": "15.0.1",
"sinon": "15.1.0",
"sinon-chai": "3.7.0",
"socket.io-client": "4.5.4",
"socket.io-client": "4.6.1",
"subscriptions-transport-ws": "0.11.0",
"supertest": "6.3.3",
"ts-morph": "17.0.1",
"ts-morph": "18.0.0",
"ts-node": "10.9.1",
"typeorm": "0.3.11",
"typescript": "4.9.5",
"typeorm": "0.3.16",
"typescript": "5.0.4",
"wrk": "1.2.1",
"ws": "8.12.0"
"ws": "8.13.0"
},
"engines": {
"node": ">= 12.9.0"

View File

@@ -1,17 +1,16 @@
<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>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
<a href="https://coveralls.io/github/nestjs/nest?branch=master" target="_blank"><img src="https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#9" alt="Coverage" /></a>
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
<a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
@@ -133,7 +132,7 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<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://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://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>

View File

@@ -1,6 +0,0 @@
import { MODULE_OPTIONS_TOKEN } from './cache.module-definition';
export const CACHE_MANAGER = 'CACHE_MANAGER';
export const CACHE_KEY_METADATA = 'cache_module:cache_key';
export const CACHE_TTL_METADATA = 'cache_module:cache_ttl';
export const CACHE_MODULE_OPTIONS = MODULE_OPTIONS_TOKEN;

View File

@@ -1,12 +0,0 @@
import { ConfigurableModuleBuilder } from '../module-utils';
import {
CacheModuleOptions,
CacheOptionsFactory,
} from './interfaces/cache-module.interface';
export const { ConfigurableModuleClass, MODULE_OPTIONS_TOKEN } =
new ConfigurableModuleBuilder<CacheModuleOptions>({
moduleName: 'Cache',
})
.setFactoryMethodName('createCacheOptions' as keyof CacheOptionsFactory)
.build();

View File

@@ -1,60 +0,0 @@
import { Module } from '../decorators';
import { DynamicModule } from '../interfaces';
import { CACHE_MANAGER } from './cache.constants';
import { ConfigurableModuleClass } from './cache.module-definition';
import { createCacheManager } from './cache.providers';
import {
CacheModuleAsyncOptions,
CacheModuleOptions,
} from './interfaces/cache-module.interface';
/**
* Module that provides Nest cache-manager.
*
* @see [Caching](https://docs.nestjs.com/techniques/caching)
*
* @publicApi
*/
@Module({
providers: [createCacheManager()],
exports: [CACHE_MANAGER],
})
export class CacheModule extends ConfigurableModuleClass {
/**
* Configure the cache manager statically.
*
* @param options options to configure the cache manager
*
* @see [Customize caching](https://docs.nestjs.com/techniques/caching#customize-caching)
*/
static register<StoreConfig extends Record<any, any> = Record<string, any>>(
options: CacheModuleOptions<StoreConfig> = {} as any,
): DynamicModule {
return {
global: options.isGlobal,
...super.register(options),
};
}
/**
* Configure the cache manager dynamically.
*
* @param options method for dynamically supplying cache manager configuration
* options
*
* @see [Async configuration](https://docs.nestjs.com/techniques/caching#async-configuration)
*/
static registerAsync<
StoreConfig extends Record<any, any> = Record<string, any>,
>(options: CacheModuleAsyncOptions<StoreConfig>): DynamicModule {
const moduleDefinition = super.registerAsync(options);
return {
global: options.isGlobal,
...moduleDefinition,
providers: options.extraProviders
? moduleDefinition.providers.concat(options.extraProviders)
: moduleDefinition.providers,
};
}
}

View File

@@ -1,61 +0,0 @@
import { Provider } from '../interfaces';
import { loadPackage } from '../utils/load-package.util';
import { CACHE_MANAGER } from './cache.constants';
import { MODULE_OPTIONS_TOKEN } from './cache.module-definition';
import { defaultCacheOptions } from './default-options';
import {
CacheManagerOptions,
CacheStore,
} from './interfaces/cache-manager.interface';
/**
* Creates a CacheManager Provider.
*
* @publicApi
*/
export function createCacheManager(): Provider {
return {
provide: CACHE_MANAGER,
useFactory: async (options: CacheManagerOptions) => {
const cacheManager = loadPackage('cache-manager', 'CacheModule', () =>
require('cache-manager'),
);
const cacheManagerIsv5OrGreater = 'memoryStore' in cacheManager;
const cachingFactory = async (
store: CacheManagerOptions['store'],
options: Omit<CacheManagerOptions, 'store'>,
): Promise<Record<string, any>> => {
if (!cacheManagerIsv5OrGreater) {
return cacheManager.caching({
...defaultCacheOptions,
...{ ...options, store },
});
}
let cache: string | Function | CacheStore = 'memory';
defaultCacheOptions.ttl *= 1000;
if (typeof store === 'object') {
if ('create' in store) {
cache = store.create;
} else {
cache = store;
}
} else if (typeof store === 'function') {
cache = store;
}
return cacheManager.caching(cache, {
...defaultCacheOptions,
...options,
});
};
return Array.isArray(options)
? cacheManager.multiCaching(
await Promise.all(
options.map(option => cachingFactory(option.store, option)),
),
)
: cachingFactory(options.store, options);
},
inject: [MODULE_OPTIONS_TOKEN],
};
}

View File

@@ -1,17 +0,0 @@
import { SetMetadata } from '../../decorators';
import { CACHE_KEY_METADATA } from '../cache.constants';
/**
* Decorator that sets the caching key used to store/retrieve cached items for
* Web sockets or Microservice based apps.
*
* For example:
* `@CacheKey('events')`
*
* @param key string naming the field to be used as a cache key
*
* @see [Caching](https://docs.nestjs.com/techniques/caching)
*
* @publicApi
*/
export const CacheKey = (key: string) => SetMetadata(CACHE_KEY_METADATA, key);

View File

@@ -1,18 +0,0 @@
import { SetMetadata } from '../../decorators';
import { ExecutionContext } from '../../interfaces/features/execution-context.interface';
import { CACHE_TTL_METADATA } from '../cache.constants';
/**
* Decorator that sets the cache ttl setting the duration for cache expiration.
*
* For example: `@CacheTTL(5)`
*
* @param ttl number set the cache expiration time
*
* @see [Caching](https://docs.nestjs.com/techniques/caching)
*
* @publicApi
*/
type CacheTTLFactory = (ctx: ExecutionContext) => Promise<number> | number;
export const CacheTTL = (ttl: number | CacheTTLFactory) =>
SetMetadata(CACHE_TTL_METADATA, ttl);

View File

@@ -1,2 +0,0 @@
export * from './cache-key.decorator';
export * from './cache-ttl.decorator';

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