some progress

This commit is contained in:
Jonas_Jones 2023-03-30 20:40:42 +02:00
parent aea93a5527
commit e3c15bd288
1388 changed files with 306946 additions and 68323 deletions

14
node_modules/mongoose/lib/drivers/browser/binary.js generated vendored Normal file
View file

@ -0,0 +1,14 @@
/*!
* Module dependencies.
*/
'use strict';
const Binary = require('bson').Binary;
/*!
* Module exports.
*/
module.exports = exports = Binary;

View file

@ -0,0 +1,7 @@
/*!
* ignore
*/
'use strict';
module.exports = require('bson').Decimal128;

12
node_modules/mongoose/lib/drivers/browser/index.js generated vendored Normal file
View file

@ -0,0 +1,12 @@
/*!
* Module exports.
*/
'use strict';
exports.Collection = function() {
throw new Error('Cannot create a collection from browser library');
};
exports.Connection = function() {
throw new Error('Cannot create a connection from browser library');
};

29
node_modules/mongoose/lib/drivers/browser/objectid.js generated vendored Normal file
View file

@ -0,0 +1,29 @@
/*!
* [node-mongodb-native](https://github.com/mongodb/node-mongodb-native) ObjectId
* @constructor NodeMongoDbObjectId
* @see ObjectId
*/
'use strict';
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;