scratch-storage 2.3.97 → 2.3.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -322,12 +322,11 @@ module.exports = _objectWithoutProperties, module.exports.__esModule = true, mod
322
322
  function _objectWithoutPropertiesLoose(source, excluded) {
323
323
  if (source == null) return {};
324
324
  var target = {};
325
- var sourceKeys = Object.keys(source);
326
- var key, i;
327
- for (i = 0; i < sourceKeys.length; i++) {
328
- key = sourceKeys[i];
329
- if (excluded.indexOf(key) >= 0) continue;
330
- target[key] = source[key];
325
+ for (var key in source) {
326
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
327
+ if (excluded.indexOf(key) >= 0) continue;
328
+ target[key] = source[key];
329
+ }
331
330
  }
332
331
  return target;
333
332
  }