Sha256: 2d7c226eed3ca19d085783bdf77288aae75736bffe8e3830190e34552039283c

Contents?: true

Size: 665 Bytes

Versions: 48

Compression:

Stored size: 665 Bytes

Contents

var objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose");

function _objectWithoutProperties(source, excluded) {
  if (source == null) return {};
  var target = objectWithoutPropertiesLoose(source, excluded);
  var key, i;

  if (Object.getOwnPropertySymbols) {
    var sourceSymbolKeys = Object.getOwnPropertySymbols(source);

    for (i = 0; i < sourceSymbolKeys.length; i++) {
      key = sourceSymbolKeys[i];
      if (excluded.indexOf(key) >= 0) continue;
      if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
      target[key] = source[key];
    }
  }

  return target;
}

module.exports = _objectWithoutProperties;

Version data entries

48 entries across 48 versions & 8 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
disco_app-0.18.0 test/dummy/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
disco_app-0.18.2 test/dummy/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-5.0.7 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-5.0.6 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-5.0.5 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-5.0.4 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-5.0.3 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-5.0.2 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-5.0.1 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-4.3.5 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-5.0.0 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-4.3.4 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-4.3.3 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-4.3.2 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-4.3.1 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-4.3 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-4.2.3 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
tang-0.2.1 spec/tang_app/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
trusty-cms-4.2.2 node_modules/@babel/runtime/helpers/objectWithoutProperties.js