first commit
This commit is contained in:
19
node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
generated
vendored
Normal file
19
node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
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 (excluded.indexOf(key) >= 0) continue;
|
||||
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
||||
target[key] = source[key];
|
||||
}
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
Reference in New Issue
Block a user