Compare commits

...

509 Commits

Author SHA1 Message Date
Kamil Myśliwiec
7afc798660 fix(core): fix infinite loop on broken cicular reference #14799 2025-03-19 10:47:03 +01:00
Kamil Myśliwiec
9a1a69bace Merge branch 'anizozina-fix/request-scoped-in-lazy-load' 2025-03-19 09:46:16 +01:00
Kamil Myśliwiec
64ec1b5060 style: nit add missing whiteline 2025-03-19 09:46:06 +01:00
Kamil Myśliwiec
57ebc1b760 Merge branch 'fix/request-scoped-in-lazy-load' of github.com:anizozina/nest into anizozina-fix/request-scoped-in-lazy-load 2025-03-19 09:45:22 +01:00
Kamil Mysliwiec
1e412cb042 Merge pull request #14802 from nestjs/feat/options-for-legacy-route-converter
feat(core): add options to the legacy route converter
2025-03-19 09:31:35 +01:00
Kamil Myśliwiec
cb66a47a93 feat(core): add options to the legacy route converter 2025-03-19 09:30:34 +01:00
Kamil Mysliwiec
3703a034b1 Merge pull request #14797 from nestjs/renovate/fastify-view-11.x
fix(deps): update dependency @fastify/view to v11
2025-03-19 09:09:44 +01:00
Kamil Mysliwiec
fd3fcd0148 Merge pull request #14800 from nestjs/renovate/mongodb-6.x
fix(deps): update dependency mongodb to v6.15.0
2025-03-19 09:09:30 +01:00
renovate[bot]
351359bf21 fix(deps): update dependency mongodb to v6.15.0 2025-03-18 22:39:10 +00:00
renovate[bot]
11e6a9c5ea fix(deps): update dependency @fastify/view to v11 2025-03-18 15:46:26 +00:00
Kamil Mysliwiec
83a48b2c73 Merge pull request #14795 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update graphql-tools monorepo
2025-03-18 16:44:16 +01:00
renovate[bot]
b0f2ac96f3 fix(deps): update graphql-tools monorepo 2025-03-18 12:37:45 +00:00
Kamil Myśliwiec
18ecc9e7cc ci: ignore prisma sample (temporarily) 2025-03-18 13:30:26 +01:00
Kamil Mysliwiec
104190f371 Merge pull request #14784 from nestjs/renovate/grpc-grpc-js-1.x
fix(deps): update dependency @grpc/grpc-js to v1.13.0
2025-03-18 11:17:29 +01:00
Kamil Mysliwiec
fc2c5760ae Merge pull request #14770 from nestjs/renovate/commitlint-monorepo
chore(deps): update dependency @commitlint/config-angular to v19.8.0
2025-03-18 11:14:49 +01:00
Kamil Mysliwiec
83d9ca374c Merge pull request #14796 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.5.0
2025-03-18 11:14:39 +01:00
renovate[bot]
98661e4021 fix(deps): update dependency @grpc/grpc-js to v1.13.0 2025-03-18 10:13:52 +00:00
renovate[bot]
c3255bc178 chore(deps): update dependency @commitlint/config-angular to v19.8.0 2025-03-18 10:13:29 +00:00
Kamil Mysliwiec
037dcd5e73 Merge pull request #14783 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.26.10
2025-03-18 11:11:50 +01:00
Kamil Mysliwiec
ea354afbaa Merge pull request #14777 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-19.8.0
chore(deps-dev): bump @commitlint/config-angular from 19.7.1 to 19.8.0
2025-03-18 11:11:40 +01:00
Kamil Mysliwiec
12c44940d0 Merge pull request #14771 from nestjs/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.22.0
2025-03-18 11:11:32 +01:00
Kamil Mysliwiec
de53155c03 Merge pull request #14785 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.13.0
chore(deps-dev): bump @grpc/grpc-js from 1.12.6 to 1.13.0
2025-03-18 11:11:18 +01:00
Kamil Mysliwiec
76f7e1546e Merge pull request #14794 from nestjs/dependabot/npm_and_yarn/axios-1.8.3
chore(deps-dev): bump axios from 1.7.9 to 1.8.3
2025-03-18 11:11:11 +01:00
renovate[bot]
d9264b2b7b chore(deps): update eslint monorepo to v9.22.0 2025-03-18 09:51:31 +00:00
renovate[bot]
40a13991b0 chore(deps): update babel monorepo to v7.26.10 2025-03-18 09:50:32 +00:00
renovate[bot]
93f759f360 fix(deps): update dependency @prisma/client to v6.5.0 2025-03-18 09:48:24 +00:00
Kamil Mysliwiec
1777767bb0 Merge pull request #14772 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.10
2025-03-18 10:46:53 +01:00
dependabot[bot]
33647a7235 chore(deps-dev): bump @commitlint/config-angular from 19.7.1 to 19.8.0
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 19.7.1 to 19.8.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/v19.8.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>
2025-03-18 09:44:12 +00:00
renovate[bot]
883bb8941f chore(deps): update dependency @types/node to v22.13.10 2025-03-18 09:43:30 +00:00
dependabot[bot]
5d0d976cd4 chore(deps-dev): bump axios from 1.7.9 to 1.8.3
Bumps [axios](https://github.com/axios/axios) from 1.7.9 to 1.8.3.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.9...v1.8.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-18 09:43:06 +00:00
Kamil Mysliwiec
aedb33a502 Merge pull request #14786 from nestjs/dependabot/npm_and_yarn/lint-staged-15.5.0
chore(deps-dev): bump lint-staged from 15.4.3 to 15.5.0
2025-03-18 10:43:04 +01:00
Kamil Mysliwiec
ed42cea3f4 Merge pull request #14779 from nestjs/dependabot/npm_and_yarn/commitlint/cli-19.8.0
chore(deps-dev): bump @commitlint/cli from 19.7.1 to 19.8.0
2025-03-18 10:42:49 +01:00
Kamil Mysliwiec
5bf4da24ab Merge pull request #14780 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.26.1
2025-03-18 10:42:39 +01:00
Kamil Mysliwiec
6e40350a75 Merge pull request #14781 from nestjs/dependabot/npm_and_yarn/prismjs-1.30.0
chore(deps-dev): bump prismjs from 1.29.0 to 1.30.0
2025-03-18 10:42:31 +01:00
Kamil Mysliwiec
ca76e5e674 Merge pull request #14782 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.26.1
chore(deps-dev): bump typescript-eslint from 8.26.0 to 8.26.1
2025-03-18 10:42:26 +01:00
Kamil Mysliwiec
8d87849a05 Merge pull request #14774 from Armatofik/chore-drop-useless-dep
chore(sample): remove `@types/express` useless dev deps from sample 10
2025-03-18 10:41:42 +01:00
Kamil Mysliwiec
fd548ba311 Merge pull request #14769 from nestjs/renovate/eslint-config-prettier-10.x
chore(deps): update dependency eslint-config-prettier to v10.1.1
2025-03-18 10:41:23 +01:00
anizozina
64eeb9bf00 fix(core): dependencies not resolving for request-scoped lazy providers 2025-03-18 06:57:47 +09:00
dependabot[bot]
3e6bb277d2 chore(deps-dev): bump lint-staged from 15.4.3 to 15.5.0
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 15.4.3 to 15.5.0.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v15.4.3...v15.5.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>
2025-03-13 00:06:15 +00:00
dependabot[bot]
5db341d48c chore(deps-dev): bump @grpc/grpc-js from 1.12.6 to 1.13.0
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.12.6 to 1.13.0.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.12.6...@grpc/grpc-js@1.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-12 00:34:51 +00:00
dependabot[bot]
87af70aaa4 chore(deps-dev): bump typescript-eslint from 8.26.0 to 8.26.1
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.26.0 to 8.26.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.26.1/packages/typescript-eslint)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-11 00:33:16 +00:00
dependabot[bot]
e9a1ed179a chore(deps-dev): bump prismjs from 1.29.0 to 1.30.0
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.29.0 to 1.30.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.29.0...v1.30.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-10 22:23:32 +00:00
renovate[bot]
a3ccbbf8e4 chore(deps): update typescript-eslint monorepo to v8.26.1 2025-03-10 19:35:14 +00:00
dependabot[bot]
7d763caed1 chore(deps-dev): bump @commitlint/cli from 19.7.1 to 19.8.0
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 19.7.1 to 19.8.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/v19.8.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>
2025-03-10 00:16:07 +00:00
Andrey Perminov
21e311080e chore(sample): remove @types/express useless dev deps from sample 10 2025-03-10 00:45:44 +05:00
renovate[bot]
8e514a85e7 chore(deps): update dependency eslint-config-prettier to v10.1.1 2025-03-07 15:38:40 +00:00
Kamil Mysliwiec
2d4b2c8a4c Merge pull request #14764 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.13.0
2025-03-07 09:52:59 +01:00
Kamil Mysliwiec
1ae142e75b Merge pull request #14768 from nestjs/renovate/eslint-config-prettier-10.x
chore(deps): update dependency eslint-config-prettier to v10.1.0
2025-03-07 09:52:53 +01:00
renovate[bot]
477eac8b2e fix(deps): update dependency mysql2 to v3.13.0 2025-03-07 07:27:45 +00:00
renovate[bot]
f3ce193ba6 chore(deps): update dependency eslint-config-prettier to v10.1.0 2025-03-07 07:27:34 +00:00
Kamil Mysliwiec
9aef6b250b Merge pull request #14763 from nestjs/dependabot/npm_and_yarn/ioredis-5.6.0
chore(deps-dev): bump ioredis from 5.5.0 to 5.6.0
2025-03-07 08:25:24 +01:00
Kamil Mysliwiec
ba7851e924 Merge pull request #14767 from nestjs/dependabot/npm_and_yarn/mysql2-3.13.0
chore(deps-dev): bump mysql2 from 3.12.0 to 3.13.0
2025-03-07 08:25:17 +01:00
dependabot[bot]
8f951a78c6 chore(deps-dev): bump mysql2 from 3.12.0 to 3.13.0
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.12.0 to 3.13.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.12.0...v3.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-07 00:29:39 +00:00
dependabot[bot]
50a08d4ffd chore(deps-dev): bump ioredis from 5.5.0 to 5.6.0
Bumps [ioredis](https://github.com/luin/ioredis) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/redis/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.5.0...v5.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-06 00:02:29 +00:00
Kamil Mysliwiec
00bb79721a Merge pull request #14755 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.12.1
2025-03-05 09:45:04 +01:00
Kamil Mysliwiec
f4bcfa817e Merge pull request #14757 from nestjs/dependabot/npm_and_yarn/types/ws-8.18.0
chore(deps-dev): bump @types/ws from 8.5.14 to 8.18.0
2025-03-05 09:44:39 +01:00
Kamil Mysliwiec
36e969d1c2 Merge pull request #14754 from nestjs/renovate/mongodb-6.x
fix(deps): update dependency mongodb to v6.14.2
2025-03-05 09:44:32 +01:00
dependabot[bot]
09197ee97a chore(deps-dev): bump @types/ws from 8.5.14 to 8.18.0
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 8.5.14 to 8.18.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-05 00:46:47 +00:00
renovate[bot]
1453b8534d fix(deps): update dependency mongoose to v8.12.1 2025-03-04 21:57:25 +00:00
renovate[bot]
573a625000 fix(deps): update dependency mongodb to v6.14.2 2025-03-04 21:57:04 +00:00
Kamil Mysliwiec
978b399e24 Merge pull request #14739 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.9
2025-03-04 12:31:26 +01:00
renovate[bot]
de283191da chore(deps): update dependency @types/node to v22.13.9 2025-03-04 11:19:10 +00:00
Kamil Mysliwiec
821005c1d4 Merge pull request #14740 from nestjs/renovate/mongodb-6.x
fix(deps): update dependency mongodb to v6.14.1
2025-03-04 12:14:19 +01:00
Kamil Mysliwiec
53fa011d36 Merge pull request #14747 from nestjs/renovate/cache-manager-6.x
fix(deps): update dependency cache-manager to v6.4.1
2025-03-04 12:14:11 +01:00
Kamil Mysliwiec
b337bf2fff Merge pull request #14748 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update graphql-tools monorepo
2025-03-04 12:14:05 +01:00
Kamil Mysliwiec
4f41a6dfa9 Merge pull request #14737 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.12.0
2025-03-04 12:14:01 +01:00
Kamil Mysliwiec
efbdcd980a Merge pull request #14751 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.26.0
2025-03-04 12:13:46 +01:00
Kamil Mysliwiec
e82b0e1e47 Merge pull request #14752 from nestjs/renovate/sequelize-6.x
fix(deps): update dependency sequelize to v6.37.6
2025-03-04 12:13:39 +01:00
renovate[bot]
ec34752fb3 fix(deps): update dependency sequelize to v6.37.6 2025-03-04 10:46:12 +00:00
renovate[bot]
ede1888243 chore(deps): update typescript-eslint monorepo to v8.26.0 2025-03-04 06:48:51 +00:00
renovate[bot]
e29568743a fix(deps): update graphql-tools monorepo 2025-03-04 00:30:42 +00:00
renovate[bot]
a232b7b825 fix(deps): update dependency cache-manager to v6.4.1 2025-03-04 00:30:28 +00:00
renovate[bot]
a313c9b925 fix(deps): update dependency mongodb to v6.14.1 2025-03-03 22:31:11 +00:00
renovate[bot]
545fa46e09 fix(deps): update dependency mongoose to v8.12.0 2025-03-03 16:59:15 +00:00
Kamil Mysliwiec
3eaa07ae17 Merge pull request #14733 from nestjs/renovate/typeorm-0.x
fix(deps): update dependency typeorm to v0.3.21
2025-03-03 11:51:23 +01:00
Kamil Mysliwiec
9fd7bb073f Merge pull request #14717 from nestjs/renovate/amqplib-0.x
chore(deps): update dependency @types/amqplib to v0.10.7
2025-03-03 11:51:05 +01:00
Kamil Mysliwiec
225f92c5b9 Merge pull request #14732 from nestjs/renovate/nest-monorepo
chore(deps): update dependency @nestjs/schematics to v11.0.2
2025-03-03 11:50:55 +01:00
renovate[bot]
662485bc11 fix(deps): update dependency typeorm to v0.3.21 2025-03-03 09:47:34 +00:00
renovate[bot]
b966c6ee2d chore(deps): update dependency @types/amqplib to v0.10.7 2025-03-03 09:47:12 +00:00
renovate[bot]
f1f4886b46 chore(deps): update dependency @nestjs/schematics to v11.0.2 2025-03-03 09:47:08 +00:00
Kamil Mysliwiec
ef641f3e39 Merge pull request #14719 from nestjs/renovate/core-js-3.x
chore(deps): update dependency core-js to v3.41.0
2025-03-03 10:45:01 +01:00
Kamil Mysliwiec
f6aa3a6345 Merge pull request #14722 from nestjs/renovate/ansis-3.x
fix(deps): update dependency ansis to v3.17.0
2025-03-03 10:44:51 +01:00
Kamil Mysliwiec
0235baaf8c Merge pull request #14718 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.8
2025-03-03 10:44:20 +01:00
Kamil Mysliwiec
cfa8c7c513 Merge pull request #14726 from nestjs/dependabot/npm_and_yarn/core-js-3.41.0
chore(deps-dev): bump core-js from 3.40.0 to 3.41.0
2025-03-03 10:44:11 +01:00
Kamil Mysliwiec
b83313ea42 Merge pull request #14727 from nestjs/dependabot/npm_and_yarn/ansis-3.17.0
chore(deps): bump ansis from 3.16.0 to 3.17.0
2025-03-03 10:44:03 +01:00
Kamil Mysliwiec
1800ef0cb2 Merge pull request #14729 from nestjs/dependabot/npm_and_yarn/types/node-22.13.8
chore(deps-dev): bump @types/node from 22.13.5 to 22.13.8
2025-03-03 10:43:55 +01:00
Kamil Mysliwiec
612288e9cf Merge pull request #14730 from nestjs/dependabot/npm_and_yarn/types/amqplib-0.10.7
chore(deps-dev): bump @types/amqplib from 0.10.6 to 0.10.7
2025-03-03 10:43:21 +01:00
Kamil Mysliwiec
ddf876eded Merge pull request #14731 from nestjs/renovate/prettier-3.x
chore(deps): update dependency prettier to v3.5.3
2025-03-03 10:43:10 +01:00
Kamil Mysliwiec
d9138b0134 Merge pull request #14716 from nestjs/renovate/mongodb-6.x
fix(deps): update dependency mongodb to v6.14.0
2025-03-03 10:43:01 +01:00
renovate[bot]
0edc8eef3d chore(deps): update dependency prettier to v3.5.3 2025-03-03 02:15:30 +00:00
dependabot[bot]
8959b8e6ca chore(deps-dev): bump @types/amqplib from 0.10.6 to 0.10.7
Bumps [@types/amqplib](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/amqplib) from 0.10.6 to 0.10.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/amqplib)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 00:07:33 +00:00
dependabot[bot]
3de3a63254 chore(deps-dev): bump @types/node from 22.13.5 to 22.13.8
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.5 to 22.13.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 00:07:07 +00:00
dependabot[bot]
9f8d5fda30 chore(deps): bump ansis from 3.16.0 to 3.17.0
Bumps [ansis](https://github.com/webdiscus/ansis) from 3.16.0 to 3.17.0.
- [Release notes](https://github.com/webdiscus/ansis/releases)
- [Changelog](https://github.com/webdiscus/ansis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdiscus/ansis/compare/v3.16.0...v3.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 00:06:21 +00:00
dependabot[bot]
5f317c9e9e chore(deps-dev): bump core-js from 3.40.0 to 3.41.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.40.0 to 3.41.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.41.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>
2025-03-03 00:05:49 +00:00
renovate[bot]
2827ee0041 fix(deps): update dependency ansis to v3.17.0 2025-03-02 02:15:03 +00:00
renovate[bot]
603a44649d chore(deps): update dependency core-js to v3.41.0 2025-03-01 18:02:24 +00:00
renovate[bot]
d8b32ca847 chore(deps): update dependency @types/node to v22.13.8 2025-03-01 15:54:47 +00:00
renovate[bot]
17421db71a fix(deps): update dependency mongodb to v6.14.0 2025-02-28 18:05:38 +00:00
Kamil Mysliwiec
703ac9ad23 Merge pull request #14713 from nestjs/renovate/nestjs-swagger-11.x
fix(deps): update dependency @nestjs/swagger to v11.0.6
2025-02-28 16:02:38 +01:00
renovate[bot]
ddef630449 fix(deps): update dependency @nestjs/swagger to v11.0.6 2025-02-28 11:11:50 +00:00
Kamil Mysliwiec
8ca22f4255 Merge pull request #14714 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.11
2025-02-28 12:10:16 +01:00
renovate[bot]
0c4e9b83a7 fix(deps): update nest monorepo to v11.0.11 2025-02-28 08:01:49 +00:00
Kamil Mysliwiec
2f64480574 Merge pull request #14712 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.11
2025-02-28 09:00:30 +01:00
renovate[bot]
8fbca84f4c fix(deps): update nest monorepo to v11.0.11 2025-02-28 07:39:55 +00:00
Kamil Myśliwiec
132c1df851 chore(@nestjs) publish v11.0.11 release 2025-02-28 08:38:09 +01:00
Kamil Mysliwiec
71c30d457c Merge pull request #14677 from smith558/new-fastify-parser
perf: Switch deprecated parser querystring for fast-querystring
2025-02-28 08:33:00 +01:00
Kamil Mysliwiec
7fb28963e4 Merge pull request #14705 from nestjs/renovate/nest-monorepo
chore(deps): update dependency @nestjs/cli to v11.0.5
2025-02-27 09:07:47 +01:00
renovate[bot]
5589e47d7b chore(deps): update dependency @nestjs/cli to v11.0.5 2025-02-27 07:52:50 +00:00
Kamil Mysliwiec
ffc0be3145 Merge pull request #14710 from nestjs/dependabot/npm_and_yarn/mqtt-5.10.4
chore(deps-dev): bump mqtt from 5.10.3 to 5.10.4
2025-02-27 08:51:25 +01:00
dependabot[bot]
b8d76c2bde chore(deps-dev): bump mqtt from 5.10.3 to 5.10.4
Bumps [mqtt](https://github.com/mqttjs/MQTT.js) from 5.10.3 to 5.10.4.
- [Release notes](https://github.com/mqttjs/MQTT.js/releases)
- [Changelog](https://github.com/mqttjs/MQTT.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mqttjs/MQTT.js/compare/v5.10.3...v5.10.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-27 07:48:40 +00:00
Kamil Mysliwiec
83327a79f4 Merge pull request #14706 from nestjs/renovate/eslint-config-prettier-10.x
chore(deps): update dependency eslint-config-prettier to v10.0.2
2025-02-27 08:48:10 +01:00
Kamil Mysliwiec
5d1747237c Merge pull request #14708 from nestjs/dependabot/npm_and_yarn/mongoose-8.11.0
chore(deps-dev): bump mongoose from 8.10.2 to 8.11.0
2025-02-27 08:47:50 +01:00
Kamil Mysliwiec
3e8a2dbd6b Merge pull request #14709 from nestjs/dependabot/npm_and_yarn/eslint-config-prettier-10.0.2
chore(deps-dev): bump eslint-config-prettier from 10.0.1 to 10.0.2
2025-02-27 08:47:42 +01:00
Kamil Mysliwiec
87e1fda2e5 Merge pull request #14711 from nestjs/renovate/fastify-cors-11.x
fix(deps): update dependency @fastify/cors to v11
2025-02-27 08:47:30 +01:00
Kamil Mysliwiec
90a14fc58e Merge pull request #14701 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.11.0
2025-02-27 08:47:10 +01:00
renovate[bot]
7bcf8bafdb fix(deps): update dependency @fastify/cors to v11 2025-02-27 07:26:22 +00:00
dependabot[bot]
27aa8a950c chore(deps-dev): bump eslint-config-prettier from 10.0.1 to 10.0.2
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 10.0.1 to 10.0.2.
- [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/v10.0.1...v10.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-27 00:42:00 +00:00
dependabot[bot]
7f24f177f5 chore(deps-dev): bump mongoose from 8.10.2 to 8.11.0
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.10.2 to 8.11.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/8.10.2...8.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-27 00:41:42 +00:00
renovate[bot]
6f6f3265f9 fix(deps): update dependency mongoose to v8.11.0 2025-02-26 21:52:45 +00:00
renovate[bot]
45cec787c7 chore(deps): update dependency eslint-config-prettier to v10.0.2 2025-02-26 19:25:36 +00:00
Kamil Mysliwiec
d2b9d62d0c Merge pull request #14703 from nestjs/dependabot/npm_and_yarn/mongoose-8.10.2
chore(deps-dev): bump mongoose from 8.10.1 to 8.10.2
2025-02-26 08:59:03 +01:00
Kamil Mysliwiec
3b49a4474b Merge pull request #14700 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update graphql-tools monorepo
2025-02-26 08:58:49 +01:00
dependabot[bot]
1b7944ef37 chore(deps-dev): bump mongoose from 8.10.1 to 8.10.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.10.1 to 8.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/8.10.1...8.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>
2025-02-26 00:43:07 +00:00
renovate[bot]
8e5039a4ce fix(deps): update graphql-tools monorepo 2025-02-25 16:32:29 +00:00
Kamil Mysliwiec
c33107c71f Merge pull request #14695 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.25.0
2025-02-25 09:21:50 +01:00
Kamil Mysliwiec
a4d23bd483 Merge pull request #14693 from nestjs/renovate/nestjs-event-emitter-3.x
fix(deps): update dependency @nestjs/event-emitter to v3.0.1
2025-02-25 09:21:38 +01:00
Kamil Mysliwiec
7a74315e77 Merge pull request #14694 from nestjs/renovate/nestjs-swagger-11.x
fix(deps): update dependency @nestjs/swagger to v11.0.5
2025-02-25 09:21:31 +01:00
Kamil Mysliwiec
37575646ee Merge pull request #14696 from nestjs/renovate/fastify-cors-10.x
fix(deps): update dependency @fastify/cors to v10.1.0
2025-02-25 09:20:33 +01:00
Kamil Mysliwiec
a7b44f0898 Merge pull request #14698 from nestjs/dependabot/npm_and_yarn/fastify/cors-10.1.0
chore(deps): bump @fastify/cors from 10.0.2 to 10.1.0
2025-02-25 09:20:26 +01:00
Kamil Mysliwiec
c89db5c72f Merge pull request #14692 from nestjs/renovate/mercurius-16.x
fix(deps): update dependency mercurius to v16.1.0
2025-02-25 09:20:16 +01:00
dependabot[bot]
caab3142b4 chore(deps): bump @fastify/cors from 10.0.2 to 10.1.0
Bumps [@fastify/cors](https://github.com/fastify/fastify-cors) from 10.0.2 to 10.1.0.
- [Release notes](https://github.com/fastify/fastify-cors/releases)
- [Commits](https://github.com/fastify/fastify-cors/compare/v10.0.2...v10.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 00:21:05 +00:00
renovate[bot]
ee15a371e8 fix(deps): update dependency @fastify/cors to v10.1.0 2025-02-24 22:36:20 +00:00
renovate[bot]
c4e3a2e104 chore(deps): update typescript-eslint monorepo to v8.25.0 2025-02-24 19:58:38 +00:00
renovate[bot]
c5fc33949f fix(deps): update dependency @nestjs/swagger to v11.0.5 2025-02-24 15:57:37 +00:00
renovate[bot]
eb7579c81e fix(deps): update dependency @nestjs/event-emitter to v3.0.1 2025-02-24 15:57:32 +00:00
renovate[bot]
c286202321 fix(deps): update dependency mercurius to v16.1.0 2025-02-24 11:22:39 +00:00
Kamil Mysliwiec
963c201409 Merge pull request #14685 from nestjs/renovate/sinon-17.x
chore(deps): update dependency @types/sinon to v17.0.4
2025-02-24 09:05:57 +01:00
Kamil Mysliwiec
c59512673c Merge pull request #14689 from nestjs/dependabot/npm_and_yarn/ws-8.18.1
chore(deps): bump ws from 8.18.0 to 8.18.1
2025-02-24 09:05:45 +01:00
dependabot[bot]
ce18358fb0 chore(deps): bump ws from 8.18.0 to 8.18.1
Bumps [ws](https://github.com/websockets/ws) from 8.18.0 to 8.18.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.18.0...8.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 00:55:19 +00:00
renovate[bot]
28d2ea36b4 chore(deps): update dependency @types/sinon to v17.0.4 2025-02-23 14:04:56 +00:00
Kamil Mysliwiec
f5e2202070 Merge pull request #14681 from nestjs/renovate/eslint-eslintrc-3.x
chore(deps): update dependency @eslint/eslintrc to v3.3.0
2025-02-23 15:01:09 +01:00
Kamil Mysliwiec
4e3f35080b Merge pull request #14686 from nestjs/renovate/rxjs-7.x
fix(deps): update dependency rxjs to v7.8.2
2025-02-23 15:00:53 +01:00
Kamil Mysliwiec
db9d16c207 Merge pull request #14688 from nestjs/renovate/ts-jest-29.x
chore(deps): update dependency ts-jest to v29.2.6
2025-02-23 15:00:47 +01:00
Kamil Mysliwiec
85abd10af3 Merge pull request #14680 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.5
2025-02-23 15:00:40 +01:00
renovate[bot]
0f3ce0a131 chore(deps): update dependency ts-jest to v29.2.6 2025-02-23 10:23:39 +00:00
renovate[bot]
dcfa8c64e2 chore(deps): update dependency @eslint/eslintrc to v3.3.0 2025-02-22 13:41:29 +00:00
renovate[bot]
a0c4718d8f fix(deps): update dependency rxjs to v7.8.2 2025-02-22 13:41:09 +00:00
renovate[bot]
1e466de1bc chore(deps): update dependency @types/node to v22.13.5 2025-02-22 13:40:40 +00:00
Kamil Mysliwiec
38773bfb0f Merge pull request #14642 from nestjs/renovate/ansis-3.x
fix(deps): update dependency ansis to v3.16.0
2025-02-22 14:36:25 +01:00
Kamil Mysliwiec
0810b3417f Merge pull request #14671 from nestjs/renovate/globals-16.x
chore(deps): update dependency globals to v16
2025-02-22 14:36:16 +01:00
Kamil Mysliwiec
0a32c1708c Merge pull request #14678 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update graphql-tools monorepo
2025-02-22 14:36:11 +01:00
Kamil Mysliwiec
7756b69883 Merge pull request #14682 from nestjs/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.21.0
2025-02-22 14:35:56 +01:00
Kamil Mysliwiec
6dee1eef8f Merge pull request #14683 from nestjs/renovate/prettier-3.x
chore(deps): update dependency prettier to v3.5.2
2025-02-22 14:33:39 +01:00
renovate[bot]
61ae1d8c87 fix(deps): update dependency ansis to v3.16.0 2025-02-22 06:39:00 +00:00
renovate[bot]
2cdc2b8bdd chore(deps): update dependency prettier to v3.5.2 2025-02-22 06:38:34 +00:00
renovate[bot]
1c28ed3f8e chore(deps): update eslint monorepo to v9.21.0 2025-02-22 01:27:37 +00:00
renovate[bot]
c3fe5309ec fix(deps): update graphql-tools monorepo 2025-02-21 19:25:02 +00:00
Stanislav Modrak
9e30447cbc perf: Switch deprecated parser querystring for fast-querystring 2025-02-21 13:15:00 +00:00
renovate[bot]
1edc7bd159 chore(deps): update dependency globals to v16 2025-02-21 09:37:10 +00:00
Kamil Mysliwiec
33227d765c Merge pull request #14673 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.4.1
2025-02-21 10:34:13 +01:00
Kamil Mysliwiec
6630956f1f Merge pull request #14674 from nestjs/renovate/mongodb-6.x
fix(deps): update dependency mongodb to v6.13.1
2025-02-21 10:34:05 +01:00
Kamil Mysliwiec
bec6feda10 Merge pull request #14675 from nestjs/dependabot/npm_and_yarn/globals-16.0.0
chore(deps-dev): bump globals from 15.15.0 to 16.0.0
2025-02-21 10:33:58 +01:00
Kamil Mysliwiec
fc9dc99026 Merge pull request #14670 from nestjs/renovate/nestjs-serve-static-5.x
fix(deps): update dependency @nestjs/serve-static to v5.0.3
2025-02-21 10:33:50 +01:00
dependabot[bot]
87fbf8fc95 chore(deps-dev): bump globals from 15.15.0 to 16.0.0
Bumps [globals](https://github.com/sindresorhus/globals) from 15.15.0 to 16.0.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.15.0...v16.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-21 00:03:07 +00:00
renovate[bot]
4362ea43fe fix(deps): update dependency mongodb to v6.13.1 2025-02-20 23:21:59 +00:00
renovate[bot]
768c048e43 fix(deps): update dependency @prisma/client to v6.4.1 2025-02-20 23:21:54 +00:00
renovate[bot]
1bbd5987d8 fix(deps): update dependency @nestjs/serve-static to v5.0.3 2025-02-20 11:34:35 +00:00
Kamil Mysliwiec
b96d3d53a6 Merge pull request #14666 from nestjs/renovate/confluentinc-cp-zookeeper-7.x
chore(deps): update confluentinc/cp-zookeeper docker tag to v7.9.0
2025-02-20 08:50:59 +01:00
Kamil Mysliwiec
eec46f0afe Merge pull request #14668 from nestjs/dependabot/npm_and_yarn/uuid-11.1.0
chore(deps): bump uuid from 11.0.5 to 11.1.0
2025-02-20 08:50:51 +01:00
dependabot[bot]
b6a3205200 chore(deps): bump uuid from 11.0.5 to 11.1.0
Bumps [uuid](https://github.com/uuidjs/uuid) from 11.0.5 to 11.1.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v11.0.5...v11.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-20 00:54:13 +00:00
renovate[bot]
5689c70992 chore(deps): update confluentinc/cp-zookeeper docker tag to v7.9.0 2025-02-19 19:02:25 +00:00
Kamil Mysliwiec
4b42320884 Merge pull request #14662 from nestjs/renovate/nestjs-swagger-11.x
fix(deps): update dependency @nestjs/swagger to v11.0.4
2025-02-19 13:43:44 +01:00
Kamil Mysliwiec
fd55080001 Merge pull request #14663 from nestjs/renovate/confluentinc-cp-kafka-7.x
chore(deps): update confluentinc/cp-kafka docker tag to v7.9.0
2025-02-19 13:43:22 +01:00
Kamil Mysliwiec
90caf77d3c Merge pull request #14661 from nestjs/dependabot/npm_and_yarn/jsonpath-plus-10.3.0
chore(deps-dev): bump jsonpath-plus from 10.2.0 to 10.3.0
2025-02-19 13:37:10 +01:00
renovate[bot]
8b1e0ec646 chore(deps): update confluentinc/cp-kafka docker tag to v7.9.0 2025-02-19 12:09:53 +00:00
renovate[bot]
1dac7ccc16 fix(deps): update dependency @nestjs/swagger to v11.0.4 2025-02-19 12:09:48 +00:00
dependabot[bot]
fc372e4b59 chore(deps-dev): bump jsonpath-plus from 10.2.0 to 10.3.0
Bumps [jsonpath-plus](https://github.com/s3u/JSONPath) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/s3u/JSONPath/releases)
- [Changelog](https://github.com/JSONPath-Plus/JSONPath/blob/main/CHANGES.md)
- [Commits](https://github.com/s3u/JSONPath/compare/v10.2.0...v10.3.0)

---
updated-dependencies:
- dependency-name: jsonpath-plus
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-19 11:25:20 +00:00
Kamil Mysliwiec
463dd7b22b Merge pull request #14658 from nestjs/renovate/nest-monorepo
chore(deps): update dependency @nestjs/cli to v11.0.4
2025-02-19 09:05:27 +01:00
Kamil Mysliwiec
ac4f59dbc3 Merge pull request #14659 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.4.0
2025-02-19 09:05:16 +01:00
renovate[bot]
6e5d0e28de fix(deps): update dependency @prisma/client to v6.4.0 2025-02-18 18:52:46 +00:00
renovate[bot]
fd028a47de chore(deps): update dependency @nestjs/cli to v11.0.4 2025-02-18 15:05:04 +00:00
Kamil Mysliwiec
d80eec482c Merge pull request #14654 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.24.1
2025-02-18 09:22:00 +01:00
Kamil Mysliwiec
c061dcd680 Merge pull request #14655 from nestjs/renovate/nest-graphql-monorepo
fix(deps): update dependency @nestjs/apollo to v13.0.3
2025-02-18 09:21:47 +01:00
renovate[bot]
4ce3c78b7d chore(deps): update typescript-eslint monorepo to v8.24.1 2025-02-17 18:33:34 +00:00
renovate[bot]
1d6ed70abf fix(deps): update dependency @nestjs/apollo to v13.0.3 2025-02-17 12:31:41 +00:00
Kamil Mysliwiec
5e684c80c2 Merge pull request #14651 from nestjs/renovate/nest-monorepo
chore(deps): update nest monorepo
2025-02-17 13:29:57 +01:00
Kamil Mysliwiec
19652374dc Merge pull request #14652 from nestjs/renovate/nest-graphql-monorepo
fix(deps): update nest-graphql monorepo to v13.0.3
2025-02-17 13:29:49 +01:00
renovate[bot]
618c7426ad fix(deps): update nest-graphql monorepo to v13.0.3 2025-02-17 12:22:37 +00:00
renovate[bot]
c3fde40c3d chore(deps): update nest monorepo 2025-02-17 12:22:14 +00:00
Kamil Mysliwiec
62d0455a19 Merge pull request #14650 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.10
2025-02-17 13:19:40 +01:00
renovate[bot]
2112a355fe fix(deps): update nest monorepo to v11.0.10 2025-02-17 11:27:50 +00:00
Kamil Mysliwiec
05b1abb7f6 Merge pull request #14649 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.10
2025-02-17 12:23:56 +01:00
renovate[bot]
1ab7e605c6 fix(deps): update nest monorepo to v11.0.10 2025-02-17 11:16:07 +00:00
Kamil Myśliwiec
51237a3d58 chore: update package.json 2025-02-17 12:14:35 +01:00
Kamil Myśliwiec
baba45e74d chore(@nestjs) publish v11.0.10 release 2025-02-17 12:12:34 +01:00
Kamil Myśliwiec
ecfcc60404 Merge branch 'luddwichr-fully-fix-express-parser-registration' 2025-02-17 10:34:51 +01:00
Kamil Myśliwiec
224cffd442 test: move after each to describe block 2025-02-17 10:34:38 +01:00
Kamil Myśliwiec
eb2668d7be Merge branch 'fully-fix-express-parser-registration' of https://github.com/luddwichr/nest into luddwichr-fully-fix-express-parser-registration 2025-02-17 10:23:36 +01:00
Kamil Mysliwiec
18345578ca Merge pull request #14647 from nestjs/renovate/fastify-static-8.x
fix(deps): update dependency @fastify/static to v8.1.1
2025-02-17 10:16:07 +01:00
renovate[bot]
f29689078d fix(deps): update dependency @fastify/static to v8.1.1 2025-02-17 08:56:07 +00:00
Kamil Mysliwiec
99e6ba624b Merge pull request #14648 from nestjs/renovate/light-my-request-6.x
fix(deps): update dependency light-my-request to v6.6.0
2025-02-17 09:54:21 +01:00
Kamil Mysliwiec
fc3b643616 Merge pull request #14605 from shprota/microservices-server-send-fix
fix(microservices): server send drops emitted value
2025-02-17 09:46:03 +01:00
renovate[bot]
dd017bc4a6 fix(deps): update dependency light-my-request to v6.6.0 2025-02-17 08:43:55 +00:00
Kamil Mysliwiec
0ca6bbf8c9 Merge pull request #14643 from nestjs/dependabot/npm_and_yarn/ansis-3.15.0
chore(deps): bump ansis from 3.14.0 to 3.15.0
2025-02-17 09:41:45 +01:00
dependabot[bot]
1e690bce43 chore(deps): bump ansis from 3.14.0 to 3.15.0
Bumps [ansis](https://github.com/webdiscus/ansis) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/webdiscus/ansis/releases)
- [Changelog](https://github.com/webdiscus/ansis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdiscus/ansis/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 00:23:52 +00:00
Kamil Mysliwiec
db3697b148 Merge pull request #14639 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.10.1
2025-02-15 19:23:30 +01:00
Kamil Mysliwiec
e661a40e95 Merge pull request #14638 from nestjs/renovate/nats-2.x
chore(deps): update dependency nats to v2.29.2
2025-02-15 19:23:22 +01:00
luddwichr
123f653d0a fix(platform-express) respect existing parser middlewares when using Express 5
Express 5 made the router public API again and renamed the field from app._router to app.router.
This broke the detection mechanism whether a middleware named "jsonParser" or "urlencodedParser"
is already registered or not.
Unfortunately, https://github.com/nestjs/nest/pull/14574/ only fixed the issue partially.
This commit now uses app.router everywhere.
To avoid future regressions a test was added to verify the expected behavior.
2025-02-14 22:36:36 +01:00
luddwichr
eff8f156d1 fix(platform-express) respect existing parser middlewares when using Express 5
Express 5 made the router public API again and renamed the field from app._router to app.router.
This broke the detection mechanism whether a middleware named "jsonParser" or "urlencodedParser"
is already registered or not.
Unfortunately, https://github.com/nestjs/nest/pull/14574/ only fixed the issue partially.
This commit now uses app.router everywhere.
To avoid future regressions a test was added to verify the expected behavior.
2025-02-14 22:25:16 +01:00
renovate[bot]
eafc51de8a fix(deps): update dependency mongoose to v8.10.1 2025-02-14 18:12:27 +00:00
renovate[bot]
454eb7ff65 chore(deps): update dependency nats to v2.29.2 2025-02-14 18:12:10 +00:00
Kamil Mysliwiec
cda26dff01 Merge pull request #14630 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.98.0
2025-02-14 13:30:00 +01:00
Kamil Mysliwiec
1f11d0e160 Merge pull request #14636 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.26.9
2025-02-14 13:29:51 +01:00
renovate[bot]
69fd85f68c chore(deps): update dependency webpack to v5.98.0 2025-02-14 12:11:53 +00:00
renovate[bot]
3cc7a2f65e chore(deps): update babel monorepo to v7.26.9 2025-02-14 12:11:49 +00:00
Kamil Mysliwiec
49ba48d06f Merge pull request #14632 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.4
2025-02-14 13:08:13 +01:00
Kamil Mysliwiec
6e753b2c8f Merge pull request #14629 from nestjs/renovate/prettier-3.x
chore(deps): update dependency prettier to v3.5.1
2025-02-14 13:08:00 +01:00
Kamil Mysliwiec
5a35d9677e Merge pull request #14633 from nestjs/renovate/apollo-graphql-packages
fix(deps): update apollo graphql packages to v2.10.0
2025-02-14 13:07:52 +01:00
renovate[bot]
aabe5abe60 fix(deps): update apollo graphql packages to v2.10.0 2025-02-13 23:51:01 +00:00
renovate[bot]
2c84cee2b3 chore(deps): update dependency @types/node to v22.13.4 2025-02-13 23:50:50 +00:00
renovate[bot]
cecf9230af chore(deps): update dependency prettier to v3.5.1 2025-02-13 18:46:24 +00:00
Kamil Mysliwiec
5db1569eb4 Merge pull request #14625 from nestjs/renovate/ansis-3.x
fix(deps): update dependency ansis to v3.14.0
2025-02-13 08:40:48 +01:00
Kamil Mysliwiec
77af54702d Merge pull request #14622 from nestjs/renovate/globals-15.x
chore(deps): update dependency globals to v15.15.0
2025-02-13 08:39:37 +01:00
Kamil Mysliwiec
e2d8808e1d Merge pull request #14626 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.2
2025-02-13 08:39:04 +01:00
renovate[bot]
b2ab0c4edf chore(deps): update dependency @types/node to v22.13.2 2025-02-13 06:10:56 +00:00
renovate[bot]
b621763eb7 fix(deps): update dependency ansis to v3.14.0 2025-02-13 00:40:34 +00:00
renovate[bot]
8528ab6f30 chore(deps): update dependency globals to v15.15.0 2025-02-12 19:41:17 +00:00
Kamil Mysliwiec
c769abd355 Merge pull request #14618 from nestjs/renovate/eslint-monorepo
chore(deps): update dependency eslint to v9.20.1
2025-02-12 08:37:11 +01:00
renovate[bot]
5307b97ec8 chore(deps): update dependency eslint to v9.20.1 2025-02-11 20:25:02 +00:00
Kamil Mysliwiec
52ea5d20b5 Merge pull request #14602 from nestjs/renovate/confluentinc-cp-zookeeper-7.x
chore(deps): update confluentinc/cp-zookeeper docker tag to v7.8.1
2025-02-11 08:12:51 +01:00
Kamil Mysliwiec
dd748d0c06 Merge pull request #14609 from nestjs/renovate/ansis-3.x
fix(deps): update dependency ansis to v3.12.0
2025-02-11 08:12:30 +01:00
Kamil Mysliwiec
784e68cadb Merge pull request #14603 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.9
2025-02-11 08:12:22 +01:00
Kamil Mysliwiec
be3a76dcd9 Merge pull request #14604 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.24.0
2025-02-11 08:12:12 +01:00
renovate[bot]
a6fd15616a fix(deps): update dependency ansis to v3.12.0 2025-02-11 00:40:54 +00:00
renovate[bot]
e5939b4374 chore(deps): update typescript-eslint monorepo to v8.24.0 2025-02-10 21:05:31 +00:00
Constantine Poltyrev
4b6115a92a fix(microservices): server send drops emitted value 2025-02-10 19:45:25 +02:00
renovate[bot]
03cf4eb9f3 fix(deps): update nest monorepo to v11.0.9 2025-02-10 17:28:19 +00:00
renovate[bot]
1648a3cec9 chore(deps): update confluentinc/cp-zookeeper docker tag to v7.8.1 2025-02-10 15:13:27 +00:00
Kamil Myśliwiec
3c276c9821 chore(@nestjs) publish v11.0.9 release 2025-02-10 16:12:24 +01:00
Kamil Mysliwiec
902e43fc0c Merge pull request #14597 from nestjs/perf/use-topology-tree-for-distance
perf(core): use topology tree for calculating distance (depth)
2025-02-10 16:11:50 +01:00
Kamil Mysliwiec
0f894b7255 Merge pull request #14598 from nestjs/renovate/confluentinc-cp-kafka-7.x
chore(deps): update confluentinc/cp-kafka docker tag to v7.8.1
2025-02-10 14:50:28 +01:00
Kamil Mysliwiec
c7e9c346c1 Merge pull request #14599 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update graphql-tools monorepo
2025-02-10 14:16:03 +01:00
Kamil Mysliwiec
16a223866e Merge pull request #14579 from nestjs/fix/validation-pipe-swc-14430
fix(common): revert to original value (swc builders regression)
2025-02-10 14:12:58 +01:00
Kamil Myśliwiec
6292ea9c1b Merge branch 'master' into perf/use-topology-tree-for-distance 2025-02-10 14:11:59 +01:00
Kamil Myśliwiec
1414e2c1ef fix: skip root module if undefined 2025-02-10 14:11:36 +01:00
renovate[bot]
c66559daae fix(deps): update graphql-tools monorepo 2025-02-10 13:09:47 +00:00
renovate[bot]
916d130e33 chore(deps): update confluentinc/cp-kafka docker tag to v7.8.1 2025-02-10 13:09:24 +00:00
Kamil Mysliwiec
93b8e9686d Merge pull request #14586 from micalevisk/chore-remove-useless-files-from-samples
chore(sample): drop useless files from samples 19,26,27,30,31,32
2025-02-10 14:07:59 +01:00
Kamil Myśliwiec
5b7e1a4e9d Merge branch 'perf/use-topology-tree-for-distance' of https://github.com/nestjs/nest into perf/use-topology-tree-for-distance 2025-02-10 14:02:49 +01:00
Kamil Myśliwiec
a4b180a077 Merge branch 'master' of https://github.com/nestjs/nest into perf/use-topology-tree-for-distance 2025-02-10 14:02:35 +01:00
Kamil Mysliwiec
fececd2d3c Update packages/core/scanner.ts 2025-02-10 14:00:41 +01:00
Micael Levi L. Cavalcante
c43fa7c500 chore(sample): drop useless files from samples 19,26,27,30,31,32 2025-02-10 08:44:07 -04:00
Kamil Myśliwiec
8dca14ebd4 test: early return when imports undefined 2025-02-10 11:53:42 +01:00
Kamil Myśliwiec
2bdec35233 style: disable no-this-alias for tree-node 2025-02-10 11:31:36 +01:00
Kamil Myśliwiec
1832c9e0aa test: early return when imports undefined 2025-02-10 11:31:03 +01:00
Kamil Myśliwiec
5703250e6a chore: rename method name 2025-02-10 10:48:29 +01:00
Kamil Myśliwiec
059e817e46 fix: stop on cycles 2025-02-10 10:46:19 +01:00
Kamil Myśliwiec
3179609d6d refactor: dont track node depth 2025-02-10 10:33:51 +01:00
Kamil Mysliwiec
2318e470d8 Merge pull request #14587 from nestjs/renovate/prettier-3.x
chore(deps): update dependency prettier to v3.5.0
2025-02-10 09:48:14 +01:00
Kamil Myśliwiec
c743c74f71 perf(core): use topology tree for calculating distance 2025-02-10 09:47:36 +01:00
renovate[bot]
f6ddfb62c8 chore(deps): update dependency prettier to v3.5.0 2025-02-10 07:38:03 +00:00
Kamil Mysliwiec
bf7768b8eb Merge pull request #14584 from nestjs/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.20.0
2025-02-10 08:37:08 +01:00
Kamil Mysliwiec
5bd04884de Merge pull request #14592 from nestjs/dependabot/npm_and_yarn/eslint/js-9.20.0
chore(deps-dev): bump @eslint/js from 9.19.0 to 9.20.0
2025-02-10 08:36:59 +01:00
dependabot[bot]
693d282d5d chore(deps-dev): bump @eslint/js from 9.19.0 to 9.20.0
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.19.0 to 9.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.20.0/packages/js)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 07:35:47 +00:00
renovate[bot]
190477458c chore(deps): update eslint monorepo to v9.20.0 2025-02-10 07:35:20 +00:00
Kamil Mysliwiec
b59222d0ab Merge pull request #14585 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.26.8
2025-02-10 08:33:13 +01:00
renovate[bot]
b20535c0b7 chore(deps): update babel monorepo to v7.26.8 2025-02-10 07:33:02 +00:00
Kamil Mysliwiec
c05823f922 Merge pull request #14591 from nestjs/renovate/ansis-3.x
fix(deps): update dependency ansis to v3.11.0
2025-02-10 08:32:41 +01:00
Kamil Mysliwiec
31b2d6ea1c Merge pull request #14593 from nestjs/dependabot/npm_and_yarn/ioredis-5.5.0
chore(deps-dev): bump ioredis from 5.4.2 to 5.5.0
2025-02-10 08:32:23 +01:00
Kamil Mysliwiec
11c776bc32 Merge pull request #14594 from nestjs/dependabot/npm_and_yarn/prettier-3.5.0
chore(deps-dev): bump prettier from 3.4.2 to 3.5.0
2025-02-10 08:32:19 +01:00
Kamil Mysliwiec
4547724820 Merge pull request #14595 from nestjs/dependabot/npm_and_yarn/ansis-3.11.0
chore(deps): bump ansis from 3.10.0 to 3.11.0
2025-02-10 08:32:12 +01:00
Kamil Mysliwiec
44303c71c7 Merge pull request #14596 from nestjs/dependabot/npm_and_yarn/eslint-9.20.0
chore(deps-dev): bump eslint from 9.19.0 to 9.20.0
2025-02-10 08:32:07 +01:00
Kamil Mysliwiec
c3dd9d6829 Merge pull request #14581 from nestjs/renovate/ioredis-5.x
chore(deps): update dependency ioredis to v5.5.0
2025-02-10 08:32:00 +01:00
dependabot[bot]
9d9ef27026 chore(deps-dev): bump eslint from 9.19.0 to 9.20.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.19.0 to 9.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.19.0...v9.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 00:59:48 +00:00
dependabot[bot]
6725d228c3 chore(deps): bump ansis from 3.10.0 to 3.11.0
Bumps [ansis](https://github.com/webdiscus/ansis) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/webdiscus/ansis/releases)
- [Changelog](https://github.com/webdiscus/ansis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdiscus/ansis/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 00:59:18 +00:00
dependabot[bot]
bc906e39c6 chore(deps-dev): bump prettier from 3.4.2 to 3.5.0
Bumps [prettier](https://github.com/prettier/prettier) from 3.4.2 to 3.5.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.4.2...3.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 00:59:02 +00:00
dependabot[bot]
02d99fe238 chore(deps-dev): bump ioredis from 5.4.2 to 5.5.0
Bumps [ioredis](https://github.com/luin/ioredis) from 5.4.2 to 5.5.0.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/redis/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.4.2...v5.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 00:58:37 +00:00
renovate[bot]
35c12d97b6 fix(deps): update dependency ansis to v3.11.0 2025-02-09 20:53:28 +00:00
renovate[bot]
43f56fcf16 chore(deps): update dependency ioredis to v5.5.0 2025-02-07 13:40:39 +00:00
Kamil Mysliwiec
f5e31e0e81 Merge pull request #14578 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.8
2025-02-07 08:56:31 +01:00
renovate[bot]
35895a6e92 fix(deps): update nest monorepo to v11.0.8 2025-02-06 14:41:53 +00:00
Kamil Myśliwiec
de761479a6 fix(common): revert to original value (swc builders regression) #14430 2025-02-06 14:29:44 +01:00
Kamil Mysliwiec
3e62be8d1a Merge pull request #14577 from nestjs/renovate/nestjs-serve-static-5.x
fix(deps): update dependency @nestjs/serve-static to v5.0.2
2025-02-06 10:22:20 +01:00
renovate[bot]
eb9075e55f fix(deps): update dependency @nestjs/serve-static to v5.0.2 2025-02-06 09:21:13 +00:00
Kamil Myśliwiec
d22a7b15ba chore: update package.json 2025-02-06 10:21:10 +01:00
Kamil Myśliwiec
1093d999bd chore(@nestjs) publish v11.0.8 release 2025-02-06 10:20:49 +01:00
Kamil Mysliwiec
0bf54a2bba Merge pull request #14546 from dcharbonnier/master
fix(common): addLeadingSlash optional group support
2025-02-06 10:20:01 +01:00
Kamil Mysliwiec
f061706b2e Merge pull request #14574 from luddwichr/fix-express-router-access
fix(platform-express) make check for existing middlewares work with Express 5
2025-02-06 10:19:43 +01:00
Kamil Mysliwiec
6fe584e47c Merge pull request #14575 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.10.0
2025-02-06 10:08:31 +01:00
Kamil Mysliwiec
1ad20a0008 Merge pull request #14576 from nestjs/dependabot/npm_and_yarn/mongoose-8.10.0
chore(deps-dev): bump mongoose from 8.9.7 to 8.10.0
2025-02-06 10:08:23 +01:00
dependabot[bot]
10e6dede79 chore(deps-dev): bump mongoose from 8.9.7 to 8.10.0
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.9.7 to 8.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/8.9.7...8.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>
2025-02-06 00:22:39 +00:00
renovate[bot]
dc7bb6c74f fix(deps): update dependency mongoose to v8.10.0 2025-02-05 21:55:36 +00:00
luddwichr
9ae019f3ec fix(platform-express) make check for already registered parsers work with Express 5
Express 5 made the router public API again and renamed the field from app._router to app.router.
This broke the detection mechanism whether a middleware named "jsonParser" or "urlencodedParser"
is already re or not, because app._router no longer exists.
2025-02-05 22:23:59 +01:00
Kamil Mysliwiec
29aeadb9f2 Merge pull request #14567 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.3.1
2025-02-05 08:40:15 +01:00
Kamil Mysliwiec
520559f848 Merge pull request #14569 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.9.7
2025-02-05 08:40:08 +01:00
Kamil Mysliwiec
c3d7c061e3 Merge pull request #14570 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.12.6
chore(deps-dev): bump @grpc/grpc-js from 1.12.5 to 1.12.6
2025-02-05 08:40:01 +01:00
Kamil Mysliwiec
19a1ffb923 Merge pull request #14571 from nestjs/dependabot/npm_and_yarn/mongoose-8.9.7
chore(deps-dev): bump mongoose from 8.9.6 to 8.9.7
2025-02-05 08:39:55 +01:00
Kamil Mysliwiec
3383cd6a65 Merge pull request #14572 from nestjs/renovate/grpc-grpc-js-1.x
fix(deps): update dependency @grpc/grpc-js to v1.12.6
2025-02-05 08:39:49 +01:00
Kamil Mysliwiec
20f0f16f43 Merge pull request #14573 from nestjs/renovate/ts-morph-25.x
fix(deps): update dependency ts-morph to v25.0.1
2025-02-05 08:39:40 +01:00
renovate[bot]
e12f6f9385 fix(deps): update dependency ts-morph to v25.0.1 2025-02-05 05:25:18 +00:00
renovate[bot]
dea51e4044 fix(deps): update dependency @grpc/grpc-js to v1.12.6 2025-02-05 00:39:53 +00:00
dependabot[bot]
ae7a03c149 chore(deps-dev): bump mongoose from 8.9.6 to 8.9.7
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.9.6 to 8.9.7.
- [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/8.9.6...8.9.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-05 00:38:45 +00:00
dependabot[bot]
c1833104be chore(deps-dev): bump @grpc/grpc-js from 1.12.5 to 1.12.6
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.12.5 to 1.12.6.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.12.5...@grpc/grpc-js@1.12.6)

---
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>
2025-02-05 00:38:10 +00:00
renovate[bot]
6754c78e97 fix(deps): update dependency mongoose to v8.9.7 2025-02-04 17:40:08 +00:00
renovate[bot]
30f41e7673 fix(deps): update dependency @prisma/client to v6.3.1 2025-02-04 13:57:32 +00:00
Kamil Mysliwiec
5cbb5b8112 Merge pull request #14563 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.23.0
2025-02-04 08:24:41 +01:00
Kamil Mysliwiec
e04ffe8901 Merge pull request #14566 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.1
2025-02-04 08:24:34 +01:00
renovate[bot]
78bdaf0816 chore(deps): update dependency @types/node to v22.13.1 2025-02-04 00:42:27 +00:00
renovate[bot]
1256d7b8d7 chore(deps): update typescript-eslint monorepo to v8.23.0 2025-02-03 18:14:52 +00:00
Kamil Mysliwiec
c2b2e7a465 Merge pull request #14562 from nestjs/renovate/nestjs-bull-11.x
fix(deps): update dependency @nestjs/bull to v11.0.2
2025-02-03 14:41:58 +01:00
renovate[bot]
6e29672a0f fix(deps): update dependency @nestjs/bull to v11.0.2 2025-02-03 13:02:38 +00:00
Kamil Mysliwiec
814fac327b Merge pull request #14554 from nestjs/renovate/fastify-static-8.x
fix(deps): update dependency @fastify/static to v8.1.0
2025-02-03 08:43:36 +01:00
Kamil Mysliwiec
1c424e7318 Merge pull request #14556 from nestjs/dependabot/npm_and_yarn/fastify/static-8.1.0
chore(deps-dev): bump @fastify/static from 8.0.4 to 8.1.0
2025-02-03 08:42:24 +01:00
Kamil Mysliwiec
38692b3bd0 Merge pull request #14553 from nestjs/renovate/commitlint-monorepo
chore(deps): update commitlint monorepo to v19.7.1
2025-02-03 08:42:15 +01:00
Kamil Mysliwiec
84100b21a6 Merge pull request #14558 from shaymolcho/master
Added missing period for consistency and readability
2025-02-03 08:42:02 +01:00
Shay Molcho
4af520d5ef Added missing period for consistency and readability
Added a missing period in a specific part of the text to maintain consistency across the document. This ensures a uniform writing style, improves readability, and aligns with the formatting used throughout the content.
2025-02-03 07:50:18 +02:00
dependabot[bot]
44d0513fa2 chore(deps-dev): bump @fastify/static from 8.0.4 to 8.1.0
Bumps [@fastify/static](https://github.com/fastify/fastify-static) from 8.0.4 to 8.1.0.
- [Release notes](https://github.com/fastify/fastify-static/releases)
- [Commits](https://github.com/fastify/fastify-static/compare/v8.0.4...v8.1.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>
2025-02-03 00:56:00 +00:00
renovate[bot]
30b69bf5d7 fix(deps): update dependency @fastify/static to v8.1.0 2025-02-02 21:26:20 +00:00
renovate[bot]
daf8d53630 chore(deps): update commitlint monorepo to v19.7.1 2025-02-02 17:45:29 +00:00
Kamil Mysliwiec
d132bd2ced Merge pull request #14551 from GhassenRjab/ignore-all-lock-files
chore(sample): ignore all package lock files
2025-02-02 13:45:08 +01:00
Kamil Mysliwiec
007dc006f9 Merge pull request #14544 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.7
2025-02-02 13:38:27 +01:00
Ghassen Rjab
3ddbc9280d chore(sample): ignore all package lock files
Some samples have sub folders and old .gitignore rule didn't take their package-lock.json files into consideration
2025-02-02 06:49:21 +01:00
renovate[bot]
163e2bc2fd fix(deps): update nest monorepo to v11.0.7 2025-02-01 14:12:29 +00:00
Kamil Mysliwiec
0dc2c44eab Merge pull request #14547 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.9.6
2025-02-01 15:10:53 +01:00
Kamil Mysliwiec
877c486a45 Merge pull request #14548 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.0
2025-02-01 15:10:01 +01:00
renovate[bot]
02a72ddb23 chore(deps): update dependency @types/node to v22.13.0 2025-01-31 20:25:51 +00:00
renovate[bot]
15b131bad3 fix(deps): update dependency mongoose to v8.9.6 2025-01-31 20:25:30 +00:00
david
f81ce5f774 fix(common): addLeadingSlash optional group support 2025-01-31 15:36:56 +01:00
Kamil Myśliwiec
13290e9f33 chore(@nestjs) publish v11.0.7 release 2025-01-31 14:59:56 +01:00
Kamil Mysliwiec
9d9d59d173 Merge pull request #14541 from nestjs/renovate/mongodb-6.x
fix(deps): update dependency mongodb to v6.13.0
2025-01-31 08:19:41 +01:00
renovate[bot]
915106a072 fix(deps): update dependency mongodb to v6.13.0 2025-01-31 02:02:55 +00:00
Kamil Mysliwiec
899d692163 Merge pull request #14536 from nestjs/renovate/nestjs-mongoose-11.x
fix(deps): update dependency @nestjs/mongoose to v11.0.1
2025-01-30 10:31:49 +01:00
Kamil Mysliwiec
4faebed33e Merge pull request #14538 from nestjs/dependabot/npm_and_yarn/nestjs/mongoose-11.0.1
chore(deps-dev): bump @nestjs/mongoose from 11.0.0 to 11.0.1
2025-01-30 10:31:32 +01:00
dependabot[bot]
bae0f2146f chore(deps-dev): bump @nestjs/mongoose from 11.0.0 to 11.0.1
Bumps [@nestjs/mongoose](https://github.com/nestjs/mongoose) from 11.0.0 to 11.0.1.
- [Release notes](https://github.com/nestjs/mongoose/releases)
- [Changelog](https://github.com/nestjs/mongoose/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/mongoose/compare/11.0.0...11.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-30 00:03:28 +00:00
renovate[bot]
56e90021c2 fix(deps): update dependency @nestjs/mongoose to v11.0.1 2025-01-29 17:31:21 +00:00
Kamil Mysliwiec
3f196ef25b Merge pull request #14532 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.3.0
2025-01-29 10:01:53 +01:00
renovate[bot]
ca29e4cb9c fix(deps): update dependency @prisma/client to v6.3.0 2025-01-28 17:09:16 +00:00
Kamil Mysliwiec
65e64afbb5 Merge pull request #14523 from rbnayax/sort
fix: middleware sort issues
2025-01-28 10:03:28 +01:00
Kamil Mysliwiec
17e4edef5e Merge pull request #14525 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.22.0
2025-01-28 09:47:49 +01:00
renovate[bot]
3eb2dbe23f chore(deps): update typescript-eslint monorepo to v8.22.0 2025-01-28 08:43:30 +00:00
Kamil Mysliwiec
fd11887542 Merge pull request #14526 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.22.0
chore(deps-dev): bump typescript-eslint from 8.21.0 to 8.22.0
2025-01-28 09:41:33 +01:00
Kamil Mysliwiec
2aa5ac129f Merge pull request #14528 from nestjs/renovate/eventsource-3.x
chore(deps): update dependency eventsource to v3.0.5
2025-01-28 09:41:25 +01:00
renovate[bot]
0425e313d6 chore(deps): update dependency eventsource to v3.0.5 2025-01-28 08:41:17 +00:00
Kamil Mysliwiec
65adc5a57b Merge pull request #14529 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.12.0
2025-01-28 09:41:12 +01:00
Kamil Mysliwiec
df1f4ce5a3 Merge pull request #14524 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.6
2025-01-28 09:39:18 +01:00
renovate[bot]
c8329644af chore(deps): update dependency @types/node to v22.12.0 2025-01-28 05:39:24 +00:00
dependabot[bot]
ae835e7de9 chore(deps-dev): bump typescript-eslint from 8.21.0 to 8.22.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.21.0 to 8.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.22.0/packages/typescript-eslint)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-28 00:59:56 +00:00
renovate[bot]
3548a07f0f fix(deps): update nest monorepo to v11.0.6 2025-01-27 17:01:16 +00:00
Regev Brody
31eaae505c fix: middleware sort issues 2025-01-27 16:16:58 +02:00
Regev Brody
58fcd8849a fix: middleware sort issues 2025-01-27 16:00:34 +02:00
Kamil Myśliwiec
08fce4ac5f chore(@nestjs) publish v11.0.6 release 2025-01-27 14:03:12 +01:00
Kamil Mysliwiec
90a9f74116 Merge pull request #14522 from nestjs/fix/fastify-middleware-wildcard
fix(core): allow optional named wildcard groups
2025-01-27 14:02:40 +01:00
Kamil Mysliwiec
cc63bfa0c2 Merge pull request #14521 from nestjs/renovate/ansis-3.x
fix(deps): update dependency ansis to v3.10.0
2025-01-27 13:45:22 +01:00
Kamil Myśliwiec
45fa078faf fix(core): allow optional named wildcard groups #14520 2025-01-27 13:45:05 +01:00
renovate[bot]
a099c81b79 fix(deps): update dependency ansis to v3.10.0 2025-01-27 12:40:12 +00:00
Kamil Mysliwiec
95920c5f9f Merge pull request #14515 from nestjs/renovate/lint-staged-15.x
chore(deps): update dependency lint-staged to v15.4.3
2025-01-27 08:21:29 +01:00
renovate[bot]
a6071a22e8 chore(deps): update dependency lint-staged to v15.4.3 2025-01-27 07:20:21 +00:00
Kamil Mysliwiec
170c06aa60 Merge pull request #14512 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.26.7
2025-01-27 08:19:54 +01:00
Kamil Mysliwiec
8797df77c1 Merge pull request #14514 from nestjs/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.19.0
2025-01-27 08:19:50 +01:00
Kamil Mysliwiec
8329d8b8fd Merge pull request #14517 from nestjs/dependabot/npm_and_yarn/lint-staged-15.4.3
chore(deps-dev): bump lint-staged from 15.4.2 to 15.4.3
2025-01-27 08:19:43 +01:00
Kamil Mysliwiec
22332e83bb Merge pull request #14518 from nestjs/dependabot/npm_and_yarn/eslint/js-9.19.0
chore(deps-dev): bump @eslint/js from 9.18.0 to 9.19.0
2025-01-27 08:18:58 +01:00
dependabot[bot]
5598e9c944 chore(deps-dev): bump @eslint/js from 9.18.0 to 9.19.0
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.18.0 to 9.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.19.0/packages/js)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 00:55:10 +00:00
dependabot[bot]
400e7e69ae chore(deps-dev): bump lint-staged from 15.4.2 to 15.4.3
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 15.4.2 to 15.4.3.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v15.4.2...v15.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 00:54:36 +00:00
renovate[bot]
bc4d8b3f86 chore(deps): update eslint monorepo to v9.19.0 2025-01-24 21:31:32 +00:00
renovate[bot]
2277d1b913 chore(deps): update babel monorepo to v7.26.7 2025-01-24 16:37:15 +00:00
Kamil Mysliwiec
fc54154781 Merge pull request #14412 from nestjs/renovate/cache-manager-6.x
fix(deps): update dependency cache-manager to v6.4.0
2025-01-24 08:56:52 +01:00
Kamil Mysliwiec
cfaeeae8e8 Merge pull request #14502 from nestjs/renovate/fastify-multipart-9.x
chore(deps): update dependency @fastify/multipart to v9.0.3
2025-01-24 08:56:47 +01:00
Kamil Mysliwiec
e5d3f00445 Merge pull request #14503 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.10.10
2025-01-24 08:56:41 +01:00
Kamil Mysliwiec
9307df3f01 Merge pull request #14504 from nestjs/dependabot/npm_and_yarn/fastify/multipart-9.0.3
chore(deps-dev): bump @fastify/multipart from 9.0.2 to 9.0.3
2025-01-24 08:56:36 +01:00
Kamil Mysliwiec
5dbd2c9a7c Merge pull request #14505 from nestjs/dependabot/npm_and_yarn/types/node-22.10.10
chore(deps-dev): bump @types/node from 22.10.9 to 22.10.10
2025-01-24 08:56:32 +01:00
Kamil Mysliwiec
a723c1dafe Merge pull request #14506 from nestjs/dependabot/npm_and_yarn/types/ws-8.5.14
chore(deps-dev): bump @types/ws from 8.5.13 to 8.5.14
2025-01-24 08:56:29 +01:00
Kamil Mysliwiec
0f7841f0c3 Merge pull request #14507 from nestjs/dependabot/npm_and_yarn/cache-manager-6.4.0
chore(deps-dev): bump cache-manager from 6.3.2 to 6.4.0
2025-01-24 08:55:17 +01:00
Kamil Mysliwiec
d98641d4fe Merge pull request #14508 from nestjs/renovate/nest-monorepo
fix(deps): update dependency @nestjs/passport to v11.0.5
2025-01-24 08:55:05 +01:00
renovate[bot]
7a429c4432 fix(deps): update dependency cache-manager to v6.4.0 2025-01-24 00:12:47 +00:00
renovate[bot]
bc190b802f fix(deps): update dependency @nestjs/passport to v11.0.5 2025-01-24 00:10:29 +00:00
dependabot[bot]
1d2eccc95d chore(deps-dev): bump cache-manager from 6.3.2 to 6.4.0
Bumps [cache-manager](https://github.com/jaredwray/cacheable/tree/HEAD/packages/cache-manager) from 6.3.2 to 6.4.0.
- [Release notes](https://github.com/jaredwray/cacheable/releases)
- [Commits](https://github.com/jaredwray/cacheable/commits/HEAD/packages/cache-manager)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-24 00:10:04 +00:00
dependabot[bot]
2a9f657733 chore(deps-dev): bump @types/ws from 8.5.13 to 8.5.14
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 8.5.13 to 8.5.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-24 00:09:45 +00:00
dependabot[bot]
8565d9873c chore(deps-dev): bump @types/node from 22.10.9 to 22.10.10
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.10.9 to 22.10.10.
- [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>
2025-01-24 00:09:16 +00:00
dependabot[bot]
6ff5792e5e chore(deps-dev): bump @fastify/multipart from 9.0.2 to 9.0.3
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v9.0.2...v9.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-24 00:08:57 +00:00
renovate[bot]
781fc7d69d chore(deps): update dependency @types/node to v22.10.10 2025-01-23 22:00:36 +00:00
renovate[bot]
2acf110eaf chore(deps): update dependency @fastify/multipart to v9.0.3 2025-01-23 22:00:16 +00:00
Kamil Mysliwiec
6dd268d231 Merge pull request #14500 from nestjs/renovate/lint-staged-15.x
chore(deps): update dependency lint-staged to v15.4.2
2025-01-23 12:39:41 +01:00
Kamil Mysliwiec
d2704ba6ac Merge pull request #14501 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.5
2025-01-23 12:39:31 +01:00
renovate[bot]
c11551d9a9 fix(deps): update nest monorepo to v11.0.5 2025-01-23 11:36:30 +00:00
renovate[bot]
80ee9c293f chore(deps): update dependency lint-staged to v15.4.2 2025-01-23 11:36:19 +00:00
Kamil Mysliwiec
e528776935 Merge pull request #14498 from nestjs/renovate/nestjs-schedule-5.x
fix(deps): update dependency @nestjs/schedule to v5.0.1
2025-01-23 12:34:37 +01:00
Kamil Mysliwiec
8894a1e1a0 Merge pull request #14499 from nestjs/renovate/nestjs-swagger-11.x
fix(deps): update dependency @nestjs/swagger to v11.0.3
2025-01-23 12:34:30 +01:00
renovate[bot]
932cdddbf3 fix(deps): update dependency @nestjs/swagger to v11.0.3 2025-01-23 10:13:08 +00:00
renovate[bot]
acad71523b fix(deps): update dependency @nestjs/schedule to v5.0.1 2025-01-23 10:13:03 +00:00
Kamil Mysliwiec
badbdc76dd Merge pull request #14496 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.10.9
2025-01-23 11:10:34 +01:00
renovate[bot]
93be8c3cb2 chore(deps): update dependency @types/node to v22.10.9 2025-01-23 08:58:20 +00:00
Kamil Mysliwiec
901ca504be Merge pull request #14497 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.5
2025-01-23 09:55:46 +01:00
renovate[bot]
3cf75f9112 fix(deps): update nest monorepo to v11.0.5 2025-01-23 08:55:23 +00:00
Kamil Myśliwiec
7c35ca3269 chore: update package.json 2025-01-23 09:53:03 +01:00
Kamil Myśliwiec
08d0c61317 chore(@nestjs) publish v11.0.5 release 2025-01-23 09:52:47 +01:00
Kamil Myśliwiec
33948f7e55 refactor(core): add delimiter constant 2025-01-23 09:51:09 +01:00
Kamil Mysliwiec
37a8a2cf25 Merge pull request #14493 from nestjs/renovate/engine.io-client-6.x
chore(deps): update dependency engine.io-client to v6.6.3
2025-01-23 09:39:02 +01:00
Kamil Mysliwiec
bc0cb1c778 Merge pull request #14494 from nestjs/renovate/node-22.x-lockfile
chore(deps): update dependency @types/node to v22.10.8
2025-01-23 09:38:55 +01:00
Kamil Mysliwiec
d9199da133 Merge pull request #14495 from nestjs/fix/execute-global-middleware-first
fix(core): global module middleware should be executed first
2025-01-23 09:38:46 +01:00
Kamil Myśliwiec
44490dcad0 fix(core): global module middleware should be executed first 2025-01-23 09:19:36 +01:00
renovate[bot]
80eac0df8c chore(deps): update dependency engine.io-client to v6.6.3 2025-01-23 07:31:01 +00:00
renovate[bot]
8d85a8a3ed chore(deps): update dependency @types/node to v22.10.8 2025-01-23 07:30:51 +00:00
Kamil Mysliwiec
d56553af13 Merge pull request #14492 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.10.8
2025-01-23 08:28:51 +01:00
Kamil Mysliwiec
f46e015dea Merge pull request #14490 from nestjs/dependabot/npm_and_yarn/mocha-11.1.0
chore(deps-dev): bump mocha from 11.0.1 to 11.1.0
2025-01-23 08:28:20 +01:00
Kamil Mysliwiec
59e8312acc Merge pull request #14491 from nestjs/dependabot/npm_and_yarn/graphql-16.10.0
chore(deps-dev): bump graphql from 16.9.0 to 16.10.0
2025-01-23 08:28:10 +01:00
renovate[bot]
4e502cf7e7 chore(deps): update dependency @types/node to v22.10.8 2025-01-23 04:34:01 +00:00
dependabot[bot]
d3208af831 chore(deps-dev): bump graphql from 16.9.0 to 16.10.0
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.9.0 to 16.10.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.9.0...v16.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-23 00:27:32 +00:00
dependabot[bot]
3b32397d16 chore(deps-dev): bump mocha from 11.0.1 to 11.1.0
Bumps [mocha](https://github.com/mochajs/mocha) from 11.0.1 to 11.1.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v11.0.1...v11.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-23 00:27:07 +00:00
Kamil Myśliwiec
dd320fe3a0 Merge branch 'master' of https://github.com/nestjs/nest 2025-01-22 14:05:58 +01:00
Kamil Myśliwiec
44c212efd5 fix(core): pass app options to nest container when creating instance 2025-01-22 14:05:50 +01:00
Kamil Mysliwiec
c0da7d4276 Merge pull request #14483 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.4
2025-01-22 13:19:48 +01:00
renovate[bot]
0dc465b66d fix(deps): update nest monorepo to v11.0.4 2025-01-22 11:07:55 +00:00
Kamil Mysliwiec
c2b0a2fc6a Merge pull request #14481 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.4
2025-01-22 12:06:11 +01:00
renovate[bot]
c0e3d9fe50 fix(deps): update nest monorepo to v11.0.4 2025-01-22 08:47:17 +00:00
Kamil Mysliwiec
238d51dad3 Merge pull request #14480 from nestjs/dependabot/npm_and_yarn/undici-6.21.1
chore(deps-dev): bump undici from 6.21.0 to 6.21.1
2025-01-22 09:45:35 +01:00
Kamil Myśliwiec
02045b78a9 chore(@nestjs) publish v11.0.4 release 2025-01-22 09:39:20 +01:00
dependabot[bot]
ded0d2b389 chore(deps-dev): bump undici from 6.21.0 to 6.21.1
Bumps [undici](https://github.com/nodejs/undici) from 6.21.0 to 6.21.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.21.0...v6.21.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-22 08:32:06 +00:00
Kamil Mysliwiec
908d790823 Merge pull request #14479 from nestjs/renovate/nest-monorepo
chore(deps): update dependency @nestjs/cli to v11.0.2
2025-01-22 09:30:19 +01:00
Kamil Mysliwiec
3c9f2adfbf Merge pull request #14469 from kostyazgara/return-kafkajs-consumers-and-producers
feat(microservices): return all clients from kafka unwrap
2025-01-22 09:30:08 +01:00
renovate[bot]
8094b1965f chore(deps): update dependency @nestjs/cli to v11.0.2 2025-01-22 08:29:47 +00:00
Kamil Mysliwiec
377f671806 Merge pull request #14478 from nestjs/renovate/mysql-9.x
chore(deps): update mysql docker tag to v9.2.0
2025-01-22 09:27:53 +01:00
renovate[bot]
b65f2a6f8a chore(deps): update mysql docker tag to v9.2.0 2025-01-22 05:44:08 +00:00
Kamil Mysliwiec
b40649fd69 Merge pull request #14475 from nestjs/renovate/nest-graphql-monorepo
fix(deps): update nest-graphql monorepo to v13.0.2
2025-01-21 14:54:40 +01:00
Kamil Mysliwiec
3bc5dc6154 Merge pull request #14474 from nestjs/renovate/nestjs-bull-11.x
fix(deps): update dependency @nestjs/bull to v11.0.1
2025-01-21 14:54:06 +01:00
renovate[bot]
e67e308aa2 fix(deps): update nest-graphql monorepo to v13.0.2 2025-01-21 13:33:14 +00:00
renovate[bot]
f201463bcb fix(deps): update dependency @nestjs/bull to v11.0.1 2025-01-21 13:33:01 +00:00
Kostya Zgara
3d1910cd18 feat(microservices): return all clients from kafka unwrap 2025-01-21 12:54:39 +02:00
Kamil Mysliwiec
73b9232ccc Merge pull request #14468 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.21.0
2025-01-21 10:55:32 +01:00
Kamil Mysliwiec
6b8adf1773 Merge pull request #14467 from nestjs/renovate/nest-monorepo
chore(deps): update dependency @nestjs/cli to v11.0.1
2025-01-21 10:55:23 +01:00
renovate[bot]
af2f4fd3c7 chore(deps): update typescript-eslint monorepo to v8.21.0 2025-01-21 09:28:37 +00:00
renovate[bot]
0a568fd5b7 chore(deps): update dependency @nestjs/cli to v11.0.1 2025-01-21 09:27:49 +00:00
Kamil Mysliwiec
bab9ed65e8 Merge pull request #14464 from micalevisk/chore-drop-deprecated-dep
chore(sample): remove `@types/dotenv` useless dev dep
2025-01-20 19:16:12 +01:00
Micael Levi L. Cavalcante
90db20c9fb chore(sample): remove @types/dotenv useless dev dep 2025-01-20 13:03:59 -04:00
Kamil Mysliwiec
f5400b69ea Merge pull request #14462 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.3
2025-01-20 13:14:09 +01:00
renovate[bot]
e5cf168e2e fix(deps): update nest monorepo to v11.0.3 2025-01-20 12:06:16 +00:00
Kamil Myśliwiec
8b1affff6c chore: update package.json 2025-01-20 13:04:24 +01:00
Kamil Myśliwiec
cbebdd299d chore(@nestjs) publish v11.0.3 release 2025-01-20 12:37:19 +01:00
Kamil Myśliwiec
5eaae5f134 fix(platform): add missing path-to-regexp dependency #14461 2025-01-20 12:36:45 +01:00
Kamil Myśliwiec
d03955dfda sample: update 24-serve-static sample 2025-01-20 12:34:27 +01:00
Kamil Mysliwiec
26e70ba6af Merge pull request #14460 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.2
2025-01-20 09:43:07 +01:00
renovate[bot]
9528b75865 fix(deps): update nest monorepo to v11.0.2 2025-01-20 08:34:43 +00:00
Kamil Mysliwiec
b32ac6330b Merge pull request #14459 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.2
2025-01-20 09:32:58 +01:00
renovate[bot]
830e79adc0 fix(deps): update nest monorepo to v11.0.2 2025-01-20 08:21:05 +00:00
Kamil Mysliwiec
8f3fa2220e Merge pull request #14453 from nestjs/renovate/eslint-plugin-prettier-5.x
chore(deps): update dependency eslint-plugin-prettier to v5.2.3
2025-01-20 09:19:33 +01:00
renovate[bot]
eae0f13867 chore(deps): update dependency eslint-plugin-prettier to v5.2.3 2025-01-20 08:15:52 +00:00
Kamil Myśliwiec
7dbc4dc2ba Merge branch 'master' of https://github.com/nestjs/nest 2025-01-20 09:14:34 +01:00
Kamil Myśliwiec
fca5ebba7f chore(@nestjs) publish v11.0.2 release 2025-01-20 09:14:19 +01:00
Kamil Mysliwiec
d54f4e8475 Merge pull request #14457 from nestjs/renovate/nest-monorepo
fix(deps): update dependency @nestjs/passport to v11.0.4
2025-01-20 09:04:57 +01:00
renovate[bot]
0d45b614ab fix(deps): update dependency @nestjs/passport to v11.0.4 2025-01-20 08:04:46 +00:00
Kamil Mysliwiec
6dc8eb5ba8 Merge pull request #14448 from nestjs/renovate/nestjs-mongoose-11.x
fix(deps): update dependency @nestjs/mongoose to v11
2025-01-20 09:02:01 +01:00
renovate[bot]
5ef968a9c3 fix(deps): update dependency @nestjs/mongoose to v11 2025-01-20 07:52:07 +00:00
Kamil Mysliwiec
181625b94e Merge pull request #14451 from nestjs/renovate/nestjs-typeorm-11.x
fix(deps): update dependency @nestjs/typeorm to v11
2025-01-20 08:50:30 +01:00
Kamil Mysliwiec
4304b48dee Merge pull request #14443 from Phillip9587/express-body-parser
fix: use express body-parser reexports
2025-01-20 08:50:16 +01:00
Kamil Mysliwiec
0ecc32c9eb Merge pull request #14458 from nestjs/renovate/major-nest-monorepo
chore(deps): update dependency @nestjs/cli to v11
2025-01-20 08:49:23 +01:00
Kamil Myśliwiec
0545020952 refactor: pick only one option attribute for test module 2025-01-20 08:48:57 +01:00
Kamil Myśliwiec
65cfe0c82a refactor: pick only one option attribute for test module 2025-01-20 08:48:22 +01:00
Kamil Myśliwiec
6254af7224 Merge branch '14455' of https://github.com/rbnayax/nest into rbnayax-14455 2025-01-20 08:46:36 +01:00
Kamil Myśliwiec
0996b7d2a9 chore(deps): update graphql-subscriptions package 2025-01-20 08:46:27 +01:00
renovate[bot]
ae5fca1cee fix(deps): update dependency @nestjs/typeorm to v11 2025-01-20 07:45:53 +00:00
renovate[bot]
fee96ea30c chore(deps): update dependency @nestjs/cli to v11 2025-01-20 07:45:39 +00:00
Kamil Myśliwiec
6f04292d97 chore(deps): update graphql-subscriptions package 2025-01-20 08:44:00 +01:00
Kamil Myśliwiec
916adc28f3 test: delete removed keepconnectionalive attribute 2025-01-20 08:42:18 +01:00
Kamil Mysliwiec
3b54a8c97c Merge pull request #14438 from nestjs/renovate/fast-json-stringify-6.x
fix(deps): update dependency fast-json-stringify to v6.0.1
2025-01-20 08:39:45 +01:00
Kamil Mysliwiec
8fdb591c89 Merge pull request #14441 from nestjs/renovate/ansis-3.x
fix(deps): update dependency ansis to v3.9.0
2025-01-20 08:39:35 +01:00
Kamil Mysliwiec
f08534f9fa Merge pull request #14447 from nestjs/renovate/major-nest-graphql-monorepo
chore(deps): update nest-graphql monorepo to v13 (major)
2025-01-20 08:39:24 +01:00
Kamil Mysliwiec
082562f03a Merge pull request #14452 from micalevisk/chore/issue-type
chore: add issue types to issue templates forms
2025-01-20 08:38:56 +01:00
Regev Brody
817ede3bc6 fix: Module id generatorAlgorithm can't be controlled in test #14455 2025-01-19 23:47:13 +02:00
Kamil Mysliwiec
4ef49ce494 Merge pull request #14449 from nestjs/renovate/nestjs-sequelize-11.x
fix(deps): update dependency @nestjs/sequelize to v11
2025-01-19 11:23:36 +01:00
renovate[bot]
d86edfdfaa chore(deps): update nest-graphql monorepo to v13 2025-01-18 11:51:11 +00:00
renovate[bot]
6af1212e6b fix(deps): update dependency ansis to v3.9.0 2025-01-18 11:50:53 +00:00
renovate[bot]
a4b22be9cd fix(deps): update dependency fast-json-stringify to v6.0.1 2025-01-18 11:50:41 +00:00
renovate[bot]
d8e9e94a9e fix(deps): update dependency @nestjs/sequelize to v11 2025-01-18 11:49:32 +00:00
Kamil Mysliwiec
e63a2c1f7c Merge pull request #14445 from nestjs/renovate/nest-graphql-monorepo
fix(deps): update nest-graphql monorepo to v13.0.1
2025-01-18 12:48:13 +01:00
Kamil Mysliwiec
e518b86ec5 Merge pull request #14444 from nestjs/renovate/nestjs-swagger-11.x
fix(deps): update dependency @nestjs/swagger to v11.0.2
2025-01-18 12:48:06 +01:00
Kamil Mysliwiec
d00f31385b Merge pull request #14446 from nestjs/renovate/major-nest-monorepo
chore(deps): update dependency @nestjs/schematics to v11
2025-01-18 12:47:56 +01:00
renovate[bot]
22e48d6e34 chore(deps): update dependency @nestjs/schematics to v11 2025-01-17 20:50:29 +00:00
renovate[bot]
834377bbb3 fix(deps): update dependency @nestjs/swagger to v11.0.2 2025-01-17 19:47:12 +00:00
renovate[bot]
da15585c06 fix(deps): update nest-graphql monorepo to v13.0.1 2025-01-17 19:45:23 +00:00
Kamil Mysliwiec
a4d01405cd Merge pull request #14429 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update dependency typescript-eslint to v8.20.0
2025-01-17 15:22:46 +01:00
renovate[bot]
52a27be9f7 chore(deps): update dependency typescript-eslint to v8.20.0 2025-01-17 13:55:07 +00:00
Kamil Mysliwiec
0c1df77929 Merge pull request #14435 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.10.7
2025-01-17 14:50:58 +01:00
Kamil Mysliwiec
285d539978 Merge pull request #14440 from nestjs/renovate/lint-staged-15.x
chore(deps): update dependency lint-staged to v15.4.1
2025-01-17 14:50:48 +01:00
Kamil Mysliwiec
30a1068979 Merge pull request #14442 from nestjs/renovate/major-nest-graphql-monorepo
chore(deps): update nest-graphql monorepo to v13 (major)
2025-01-17 14:50:37 +01:00
Phillip9587
9aa2a43377 fix: use express body-parser reexports 2025-01-17 14:18:16 +01:00
renovate[bot]
67e91120ca chore(deps): update nest-graphql monorepo to v13 2025-01-17 13:05:23 +00:00
renovate[bot]
15712bf390 chore(deps): update dependency lint-staged to v15.4.1 2025-01-17 13:04:49 +00:00
renovate[bot]
028cbffcd9 chore(deps): update dependency @types/node to v22.10.7 2025-01-17 13:04:38 +00:00
Kamil Myśliwiec
379badd6f7 Merge branch 'master' of https://github.com/nestjs/nest 2025-01-17 14:02:48 +01:00
Kamil Myśliwiec
88eaf3bec1 ci: use npm install instead of ci as ci is flaky 2025-01-17 14:02:42 +01:00
Kamil Mysliwiec
a5aa126506 Merge pull request #14439 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.0.1
2025-01-17 13:54:42 +01:00
renovate[bot]
3147eb2f2e fix(deps): update nest monorepo to v11.0.1 2025-01-17 12:23:40 +00:00
Kamil Myśliwiec
5eabb800f4 chore: update esm samples 2025-01-17 12:59:06 +01:00
Kamil Myśliwiec
ac10e0b238 chore: update 26-queues sample to use the latest bull version 2025-01-17 12:56:58 +01:00
Kamil Myśliwiec
4092b68793 sample: update 27-scheduling sample deps 2025-01-17 12:20:48 +01:00
Kamil Myśliwiec
33228c813f sample: update 25, 28, 29 sample deps 2025-01-17 11:26:04 +01:00
Kamil Myśliwiec
ece3f34400 sample: update event-emitter sample 2025-01-17 11:23:52 +01:00
Kamil Myśliwiec
96cdb827c8 sample: update graphql samples 2025-01-17 11:10:58 +01:00
Kamil Myśliwiec
1b5f16863b chore: regenerate lockfile 2025-01-17 09:41:39 +01:00
Kamil Myśliwiec
0f8f64d693 sample: upgrade eslint-config-prettier 2025-01-17 09:36:06 +01:00
Kamil Myśliwiec
8ff1bbce89 sample: 20-cache deps update 2025-01-17 09:34:59 +01:00
Kamil Myśliwiec
6589278c64 Merge branch 'Tony133-fix/update-peer-dependencies-for-platform-fastify' 2025-01-17 09:27:45 +01:00
Kamil Myśliwiec
71e399e6d5 sample: revert cli upgrade 2025-01-17 09:27:33 +01:00
Kamil Myśliwiec
6dcb57f547 Merge branch 'fix/update-peer-dependencies-for-platform-fastify' of https://github.com/Tony133/nest into Tony133-fix/update-peer-dependencies-for-platform-fastify 2025-01-17 09:26:45 +01:00
Kamil Myśliwiec
d47e874c18 sample: update 19 sample deps 2025-01-17 09:25:28 +01:00
Tony133
2ee3853d46 fix: update sample 2025-01-17 09:01:28 +01:00
Tony133
94a497acfb fix: update peer dependencies for platform fastify 2025-01-16 23:01:52 +01:00
Kamil Myśliwiec
a8ae8c7786 sample: another round of sample updates 2025-01-16 14:15:13 +01:00
Kamil Myśliwiec
4123bbdeee sample: update swagger sample deps 2025-01-16 13:44:28 +01:00
Micael Levi L. Cavalcante
78e61c4429 chore: add issue types to issue templates forms 2025-01-14 08:24:19 -04:00
207 changed files with 4316 additions and 2854 deletions

View File

@@ -29,7 +29,7 @@ aliases:
- &install-deps
run:
name: Install dependencies
command: npm ci --legacy-peer-deps
command: npm install --legacy-peer-deps
- &build-packages
run:
name: Build

View File

@@ -1,6 +1,7 @@
name: "\U0001F41B Bug Report"
description: "If something isn't working as expected \U0001F914"
labels: ["needs triage"]
type: bug
body:
- type: markdown
attributes:

View File

@@ -1,6 +1,7 @@
name: "\U0001F680 Feature Request"
description: "I have a suggestion \U0001F63B!"
labels: ["type: enhancement :wolf:", "needs triage"]
type: feature
body:
- type: markdown
attributes:

View File

@@ -1,6 +1,7 @@
name: "\U0001F4A5 Regression"
description: "Report an unexpected while upgrading your Nest application!"
labels: ["type: bug :sob:", "needs triage"]
type: bug
body:
- type: markdown
attributes:

View File

@@ -2,6 +2,7 @@ title: "perf: "
name: "\U0001F525 Suggestion for Improving Performance"
description: "I have a suggestion that might improve the performance of Nest \U00002728"
labels: ["type: enhancement :wolf:", "needs triage"]
type: task
body:
- type: checkboxes
attributes:

2
.gitignore vendored
View File

@@ -1,5 +1,5 @@
packages/*/package-lock.json
sample/*/package-lock.json
sample/**/package-lock.json
# dependencies
node_modules/

View File

@@ -25,7 +25,7 @@ Stack Overflow is a much better place to ask questions since:
<!-- - there are thousands of people willing to help on Stack Overflow [maybe one day] -->
- questions and answers stay available for public viewing so your question / answer might help someone else
- questions and answers stay available for public viewing so your question / answer might help someone else.
- Stack Overflow's voting system assures that the best answers are prominently visible.
To save your and our time, we will systematically close all issues that are requests for general support and redirect people to Stack Overflow.

View File

@@ -25,7 +25,7 @@ services:
- "9001:9001"
restart: always
mysql:
image: mysql:9.1.0
image: mysql:9.2.0
environment:
MYSQL_ROOT_HOST: '%'
MYSQL_ROOT_PASSWORD: root
@@ -51,7 +51,7 @@ services:
zookeeper:
container_name: test-zookeeper
hostname: zookeeper
image: confluentinc/cp-zookeeper:7.8.0
image: confluentinc/cp-zookeeper:7.9.0
ports:
- "2181:2181"
environment:
@@ -60,7 +60,7 @@ services:
kafka:
container_name: test-kafka
hostname: kafka
image: confluentinc/cp-kafka:7.8.0
image: confluentinc/cp-kafka:7.9.0
depends_on:
- zookeeper
ports:

View File

@@ -46,6 +46,6 @@ export class RecipesResolver {
@Subscription(returns => Recipe)
recipeAdded() {
return pubSub.asyncIterator('recipeAdded');
return pubSub.asyncIterableIterator('recipeAdded');
}
}

View File

@@ -34,6 +34,6 @@ export class CatsResolvers {
@Subscription('catCreated')
catCreated() {
return pubSub.asyncIterator('catCreated');
return pubSub.asyncIterableIterator('catCreated');
}
}

View File

@@ -1,20 +1,56 @@
import { INestApplication, MiddlewareConsumer, Module } from '@nestjs/common';
import {
Global,
INestApplication,
MiddlewareConsumer,
Module,
} from '@nestjs/common';
import { Test } from '@nestjs/testing';
import * as request from 'supertest';
const RETURN_VALUE_A = 'test_A';
const RETURN_VALUE_B = 'test_B';
const RETURN_VALUE_X = 'test_X';
const RETURN_VALUE_GLOBAL = 'test_GLOBAL';
@Module({
imports: [],
})
@Global()
@Module({})
class GlobalModule {
configure(consumer: MiddlewareConsumer) {
consumer
.apply((req, res, next) => res.send(RETURN_VALUE_GLOBAL))
.forRoutes('ping');
}
}
@Global()
@Module({})
class GlobalModule2 {
configure(consumer: MiddlewareConsumer) {
consumer
.apply((req, res, next) => res.send(RETURN_VALUE_GLOBAL + '2'))
.forRoutes('ping');
}
}
@Module({ imports: [GlobalModule, GlobalModule2] })
class ModuleX {
configure(consumer: MiddlewareConsumer) {
consumer
.apply((req, res, next) => res.send(RETURN_VALUE_X))
.forRoutes('hello')
.apply((req, res, next) => res.send(RETURN_VALUE_X))
.forRoutes('ping');
}
}
@Module({ imports: [ModuleX] })
class ModuleA {
configure(consumer: MiddlewareConsumer) {
consumer
.apply((req, res, next) => {
res.send(RETURN_VALUE_A);
})
.forRoutes('hello');
.apply((req, res, next) => res.send(RETURN_VALUE_A))
.forRoutes('hello')
.apply((req, res, next) => res.send(RETURN_VALUE_A))
.forRoutes('ping');
}
}
@@ -24,10 +60,10 @@ class ModuleA {
class ModuleB {
configure(consumer: MiddlewareConsumer) {
consumer
.apply((req, res, next) => {
res.send(RETURN_VALUE_B);
})
.forRoutes('hello');
.apply((req, res, next) => res.send(RETURN_VALUE_B))
.forRoutes('hello')
.apply((req, res, next) => res.send(RETURN_VALUE_B))
.forRoutes('ping');
}
}
@@ -55,6 +91,12 @@ describe('Middleware (execution order)', () => {
.expect(200, RETURN_VALUE_B);
});
it('should execute global middleware first', () => {
return request(app.getHttpServer())
.get('/ping')
.expect(200, RETURN_VALUE_GLOBAL);
});
afterEach(async () => {
await app.close();
});

View File

@@ -450,9 +450,14 @@ describe('Middleware (FastifyAdapter)', () => {
.apply((req, res, next) => {
req.extras = { data: 'Data attached in middleware' };
req.headers['ping'] = 'pong';
// When global prefix is set and the route is the root path
if (req.originalUrl === '/api') {
return res.end(JSON.stringify({ success: true, pong: 'pong' }));
}
next();
})
.forRoutes('*');
.forRoutes('{*path}');
}
}
@@ -464,7 +469,7 @@ describe('Middleware (FastifyAdapter)', () => {
).createNestApplication<NestFastifyApplication>(new FastifyAdapter());
});
it(`GET forRoutes('*') with global prefix`, async () => {
it(`GET forRoutes('{*path}') with global prefix (route: /api/pong)`, async () => {
app.setGlobalPrefix('/api');
await app.init();
await app.getHttpAdapter().getInstance().ready();
@@ -483,7 +488,26 @@ describe('Middleware (FastifyAdapter)', () => {
);
});
it(`GET forRoutes('*') without prefix config`, async () => {
it(`GET forRoutes('{*path}') with global prefix (route: /api)`, async () => {
app.setGlobalPrefix('/api');
await app.init();
await app.getHttpAdapter().getInstance().ready();
return app
.inject({
method: 'GET',
url: '/api',
})
.then(({ payload }) =>
expect(payload).to.be.eql(
JSON.stringify({
success: true,
pong: 'pong',
}),
),
);
});
it(`GET forRoutes('{*path}') without prefix config`, async () => {
await app.init();
await app.getHttpAdapter().getInstance().ready();
return app
@@ -501,7 +525,7 @@ describe('Middleware (FastifyAdapter)', () => {
);
});
it(`GET forRoutes('*') with global prefix and exclude patterns`, async () => {
it(`GET forRoutes('{*path}') with global prefix and exclude patterns`, async () => {
app.setGlobalPrefix('/api', { exclude: ['/'] });
await app.init();
await app.getHttpAdapter().getInstance().ready();
@@ -511,7 +535,7 @@ describe('Middleware (FastifyAdapter)', () => {
.expect(200, { success: true, root: true });
});
it(`GET forRoutes('*') with global prefix and global prefix options`, async () => {
it(`GET forRoutes('{*path}') with global prefix and global prefix options`, async () => {
app.setGlobalPrefix('/api', { exclude: ['/'] });
await app.init();
await app.getHttpAdapter().getInstance().ready();
@@ -528,7 +552,7 @@ describe('Middleware (FastifyAdapter)', () => {
.expect(200, { success: true, root: true });
});
it(`GET forRoutes('*') with global prefix that not starts with /`, async () => {
it(`GET forRoutes('{*path}') with global prefix that not starts with /`, async () => {
app.setGlobalPrefix('api');
await app.init();
await app.getHttpAdapter().getInstance().ready();

View File

@@ -0,0 +1,30 @@
import { INestApplication } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import * as request from 'supertest';
import { LazyController } from '../src/lazy.controller';
describe('Lazy Requested Scoped providers', () => {
let app: INestApplication;
beforeEach(async () => {
const module = await Test.createTestingModule({
controllers: [LazyController],
}).compile();
app = module.createNestApplication();
await app.init();
});
it('should not recreate dependencies for default scope', async () => {
const resultOne = await request(app.getHttpServer()).get('/lazy/request');
expect(resultOne.text).to.be.equal('Hi! Counter is 1');
expect(resultOne.statusCode).to.be.equal(200);
const resultTwo = await request(app.getHttpServer()).get('/lazy/request');
expect(resultTwo.text).to.be.equal('Hi! Counter is 2');
expect(resultTwo.statusCode).to.be.equal(200);
});
});

View File

@@ -13,6 +13,16 @@ export class LazyController {
const { TransientService } = await import('./transient.service');
const _service = await moduleRef.resolve(TransientService);
return _service.eager();
}
@Get('request')
async execRequestScope() {
const { RequestLazyModule } = await import('./request.module');
const moduleRef = await this.lazyLoadModule.load(() => RequestLazyModule);
const { RequestService } = await import('./request.service');
const _service = await moduleRef.resolve(RequestService);
return _service.eager();
}
}

View File

@@ -0,0 +1,11 @@
import { Module } from '@nestjs/common';
import { EagerService } from './eager.module';
import { GlobalService } from './global.module';
import { RequestService } from './request.service';
@Module({
imports: [],
providers: [RequestService, GlobalService, EagerService],
exports: [RequestService],
})
export class RequestLazyModule {}

View File

@@ -0,0 +1,11 @@
import { Injectable, Scope } from '@nestjs/common';
import { EagerService } from './eager.module';
@Injectable({ scope: Scope.REQUEST })
export class RequestService {
constructor(private eagerService: EagerService) {}
eager() {
return this.eagerService.sayHello();
}
}

View File

@@ -14,7 +14,6 @@ import { PhotoModule } from './photo/photo.module';
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
}),

View File

@@ -18,7 +18,6 @@ class ConfigService implements TypeOrmOptionsFactory {
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
};

View File

@@ -18,7 +18,6 @@ class ConfigService implements TypeOrmOptionsFactory {
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
};

View File

@@ -15,7 +15,6 @@ import { PhotoModule } from './photo/photo.module';
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
}),

View File

@@ -18,7 +18,6 @@ export class DatabaseModule {
database: 'test',
entities: [Photo],
synchronize: true,
keepConnectionAlive: true,
retryAttempts: 2,
retryDelay: 1000,
}),

View File

@@ -3,5 +3,5 @@
"packages": [
"packages/*"
],
"version": "11.0.1"
"version": "11.0.11"
}

2455
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/core",
"version": "10.4.5",
"version": "11.0.10",
"description": "Modern, fast, powerful node.js web framework",
"homepage": "https://nestjs.com",
"repository": {
@@ -60,43 +60,43 @@
},
"dependencies": {
"@nuxt/opencollective": "0.4.1",
"ansis": "3.8.1",
"ansis": "3.17.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"cors": "2.8.5",
"express": "5.0.1",
"fast-json-stringify": "6.0.0",
"fast-json-stringify": "6.0.1",
"fast-safe-stringify": "2.1.1",
"iterare": "1.2.1",
"object-hash": "3.0.0",
"path-to-regexp": "8.2.0",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.1",
"rxjs": "7.8.2",
"socket.io": "4.8.1",
"tslib": "2.8.1",
"uid": "2.0.2",
"uuid": "11.0.5"
"uuid": "11.1.0"
},
"devDependencies": {
"@apollo/server": "4.11.3",
"@codechecks/client": "0.1.12",
"@commitlint/cli": "19.6.1",
"@commitlint/config-angular": "19.7.0",
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@fastify/cors": "10.0.2",
"@commitlint/cli": "19.8.0",
"@commitlint/config-angular": "19.8.0",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@fastify/cors": "11.0.0",
"@fastify/formbody": "8.0.2",
"@fastify/middie": "9.0.3",
"@fastify/multipart": "9.0.2",
"@fastify/static": "8.0.4",
"@fastify/view": "10.0.2",
"@grpc/grpc-js": "1.12.5",
"@fastify/multipart": "9.0.3",
"@fastify/static": "8.1.1",
"@fastify/view": "11.0.0",
"@grpc/grpc-js": "1.13.0",
"@grpc/proto-loader": "0.7.13",
"@nestjs/apollo": "12.2.2",
"@nestjs/graphql": "12.2.2",
"@nestjs/mongoose": "10.1.0",
"@nestjs/typeorm": "10.0.2",
"@types/amqplib": "0.10.6",
"@nestjs/apollo": "13.0.3",
"@nestjs/graphql": "13.0.3",
"@nestjs/mongoose": "11.0.1",
"@nestjs/typeorm": "11.0.0",
"@types/amqplib": "0.10.7",
"@types/bytes": "3.1.5",
"@types/chai": "4.3.20",
"@types/chai-as-promised": "7.1.8",
@@ -106,37 +106,37 @@
"@types/gulp": "4.0.17",
"@types/http-errors": "2.0.4",
"@types/mocha": "10.0.10",
"@types/node": "22.10.6",
"@types/sinon": "17.0.3",
"@types/node": "22.13.10",
"@types/sinon": "17.0.4",
"@types/supertest": "6.0.2",
"@types/ws": "8.5.13",
"@types/ws": "8.18.0",
"amqp-connection-manager": "4.1.14",
"amqplib": "0.10.5",
"artillery": "2.0.22",
"body-parser": "1.20.3",
"bytes": "3.1.2",
"cache-manager": "6.3.2",
"cache-manager": "6.4.1",
"cache-manager-redis-store": "3.0.1",
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"clang-format": "1.8.0",
"concurrently": "9.1.2",
"conventional-changelog": "6.0.0",
"core-js": "3.40.0",
"core-js": "3.41.0",
"coveralls": "3.1.1",
"delete-empty": "3.0.0",
"engine.io-client": "6.6.2",
"eslint": "9.18.0",
"eslint-config-prettier": "9.1.0",
"engine.io-client": "6.6.3",
"eslint": "9.22.0",
"eslint-config-prettier": "10.1.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-prettier": "5.2.2",
"eventsource": "3.0.2",
"eslint-plugin-prettier": "5.2.3",
"eventsource": "3.0.5",
"fancy-log": "2.0.0",
"fastify": "5.2.1",
"globals": "15.14.0",
"graphql": "16.9.0",
"graphql-subscriptions": "2.0.0",
"graphql-tools": "9.0.11",
"globals": "16.0.0",
"graphql": "16.10.0",
"graphql-subscriptions": "3.0.0",
"graphql-tools": "9.0.18",
"gulp": "5.0.0",
"gulp-clang-format": "1.0.27",
"gulp-clean": "0.4.0",
@@ -146,23 +146,23 @@
"http-errors": "2.0.0",
"husky": "9.1.7",
"imports-loader": "5.0.0",
"ioredis": "5.4.2",
"ioredis": "5.6.0",
"json-loader": "0.5.7",
"kafkajs": "2.2.4",
"lerna": "2.11.0",
"lerna-changelog": "2.2.0",
"light-my-request": "6.5.1",
"lint-staged": "15.3.0",
"light-my-request": "6.6.0",
"lint-staged": "15.5.0",
"markdown-table": "2.0.0",
"mocha": "11.0.1",
"mongoose": "8.9.5",
"mqtt": "5.10.3",
"mocha": "11.1.0",
"mongoose": "8.12.1",
"mqtt": "5.10.4",
"multer": "1.4.5-lts.1",
"mysql2": "3.12.0",
"nats": "2.29.1",
"mysql2": "3.13.0",
"nats": "2.29.2",
"nodemon": "3.1.9",
"nyc": "14.1.1",
"prettier": "3.4.2",
"prettier": "3.5.3",
"redis": "4.7.0",
"rxjs-compat": "6.6.7",
"sinon": "19.0.2",
@@ -170,13 +170,13 @@
"socket.io-client": "4.8.1",
"subscriptions-transport-ws": "0.11.0",
"supertest": "7.0.0",
"ts-morph": "25.0.0",
"ts-morph": "25.0.1",
"ts-node": "10.9.2",
"typeorm": "0.3.20",
"typeorm": "0.3.21",
"typescript": "5.7.3",
"typescript-eslint": "8.19.1",
"typescript-eslint": "8.26.1",
"wrk": "1.2.1",
"ws": "8.18.0"
"ws": "8.18.1"
},
"engines": {
"node": ">= 20"

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/common",
"version": "11.0.1",
"version": "11.0.11",
"description": "Nest - modern, fast, powerful node.js web framework (@common)",
"author": "Kamil Mysliwiec",
"homepage": "https://nestjs.com",

View File

@@ -143,6 +143,13 @@ export class ValidationPipe implements PipeTransform<any> {
if (errors.length > 0) {
throw await this.exceptionFactory(errors);
}
if (originalValue === undefined && originalEntity === '') {
// Since SWC requires empty string for validation (to avoid an error),
// a fallback is needed to revert to the original value (when undefined).
// @see https://github.com/nestjs/nest/issues/14430
return originalValue;
}
if (isPrimitive) {
// if the value is a primitive value and the validation process has been successfully completed
// we have to revert the original value passed through the pipe
@@ -155,6 +162,7 @@ export class ValidationPipe implements PipeTransform<any> {
// if the value was originally undefined or null, revert it back
return originalValue;
}
// we check if the number of keys of the "validatorOptions" is higher than 1 (instead of 0)
// because the "forbidUnknownValues" now fallbacks to "false" (in case it wasn't explicitly specified)
const shouldTransformToPlain =
@@ -230,7 +238,7 @@ export class ValidationPipe implements PipeTransform<any> {
) {
return {} as object;
}
// Builder like SWC require empty string to be returned instead of an empty object
// SWC requires empty string to be returned instead of an empty object
// when the value is nil and the metatype is not a class instance, but a plain object (enum, for example).
// Otherwise, the error will be thrown.
// @see https://github.com/nestjs/nest/issues/12680

View File

@@ -117,9 +117,11 @@ describe('Shared utils', () => {
describe('addLeadingSlash', () => {
it('should return the validated path ("add / if not exists")', () => {
expect(addLeadingSlash('nope')).to.be.eql('/nope');
expect(addLeadingSlash('{:nope}')).to.be.eql('/{:nope}');
});
it('should return the same path', () => {
expect(addLeadingSlash('/nope')).to.be.eql('/nope');
expect(addLeadingSlash('{/:nope}')).to.be.eql('{/:nope}');
});
it('should return empty path', () => {
expect(addLeadingSlash('')).to.be.eql('');

View File

@@ -25,7 +25,7 @@ export const isPlainObject = (fn: any): fn is object => {
export const addLeadingSlash = (path?: string): string =>
path && typeof path === 'string'
? path.charAt(0) !== '/'
? path.charAt(0) !== '/' && path.substring(0, 2) !== '{/'
? '/' + path
: path
: '';

View File

@@ -126,7 +126,13 @@ export class InstanceWrapper<T = any> {
const instancePerContext = this.values.get(contextId);
return instancePerContext
? instancePerContext
: this.cloneStaticInstance(contextId);
: contextId !== STATIC_CONTEXT
? this.cloneStaticInstance(contextId)
: {
instance: null as T,
isResolved: true,
isPending: false,
};
}
public getInstanceByInquirerId(

View File

@@ -255,7 +255,11 @@ export class Module {
}
const isAlreadyDeclared = this._providers.has(provider);
if (this.isTransientProvider(provider) && isAlreadyDeclared) {
if (
(this.isTransientProvider(provider) ||
this.isRequestScopeProvider(provider)) &&
isAlreadyDeclared
) {
return provider;
}
@@ -664,4 +668,8 @@ export class Module {
private isTransientProvider(provider: Type<any>): boolean {
return getClassScope(provider) === Scope.TRANSIENT;
}
private isRequestScopeProvider(provider: Type<any>): boolean {
return getClassScope(provider) === Scope.REQUEST;
}
}

View File

@@ -44,9 +44,10 @@ export class ByReferenceModuleOpaqueKeyFactory
if (this.keyGenerationStrategy === 'random') {
moduleId = this.generateRandomString();
} else {
const delimiter = ':';
moduleId = dynamicMetadata
? `${this.generateRandomString()}:${this.hashString(moduleCls.name + JSON.stringify(dynamicMetadata))}`
: `${this.generateRandomString()}:${this.hashString(moduleCls.toString())}`;
? `${this.generateRandomString()}${delimiter}${this.hashString(moduleCls.name + JSON.stringify(dynamicMetadata))}`
: `${this.generateRandomString()}${delimiter}${this.hashString(moduleCls.toString())}`;
}
originalRef[K_MODULE_ID] = moduleId;

View File

@@ -0,0 +1,57 @@
import { Module } from '../module';
import { TreeNode } from './tree-node';
export class TopologyTree {
private root: TreeNode<Module>;
private links: Map<Module, TreeNode<Module>> = new Map();
constructor(moduleRef: Module) {
this.root = new TreeNode<Module>({
value: moduleRef,
parent: null,
});
this.links.set(moduleRef, this.root);
this.traverseAndMapToTree(this.root);
}
public walk(callback: (value: Module, depth: number) => void) {
function walkNode(node: TreeNode<Module>, depth = 1) {
callback(node.value, depth);
node.children.forEach(child => walkNode(child, depth + 1));
}
walkNode(this.root);
}
private traverseAndMapToTree(node: TreeNode<Module>, depth = 1) {
if (!node.value.imports) {
return;
}
node.value.imports.forEach(child => {
if (!child) {
return;
}
if (this.links.has(child)) {
const existingSubtree = this.links.get(child)!;
if (node.hasCycleWith(child)) {
return;
}
const existingDepth = existingSubtree.getDepth();
if (existingDepth < depth) {
existingSubtree.relink(node);
}
return;
}
const childNode = new TreeNode<Module>({
value: child,
parent: node,
});
node.addChild(childNode);
this.links.set(child, childNode);
this.traverseAndMapToTree(childNode, depth + 1);
});
}
}

View File

@@ -0,0 +1,65 @@
export class TreeNode<T> {
public readonly value: T;
public readonly children = new Set<TreeNode<T>>();
private parent: TreeNode<T> | null;
constructor({ value, parent }: { value: T; parent: TreeNode<T> | null }) {
this.value = value;
this.parent = parent;
}
addChild(child: TreeNode<T>) {
this.children.add(child);
}
removeChild(child: TreeNode<T>) {
this.children.delete(child);
}
relink(parent: TreeNode<T>) {
this.parent?.removeChild(this);
this.parent = parent;
this.parent.addChild(this);
}
getDepth() {
const visited = new Set<TreeNode<T>>();
let depth = 0;
// eslint-disable-next-line @typescript-eslint/no-this-alias
let current: TreeNode<T> | null = this;
while (current) {
depth++;
current = current.parent;
// Stop on cycle
if (visited.has(current!)) {
return -1;
}
visited.add(current!);
}
return depth;
}
hasCycleWith(target: T) {
const visited = new Set<TreeNode<T>>();
// eslint-disable-next-line @typescript-eslint/no-this-alias
let current: TreeNode<T> | null = this;
while (current) {
if (current.value === target) {
return true;
}
current = current.parent;
if (visited.has(current!)) {
return false;
}
visited.add(current!);
}
return false;
}
}

View File

@@ -148,10 +148,20 @@ export class MiddlewareModule<
const entriesSortedByDistance = [...configs.entries()].sort(
([moduleA], [moduleB]) => {
return (
this.container.getModuleByKey(moduleA)!.distance -
this.container.getModuleByKey(moduleB)!.distance
);
const moduleARef = this.container.getModuleByKey(moduleA)!;
const moduleBRef = this.container.getModuleByKey(moduleB)!;
const isModuleAGlobal = moduleARef.distance === Number.MAX_VALUE;
const isModuleBGlobal = moduleBRef.distance === Number.MAX_VALUE;
if (isModuleAGlobal && isModuleBGlobal) {
return 0;
}
if (isModuleAGlobal) {
return -1;
}
if (isModuleBGlobal) {
return 1;
}
return moduleARef.distance - moduleBRef.distance;
},
);
for (const [moduleRef, moduleConfigurations] of entriesSortedByDistance) {

View File

@@ -71,9 +71,13 @@ export class RouteInfoPathExtractor {
}
private isAWildcard(path: string): boolean {
return ['*', '/*', '/*/', '*path', '/*path', '(.*)', '/(.*)'].includes(
path,
);
const isSimpleWildcard = ['*', '/*', '/*/', '(.*)', '/(.*)'];
if (isSimpleWildcard.includes(path)) {
return true;
}
const wildcardRegexp = /^\/\{.*\}.*|^\/\*.*$/;
return wildcardRegexp.test(path);
}
private extractNonWildcardPathsFrom({

View File

@@ -85,7 +85,7 @@ export class NestFactoryStatic {
: [this.createHttpAdapter(), serverOrOptions];
const applicationConfig = new ApplicationConfig();
const container = new NestContainer(applicationConfig);
const container = new NestContainer(applicationConfig, appOptions);
const graphInspector = this.createGraphInspector(appOptions!, container);
this.setAbortOnError(serverOrOptions, options);
@@ -130,7 +130,7 @@ export class NestFactoryStatic {
() => require('@nestjs/microservices'),
);
const applicationConfig = new ApplicationConfig();
const container = new NestContainer(applicationConfig);
const container = new NestContainer(applicationConfig, options);
const graphInspector = this.createGraphInspector(options!, container);
this.setAbortOnError(options);
@@ -167,7 +167,7 @@ export class NestFactoryStatic {
options?: NestApplicationContextOptions,
): Promise<INestApplicationContext> {
const applicationConfig = new ApplicationConfig();
const container = new NestContainer(applicationConfig);
const container = new NestContainer(applicationConfig, options);
const graphInspector = this.createGraphInspector(options!, container);
this.setAbortOnError(options);

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/core",
"version": "11.0.1",
"version": "11.0.11",
"description": "Nest - modern, fast, powerful node.js web framework (@core)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -39,7 +39,7 @@
"uid": "2.0.2"
},
"devDependencies": {
"@nestjs/common": "11.0.1"
"@nestjs/common": "11.0.11"
},
"peerDependencies": {
"@nestjs/common": "^11.0.0",

View File

@@ -11,19 +11,30 @@ export class LegacyRouteConverter {
* path-to-regexp used by Express>=v5 and @fastify/middie>=v9 no longer support unnamed wildcards.
* This method attempts to convert the old syntax to the new one, and logs an error if it fails.
* @param route The route to convert.
* @param options Options object.
* @returns The converted route, or the original route if it cannot be converted.
*/
static tryConvert(route: string): string {
static tryConvert(
route: string,
options?: {
logs?: boolean;
},
): string {
// Normalize path to eliminate additional if statements.
const routeWithLeadingSlash = route.startsWith('/') ? route : `/${route}`;
const normalizedRoute = route.endsWith('/')
? routeWithLeadingSlash
: `${routeWithLeadingSlash}/`;
const loggingEnabled = options?.logs ?? true;
const printWarning = loggingEnabled
? this.printWarning.bind(this)
: () => {};
if (normalizedRoute.endsWith('/(.*)/')) {
// Skip printing warning for the "all" wildcard.
if (normalizedRoute !== '/(.*)/') {
this.printWarning(route);
printWarning(route);
}
return route.replace('(.*)', '{*path}');
}
@@ -31,19 +42,19 @@ export class LegacyRouteConverter {
if (normalizedRoute.endsWith('/*/')) {
// Skip printing warning for the "all" wildcard.
if (normalizedRoute !== '/*/') {
this.printWarning(route);
printWarning(route);
}
return route.replace('*', '{*path}');
}
if (normalizedRoute.endsWith('/+/')) {
this.printWarning(route);
printWarning(route);
return route.replace('/+', '/*path');
}
// When route includes any wildcard segments in the middle.
if (normalizedRoute.includes('/*/')) {
this.printWarning(route);
printWarning(route);
// Replace each /*/ segment with a named parameter using different name for each segment.
return route.replaceAll('/*/', (match, offset) => {
return `/*path${offset}/`;

View File

@@ -50,6 +50,7 @@ import { NestContainer } from './injector/container';
import { InstanceWrapper } from './injector/instance-wrapper';
import { InternalCoreModuleFactory } from './injector/internal-core-module/internal-core-module-factory';
import { Module } from './injector/module';
import { TopologyTree } from './injector/topology-tree/topology-tree';
import { GraphInspector } from './inspector/graph-inspector';
import { UuidFactory } from './inspector/uuid-factory';
import { ModuleDefinition } from './interfaces/module-definition.interface';
@@ -395,37 +396,23 @@ export class DependenciesScanner {
public calculateModulesDistance() {
const modulesGenerator = this.container.getModules().values();
// Skip "InternalCoreModule" from calculating distance
// Skip "InternalCoreModule"
// The second element is the actual root module
modulesGenerator.next();
const calculateDistance = (
moduleRef: Module,
distance = 1,
modulesStack: Module[] = [],
) => {
const localModulesStack = [...modulesStack];
if (!moduleRef || localModulesStack.includes(moduleRef)) {
const rootModule = modulesGenerator.next().value!;
if (!rootModule) {
return;
}
// Convert modules to an acyclic connected graph
const tree = new TopologyTree(rootModule);
tree.walk((moduleRef, depth) => {
if (moduleRef.isGlobal) {
return;
}
localModulesStack.push(moduleRef);
const moduleImports = moduleRef.imports;
moduleImports.forEach(importedModuleRef => {
if (importedModuleRef) {
if (
distance > importedModuleRef.distance &&
!importedModuleRef.isGlobal
) {
importedModuleRef.distance = distance;
}
calculateDistance(importedModuleRef, distance + 1, localModulesStack);
}
});
};
const rootModule = modulesGenerator.next().value;
calculateDistance(rootModule!);
moduleRef.distance = depth;
});
}
public async insertImport(related: any, token: string, context: string) {

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/microservices",
"version": "11.0.1",
"version": "11.0.11",
"description": "Nest - modern, fast, powerful node.js web framework (@microservices)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -22,8 +22,8 @@
"tslib": "2.8.1"
},
"devDependencies": {
"@nestjs/common": "11.0.1",
"@nestjs/core": "11.0.1"
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11"
},
"peerDependencies": {
"@grpc/grpc-js": "*",

View File

@@ -245,7 +245,7 @@ export class ServerKafka extends Server<never, KafkaStatus> {
'Not initialized. Please call the "listen"/"startAllMicroservices" method before accessing the server.',
);
}
return this.client as T;
return [this.client, this.consumer, this.producer] as T;
}
public on<

View File

@@ -128,21 +128,25 @@ export abstract class Server<
stream$: Observable<any>,
respond: (data: WritePacket) => Promise<unknown> | void,
): Subscription {
let dataBuffer: WritePacket[] | null = null;
const dataQueue: WritePacket[] = [];
let isProcessing = false;
const scheduleOnNextTick = (data: WritePacket) => {
if (!dataBuffer) {
dataBuffer = [data];
process.nextTick(async () => {
for (const item of dataBuffer!) {
await respond(item);
}
dataBuffer = null;
});
} else if (!data.isDisposed) {
dataBuffer = dataBuffer.concat(data);
if (data.isDisposed && dataQueue.length > 0) {
dataQueue[dataQueue.length - 1].isDisposed = true;
} else {
dataBuffer[dataBuffer.length - 1].isDisposed = data.isDisposed;
dataQueue.push(data);
}
if (!isProcessing) {
isProcessing = true;
process.nextTick(async () => {
while (dataQueue.length > 0) {
const packet = dataQueue.shift();
if (packet) {
await respond(packet);
}
}
isProcessing = false;
});
}
};
return stream$

View File

@@ -24,11 +24,6 @@ import {
import { AbstractHttpAdapter } from '@nestjs/core/adapters/http-adapter';
import { RouterMethodFactory } from '@nestjs/core/helpers/router-method-factory';
import { LegacyRouteConverter } from '@nestjs/core/router/legacy-route-converter';
import * as bodyparser from 'body-parser';
import {
json as bodyParserJson,
urlencoded as bodyParserUrlencoded,
} from 'body-parser';
import * as cors from 'cors';
import * as express from 'express';
import type { Server } from 'http';
@@ -278,8 +273,8 @@ export class ExpressAdapter extends AbstractHttpAdapter<
});
const parserMiddleware = {
jsonParser: bodyParserJson(bodyParserJsonOptions),
urlencodedParser: bodyParserUrlencoded(bodyParserUrlencodedOptions),
jsonParser: express.json(bodyParserJsonOptions),
urlencodedParser: express.urlencoded(bodyParserUrlencodedOptions),
};
Object.keys(parserMiddleware)
.filter(parser => !this.isMiddlewareApplied(parser))
@@ -294,7 +289,7 @@ export class ExpressAdapter extends AbstractHttpAdapter<
options?: Omit<Options, 'verify'>,
): this {
const parserOptions = getBodyParserOptions<Options>(rawBody, options);
const parser = bodyparser[type](parserOptions);
const parser = express[type](parserOptions);
this.use(parser);
@@ -475,10 +470,10 @@ export class ExpressAdapter extends AbstractHttpAdapter<
private isMiddlewareApplied(name: string): boolean {
const app = this.getInstance();
return (
!!app._router &&
!!app._router.stack &&
isFunction(app._router.stack.filter) &&
app._router.stack.some(
!!app.router &&
!!app.router.stack &&
isFunction(app.router.stack.filter) &&
app.router.stack.some(
(layer: any) => layer && layer.handle && layer.handle.name === name,
)
);

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/platform-express",
"version": "11.0.1",
"version": "11.0.11",
"description": "Nest - modern, fast, powerful node.js web framework (@platform-express)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -18,15 +18,15 @@
"access": "public"
},
"dependencies": {
"body-parser": "1.20.3",
"cors": "2.8.5",
"express": "5.0.1",
"multer": "1.4.5-lts.1",
"path-to-regexp": "8.2.0",
"tslib": "2.8.1"
},
"devDependencies": {
"@nestjs/common": "11.0.1",
"@nestjs/core": "11.0.1"
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11"
},
"peerDependencies": {
"@nestjs/common": "^11.0.0",

View File

@@ -0,0 +1,46 @@
import { ExpressAdapter } from '@nestjs/platform-express';
import { expect } from 'chai';
import * as express from 'express';
import * as sinon from 'sinon';
describe('ExpressAdapter', () => {
afterEach(() => sinon.restore());
describe('registerParserMiddleware', () => {
it('should register the express built-in parsers for json and urlencoded payloads', () => {
const expressInstance = express();
const jsonParserInstance = express.json();
const urlencodedInstance = express.urlencoded();
const jsonParserSpy = sinon
.stub(express, 'json')
.returns(jsonParserInstance);
const urlencodedParserSpy = sinon
.stub(express, 'urlencoded')
.returns(urlencodedInstance);
const useSpy = sinon.spy(expressInstance, 'use');
const expressAdapter = new ExpressAdapter(expressInstance);
expressAdapter.registerParserMiddleware();
expect(useSpy.calledTwice).to.be.true;
expect(useSpy.calledWith(sinon.match.same(jsonParserInstance))).to.be
.true;
expect(useSpy.calledWith(sinon.match.same(urlencodedInstance))).to.be
.true;
expect(jsonParserSpy.calledOnceWith({})).to.be.true;
expect(urlencodedParserSpy.calledOnceWith({ extended: true })).to.be.true;
});
it('should not register default parsers if custom parsers have already been registered', () => {
const expressInstance = express();
expressInstance.use(function jsonParser() {});
expressInstance.use(function urlencodedParser() {});
const useSpy = sinon.spy(expressInstance, 'use');
const expressAdapter = new ExpressAdapter(expressInstance);
expressAdapter.registerParserMiddleware();
expect(useSpy.called).to.be.false;
});
});
});

View File

@@ -48,8 +48,8 @@ import {
Response as LightMyRequestResponse,
} from 'light-my-request';
import { pathToRegexp } from 'path-to-regexp';
// `querystring` is used internally in fastify for registering urlencoded body parser.
import { parse as querystringParse } from 'querystring';
// Fastify uses `fast-querystring` internally to quickly parse URL query strings.
import { parse as querystringParse } from 'fast-querystring';
import {
FASTIFY_ROUTE_CONFIG_METADATA,
FASTIFY_ROUTE_CONSTRAINTS_METADATA,

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/platform-fastify",
"version": "11.0.1",
"version": "11.0.11",
"description": "Nest - modern, fast, powerful node.js web framework (@platform-fastify)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -18,19 +18,20 @@
"access": "public"
},
"dependencies": {
"@fastify/cors": "10.0.2",
"@fastify/cors": "11.0.0",
"@fastify/formbody": "8.0.2",
"@fastify/middie": "9.0.3",
"fast-querystring": "1.1.2",
"fastify": "5.2.1",
"light-my-request": "6.5.1",
"light-my-request": "6.6.0",
"path-to-regexp": "8.2.0",
"tslib": "2.8.1"
},
"peerDependencies": {
"@fastify/static": "^8.0.0",
"@fastify/view": "^10.0.0",
"@nestjs/common": "^10.0.0",
"@nestjs/core": "^10.0.0"
"@fastify/view": "^10.0.0 || ^11.0.0",
"@nestjs/common": "^11.0.0",
"@nestjs/core": "^11.0.0"
},
"peerDependenciesMeta": {
"@fastify/static": {

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/platform-socket.io",
"version": "11.0.1",
"version": "11.0.11",
"description": "Nest - modern, fast, powerful node.js web framework (@platform-socket.io)",
"author": "Kamil Mysliwiec",
"license": "MIT",

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/platform-ws",
"version": "11.0.1",
"version": "11.0.11",
"description": "Nest - modern, fast, powerful node.js web framework (@platform-ws)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -19,7 +19,7 @@
},
"dependencies": {
"tslib": "2.8.1",
"ws": "8.18.0"
"ws": "8.18.1"
},
"peerDependencies": {
"@nestjs/common": "^11.0.0",

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/testing",
"version": "11.0.1",
"version": "11.0.11",
"description": "Nest - modern, fast, powerful node.js web framework (@testing)",
"author": "Kamil Mysliwiec",
"license": "MIT",

View File

@@ -1,11 +1,17 @@
import { ModuleMetadata } from '@nestjs/common/interfaces/modules/module-metadata.interface';
import { MetadataScanner } from '@nestjs/core/metadata-scanner';
import { TestingModuleBuilder } from './testing-module.builder';
import {
TestingModuleBuilder,
TestingModuleOptions,
} from './testing-module.builder';
export class Test {
private static readonly metadataScanner = new MetadataScanner();
public static createTestingModule(metadata: ModuleMetadata) {
return new TestingModuleBuilder(this.metadataScanner, metadata);
public static createTestingModule(
metadata: ModuleMetadata,
options?: TestingModuleOptions,
) {
return new TestingModuleBuilder(this.metadataScanner, metadata, options);
}
}

View File

@@ -23,12 +23,20 @@ import { TestingInjector } from './testing-injector';
import { TestingInstanceLoader } from './testing-instance-loader';
import { TestingModule } from './testing-module';
/**
* @publicApi
*/
export type TestingModuleOptions = Pick<
NestApplicationContextOptions,
'moduleIdGeneratorAlgorithm'
>;
/**
* @publicApi
*/
export class TestingModuleBuilder {
private readonly applicationConfig = new ApplicationConfig();
private readonly container = new NestContainer(this.applicationConfig);
private readonly container: NestContainer;
private readonly overloadsMap = new Map();
private readonly moduleOverloadsMap = new Map<
ModuleDefinition,
@@ -41,7 +49,9 @@ export class TestingModuleBuilder {
constructor(
private readonly metadataScanner: MetadataScanner,
metadata: ModuleMetadata,
options?: TestingModuleOptions,
) {
this.container = new NestContainer(this.applicationConfig, options);
this.module = this.createModule(metadata);
}

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/websockets",
"version": "11.0.1",
"version": "11.0.11",
"description": "Nest - modern, fast, powerful node.js web framework (@websockets)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -18,8 +18,8 @@
"tslib": "2.8.1"
},
"devDependencies": {
"@nestjs/common": "11.0.1",
"@nestjs/core": "11.0.1"
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11"
},
"peerDependencies": {
"@nestjs/common": "^11.0.0",

View File

@@ -19,37 +19,37 @@
"test:e2e": "jest --config ./e2e/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "11.0.0",
"@nestjs/core": "11.0.0",
"@nestjs/platform-express": "11.0.0",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1"
"rxjs": "7.8.2"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "11.0.0",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.7",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
},
"jest": {
"moduleFileExtensions": [

View File

@@ -19,43 +19,43 @@
"test:e2e": "jest --config ./e2e/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "11.0.0",
"@nestjs/core": "11.0.0",
"@nestjs/platform-express": "11.0.0",
"@nestjs/platform-socket.io": "11.0.0",
"@nestjs/websockets": "11.0.0",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"@nestjs/platform-socket.io": "11.0.11",
"@nestjs/websockets": "11.0.11",
"@socket.io/redis-adapter": "8.3.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1",
"rxjs": "7.8.2",
"socket.io": "4.8.1"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "11.0.0",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.7",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"@types/ws": "8.5.13",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"redis": "4.7.0",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
},
"jest": {
"moduleFileExtensions": [

View File

@@ -19,37 +19,37 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "11.0.0",
"@nestjs/core": "11.0.0",
"@nestjs/microservices": "11.0.0",
"@nestjs/platform-express": "11.0.0",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/microservices": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1"
"rxjs": "7.8.2"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "11.0.0",
"@types/amqplib": "0.10.6",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/amqplib": "0.10.7",
"@types/express": "5.0.0",
"@types/node": "22.10.7",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
}
}

View File

@@ -19,38 +19,38 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@grpc/grpc-js": "1.12.5",
"@grpc/grpc-js": "1.13.0",
"@grpc/reflection": "1.0.4",
"@nestjs/common": "11.0.0",
"@nestjs/core": "11.0.0",
"@nestjs/microservices": "11.0.0",
"@nestjs/platform-express": "11.0.0",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/microservices": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1"
"rxjs": "7.8.2"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "11.0.0",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/node": "22.10.7",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
}
}

View File

@@ -19,38 +19,38 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "11.0.0",
"@nestjs/core": "11.0.0",
"@nestjs/platform-express": "11.0.0",
"@nestjs/typeorm": "10.0.2",
"mysql2": "3.12.0",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"@nestjs/typeorm": "11.0.0",
"mysql2": "3.13.0",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1",
"typeorm": "0.3.20"
"rxjs": "7.8.2",
"typeorm": "0.3.21"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "11.0.0",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.7",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
},
"jest": {
"moduleFileExtensions": [

View File

@@ -1,9 +1,9 @@
import { Test, TestingModule } from '@nestjs/testing';
import { INestApplication } from '@nestjs/common';
import * as request from 'supertest';
import { UsersModule } from '../../src/users/users.module';
import { Test, TestingModule } from '@nestjs/testing';
import { TypeOrmModule } from '@nestjs/typeorm';
import * as request from 'supertest';
import { CreateUserDto } from '../../src/users/dto/create-user.dto';
import { UsersModule } from '../../src/users/users.module';
describe('Users - /users (e2e)', () => {
const users = {

View File

@@ -19,37 +19,37 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "11.0.0",
"@nestjs/core": "11.0.0",
"@nestjs/mongoose": "10.1.0",
"@nestjs/platform-express": "11.0.0",
"mongoose": "8.9.5",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/mongoose": "11.0.1",
"@nestjs/platform-express": "11.0.11",
"mongoose": "8.12.1",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1"
"rxjs": "7.8.2"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "11.0.0",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.7",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
},
"jest": {
"moduleFileExtensions": [

View File

@@ -19,40 +19,40 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "11.0.0",
"@nestjs/core": "11.0.0",
"@nestjs/platform-express": "11.0.0",
"@nestjs/sequelize": "10.0.1",
"mysql2": "3.12.0",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"@nestjs/sequelize": "11.0.0",
"mysql2": "3.13.0",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1",
"sequelize": "6.37.5",
"rxjs": "7.8.2",
"sequelize": "6.37.6",
"sequelize-typescript": "2.1.6",
"typescript": "5.7.3"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "11.0.0",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.7",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
},
"jest": {
"moduleFileExtensions": [

View File

@@ -12,28 +12,28 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "11.0.0",
"@nestjs/core": "11.0.0",
"@nestjs/platform-express": "11.0.0",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.1",
"rxjs": "7.8.2",
"typescript": "5.7.3"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@types/node": "22.10.7",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@types/node": "22.13.10",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"start-server-webpack-plugin": "2.2.5",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"webpack": "5.97.1",
"webpack": "5.98.0",
"webpack-cli": "6.0.1",
"webpack-node-externals": "3.0.0",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
}
}

View File

@@ -13,27 +13,27 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "11.0.0",
"@nestjs/core": "11.0.0",
"@nestjs/platform-express": "11.0.0",
"@nestjs/microservices": "11.0.0",
"@nestjs/websockets": "11.0.0",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"@nestjs/microservices": "11.0.11",
"@nestjs/websockets": "11.0.11",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.1"
"rxjs": "7.8.2"
},
"devDependencies": {
"@babel/cli": "7.26.4",
"@babel/core": "7.26.0",
"@babel/core": "7.26.10",
"@babel/node": "7.26.0",
"@babel/plugin-proposal-decorators": "7.25.9",
"@babel/plugin-transform-runtime": "7.25.9",
"@babel/preset-env": "7.26.0",
"@babel/plugin-transform-runtime": "7.26.10",
"@babel/preset-env": "7.26.9",
"@babel/register": "7.25.9",
"@babel/runtime": "7.26.0",
"@nestjs/testing": "11.0.0",
"@babel/runtime": "7.26.10",
"@nestjs/testing": "11.0.11",
"jest": "29.7.0",
"nodemon": "3.1.9",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0"
},
"jest": {

View File

@@ -19,35 +19,34 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "11.0.0",
"@nestjs/core": "11.0.0",
"@nestjs/platform-fastify": "11.0.0",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-fastify": "11.0.11",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1"
"rxjs": "7.8.2"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "11.0.0",
"@types/express": "5.0.0",
"@types/node": "22.10.7",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
}
}

View File

@@ -19,36 +19,36 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "11.0.0",
"@nestjs/core": "^11.0.0",
"@nestjs/platform-express": "11.0.0",
"@nestjs/swagger": "^11.0.0-next.1",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"@nestjs/swagger": "11.0.6",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1"
"rxjs": "7.8.2"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "11.0.0",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/node": "22.10.7",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
}
}

View File

@@ -1,23 +0,0 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};

View File

@@ -0,0 +1,43 @@
// @ts-check
import eslint from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
ignores: ['eslint.config.mjs'],
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
eslintPluginPrettierRecommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},
ecmaVersion: 5,
sourceType: 'module',
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unsafe-argument': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-assignment': 'warn',
'@typescript-eslint/no-unsafe-call': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/require-await': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/unbound-method': 'warn',
},
},
);

View File

@@ -20,42 +20,43 @@
},
"dependencies": {
"@apollo/server": "4.11.3",
"@graphql-tools/utils": "10.7.2",
"@nestjs/apollo": "12.2.2",
"@nestjs/common": "10.4.15",
"@nestjs/core": "10.4.15",
"@nestjs/graphql": "12.2.2",
"@nestjs/platform-express": "10.4.15",
"@graphql-tools/utils": "10.8.6",
"@nestjs/apollo": "13.0.3",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/graphql": "13.0.3",
"@nestjs/platform-express": "11.0.11",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"graphql": "16.8.1",
"graphql-subscriptions": "2.0.0",
"graphql": "16.10.0",
"graphql-subscriptions": "3.0.0",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1"
"rxjs": "7.8.2"
},
"devDependencies": {
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "10.4.15",
"@types/express": "4.17.21",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.6",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "9.18.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-morph": "25.0.0",
"ts-morph": "25.0.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3"
"typescript": "5.7.3",
"typescript-eslint": "8.26.1"
},
"jest": {
"moduleFileExtensions": [

View File

@@ -28,13 +28,13 @@ export class CatsResolver {
@Mutation('createCat')
async create(@Args('createCatInput') args: CreateCatDto): Promise<Cat> {
const createdCat = await this.catsService.create(args);
const createdCat = this.catsService.create(args);
pubSub.publish('catCreated', { catCreated: createdCat });
return createdCat;
}
@Subscription('catCreated')
catCreated() {
return pubSub.asyncIterator('catCreated');
return pubSub.asyncIterableIterator('catCreated');
}
}

View File

@@ -5,7 +5,7 @@
*/
/* tslint:disable */
/* eslint-disable */
export class CreateCatInput {
name?: Nullable<string>;
age?: Nullable<number>;

View File

@@ -1,23 +0,0 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};

View File

@@ -0,0 +1,41 @@
// @ts-check
import eslint from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
ignores: ['eslint.config.mjs'],
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
eslintPluginPrettierRecommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},
ecmaVersion: 5,
sourceType: 'module',
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unsafe-argument': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-assignment': 'warn',
'@typescript-eslint/no-unsafe-call': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
},
},
);

View File

@@ -19,38 +19,38 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "10.4.15",
"@nestjs/core": "10.4.15",
"@nestjs/platform-express": "10.4.15",
"@nestjs/typeorm": "10.0.2",
"mongodb": "6.12.0",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"@nestjs/typeorm": "11.0.0",
"mongodb": "6.15.0",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1",
"typeorm": "0.3.20"
"rxjs": "7.8.2",
"typeorm": "0.3.21"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "11.0.0",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.7",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
},
"jest": {
"moduleFileExtensions": [

View File

@@ -1,7 +1,7 @@
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { PhotoModule } from './photo/photo.module';
import { Photo } from './photo/photo.entity';
import { PhotoModule } from './photo/photo.module';
@Module({
imports: [

View File

@@ -1,23 +0,0 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};

View File

@@ -0,0 +1,42 @@
// @ts-check
import eslint from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
ignores: ['eslint.config.mjs'],
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
eslintPluginPrettierRecommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},
ecmaVersion: 5,
sourceType: 'module',
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unsafe-argument': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-assignment': 'warn',
'@typescript-eslint/no-unsafe-call': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/require-await': 'warn',
},
},
);

View File

@@ -19,36 +19,36 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "10.4.15",
"@nestjs/core": "10.4.15",
"@nestjs/platform-express": "10.4.15",
"mongoose": "8.9.5",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"mongoose": "8.12.1",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1"
"rxjs": "7.8.2"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "11.0.0",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.7",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
},
"jest": {
"moduleFileExtensions": [

View File

@@ -1,23 +0,0 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};

View File

@@ -0,0 +1,42 @@
// @ts-check
import eslint from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
ignores: ['eslint.config.mjs'],
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
eslintPluginPrettierRecommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},
ecmaVersion: 5,
sourceType: 'module',
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unsafe-argument': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-assignment': 'warn',
'@typescript-eslint/no-unsafe-call': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/require-await': 'warn',
},
},
);

View File

@@ -19,33 +19,34 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "10.4.15",
"@nestjs/core": "10.4.15",
"@nestjs/platform-express": "10.4.15",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"hbs": "4.2.0",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1"
"rxjs": "7.8.2"
},
"devDependencies": {
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "10.4.15",
"@types/express": "4.17.21",
"@types/node": "22.10.6",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "9.18.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"typescript": "5.7.3"
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"typescript": "5.7.3",
"typescript-eslint": "8.26.1"
}
}

View File

@@ -1,23 +0,0 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};

View File

@@ -0,0 +1,42 @@
// @ts-check
import eslint from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
ignores: ['eslint.config.mjs'],
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
eslintPluginPrettierRecommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},
ecmaVersion: 5,
sourceType: 'module',
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unsafe-argument': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-assignment': 'warn',
'@typescript-eslint/no-unsafe-call': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/require-await': 'warn',
},
},
);

View File

@@ -19,38 +19,39 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "10.4.15",
"@nestjs/core": "10.4.15",
"@nestjs/platform-express": "10.4.15",
"@nestjs/platform-ws": "10.4.15",
"@nestjs/websockets": "10.4.15",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-express": "11.0.11",
"@nestjs/platform-ws": "11.0.11",
"@nestjs/websockets": "11.0.11",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"rimraf": "6.0.1",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.1",
"ws": "8.17.1"
"rxjs": "7.8.2",
"ws": "8.18.0"
},
"devDependencies": {
"@types/ws": "8.5.5",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "10.4.15",
"@types/express": "4.17.21",
"@types/node": "22.10.6",
"@types/ws": "8.5.13",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "9.18.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"typescript": "5.7.3"
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"typescript": "5.7.3",
"typescript-eslint": "8.26.1"
}
}

View File

@@ -1,23 +0,0 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};

View File

@@ -0,0 +1,43 @@
// @ts-check
import eslint from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
ignores: ['eslint.config.mjs'],
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
eslintPluginPrettierRecommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},
ecmaVersion: 5,
sourceType: 'module',
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unsafe-argument': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-assignment': 'warn',
'@typescript-eslint/no-unsafe-call': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/require-await': 'warn',
'@typescript-eslint/no-require-imports': 'off'
},
},
);

View File

@@ -1,53 +1,54 @@
{
"name": "nest-typescript-starter",
"version": "1.0.0",
"description": "Nest TypeScript starter repository",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint '{src,apps,libs,test}/**/*.ts' --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "10.4.15",
"@nestjs/core": "10.4.15",
"@nestjs/platform-fastify": "10.4.15",
"@fastify/static": "8.0.4",
"handlebars": "4.7.8",
"@fastify/view": "10.0.2",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1"
},
"devDependencies": {
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "10.4.15",
"@types/express": "4.17.21",
"@types/node": "22.10.6",
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "9.18.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3"
}
"name": "nest-typescript-starter",
"version": "1.0.0",
"description": "Nest TypeScript starter repository",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint '{src,apps,libs,test}/**/*.ts' --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/platform-fastify": "11.0.11",
"@fastify/static": "8.1.1",
"handlebars": "4.7.8",
"@fastify/view": "11.0.0",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.2"
},
"devDependencies": {
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"jest": "29.7.0",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3",
"typescript-eslint": "8.26.1"
}
}

View File

@@ -1,23 +0,0 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};

View File

@@ -0,0 +1,43 @@
// @ts-check
import eslint from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
ignores: ['eslint.config.mjs'],
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
eslintPluginPrettierRecommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},
ecmaVersion: 5,
sourceType: 'module',
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unsafe-argument': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-assignment': 'warn',
'@typescript-eslint/no-unsafe-call': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/require-await': 'warn',
'@typescript-eslint/no-require-imports': 'off'
},
},
);

View File

@@ -19,29 +19,30 @@
"test:e2e": "echo 'No e2e tests implemented yet.'"
},
"dependencies": {
"@nestjs/common": "10.4.15",
"@nestjs/core": "10.4.15",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1"
"rxjs": "7.8.2"
},
"devDependencies": {
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@types/node": "22.10.6",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "9.18.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"typescript": "5.7.3"
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"typescript": "5.7.3",
"typescript-eslint": "8.26.1"
}
}

View File

@@ -1,23 +0,0 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};

View File

@@ -0,0 +1,44 @@
// @ts-check
import eslint from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
ignores: ['eslint.config.mjs'],
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
eslintPluginPrettierRecommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},
ecmaVersion: 5,
sourceType: 'module',
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unsafe-argument': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-assignment': 'warn',
'@typescript-eslint/no-unsafe-call': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/require-await': 'warn',
'@typescript-eslint/no-require-imports': 'off',
'@typescript-eslint/no-redundant-type-constituents': 'warn',
},
},
);

View File

@@ -1,6 +0,0 @@
{
"watch": ["src"],
"ext": "ts",
"ignore": ["src/**/*.spec.ts"],
"exec": "node --inspect-brk -r ts-node/register -r tsconfig-paths/register src/main.ts"
}

View File

@@ -1,5 +0,0 @@
{
"watch": ["dist"],
"ext": "js",
"exec": "node dist/main"
}

View File

@@ -20,37 +20,37 @@
"test:e2e": "jest --config ./e2e/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "10.4.15",
"@nestjs/core": "10.4.15",
"@nestjs/jwt": "10.2.0",
"@nestjs/passport": "10.0.3",
"@nestjs/platform-express": "10.4.15",
"@nestjs/common": "11.0.11",
"@nestjs/core": "11.0.11",
"@nestjs/jwt": "11.0.0",
"@nestjs/passport": "11.0.5",
"@nestjs/platform-express": "11.0.11",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1"
"rxjs": "7.8.2"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "11.0.0",
"@eslint/eslintrc": "3.3.0",
"@eslint/js": "9.22.0",
"@nestjs/cli": "11.0.5",
"@nestjs/schematics": "11.0.2",
"@nestjs/testing": "11.0.11",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.7",
"@types/node": "22.13.10",
"@types/supertest": "6.0.2",
"eslint": "9.18.0",
"eslint-plugin-prettier": "5.2.2",
"globals": "15.14.0",
"eslint": "9.22.0",
"eslint-plugin-prettier": "5.2.3",
"globals": "16.0.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
"typescript-eslint": "8.26.1"
},
"jest": {
"moduleFileExtensions": [

View File

@@ -1,23 +0,0 @@
import { Test, TestingModule } from '@nestjs/testing';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { AuthModule } from './auth/auth.module';
import { UsersModule } from './users/users.module';
describe('AppController', () => {
let appController: AppController;
beforeEach(async () => {
const app: TestingModule = await Test.createTestingModule({
imports: [AuthModule, UsersModule],
controllers: [AppController],
providers: [AppService],
}).compile();
appController = app.get<AppController>(AppController);
});
it('should be defined', () => {
expect(appController).toBeDefined();
});
});

View File

@@ -1,4 +0,0 @@
import { Controller } from '@nestjs/common';
@Controller()
export class AppController {}

View File

@@ -1,12 +1,10 @@
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { AuthModule } from './auth/auth.module';
import { UsersModule } from './users/users.module';
@Module({
imports: [AuthModule, UsersModule],
controllers: [AppController],
providers: [AppService],
controllers: [],
providers: [],
})
export class AppModule {}

View File

@@ -1,25 +0,0 @@
import { Test, TestingModule } from '@nestjs/testing';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { UsersModule } from './users/users.module';
import { AuthModule } from './auth/auth.module';
describe('AppService', () => {
let appService: AppService;
beforeEach(async () => {
const app: TestingModule = await Test.createTestingModule({
imports: [AuthModule, UsersModule],
controllers: [AppController],
providers: [AppService],
}).compile();
appService = app.get<AppService>(AppService);
});
describe('app service', () => {
it('should return "Hello World!"', () => {
expect(appService.getHello()).toBe('Hello World!');
});
});
});

View File

@@ -1,8 +0,0 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class AppService {
getHello(): string {
return 'Hello World!';
}
}

View File

@@ -1,23 +0,0 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};

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