Sha256: 71806d9e6b06a72c9f451ed3350da2a67c83fef7f4e656f6c58f61aad239c19a

Contents?: true

Size: 830 Bytes

Versions: 9

Compression:

Stored size: 830 Bytes

Contents

import _indexOfInstanceProperty from "../../core-js/instance/index-of";
import _Object$getOwnPropertySymbols from "../../core-js/object/get-own-property-symbols";
import objectWithoutPropertiesLoose from "./objectWithoutPropertiesLoose";
export default 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 (_indexOfInstanceProperty(excluded).call(excluded, key) >= 0) continue;
      if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
      target[key] = source[key];
    }
  }

  return target;
}

Version data entries

9 entries across 9 versions & 1 rubygems

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