Spaces:
Configuration error
Configuration error
Download node_modules/es-abstract/helpers/setProto.js from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/helpers/setProto.js
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/es-abstract/helpers/setProto.js
-
curl -L -o setProto.js https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/helpers/setProto.js
352 Bytes
| ; | |
| var GetIntrinsic = require('get-intrinsic'); | |
| var originalSetProto = GetIntrinsic('%Object.setPrototypeOf%', true); | |
| var hasProto = require('has-proto')(); | |
| module.exports = originalSetProto || ( | |
| hasProto | |
| ? function (O, proto) { | |
| O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign | |
| return O; | |
| } | |
| : null | |
| ); | |