Spaces:
Runtime error
Runtime error
Download static/node_modules/mongoose/lib/helpers/query/trusted.js from kaab4321/NarrativeFlow: direct link, hf CLI and curl.
- Browser
- Download file 268 Bytes
-
https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/helpers/query/trusted.js
- Command line
-
hf download hf://spaces/kaab4321/NarrativeFlow/static/node_modules/mongoose/lib/helpers/query/trusted.js
-
curl -L -o trusted.js https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/helpers/query/trusted.js
268 Bytes
| ; | |
| const trustedSymbol = Symbol('mongoose#trustedSymbol'); | |
| exports.trustedSymbol = trustedSymbol; | |
| exports.trusted = function trusted(obj) { | |
| if (obj == null || typeof obj !== 'object') { | |
| return obj; | |
| } | |
| obj[trustedSymbol] = true; | |
| return obj; | |
| }; | |