Comparing version 2.0.1 to 2.0.2
@@ -79,3 +79,3 @@ 'use strict'; | ||
value: function () { | ||
var _ref2 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() { | ||
var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { | ||
var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, T, instance, _iteratorNormalCompletion2, _didIteratorError2, _iteratorError2, _iterator2, _step2; | ||
@@ -228,3 +228,3 @@ | ||
value: function () { | ||
var _ref3 = _asyncToGenerator(regeneratorRuntime.mark(function _callee2() { | ||
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { | ||
var errs, _iteratorNormalCompletion3, _didIteratorError3, _iteratorError3, _iterator3, _step3, instance, name; | ||
@@ -231,0 +231,0 @@ |
@@ -104,4 +104,2 @@ 'use strict'; | ||
var entry = { | ||
value: null, | ||
// Since when resolving, the entry's value takes precedence over the | ||
@@ -154,3 +152,3 @@ // factory, we use the closure to stash the instance the first time its | ||
if (value) { | ||
if (value !== undefined) { | ||
return value; | ||
@@ -157,0 +155,0 @@ } else { |
# Change History | ||
## v2.0.2 (2017-09-08) | ||
* [FIX] `container.registerValue` now works as expected with falsey values. | ||
## v2.0.1 (2017-05-11) | ||
@@ -4,0 +8,0 @@ |
@@ -83,4 +83,2 @@ const getArguments = require('./getArguments.js'); | ||
const entry = { | ||
value: null, | ||
// Since when resolving, the entry's value takes precedence over the | ||
@@ -129,3 +127,3 @@ // factory, we use the closure to stash the instance the first time its | ||
if (value) { | ||
if (value !== undefined) { | ||
return value; | ||
@@ -132,0 +130,0 @@ } |
@@ -71,4 +71,2 @@ 'use strict'; | ||
const entry = { | ||
value: null, | ||
// Since when resolving, the entry's value takes precedence over the | ||
@@ -118,3 +116,3 @@ // factory, we use the closure to stash the instance the first time its | ||
if (value) { | ||
if (value !== undefined) { | ||
return value; | ||
@@ -121,0 +119,0 @@ } else { |
{ | ||
"name": "billy", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "A minimal application harness that stays out of your way and out of your code.", | ||
@@ -5,0 +5,0 @@ "author": "Brandon Valosek <bvalosek@gmail.com>", |
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
47831
1199