@wessberg/di
Advanced tools
Comparing version 1.0.29 to 1.0.30
@@ -0,1 +1,9 @@ | ||
## <small>1.0.30 (2018-06-21)</small> | ||
* 1.0.30 ([47897a6](https://github.com/wessberg/di/commit/47897a6)) | ||
* Bumped version ([f45bbc1](https://github.com/wessberg/di/commit/f45bbc1)) | ||
* Fixed a bug ([dac9c90](https://github.com/wessberg/di/commit/dac9c90)) | ||
## <small>1.0.29 (2018-06-21)</small> | ||
@@ -2,0 +10,0 @@ |
@@ -91,3 +91,3 @@ import { CONSTRUCTOR_ARGUMENTS_IDENTIFIER } from "../constructor-arguments/constructor-arguments-identifier"; | ||
// Add the constructor arguments if there is an implementation and it has a static property representing its constructor arguments | ||
const implementationArguments = options.implementation[CONSTRUCTOR_ARGUMENTS_IDENTIFIER]; | ||
const implementationArguments = options.implementation == null ? null : options.implementation[CONSTRUCTOR_ARGUMENTS_IDENTIFIER]; | ||
const args = implementationArguments != null ? implementationArguments : options.constructorArguments != null | ||
@@ -94,0 +94,0 @@ ? options.constructorArguments |
@@ -102,3 +102,3 @@ (function (factory) { | ||
// Add the constructor arguments if there is an implementation and it has a static property representing its constructor arguments | ||
const implementationArguments = options.implementation[constructor_arguments_identifier_1.CONSTRUCTOR_ARGUMENTS_IDENTIFIER]; | ||
const implementationArguments = options.implementation == null ? null : options.implementation[constructor_arguments_identifier_1.CONSTRUCTOR_ARGUMENTS_IDENTIFIER]; | ||
const args = implementationArguments != null ? implementationArguments : options.constructorArguments != null | ||
@@ -105,0 +105,0 @@ ? options.constructorArguments |
{ | ||
"name": "@wessberg/di", | ||
"version": "1.0.29", | ||
"version": "1.0.30", | ||
"description": "A Dependency-Injection container that holds services and can produce instances of them as required. It mimics reflection by parsing the app at compile-time and supporting the generic-reflection syntax.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
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
70491