@abtnode/core 1.16.33 → 1.16.34-beta-20241113-102431-65542b84
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.
|
@@ -38532,7 +38532,7 @@ module.exports = require("zlib");
|
|
|
38532
38532
|
/***/ ((module) => {
|
|
38533
38533
|
|
|
38534
38534
|
"use strict";
|
|
38535
|
-
module.exports = JSON.parse('{"name":"@abtnode/core","publishConfig":{"access":"public"},"version":"1.16.
|
|
38535
|
+
module.exports = JSON.parse('{"name":"@abtnode/core","publishConfig":{"access":"public"},"version":"1.16.33","description":"","main":"lib/index.js","files":["lib"],"scripts":{"lint":"eslint tests lib --ignore-pattern \'tests/assets/*\'","lint:fix":"eslint --fix tests lib","test":"node tools/jest.js","coverage":"npm run test -- --coverage"},"keywords":[],"author":"wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)","license":"Apache-2.0","dependencies":{"@abtnode/analytics":"1.16.33","@abtnode/auth":"1.16.33","@abtnode/certificate-manager":"1.16.33","@abtnode/constant":"1.16.33","@abtnode/cron":"1.16.33","@abtnode/logger":"1.16.33","@abtnode/models":"1.16.33","@abtnode/queue":"1.16.33","@abtnode/rbac":"1.16.33","@abtnode/router-provider":"1.16.33","@abtnode/static-server":"1.16.33","@abtnode/timemachine":"1.16.33","@abtnode/util":"1.16.33","@arcblock/did":"1.18.139","@arcblock/did-auth":"1.18.139","@arcblock/did-ext":"^1.18.139","@arcblock/did-motif":"^1.1.13","@arcblock/did-util":"1.18.139","@arcblock/event-hub":"1.18.139","@arcblock/jwt":"^1.18.139","@arcblock/pm2-events":"^0.0.5","@arcblock/validator":"^1.18.139","@arcblock/vc":"1.18.139","@blocklet/constant":"1.16.33","@blocklet/did-space-js":"^0.5.65","@blocklet/env":"1.16.33","@blocklet/meta":"1.16.33","@blocklet/resolver":"1.16.33","@blocklet/sdk":"1.16.33","@blocklet/store":"1.16.33","@fidm/x509":"^1.2.1","@ocap/mcrypto":"1.18.139","@ocap/util":"1.18.139","@ocap/wallet":"1.18.139","@slack/webhook":"^5.0.4","archiver":"^7.0.1","axios":"^1.7.5","axon":"^2.0.3","chalk":"^4.1.2","cross-spawn":"^7.0.3","deep-diff":"^1.0.2","detect-port":"^1.5.1","envfile":"^7.1.0","escape-string-regexp":"^4.0.0","fast-glob":"^3.3.2","filesize":"^10.1.1","flat":"^5.0.2","fs-extra":"^11.2.0","get-port":"^5.1.1","hasha":"^5.2.2","is-base64":"^1.1.0","is-url":"^1.2.4","joi":"17.12.2","joi-extension-semver":"^5.0.0","js-yaml":"^4.1.0","kill-port":"^2.0.1","lodash":"^4.17.21","lru-cache":"^6.0.0","node-stream-zip":"^1.15.0","p-all":"^3.0.0","p-limit":"^3.1.0","p-map":"^4.0.0","p-retry":"^4.6.2","read-last-lines":"^1.8.0","semver":"^7.6.3","sequelize":"^6.35.0","shelljs":"^0.8.5","ssri":"^8.0.1","stream-throttle":"^0.1.3","stream-to-promise":"^3.0.0","systeminformation":"^5.23.3","tail":"^2.2.4","tar":"^6.1.11","transliteration":"^2.3.5","ua-parser-js":"^1.0.2","ufo":"^1.5.3","uuid":"^9.0.1","valid-url":"^1.0.9","which":"^2.0.2","xbytes":"^1.8.0"},"devDependencies":{"expand-tilde":"^2.0.2","express":"^4.18.2","jest":"^29.7.0","unzipper":"^0.10.11"},"gitHead":"e5764f753181ed6a7c615cd4fc6682aacf0cb7cd"}');
|
|
38536
38536
|
|
|
38537
38537
|
/***/ }),
|
|
38538
38538
|
|
|
@@ -3,6 +3,7 @@ const fs = require('fs');
|
|
|
3
3
|
const logger = require('@abtnode/logger')('@abtnode/docker-exec-chown');
|
|
4
4
|
const debianDockerfile = require('./debian-dockerfile');
|
|
5
5
|
const promiseSpawn = require('../promise-spawn');
|
|
6
|
+
const parseDockerName = require('./parse-docker-name');
|
|
6
7
|
|
|
7
8
|
async function dockerExecChown(name, targetDirs) {
|
|
8
9
|
const uid = process.getuid();
|
|
@@ -15,7 +16,7 @@ async function dockerExecChown(name, targetDirs) {
|
|
|
15
16
|
const command = dirs
|
|
16
17
|
.map((dir) => `chown -R ${uid}:${gid} ${path.join(baseDir, dir.replace(process.env.ABT_NODE_DATA_DIR, ''))}`)
|
|
17
18
|
.join(' && ');
|
|
18
|
-
const realName = `blocklet-chown-${name.replace(/\\/g, '_')}
|
|
19
|
+
const realName = parseDockerName(`blocklet-chown-${name.replace(/\\/g, '_')}`);
|
|
19
20
|
const startTime = Date.now();
|
|
20
21
|
try {
|
|
21
22
|
await promiseSpawn(
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.
|
|
6
|
+
"version": "1.16.34-beta-20241113-102431-65542b84",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -19,19 +19,19 @@
|
|
|
19
19
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@abtnode/analytics": "1.16.
|
|
23
|
-
"@abtnode/auth": "1.16.
|
|
24
|
-
"@abtnode/certificate-manager": "1.16.
|
|
25
|
-
"@abtnode/constant": "1.16.
|
|
26
|
-
"@abtnode/cron": "1.16.
|
|
27
|
-
"@abtnode/logger": "1.16.
|
|
28
|
-
"@abtnode/models": "1.16.
|
|
29
|
-
"@abtnode/queue": "1.16.
|
|
30
|
-
"@abtnode/rbac": "1.16.
|
|
31
|
-
"@abtnode/router-provider": "1.16.
|
|
32
|
-
"@abtnode/static-server": "1.16.
|
|
33
|
-
"@abtnode/timemachine": "1.16.
|
|
34
|
-
"@abtnode/util": "1.16.
|
|
22
|
+
"@abtnode/analytics": "1.16.34-beta-20241113-102431-65542b84",
|
|
23
|
+
"@abtnode/auth": "1.16.34-beta-20241113-102431-65542b84",
|
|
24
|
+
"@abtnode/certificate-manager": "1.16.34-beta-20241113-102431-65542b84",
|
|
25
|
+
"@abtnode/constant": "1.16.34-beta-20241113-102431-65542b84",
|
|
26
|
+
"@abtnode/cron": "1.16.34-beta-20241113-102431-65542b84",
|
|
27
|
+
"@abtnode/logger": "1.16.34-beta-20241113-102431-65542b84",
|
|
28
|
+
"@abtnode/models": "1.16.34-beta-20241113-102431-65542b84",
|
|
29
|
+
"@abtnode/queue": "1.16.34-beta-20241113-102431-65542b84",
|
|
30
|
+
"@abtnode/rbac": "1.16.34-beta-20241113-102431-65542b84",
|
|
31
|
+
"@abtnode/router-provider": "1.16.34-beta-20241113-102431-65542b84",
|
|
32
|
+
"@abtnode/static-server": "1.16.34-beta-20241113-102431-65542b84",
|
|
33
|
+
"@abtnode/timemachine": "1.16.34-beta-20241113-102431-65542b84",
|
|
34
|
+
"@abtnode/util": "1.16.34-beta-20241113-102431-65542b84",
|
|
35
35
|
"@arcblock/did": "1.18.139",
|
|
36
36
|
"@arcblock/did-auth": "1.18.139",
|
|
37
37
|
"@arcblock/did-ext": "^1.18.139",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"@arcblock/pm2-events": "^0.0.5",
|
|
43
43
|
"@arcblock/validator": "^1.18.139",
|
|
44
44
|
"@arcblock/vc": "1.18.139",
|
|
45
|
-
"@blocklet/constant": "1.16.
|
|
45
|
+
"@blocklet/constant": "1.16.34-beta-20241113-102431-65542b84",
|
|
46
46
|
"@blocklet/did-space-js": "^0.5.65",
|
|
47
|
-
"@blocklet/env": "1.16.
|
|
48
|
-
"@blocklet/meta": "1.16.
|
|
49
|
-
"@blocklet/resolver": "1.16.
|
|
50
|
-
"@blocklet/sdk": "1.16.
|
|
51
|
-
"@blocklet/store": "1.16.
|
|
47
|
+
"@blocklet/env": "1.16.34-beta-20241113-102431-65542b84",
|
|
48
|
+
"@blocklet/meta": "1.16.34-beta-20241113-102431-65542b84",
|
|
49
|
+
"@blocklet/resolver": "1.16.34-beta-20241113-102431-65542b84",
|
|
50
|
+
"@blocklet/sdk": "1.16.34-beta-20241113-102431-65542b84",
|
|
51
|
+
"@blocklet/store": "1.16.34-beta-20241113-102431-65542b84",
|
|
52
52
|
"@fidm/x509": "^1.2.1",
|
|
53
53
|
"@ocap/mcrypto": "1.18.139",
|
|
54
54
|
"@ocap/util": "1.18.139",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"jest": "^29.7.0",
|
|
107
107
|
"unzipper": "^0.10.11"
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "d21a9be12319d0871ccbe997823ec4d8a4cb115e"
|
|
110
110
|
}
|