Spaces:
Runtime error
Runtime error
Download static/node_modules/mongoose/lib/drivers/browser/objectid.js from kaab4321/NarrativeFlow: direct link, hf CLI and curl.
- Browser
- Download file 478 Bytes
-
https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/drivers/browser/objectid.js
- Command line
-
hf download hf://spaces/kaab4321/NarrativeFlow/static/node_modules/mongoose/lib/drivers/browser/objectid.js
-
curl -L -o objectid.js https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/drivers/browser/objectid.js
478 Bytes
| /*! | |
| * [node-mongodb-native](https://github.com/mongodb/node-mongodb-native) ObjectId | |
| * @constructor NodeMongoDbObjectId | |
| * @see ObjectId | |
| */ | |
| ; | |
| const ObjectId = require('bson').ObjectID; | |
| /** | |
| * Getter for convenience with populate, see gh-6115 | |
| * @api private | |
| */ | |
| Object.defineProperty(ObjectId.prototype, '_id', { | |
| enumerable: false, | |
| configurable: true, | |
| get: function() { | |
| return this; | |
| } | |
| }); | |
| /*! | |
| * ignore | |
| */ | |
| module.exports = exports = ObjectId; | |