Sha256: 9c369b4577212052ee1721e64bf525c75cfc673af5267431cdd16fea905d9a30

Contents?: true

Size: 548 Bytes

Versions: 9

Compression:

Stored size: 548 Bytes

Contents

var _indexOfInstanceProperty = require("../core-js/instance/index-of");

var _Object$keys = require("../core-js/object/keys");

function _objectWithoutPropertiesLoose(source, excluded) {
  if (source == null) return {};
  var target = {};

  var sourceKeys = _Object$keys(source);

  var key, i;

  for (i = 0; i < sourceKeys.length; i++) {
    key = sourceKeys[i];
    if (_indexOfInstanceProperty(excluded).call(excluded, key) >= 0) continue;
    target[key] = source[key];
  }

  return target;
}

module.exports = _objectWithoutPropertiesLoose;

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
condenser-0.3 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectWithoutPropertiesLoose.js
condenser-0.2 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectWithoutPropertiesLoose.js
condenser-0.1 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectWithoutPropertiesLoose.js
condenser-0.0.12 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectWithoutPropertiesLoose.js
condenser-0.0.11 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectWithoutPropertiesLoose.js
condenser-0.0.10 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectWithoutPropertiesLoose.js
condenser-0.0.9 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectWithoutPropertiesLoose.js
condenser-0.0.8 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectWithoutPropertiesLoose.js
condenser-0.0.7 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectWithoutPropertiesLoose.js