@aeriajs/core 0.0.274 → 0.0.276
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/database.js +1 -1
- package/package.json +8 -8
package/dist/database.js
CHANGED
|
@@ -46,7 +46,7 @@ const getDatabase = async () => {
|
|
|
46
46
|
const mongodbUri = await (async () => {
|
|
47
47
|
const envUri = config.database?.mongodbUrl;
|
|
48
48
|
if (!envUri) {
|
|
49
|
-
console.warn(
|
|
49
|
+
console.warn("mongo URI wasn't supplied, fallbacking to memory storage (this means your data will only be alive during runtime)");
|
|
50
50
|
const { MongoMemoryServer } = await Promise.resolve().then(() => __importStar(require('mongodb-memory-server')));
|
|
51
51
|
const mongod = await MongoMemoryServer.create();
|
|
52
52
|
return mongod.getUri();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.276",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"aeriaMain": "tests/fixtures/aeriaMain.js",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"mongodb-memory-server": "^10.1.4"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@aeriajs/builtins": "^0.0.
|
|
46
|
-
"@aeriajs/common": "^0.0.
|
|
47
|
-
"@aeriajs/entrypoint": "^0.0.
|
|
48
|
-
"@aeriajs/http": "^0.0.
|
|
49
|
-
"@aeriajs/security": "^0.0.
|
|
50
|
-
"@aeriajs/types": "^0.0.
|
|
51
|
-
"@aeriajs/validation": "^0.0.
|
|
45
|
+
"@aeriajs/builtins": "^0.0.276",
|
|
46
|
+
"@aeriajs/common": "^0.0.157",
|
|
47
|
+
"@aeriajs/entrypoint": "^0.0.163",
|
|
48
|
+
"@aeriajs/http": "^0.0.192",
|
|
49
|
+
"@aeriajs/security": "^0.0.276",
|
|
50
|
+
"@aeriajs/types": "^0.0.135",
|
|
51
|
+
"@aeriajs/validation": "^0.0.177"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"mongodb": "^6.17.0",
|