@whyour/qinglong 2.21.0-14 → 2.21.0-16

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": "@whyour/qinglong",
3
3
  "packageManager": "pnpm@8.3.1",
4
- "version": "2.21.0-14",
4
+ "version": "2.21.0-16",
5
5
  "description": "Timed task management platform supporting Python3, JavaScript, Shell, Typescript",
6
6
  "repository": {
7
7
  "type": "git",
@@ -65,7 +65,7 @@
65
65
  }
66
66
  },
67
67
  "overrides": {
68
- "sqlite3": "git+https://github.com/whyour/node-sqlite3.git#v1.1.0",
68
+ "sqlite3": "npm:@whyour/sqlite3@1.1.0",
69
69
  "@codemirror/state": "6.5.4",
70
70
  "@codemirror/view": "6.39.16"
71
71
  }
@@ -109,7 +109,7 @@
109
109
  "request-ip": "3.3.0",
110
110
  "sequelize": "^6.37.5",
111
111
  "sockjs": "^0.3.24",
112
- "sqlite3": "git+https://github.com/whyour/node-sqlite3.git#v1.1.0",
112
+ "sqlite3": "npm:@whyour/sqlite3@1.1.0",
113
113
  "toad-scheduler": "^3.0.1",
114
114
  "typedi": "^0.10.0",
115
115
  "undici": "^7.9.0",
@@ -98,7 +98,11 @@ function run() {
98
98
  const newEnvObject = JSON.parse(envStr);
99
99
  if (typeof newEnvObject === 'object' && newEnvObject !== null) {
100
100
  for (const key in newEnvObject) {
101
- if (Object.prototype.hasOwnProperty.call(newEnvObject, key)) {
101
+ if (
102
+ Object.prototype.hasOwnProperty.call(newEnvObject, key) &&
103
+ key !== 'NODE_PATH' &&
104
+ key !== 'QL_NODE_GLOBAL_PATH'
105
+ ) {
102
106
  process.env[key] = newEnvObject[key];
103
107
  }
104
108
  }