compass-user-model 1.25.0 → 2.0.0
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/lib/model.js +8 -2
- package/package.json +7 -6
package/lib/model.js
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
var Model = require('ampersand-model');
|
2
2
|
var storageMixin = require('storage-mixin');
|
3
3
|
var uuid = require('uuid');
|
4
|
-
|
5
|
-
var electronApp
|
4
|
+
|
5
|
+
var electronApp;
|
6
|
+
try {
|
7
|
+
electronApp = require('@electron/remote').app;
|
8
|
+
} catch (e) {
|
9
|
+
/* eslint no-console: 0 */
|
10
|
+
console.log('Could not load @electron/remote', e.message);
|
11
|
+
}
|
6
12
|
|
7
13
|
// var debug = require('debug')('scout:user');
|
8
14
|
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "compass-user-model",
|
3
3
|
"description": "MongoDB user model.",
|
4
4
|
"author": "Lucas Hrabovsky <lucas@mongodb.com>",
|
5
|
-
"version": "
|
5
|
+
"version": "2.0.0",
|
6
6
|
"bugs": {
|
7
7
|
"url": "https://jira.mongodb.org/projects/COMPASS/issues",
|
8
8
|
"email": "compass@mongodb.com"
|
@@ -40,20 +40,21 @@
|
|
40
40
|
"ampersand-state": "5.0.3",
|
41
41
|
"debug": "^2.2.0",
|
42
42
|
"lodash.get": "^4.4.2",
|
43
|
-
"mongodb-collection-model": "^
|
44
|
-
"mongodb-database-model": "^
|
43
|
+
"mongodb-collection-model": "^5.0.0",
|
44
|
+
"mongodb-database-model": "^2.0.0",
|
45
45
|
"mongodb-ns": "^2.4.0",
|
46
46
|
"raf": "^3.4.1",
|
47
|
-
"storage-mixin": "^
|
47
|
+
"storage-mixin": "^5.0.0",
|
48
48
|
"uuid": "^3.3.2"
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
51
|
+
"@electron/remote": "^2.0.8",
|
51
52
|
"depcheck": "^1.4.1",
|
52
|
-
"electron": "^
|
53
|
+
"electron": "^15.5.7",
|
53
54
|
"eslint": "^7.25.0",
|
54
55
|
"eslint-config-mongodb-js": "^3.0.1",
|
55
56
|
"lodash.result": "^4.5.2",
|
56
57
|
"mocha": "^6.0.2"
|
57
58
|
},
|
58
|
-
"gitHead": "
|
59
|
+
"gitHead": "a30734888ab496a07d58e26870e5e33b374e98f7"
|
59
60
|
}
|