mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-22 09:48:06 +00:00
* Update eslint * Do eslint --fix * Do not access Object.prototype method 'hasOwnProperty' from target object * utils: add hasProperty * eslint --fix * Disable quote-props for locale files * add back quotes in locale files * revert locale files to state on master * Update react-scripts
3 lines
107 B
JavaScript
3 lines
107 B
JavaScript
module.exports = function has (object, key) {
|
|
return Object.prototype.hasOwnProperty.call(object, key)
|
|
}
|