PickwickSoft / innovedu

Object.prototype builtins should not be used directly JS-0021
Bug risk
Major
2 years ago2 years old
Do not access Object.prototype method 'hasOwnProperty' from target object.
1module.exports = {
2  I18N_HASH: 'generated_hash',
3  SERVER_API_URL: '',
4  __VERSION__: process.env.hasOwnProperty('APP_VERSION') ? process.env.APP_VERSION : 'DEV',5  __DEBUG_INFO_ENABLED__: false,
6};