dbgate-api 4.7.4-alpha.1 → 4.7.4-alpha.2

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",
3
3
  "main": "src/index.js",
4
- "version": "4.7.4-alpha.1",
4
+ "version": "4.7.4-alpha.2",
5
5
  "homepage": "https://dbgate.org/",
6
6
  "repository": {
7
7
  "type": "git",
@@ -25,9 +25,9 @@
25
25
  "compare-versions": "^3.6.0",
26
26
  "cors": "^2.8.5",
27
27
  "cross-env": "^6.0.3",
28
- "dbgate-query-splitter": "^4.7.4-alpha.1",
29
- "dbgate-sqltree": "^4.7.4-alpha.1",
30
- "dbgate-tools": "^4.7.4-alpha.1",
28
+ "dbgate-query-splitter": "^4.7.4-alpha.2",
29
+ "dbgate-sqltree": "^4.7.4-alpha.2",
30
+ "dbgate-tools": "^4.7.4-alpha.2",
31
31
  "diff": "^5.0.0",
32
32
  "diff2html": "^3.4.13",
33
33
  "eslint": "^6.8.0",
@@ -63,7 +63,7 @@
63
63
  "devDependencies": {
64
64
  "@types/fs-extra": "^9.0.11",
65
65
  "@types/lodash": "^4.14.149",
66
- "dbgate-types": "^4.7.4-alpha.1",
66
+ "dbgate-types": "^4.7.4-alpha.2",
67
67
  "env-cmd": "^10.1.0",
68
68
  "node-loader": "^1.0.2",
69
69
  "nodemon": "^2.0.2",
@@ -148,8 +148,8 @@ module.exports = {
148
148
  },
149
149
 
150
150
  start_meta: true,
151
- async start({ script }) {
152
- if (process.env.DISABLE_SHELL) {
151
+ async start({ script, isGeneratedScript }) {
152
+ if (!isGeneratedScript && process.env.DISABLE_SHELL) {
153
153
  return { errorMessage: 'Shell is disabled' };
154
154
  }
155
155
 
@@ -1,5 +1,5 @@
1
1
 
2
2
  module.exports = {
3
- version: '4.7.4-alpha.1',
4
- buildTime: '2022-03-17T18:49:14.355Z'
3
+ version: '4.7.4-alpha.2',
4
+ buildTime: '2022-03-17T18:56:01.877Z'
5
5
  };