dbgate-api-premium 6.4.0 → 6.4.1
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dbgate-api-premium",
|
|
3
3
|
"main": "src/index.js",
|
|
4
|
-
"version": "6.4.
|
|
4
|
+
"version": "6.4.1",
|
|
5
5
|
"homepage": "https://dbgate.org/",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"compare-versions": "^3.6.0",
|
|
31
31
|
"cors": "^2.8.5",
|
|
32
32
|
"cross-env": "^6.0.3",
|
|
33
|
-
"dbgate-datalib": "^6.4.
|
|
33
|
+
"dbgate-datalib": "^6.4.1",
|
|
34
34
|
"dbgate-query-splitter": "^4.11.4",
|
|
35
|
-
"dbgate-sqltree": "^6.4.
|
|
36
|
-
"dbgate-tools": "^6.4.
|
|
35
|
+
"dbgate-sqltree": "^6.4.1",
|
|
36
|
+
"dbgate-tools": "^6.4.1",
|
|
37
37
|
"debug": "^4.3.4",
|
|
38
38
|
"diff": "^5.0.0",
|
|
39
39
|
"diff2html": "^3.4.13",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@types/fs-extra": "^9.0.11",
|
|
87
87
|
"@types/lodash": "^4.14.149",
|
|
88
|
-
"dbgate-types": "^6.4.
|
|
88
|
+
"dbgate-types": "^6.4.1",
|
|
89
89
|
"env-cmd": "^10.1.0",
|
|
90
90
|
"jsdoc-to-markdown": "^9.0.5",
|
|
91
91
|
"node-loader": "^1.0.2",
|
|
@@ -298,8 +298,12 @@ module.exports = {
|
|
|
298
298
|
|
|
299
299
|
changelog_meta: true,
|
|
300
300
|
async changelog() {
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
try {
|
|
302
|
+
const resp = await axios.default.get('https://raw.githubusercontent.com/dbgate/dbgate/master/CHANGELOG.md');
|
|
303
|
+
return resp.data;
|
|
304
|
+
} catch (err) {
|
|
305
|
+
return ''
|
|
306
|
+
}
|
|
303
307
|
},
|
|
304
308
|
|
|
305
309
|
checkLicense_meta: true,
|
package/src/currentVersion.js
CHANGED