- added environment (node/module/browser) detector :
 * updated deps
 * updated code to match