@vercube/di 0.0.45 → 0.0.46

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -64,7 +64,7 @@ function createDecorator(decoratorClass, params) {
64
64
  * we must hold array of decorated instances, we realize it by holding map where key is
65
65
  * container (for easier removal later) and value is IContainerDecoratorMetadataObject.
66
66
  */
67
- const containerMap = /* @__PURE__ */ new Map();
67
+ const containerMap = /* @__PURE__ */ new WeakMap();
68
68
  /**
69
69
  * Helper function to query data from container
70
70
  * @param container container to get metadata fro
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercube/di",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "Dependency Injection module for Vercube framework",
5
5
  "repository": {
6
6
  "type": "git",