Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(common): Add generic to InjectionToken type #11555

Merged
merged 33 commits into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
86f83a0
fix(deps): update dependency @fastify/static to v6.10.1
renovate[bot] Apr 17, 2023
5cc160d
fix(deps): update dependency @nestjs/graphql to v10.2.1
renovate[bot] Apr 17, 2023
4be9d27
fix(deps): update dependency @nestjs/schedule to v2.2.1
renovate[bot] Apr 17, 2023
eb4a529
fix(deps): update dependency @nestjs/swagger to v6.3.0
renovate[bot] Apr 17, 2023
b46071d
chore(deps): update dependency tsconfig-paths to v4.2.0
renovate[bot] Apr 17, 2023
0da7a14
fix(deps): update dependency @grpc/grpc-js to v1.8.14
renovate[bot] Apr 17, 2023
ba92ce7
fix(deps): update dependency mongoose to v6.10.5
renovate[bot] Apr 17, 2023
c124548
chore(deps-dev): bump mongoose from 7.0.3 to 7.0.4
dependabot[bot] Apr 18, 2023
14986a6
chore(deps-dev): bump @types/sinon from 10.0.13 to 10.0.14
dependabot[bot] Apr 18, 2023
50282e9
Merge pull request #11518 from nestjs/renovate/tsconfig-paths-4.x
kamilmysliwiec Apr 18, 2023
61858b7
Merge pull request #11526 from nestjs/renovate/nestjs-swagger-6.x
kamilmysliwiec Apr 18, 2023
70c37ba
Merge pull request #11525 from nestjs/renovate/nestjs-schedule-2.x
kamilmysliwiec Apr 18, 2023
1de477d
Merge pull request #11522 from nestjs/renovate/grpc-grpc-js-1.x
kamilmysliwiec Apr 18, 2023
83bb3d2
Merge pull request #11521 from nestjs/renovate/fastify-static-6.x
kamilmysliwiec Apr 18, 2023
dafea5a
Merge pull request #11523 from nestjs/renovate/nestjs-graphql-10.x
kamilmysliwiec Apr 18, 2023
997d147
Merge pull request #11529 from nestjs/dependabot/npm_and_yarn/types/s…
kamilmysliwiec Apr 18, 2023
08793e6
Merge pull request #11528 from nestjs/dependabot/npm_and_yarn/mongoos…
kamilmysliwiec Apr 18, 2023
d113f68
Merge pull request #11527 from nestjs/renovate/mongoose-6.x
kamilmysliwiec Apr 18, 2023
2198f4d
chore(deps-dev): bump @types/node from 18.15.11 to 18.15.12
dependabot[bot] Apr 20, 2023
4629c2e
Merge pull request #11533 from nestjs/dependabot/npm_and_yarn/types/n…
kamilmysliwiec Apr 20, 2023
cdd0e67
chore: update repo references in package.json files
CemYil03 Apr 20, 2023
485bb3b
chore(deps-dev): bump @apollo/server from 4.6.0 to 4.7.0
dependabot[bot] Apr 21, 2023
43c4c06
chore(deps-dev): bump sinon from 15.0.3 to 15.0.4
dependabot[bot] Apr 21, 2023
f21713a
Merge pull request #11539 from nestjs/dependabot/npm_and_yarn/sinon-1…
kamilmysliwiec Apr 21, 2023
35dcfbf
Merge pull request #11538 from nestjs/dependabot/npm_and_yarn/apollo/…
kamilmysliwiec Apr 21, 2023
55aa3f3
Merge pull request #11535 from CemYil03/update-package-json-files
kamilmysliwiec Apr 21, 2023
af595fd
chore(deps-dev): bump cache-manager from 5.2.0 to 5.2.1
dependabot[bot] Apr 24, 2023
728afa1
chore(deps-dev): bump prettier from 2.8.7 to 2.8.8
dependabot[bot] Apr 24, 2023
2e74133
chore(deps-dev): bump @types/node from 18.15.12 to 18.16.0
dependabot[bot] Apr 24, 2023
819f2d1
Merge pull request #11551 from nestjs/dependabot/npm_and_yarn/cache-m…
kamilmysliwiec Apr 24, 2023
79e5401
Merge pull request #11553 from nestjs/dependabot/npm_and_yarn/types/n…
kamilmysliwiec Apr 24, 2023
e389c08
Merge pull request #11552 from nestjs/dependabot/npm_and_yarn/prettie…
kamilmysliwiec Apr 24, 2023
3bf74d8
refactor(common): Add generic to InjectionToken type
MaurerKrisztian Apr 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 29 additions & 29 deletions package-lock.json

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

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://nestjs.com",
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
"url": "https://github.com/nestjs/nest.git"
},
"funding": {
"type": "opencollective",
Expand Down Expand Up @@ -78,7 +78,7 @@
"uuid": "9.0.0"
},
"devDependencies": {
"@apollo/server": "4.6.0",
"@apollo/server": "4.7.0",
"@codechecks/client": "0.1.12",
"@commitlint/cli": "17.6.1",
"@commitlint/config-angular": "17.6.1",
Expand All @@ -103,8 +103,8 @@
"@types/gulp": "4.0.10",
"@types/http-errors": "2.0.1",
"@types/mocha": "10.0.1",
"@types/node": "18.15.11",
"@types/sinon": "10.0.13",
"@types/node": "18.16.0",
"@types/sinon": "10.0.14",
"@types/supertest": "2.0.12",
"@types/ws": "8.5.4",
"@typescript-eslint/eslint-plugin": "4.33.0",
Expand All @@ -114,7 +114,7 @@
"artillery": "1.7.9",
"body-parser": "1.20.2",
"bytes": "3.1.2",
"cache-manager": "5.2.0",
"cache-manager": "5.2.1",
"cache-manager-redis-store": "3.0.1",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
Expand Down Expand Up @@ -153,17 +153,17 @@
"markdown-table": "2.0.0",
"merge-graphql-schemas": "1.7.8",
"mocha": "10.2.0",
"mongoose": "7.0.3",
"mongoose": "7.0.4",
"mqtt": "4.3.7",
"multer": "1.4.4",
"mysql2": "3.2.3",
"nats": "2.13.1",
"nodemon": "2.0.22",
"nyc": "15.1.0",
"prettier": "2.8.7",
"prettier": "2.8.8",
"redis": "4.6.5",
"rxjs-compat": "6.6.7",
"sinon": "15.0.3",
"sinon": "15.0.4",
"sinon-chai": "3.7.0",
"socket.io-client": "4.6.1",
"subscriptions-transport-ws": "0.11.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { Type } from '../type.interface';
/**
* @publicApi
*/
export type InjectionToken =
export type InjectionToken<T = any> =
| string
| symbol
| Type<any>
| Abstract<any>
| Type<T>
| Abstract<T>
| Function;
3 changes: 2 additions & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
"url": "https://github.com/nestjs/nest.git",
"directory": "packages/common"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
"url": "https://github.com/nestjs/nest.git",
"directory": "packages/core"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/microservices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
"url": "https://github.com/nestjs/nest.git",
"directory": "packages/microservices"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/platform-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
"url": "https://github.com/nestjs/nest.git",
"directory": "packages/platform-express"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/platform-fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
"url": "https://github.com/nestjs/nest.git",
"directory": "packages/platform-fastify"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/platform-socket.io/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
"url": "https://github.com/nestjs/nest.git",
"directory": "packages/platform-socket.io"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/platform-ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
"url": "https://github.com/nestjs/nest.git",
"directory": "packages/platform-ws"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
"url": "https://github.com/nestjs/nest.git",
"directory": "packages/testing"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/websockets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
"url": "https://github.com/nestjs/nest.git",
"directory": "packages/websockets"
},
"publishConfig": {
"access": "public"
Expand Down
Loading