dependency-inject
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -24,5 +24,9 @@ "use strict"; | ||
enumerable: true, | ||
writable: true, | ||
configurable: true, | ||
value: this.instances.get(injectClass) | ||
get: () => { | ||
return this.instances.get(injectClass); | ||
}, | ||
set: (newValue) => { | ||
instance.propertyKey = newValue; | ||
} | ||
}); | ||
@@ -29,0 +33,0 @@ } |
{ | ||
"name": "dependency-inject", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "built/index.js", |
@@ -42,5 +42,9 @@ import { injectSymbol } from './handlers' | ||
enumerable: true, | ||
writable: true, | ||
configurable: true, | ||
value: this.instances.get(injectClass) | ||
get: () => { | ||
return this.instances.get(injectClass) | ||
}, | ||
set: (newValue: any) => { | ||
instance.propertyKey = newValue | ||
} | ||
}) | ||
@@ -47,0 +51,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
require-inject |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127129
12
215
0