@nocobase/cli 1.9.0-beta.2 → 1.9.0-beta.5
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 +4 -4
- package/src/util.js +6 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/cli",
|
|
3
|
-
"version": "1.9.0-beta.
|
|
3
|
+
"version": "1.9.0-beta.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"nocobase": "./bin/index.js"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@nocobase/app": "1.9.0-beta.
|
|
11
|
+
"@nocobase/app": "1.9.0-beta.5",
|
|
12
12
|
"@nocobase/license-kit": "^0.2.12",
|
|
13
13
|
"@types/fs-extra": "^11.0.1",
|
|
14
14
|
"@umijs/utils": "3.5.20",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"tsx": "^4.19.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@nocobase/devtools": "1.9.0-beta.
|
|
30
|
+
"@nocobase/devtools": "1.9.0-beta.5"
|
|
31
31
|
},
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
34
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
35
35
|
"directory": "packages/core/cli"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "9a61c60dd3db5af64244e82447309b0cb17aabb6"
|
|
38
38
|
}
|
package/src/util.js
CHANGED
|
@@ -495,11 +495,14 @@ async function isEnvMatch(keyData) {
|
|
|
495
495
|
const env = await getEnvAsync();
|
|
496
496
|
if (env?.container?.id && keyData?.instanceData?.container?.id) {
|
|
497
497
|
return (
|
|
498
|
-
JSON.stringify(omit(env, ['timestamp', 'container', 'hostname'])) ===
|
|
499
|
-
JSON.stringify(omit(keyData?.instanceData, ['timestamp', 'container', 'hostname']))
|
|
498
|
+
JSON.stringify(omit(env, ['timestamp', 'container', 'hostname', 'mac'])) ===
|
|
499
|
+
JSON.stringify(omit(keyData?.instanceData, ['timestamp', 'container', 'hostname', 'mac']))
|
|
500
500
|
);
|
|
501
501
|
}
|
|
502
|
-
return
|
|
502
|
+
return (
|
|
503
|
+
JSON.stringify(omit(env, ['timestamp', 'mac'])) ===
|
|
504
|
+
JSON.stringify(omit(keyData?.instanceData, ['timestamp', 'mac']))
|
|
505
|
+
);
|
|
503
506
|
}
|
|
504
507
|
|
|
505
508
|
exports.getAccessKeyPair = async function () {
|