@abtnode/models 1.16.8-next-bcc85536 → 1.16.8-next-048c2fb6
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/migrate.js +2 -1
- package/lib/models/passport.js +0 -1
- package/lib/util.js +1 -0
- package/package.json +5 -5
package/lib/migrate.js
CHANGED
|
@@ -27,7 +27,8 @@ async function doSchemaMigration(dbFile, group) {
|
|
|
27
27
|
migrations: { glob: [`migrations/${group}/*.${MIGRATION_SCRIPT_EXTENSION}`, { cwd: __dirname }] },
|
|
28
28
|
context: sequelize.getQueryInterface(),
|
|
29
29
|
storage: new umzug_1.SequelizeStorage({ sequelize }),
|
|
30
|
-
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
logger: { info: (data) => logger.info('progress', data) },
|
|
31
32
|
});
|
|
32
33
|
return umzug.up();
|
|
33
34
|
}
|
package/lib/models/passport.js
CHANGED
package/lib/util.js
CHANGED
|
@@ -107,6 +107,7 @@ function formatParams(params) {
|
|
|
107
107
|
return params;
|
|
108
108
|
}
|
|
109
109
|
exports.formatParams = formatParams;
|
|
110
|
+
// eslint-disable-next-line import/prefer-default-export
|
|
110
111
|
function getAvatarDir(srcDir) {
|
|
111
112
|
return srcDir.endsWith('/core') ? (0, path_1.join)((0, path_1.dirname)(srcDir), 'data/_abtnode') : srcDir;
|
|
112
113
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abtnode/models",
|
|
3
|
-
"version": "1.16.8-next-
|
|
3
|
+
"version": "1.16.8-next-048c2fb6",
|
|
4
4
|
"description": "Sequelize models for blocklet server and blocklet service",
|
|
5
5
|
"homepage": "https://github.com/ArcBlock/blocklet-server#readme",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"url": "https://github.com/ArcBlock/blocklet-server/issues"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@abtnode/logger": "1.16.8-next-
|
|
36
|
-
"@abtnode/types": "1.16.8-next-
|
|
35
|
+
"@abtnode/logger": "1.16.8-next-048c2fb6",
|
|
36
|
+
"@abtnode/types": "1.16.8-next-048c2fb6",
|
|
37
37
|
"@nedb/core": "^2.1.5",
|
|
38
38
|
"lodash.clonedeep": "^4.5.0",
|
|
39
39
|
"lodash.get": "^4.4.2",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"jest": "^27.5.1",
|
|
53
53
|
"ts-jest": "^27.1.5",
|
|
54
54
|
"ts-node": "^10.9.1",
|
|
55
|
-
"typescript": "^
|
|
55
|
+
"typescript": "^5.0.4"
|
|
56
56
|
},
|
|
57
57
|
"resolutions": {},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "d7b6accf3bad13cd147c7fd645e5e95de5dad212"
|
|
59
59
|
}
|