summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/objectWithoutProperties.js')
-rw-r--r--alarm/node_modules/@babel/runtime/helpers/objectWithoutProperties.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/objectWithoutProperties.js b/alarm/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
new file mode 100644
index 0000000..cf526bc
--- /dev/null
+++ b/alarm/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
@@ -0,0 +1,17 @@
+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.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file