Spaces:
Configuration error
Configuration error
Download node_modules/es-abstract/helpers/OwnPropertyKeys.js from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 706 Bytes
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/helpers/OwnPropertyKeys.js
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/es-abstract/helpers/OwnPropertyKeys.js
-
curl -L -o OwnPropertyKeys.js https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/helpers/OwnPropertyKeys.js
706 Bytes
| ; | |
| var GetIntrinsic = require('get-intrinsic'); | |
| var callBind = require('call-bind'); | |
| var callBound = require('call-bind/callBound'); | |
| var $ownKeys = GetIntrinsic('%Reflect.ownKeys%', true); | |
| var $pushApply = callBind.apply(GetIntrinsic('%Array.prototype.push%')); | |
| var $SymbolValueOf = callBound('Symbol.prototype.valueOf', true); | |
| var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%', true); | |
| var $gOPS = $SymbolValueOf ? GetIntrinsic('%Object.getOwnPropertySymbols%') : null; | |
| var keys = require('object-keys'); | |
| module.exports = $ownKeys || function OwnPropertyKeys(source) { | |
| var ownKeys = ($gOPN || keys)(source); | |
| if ($gOPS) { | |
| $pushApply(ownKeys, $gOPS(source)); | |
| } | |
| return ownKeys; | |
| }; | |