@nestjs/testing 11.0.0-next.4 → 11.0.1

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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  (The MIT License)
2
2
 
3
- Copyright (c) 2017-2024 Kamil Mysliwiec <https://kamilmysliwiec.com>
3
+ Copyright (c) 2017-2025 Kamil Mysliwiec <https://kamilmysliwiec.com>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Nest @testing
4
- * Copyright(c) 2017 - 2023 Kamil Mysliwiec
4
+ * Copyright(c) 2017 - 2025 Kamil Mysliwiec
5
5
  * https://nestjs.com
6
6
  * MIT Licensed
7
7
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/testing",
3
- "version": "11.0.0-next.4",
3
+ "version": "11.0.1",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@testing)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",
@@ -18,13 +18,13 @@
18
18
  "access": "public"
19
19
  },
20
20
  "dependencies": {
21
- "tslib": "2.7.0"
21
+ "tslib": "2.8.1"
22
22
  },
23
23
  "peerDependencies": {
24
- "@nestjs/common": "^10.0.0",
25
- "@nestjs/core": "^10.0.0",
26
- "@nestjs/microservices": "^10.0.0",
27
- "@nestjs/platform-express": "^10.0.0"
24
+ "@nestjs/common": "^11.0.0",
25
+ "@nestjs/core": "^11.0.0",
26
+ "@nestjs/microservices": "^11.0.0",
27
+ "@nestjs/platform-express": "^11.0.0"
28
28
  },
29
29
  "peerDependenciesMeta": {
30
30
  "@nestjs/microservices": {
@@ -42,7 +42,7 @@ class TestingInjector extends injector_1.Injector {
42
42
  provide: name,
43
43
  useValue: mockedInstance,
44
44
  }, internalCoreModule.providers);
45
- internalCoreModule.addExportedProvider(name);
45
+ internalCoreModule.addExportedProviderOrModule(name);
46
46
  return newWrapper;
47
47
  }
48
48
  else {