Sha256: 92744c7cf8c55dd284aeec8ec7141bf2eb747a8128c2773b63ab30deb34f9adc

Contents?: true

Size: 746 Bytes

Versions: 34

Compression:

Stored size: 746 Bytes

Contents

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

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;
module.exports["default"] = module.exports, module.exports.__esModule = true;

Version data entries

34 entries across 33 versions & 5 rubygems

Version Path
isomorfeus-redux-4.2.0 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
isomorfeus-redux-4.1.18 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
isomorfeus-redux-4.1.17 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
isomorfeus-redux-4.1.16 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
isomorfeus-redux-4.1.15 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
isomorfeus-redux-4.1.14 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
isomorfeus-redux-4.1.13 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
isomorfeus-redux-4.1.12 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
disco_app-0.16.1 test/dummy/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
isomorfeus-redux-4.1.11 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
isomorfeus-redux-4.1.10 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
isomorfeus-redux-4.1.9 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
disco_app-0.15.2 test/dummy/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
isomorfeus-redux-4.1.8 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
isomorfeus-redux-4.1.7 node_modules/@babel/runtime/helpers/objectWithoutProperties.js
disco_app-0.18.4 test/dummy/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
disco_app-0.18.1 test/dummy/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
disco_app-0.14.0 test/dummy/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@babel/runtime/helpers/objectWithoutProperties.js