Skip to content

Commit c728ecf

Browse files
chore(): resolve conflicts
2 parents 018c0d2 + 9108e41 commit c728ecf

24 files changed

Lines changed: 776 additions & 1900 deletions

Readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
128128
<td align="center" valign="middle"><a href="https://polygon-software.ch/" target="_blank"><img src="https://nestjs.com/img/polygon-logo.svg" width="120" valign="middle" /></a></td>
129129
<td align="center" valign="middle"><a href="https://mobilereality.pl/" target="_blank"><img src="https://nestjs.com/img/mobile-reality-logo.png" width="45" valign="middle" /></a></td>
130130
<td align="center" valign="middle"><a href="https://boringowl.io/" target="_blank"><img src="https://nestjs.com/img/boringowl-logo.svg" width="120" valign="middle" /></a></td>
131+
<td align="center" valign="middle"><a href="https://www.mobilefactory.jp/" target="_blank"><img src="https://nestjs.com/img/mobilefactory-logo.png" width="100" valign="middle" /></a></td>
132+
<td align="center" valign="middle"><a href="https://db.nordbot.app/" target="_blank"><img src="https://nestjs.com/img/nord-logo.png" width="50" valign="middle" /></a></td>
131133
</tr></table>
132134

133135
## Backers

package-lock.json

Lines changed: 285 additions & 168 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"cli-color": "2.0.2",
5959
"cors": "2.8.5",
6060
"express": "4.18.1",
61-
"fast-json-stringify": "4.2.0",
61+
"fast-json-stringify": "5.0.1",
6262
"fast-safe-stringify": "2.1.1",
6363
"graphql-subscriptions": "2.0.0",
6464
"iterare": "1.2.1",
@@ -72,7 +72,7 @@
7272
},
7373
"devDependencies": {
7474
"@codechecks/client": "0.1.12",
75-
"@commitlint/cli": "17.0.2",
75+
"@commitlint/cli": "17.0.3",
7676
"@commitlint/config-angular": "17.0.0",
7777
"@fastify/cors": "^8.0.0",
7878
"@fastify/formbody": "7.0.1",
@@ -81,8 +81,8 @@
8181
"@fastify/static": "5.0.0",
8282
"@grpc/grpc-js": "1.6.7",
8383
"@grpc/proto-loader": "0.6.13",
84-
"@nestjs/apollo": "10.0.14",
85-
"@nestjs/graphql": "10.0.15",
84+
"@nestjs/apollo": "10.0.16",
85+
"@nestjs/graphql": "10.0.16",
8686
"@nestjs/mongoose": "9.1.1",
8787
"@nestjs/typeorm": "8.0.4",
8888
"@types/amqplib": "0.8.2",
@@ -95,7 +95,8 @@
9595
"@types/gulp": "4.0.9",
9696
"@types/http-errors": "1.8.2",
9797
"@types/mocha": "9.1.1",
98-
"@types/node": "17.0.43",
98+
"@types/node": "18.0.0",
99+
"@types/redis": "4.0.11",
99100
"@types/reflect-metadata": "0.1.0",
100101
"@types/sinon": "10.0.11",
101102
"@types/supertest": "2.0.12",
@@ -104,8 +105,8 @@
104105
"@typescript-eslint/parser": "4.33.0",
105106
"amqp-connection-manager": "4.1.3",
106107
"amqplib": "0.10.0",
107-
"apollo-server-core": "3.8.2",
108-
"apollo-server-express": "3.8.2",
108+
"apollo-server-core": "3.9.0",
109+
"apollo-server-express": "3.9.0",
109110
"artillery": "1.7.9",
110111
"body-parser": "1.20.0",
111112
"bytes": "3.1.2",
@@ -117,7 +118,7 @@
117118
"commitlint-circle": "1.0.0",
118119
"concurrently": "7.2.2",
119120
"conventional-changelog": "3.1.25",
120-
"core-js": "3.23.1",
121+
"core-js": "3.23.3",
121122
"coveralls": "3.1.1",
122123
"delete-empty": "3.0.0",
123124
"engine.io-client": "6.2.2",
@@ -128,7 +129,7 @@
128129
"fancy-log": "2.0.0",
129130
"fastify": "4.0.2",
130131
"graphql": "15.8.0",
131-
"graphql-tools": "8.2.12",
132+
"graphql-tools": "8.2.13",
132133
"gulp": "4.0.2",
133134
"gulp-clang-format": "1.0.27",
134135
"gulp-clean": "0.4.0",
@@ -144,19 +145,20 @@
144145
"lerna": "2.11.0",
145146
"lerna-changelog": "2.2.0",
146147
"light-my-request": "5.0.0",
147-
"lint-staged": "13.0.1",
148+
"lint-staged": "13.0.3",
148149
"markdown-table": "2.0.0",
149150
"merge-graphql-schemas": "1.7.8",
151+
"middie": "6.1.0",
150152
"mocha": "10.0.0",
151-
"mongoose": "6.3.8",
153+
"mongoose": "6.4.0",
152154
"mqtt": "4.3.7",
153155
"multer": "1.4.4",
154156
"mysql2": "2.3.3",
155157
"nats": "2.7.1",
156-
"nodemon": "2.0.16",
158+
"nodemon": "2.0.18",
157159
"nyc": "15.1.0",
158160
"point-of-view": "6.3.0",
159-
"prettier": "2.7.0",
161+
"prettier": "2.7.1",
160162
"redis": "3.1.2",
161163
"rxjs-compat": "6.6.7",
162164
"sinon": "14.0.0",
@@ -167,7 +169,7 @@
167169
"ts-morph": "15.1.0",
168170
"ts-node": "10.8.1",
169171
"typeorm": "0.2.45",
170-
"typescript": "4.7.3",
172+
"typescript": "4.7.4",
171173
"wrk": "1.2.1",
172174
"ws": "8.8.0"
173175
},

packages/common/cache/interfaces/cache-module.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { CacheManagerOptions } from './cache-manager.interface';
55
export type CacheModuleOptions<
66
StoreConfig extends Record<any, any> = Record<string, any>,
77
> =
8-
// Store-specfic configuration takes precedence over cache module options due
8+
// Store-specific configuration takes precedence over cache module options due
99
// to how `createCacheManager` is implemented.
1010
CacheManagerOptions &
1111
StoreConfig & {

packages/common/interfaces/nest-application-context.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export interface INestApplicationContext {
7272
enableShutdownHooks(signals?: ShutdownSignal[] | string[]): this;
7373

7474
/**
75-
* Initalizes the Nest application.
75+
* Initializes the Nest application.
7676
* Calls the Nest lifecycle events.
7777
* It isn't mandatory to call this method directly.
7878
*

packages/common/interfaces/version-options.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export type VersionValue =
1818
export interface VersionOptions {
1919
/**
2020
* Specifies an optional API Version. When configured, methods
21-
* withing the controller will only be routed if the request version
21+
* within the controller will only be routed if the request version
2222
* matches the specified value.
2323
*
2424
* Supported only by HTTP-based applications (does not apply to non-HTTP microservices).

packages/common/services/console-logger.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export class ConsoleLogger implements LoggerService {
188188
const contextMessage = context ? yellow(`[${context}] `) : '';
189189
const timestampDiff = this.updateAndGetTimestampDiff();
190190
const formattedLogLevel = logLevel.toUpperCase().padStart(7, ' ');
191-
const formatedMessage = this.formatMessage(
191+
const formattedMessage = this.formatMessage(
192192
logLevel,
193193
message,
194194
pidMessage,
@@ -197,7 +197,7 @@ export class ConsoleLogger implements LoggerService {
197197
timestampDiff,
198198
);
199199

200-
process[writeStreamType ?? 'stdout'].write(formatedMessage);
200+
process[writeStreamType ?? 'stdout'].write(formattedMessage);
201201
});
202202
}
203203

packages/common/test/file-stream/streamable-file.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import { StreamableFile } from '../../file-stream';
44

55
describe('StreamableFile', () => {
66
describe('when input is a readable stream', () => {
7-
it('should assing it to a stream class property', () => {
7+
it('should assign it to a stream class property', () => {
88
const stream = new Readable();
99
const streamableFile = new StreamableFile(stream);
1010
expect(streamableFile.getStream()).to.equal(stream);
1111
});
1212
});
1313
describe('when input is an object with "pipe" method', () => {
14-
it('should assing it to a stream class property', () => {
14+
it('should assign it to a stream class property', () => {
1515
const stream = { pipe: () => {} };
1616
const streamableFile = new StreamableFile(stream as any);
1717
expect(streamableFile.getStream()).to.equal(stream);

packages/core/injector/lazy-module-loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class LazyModuleLoader {
2626
);
2727
if (moduleInstances.length === 0) {
2828
// The module has been loaded already. In this case, we must
29-
// retrieve a module reference from the exising container.
29+
// retrieve a module reference from the existing container.
3030
const { token } = await this.moduleCompiler.compile(
3131
moduleClassOrDynamicDefinition,
3232
);

packages/core/services/reflector.service.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ export class Reflector {
8686
metadataKey: TKey,
8787
targets: (Type<any> | Function)[],
8888
): TResult {
89-
const metadataCollection = this.getAll(metadataKey, targets).filter(
90-
item => item !== undefined,
91-
);
92-
return metadataCollection[0];
89+
return this.getAll(metadataKey, targets).find(item => item !== undefined);
9390
}
9491
}

0 commit comments

Comments
 (0)