@sprucelabs/data-stores 9.0.125 → 9.0.128
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.
|
@@ -25,7 +25,7 @@ export default class StoreFactory {
|
|
|
25
25
|
if (!Store.Store) {
|
|
26
26
|
throw new SpruceError({
|
|
27
27
|
code: 'INVALID_STORE',
|
|
28
|
-
friendlyMessage: `You have to have ${namesUtil.toPascal(name)}.Store(options:
|
|
28
|
+
friendlyMessage: `You have to have ${namesUtil.toPascal(name)}.Store(options: UniversalStoreOptions) factory method on your store that returns \`new this(...)\`.`,
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
const instance = yield Store.Store(Object.assign({ db: this.db, storeFactory: this }, options));
|
|
@@ -20,7 +20,7 @@ class StoreFactory {
|
|
|
20
20
|
if (!Store.Store) {
|
|
21
21
|
throw new SpruceError_1.default({
|
|
22
22
|
code: 'INVALID_STORE',
|
|
23
|
-
friendlyMessage: `You have to have ${spruce_skill_utils_1.namesUtil.toPascal(name)}.Store(options:
|
|
23
|
+
friendlyMessage: `You have to have ${spruce_skill_utils_1.namesUtil.toPascal(name)}.Store(options: UniversalStoreOptions) factory method on your store that returns \`new this(...)\`.`,
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
const instance = await Store.Store(Object.assign({ db: this.db, storeFactory: this }, options));
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "9.0.
|
|
6
|
+
"version": "9.0.128",
|
|
7
7
|
"files": [
|
|
8
8
|
"build/**/*",
|
|
9
9
|
"!build/__tests__",
|
|
@@ -71,23 +71,23 @@
|
|
|
71
71
|
"upgrade.packages.test": "yarn upgrade.packages.all && yarn lint && yarn build.dev && yarn test"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@sprucelabs/error": "^5.0.
|
|
75
|
-
"@sprucelabs/schema": "^27.1.
|
|
76
|
-
"@sprucelabs/spruce-core-schemas": "^25.0.
|
|
77
|
-
"@sprucelabs/spruce-skill-utils": "^25.1.
|
|
74
|
+
"@sprucelabs/error": "^5.0.451",
|
|
75
|
+
"@sprucelabs/schema": "^27.1.70",
|
|
76
|
+
"@sprucelabs/spruce-core-schemas": "^25.0.111",
|
|
77
|
+
"@sprucelabs/spruce-skill-utils": "^25.1.5",
|
|
78
78
|
"globby": "^11.0.4",
|
|
79
79
|
"lodash": "^4.17.21",
|
|
80
80
|
"mongodb": "^4.1.0",
|
|
81
81
|
"nedb": "^1.8.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@sprucelabs/esm-postbuild": "^1.0.
|
|
85
|
-
"@sprucelabs/jest-json-reporter": "^6.0.
|
|
84
|
+
"@sprucelabs/esm-postbuild": "^1.0.461",
|
|
85
|
+
"@sprucelabs/jest-json-reporter": "^6.0.374",
|
|
86
86
|
"@sprucelabs/jest-sheets-reporter": "^1.3.43",
|
|
87
|
-
"@sprucelabs/resolve-path-aliases": "^1.1.
|
|
87
|
+
"@sprucelabs/resolve-path-aliases": "^1.1.38",
|
|
88
88
|
"@sprucelabs/semantic-release": "^4.0.8",
|
|
89
|
-
"@sprucelabs/test": "^7.7.
|
|
90
|
-
"@sprucelabs/test-utils": "^3.0.
|
|
89
|
+
"@sprucelabs/test": "^7.7.312",
|
|
90
|
+
"@sprucelabs/test-utils": "^3.0.539",
|
|
91
91
|
"@types/lodash": "^4.14.182",
|
|
92
92
|
"@types/nedb": "^1.8.12",
|
|
93
93
|
"@types/node": "17.0.5",
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
"dotenv": "^16.0.0",
|
|
97
97
|
"eslint": "^8.14.0",
|
|
98
98
|
"eslint-config-spruce": "^10.11.2",
|
|
99
|
-
"jest": "^28.0
|
|
100
|
-
"jest-circus": "^28.0
|
|
99
|
+
"jest": "^28.1.0",
|
|
100
|
+
"jest-circus": "^28.1.0",
|
|
101
101
|
"prettier": "^2.6.2",
|
|
102
102
|
"ts-node": "^10.7.0",
|
|
103
103
|
"tsc-watch": "^5.0.3",
|