summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js')
-rw-r--r--alarm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js b/alarm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
new file mode 100644
index 0000000..36804a3
--- /dev/null
+++ b/alarm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
@@ -0,0 +1,16 @@
+import objectWithoutPropertiesLoose from "./objectWithoutPropertiesLoose.js";
+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;
+} \ No newline at end of file