Save current BZZZ config-ui state before CHORUS branding update
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
21
install/config-ui/node_modules/own-keys/index.js
generated
vendored
Normal file
21
install/config-ui/node_modules/own-keys/index.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
'use strict';
|
||||
|
||||
var GetIntrinsic = require('get-intrinsic');
|
||||
|
||||
var safePushApply = require('safe-push-apply');
|
||||
|
||||
var $ownKeys = GetIntrinsic('%Reflect.ownKeys%', true);
|
||||
var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%', true);
|
||||
var $gOPS = GetIntrinsic('%Object.getOwnPropertySymbols%', true);
|
||||
|
||||
var keys = require('object-keys');
|
||||
|
||||
/** @type {import('.')} */
|
||||
module.exports = $ownKeys || function ownKeys(source) {
|
||||
/** @type {(keyof typeof source)[]} */
|
||||
var sourceKeys = ($gOPN || keys)(source);
|
||||
if ($gOPS) {
|
||||
safePushApply(sourceKeys, $gOPS(source));
|
||||
}
|
||||
return sourceKeys;
|
||||
};
|
||||
Reference in New Issue
Block a user