aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/builtin/es6/objectWithoutProperties.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/builtin/es6/objectWithoutProperties.js')
-rw-r--r--node_modules/@babel/runtime/helpers/builtin/es6/objectWithoutProperties.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/node_modules/@babel/runtime/helpers/builtin/es6/objectWithoutProperties.js b/node_modules/@babel/runtime/helpers/builtin/es6/objectWithoutProperties.js
deleted file mode 100644
index 5fb6631f..00000000
--- a/node_modules/@babel/runtime/helpers/builtin/es6/objectWithoutProperties.js
+++ /dev/null
@@ -1,25 +0,0 @@
-export default function _objectWithoutProperties(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];
- }
-
- 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;
-} \ No newline at end of file