Sha256: 19dd43a3e4e62bacc7f33db1e3cdac3c6292313c0ed182187d99d064215297a6

Contents?: true

Size: 384 Bytes

Versions: 48

Compression:

Stored size: 384 Bytes

Contents

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 (excluded.indexOf(key) >= 0) continue;
    target[key] = source[key];
  }

  return target;
}

module.exports = _objectWithoutPropertiesLoose;

Version data entries

48 entries across 48 versions & 8 rubygems

Version Path
trusty-cms-4.2.1 node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
trusty-cms-4.2 node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
trusty-cms-4.1.9 node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
trusty-cms-4.1.8 node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
tang-0.2.0 spec/tang_app/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
trusty-cms-4.1.7 node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
tang-0.1.0 spec/tang_app/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
tang-0.0.9 spec/tang_app/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
trusty-cms-4.1.6 node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
trusty-cms-4.1.5 node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
enju_library-0.3.8 spec/dummy/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
condenser-0.3 lib/condenser/processors/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
condenser-0.2 lib/condenser/processors/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
condenser-0.1 lib/condenser/processors/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
condenser-0.0.12 lib/condenser/processors/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
condenser-0.0.11 lib/condenser/processors/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
condenser-0.0.10 lib/condenser/processors/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
condenser-0.0.9 lib/condenser/processors/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
condenser-0.0.8 lib/condenser/processors/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
jester-data-8.0.0 node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js