This commit is contained in:
szabomarton
2025-01-28 11:38:27 +01:00
parent 9c5ca86086
commit 7f4a15b9c3
36841 changed files with 4032468 additions and 1 deletions

21
25_01_07/mai/node_modules/own-keys/index.js generated vendored Normal file
View 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;
};