twokul / yam

Dead simple storage interface
MIT License
5 stars 10 forks source link

[FIX] Fix issue where falsey property is returned as undefined #16

Closed patocallaghan closed 6 years ago

patocallaghan commented 6 years ago

I discovered an issue while working on https://github.com/ember-cli/ember-cli/issues/7429 where if you have a falsey property value, it gets returned as undefined.

/* .test
{
  "falsey": false
}
*/

yam.get('falsey') => undefined
twokul commented 6 years ago

lgtm, thanks!

patocallaghan commented 6 years ago

@twokul any chance of getting a new release with this fix please?

twokul commented 6 years ago

@patocallaghan

alexnavasardyan ~/code/oss/yam master
$ npm publish
+ yam@0.0.23
patocallaghan commented 6 years ago

@twokul awesome, thanks 🙇