Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
23
node_modules/@swc/helpers/cjs/_object_without_properties.cjs
generated
vendored
Normal file
23
node_modules/@swc/helpers/cjs/_object_without_properties.cjs
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
"use strict";
|
||||
|
||||
var _object_without_properties_loose = require("./_object_without_properties_loose.cjs");
|
||||
|
||||
function _object_without_properties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
|
||||
var target = _object_without_properties_loose._(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;
|
||||
}
|
||||
exports._ = _object_without_properties;
|
||||
Loading…
Add table
Add a link
Reference in a new issue