Harden module return value from define() shim so that Object.defineProperty() does not fail and it allows for primitive values to be returned from modules.
Harden module return value from define() shim so that Object.defineProperty() does not fail and it allows for primitive values to be returned from modules.

treshugart/galvatron