@nestjs/core 9.3.12 → 9.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,5 +12,5 @@ class ExceptionHandler {
12
12
  ExceptionHandler.logger.error(exception.what(), exception.stack);
13
13
  }
14
14
  }
15
- exports.ExceptionHandler = ExceptionHandler;
16
15
  ExceptionHandler.logger = new logger_service_1.Logger(ExceptionHandler.name);
16
+ exports.ExceptionHandler = ExceptionHandler;
@@ -30,5 +30,5 @@ class ExceptionsZone {
30
30
  }
31
31
  }
32
32
  }
33
- exports.ExceptionsZone = ExceptionsZone;
34
33
  ExceptionsZone.exceptionHandler = new exception_handler_1.ExceptionHandler();
34
+ exports.ExceptionsZone = ExceptionsZone;
@@ -10,5 +10,5 @@ class ExternalExceptionFilter {
10
10
  throw exception;
11
11
  }
12
12
  }
13
- exports.ExternalExceptionFilter = ExternalExceptionFilter;
14
13
  ExternalExceptionFilter.logger = new common_1.Logger('ExceptionsHandler');
14
+ exports.ExternalExceptionFilter = ExternalExceptionFilter;
@@ -286,6 +286,6 @@ class InstanceWrapper {
286
286
  return key ? uuid_factory_1.UuidFactory.get(key) : (0, random_string_generator_util_1.randomStringGenerator)();
287
287
  }
288
288
  }
289
- exports.InstanceWrapper = InstanceWrapper;
290
289
  _a = exports.INSTANCE_METADATA_SYMBOL;
291
290
  InstanceWrapper.logger = new common_1.Logger(InstanceWrapper.name);
291
+ exports.InstanceWrapper = InstanceWrapper;
@@ -20,5 +20,5 @@ class DeterministicUuidRegistry {
20
20
  return h.toString();
21
21
  }
22
22
  }
23
- exports.DeterministicUuidRegistry = DeterministicUuidRegistry;
24
23
  DeterministicUuidRegistry.registry = new Map();
24
+ exports.DeterministicUuidRegistry = DeterministicUuidRegistry;
@@ -9,5 +9,5 @@ class InitializeOnPreviewAllowlist {
9
9
  return this.allowlist.has(type);
10
10
  }
11
11
  }
12
- exports.InitializeOnPreviewAllowlist = InitializeOnPreviewAllowlist;
13
12
  InitializeOnPreviewAllowlist.allowlist = new WeakMap();
13
+ exports.InitializeOnPreviewAllowlist = InitializeOnPreviewAllowlist;
@@ -100,7 +100,6 @@ class SerializedGraph {
100
100
  return deterministic_uuid_registry_1.DeterministicUuidRegistry.get(JSON.stringify(edgeDefinition));
101
101
  }
102
102
  }
103
- exports.SerializedGraph = SerializedGraph;
104
103
  SerializedGraph.INTERNAL_PROVIDERS = [
105
104
  application_config_1.ApplicationConfig,
106
105
  module_ref_1.ModuleRef,
@@ -115,3 +114,4 @@ SerializedGraph.INTERNAL_PROVIDERS = [
115
114
  request_constants_1.REQUEST,
116
115
  inquirer_constants_1.INQUIRER,
117
116
  ];
117
+ exports.SerializedGraph = SerializedGraph;
@@ -18,5 +18,5 @@ class UuidFactory {
18
18
  : (0, random_string_generator_util_1.randomStringGenerator)();
19
19
  }
20
20
  }
21
- exports.UuidFactory = UuidFactory;
22
21
  UuidFactory._mode = UuidFactoryMode.Random;
22
+ exports.UuidFactory = UuidFactory;
@@ -21,7 +21,6 @@ class MiddlewareBuilder {
21
21
  return this.httpAdapter;
22
22
  }
23
23
  }
24
- exports.MiddlewareBuilder = MiddlewareBuilder;
25
24
  MiddlewareBuilder.ConfigProxy = class {
26
25
  constructor(builder, middleware, routeInfoPathExtractor) {
27
26
  this.builder = builder;
@@ -54,3 +53,4 @@ MiddlewareBuilder.ConfigProxy = class {
54
53
  .toArray();
55
54
  }
56
55
  };
56
+ exports.MiddlewareBuilder = MiddlewareBuilder;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/core",
3
- "version": "9.3.12",
3
+ "version": "9.4.0",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@core)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",
@@ -32,10 +32,10 @@
32
32
  "iterare": "1.2.1",
33
33
  "path-to-regexp": "3.2.0",
34
34
  "tslib": "2.5.0",
35
- "uid": "2.0.1"
35
+ "uid": "2.0.2"
36
36
  },
37
37
  "devDependencies": {
38
- "@nestjs/common": "9.3.12"
38
+ "@nestjs/common": "9.4.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@nestjs/common": "^9.0.0",
@@ -24,6 +24,6 @@ class HelpReplFn extends repl_function_1.ReplFunction {
24
24
  '\n');
25
25
  }
26
26
  }
27
- exports.HelpReplFn = HelpReplFn;
28
27
  HelpReplFn.buildHelpMessage = ({ name, description }) => cli_colors_util_1.clc.cyanBright(name) +
29
28
  (description ? ` ${cli_colors_util_1.clc.bold('-')} ${description}` : '');
29
+ exports.HelpReplFn = HelpReplFn;
@@ -14,9 +14,9 @@ class ReplLogger extends common_1.ConsoleLogger {
14
14
  return super.log.apply(this, Array.from(arguments));
15
15
  }
16
16
  }
17
- exports.ReplLogger = ReplLogger;
18
17
  ReplLogger.ignoredContexts = [
19
18
  routes_resolver_1.RoutesResolver.name,
20
19
  router_explorer_1.RouterExplorer.name,
21
20
  nest_application_1.NestApplication.name,
22
21
  ];
22
+ exports.ReplLogger = ReplLogger;