@abtnode/core 1.17.4 → 1.17.5-beta-20251208-123021-e8c53f96

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.
@@ -39036,7 +39036,7 @@ module.exports = require("zlib");
39036
39036
  /***/ ((module) => {
39037
39037
 
39038
39038
  "use strict";
39039
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@abtnode/core","publishConfig":{"access":"public"},"version":"1.17.3","description":"","main":"lib/index.js","files":["lib"],"scripts":{"lint":"eslint tests lib --ignore-pattern \'tests/assets/*\'","lint:fix":"eslint --fix tests lib"},"keywords":[],"author":"wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)","license":"Apache-2.0","dependencies":{"@abtnode/analytics":"1.17.3","@abtnode/auth":"1.17.3","@abtnode/certificate-manager":"1.17.3","@abtnode/constant":"1.17.3","@abtnode/cron":"1.17.3","@abtnode/db-cache":"1.17.3","@abtnode/docker-utils":"1.17.3","@abtnode/logger":"1.17.3","@abtnode/models":"1.17.3","@abtnode/queue":"1.17.3","@abtnode/rbac":"1.17.3","@abtnode/router-provider":"1.17.3","@abtnode/static-server":"1.17.3","@abtnode/timemachine":"1.17.3","@abtnode/util":"1.17.3","@aigne/aigne-hub":"^0.10.10","@arcblock/did":"^1.27.12","@arcblock/did-connect-js":"^1.27.12","@arcblock/did-ext":"^1.27.12","@arcblock/did-motif":"^1.1.14","@arcblock/did-util":"^1.27.12","@arcblock/event-hub":"^1.27.12","@arcblock/jwt":"^1.27.12","@arcblock/pm2-events":"^0.0.5","@arcblock/validator":"^1.27.12","@arcblock/vc":"^1.27.12","@blocklet/constant":"1.17.3","@blocklet/did-space-js":"^1.2.6","@blocklet/env":"1.17.3","@blocklet/error":"^0.3.3","@blocklet/meta":"1.17.3","@blocklet/resolver":"1.17.3","@blocklet/sdk":"1.17.3","@blocklet/server-js":"1.17.3","@blocklet/store":"1.17.3","@blocklet/theme":"^3.2.11","@fidm/x509":"^1.2.1","@ocap/mcrypto":"^1.27.12","@ocap/util":"^1.27.12","@ocap/wallet":"^1.27.12","@slack/webhook":"^7.0.6","archiver":"^7.0.1","axios":"^1.7.9","axon":"^2.0.3","chalk":"^4.1.2","cross-spawn":"^7.0.3","dayjs":"^1.11.13","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-cidr":"4","is-ip":"3","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","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","p-wait-for":"^3.2.0","private-ip":"^2.3.4","rate-limiter-flexible":"^5.0.5","read-last-lines":"^1.8.0","semver":"^7.6.3","sequelize":"^6.35.0","shelljs":"^0.8.5","slugify":"^1.6.6","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":"^11.1.0","valid-url":"^1.0.9","which":"^2.0.2","xbytes":"^1.8.0"},"devDependencies":{"axios-mock-adapter":"^2.1.0","expand-tilde":"^2.0.2","express":"^4.18.2","unzipper":"^0.10.11"},"gitHead":"e5764f753181ed6a7c615cd4fc6682aacf0cb7cd"}');
39039
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@abtnode/core","publishConfig":{"access":"public"},"version":"1.17.4","description":"","main":"lib/index.js","files":["lib"],"scripts":{"lint":"eslint tests lib --ignore-pattern \'tests/assets/*\'","lint:fix":"eslint --fix tests lib"},"keywords":[],"author":"wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)","license":"Apache-2.0","dependencies":{"@abtnode/analytics":"1.17.4","@abtnode/auth":"1.17.4","@abtnode/certificate-manager":"1.17.4","@abtnode/constant":"1.17.4","@abtnode/cron":"1.17.4","@abtnode/db-cache":"1.17.4","@abtnode/docker-utils":"1.17.4","@abtnode/logger":"1.17.4","@abtnode/models":"1.17.4","@abtnode/queue":"1.17.4","@abtnode/rbac":"1.17.4","@abtnode/router-provider":"1.17.4","@abtnode/static-server":"1.17.4","@abtnode/timemachine":"1.17.4","@abtnode/util":"1.17.4","@aigne/aigne-hub":"^0.10.10","@arcblock/did":"^1.27.12","@arcblock/did-connect-js":"^1.27.12","@arcblock/did-ext":"^1.27.12","@arcblock/did-motif":"^1.1.14","@arcblock/did-util":"^1.27.12","@arcblock/event-hub":"^1.27.12","@arcblock/jwt":"^1.27.12","@arcblock/pm2-events":"^0.0.5","@arcblock/validator":"^1.27.12","@arcblock/vc":"^1.27.12","@blocklet/constant":"1.17.4","@blocklet/did-space-js":"^1.2.6","@blocklet/env":"1.17.4","@blocklet/error":"^0.3.3","@blocklet/meta":"1.17.4","@blocklet/resolver":"1.17.4","@blocklet/sdk":"1.17.4","@blocklet/server-js":"1.17.4","@blocklet/store":"1.17.4","@blocklet/theme":"^3.2.11","@fidm/x509":"^1.2.1","@ocap/mcrypto":"^1.27.12","@ocap/util":"^1.27.12","@ocap/wallet":"^1.27.12","@slack/webhook":"^7.0.6","archiver":"^7.0.1","axios":"^1.7.9","axon":"^2.0.3","chalk":"^4.1.2","cross-spawn":"^7.0.3","dayjs":"^1.11.13","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-cidr":"4","is-ip":"3","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","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","p-wait-for":"^3.2.0","private-ip":"^2.3.4","rate-limiter-flexible":"^5.0.5","read-last-lines":"^1.8.0","semver":"^7.6.3","sequelize":"^6.35.0","shelljs":"^0.8.5","slugify":"^1.6.6","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":"^11.1.0","valid-url":"^1.0.9","which":"^2.0.2","xbytes":"^1.8.0"},"devDependencies":{"axios-mock-adapter":"^2.1.0","expand-tilde":"^2.0.2","express":"^4.18.2","unzipper":"^0.10.11"},"gitHead":"e5764f753181ed6a7c615cd4fc6682aacf0cb7cd"}');
39040
39040
 
39041
39041
  /***/ }),
39042
39042
 
@@ -67,6 +67,7 @@ const {
67
67
  BlockletEvents,
68
68
  BLOCKLET_MODES,
69
69
  } = require('@blocklet/constant');
70
+ const { isInstanceWorker } = require('@abtnode/util/lib/pm2/is-instance-worker');
70
71
 
71
72
  const pkg = require('../../package.json');
72
73
  // eslint-disable-next-line
@@ -1647,7 +1648,7 @@ module.exports = function getRouterHelpers({
1647
1648
 
1648
1649
  const startAccessLogWatcher = (info) => {
1649
1650
  const providerName = get(info, 'routing.provider', null);
1650
- if (!providerName || !providers[providerName]) {
1651
+ if (!providerName || !providers[providerName] || isInstanceWorker()) {
1651
1652
  return;
1652
1653
  }
1653
1654
 
@@ -1673,7 +1674,7 @@ module.exports = function getRouterHelpers({
1673
1674
 
1674
1675
  const startErrorLogWatcher = async (info, shouldScheduleReload = false) => {
1675
1676
  const providerName = get(info, 'routing.provider', null);
1676
- if (!providerName || !providers[providerName]) {
1677
+ if (!providerName || !providers[providerName] || isInstanceWorker()) {
1677
1678
  return;
1678
1679
  }
1679
1680
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.17.4",
6
+ "version": "1.17.5-beta-20251208-123021-e8c53f96",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -17,21 +17,21 @@
17
17
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@abtnode/analytics": "1.17.4",
21
- "@abtnode/auth": "1.17.4",
22
- "@abtnode/certificate-manager": "1.17.4",
23
- "@abtnode/constant": "1.17.4",
24
- "@abtnode/cron": "1.17.4",
25
- "@abtnode/db-cache": "1.17.4",
26
- "@abtnode/docker-utils": "1.17.4",
27
- "@abtnode/logger": "1.17.4",
28
- "@abtnode/models": "1.17.4",
29
- "@abtnode/queue": "1.17.4",
30
- "@abtnode/rbac": "1.17.4",
31
- "@abtnode/router-provider": "1.17.4",
32
- "@abtnode/static-server": "1.17.4",
33
- "@abtnode/timemachine": "1.17.4",
34
- "@abtnode/util": "1.17.4",
20
+ "@abtnode/analytics": "1.17.5-beta-20251208-123021-e8c53f96",
21
+ "@abtnode/auth": "1.17.5-beta-20251208-123021-e8c53f96",
22
+ "@abtnode/certificate-manager": "1.17.5-beta-20251208-123021-e8c53f96",
23
+ "@abtnode/constant": "1.17.5-beta-20251208-123021-e8c53f96",
24
+ "@abtnode/cron": "1.17.5-beta-20251208-123021-e8c53f96",
25
+ "@abtnode/db-cache": "1.17.5-beta-20251208-123021-e8c53f96",
26
+ "@abtnode/docker-utils": "1.17.5-beta-20251208-123021-e8c53f96",
27
+ "@abtnode/logger": "1.17.5-beta-20251208-123021-e8c53f96",
28
+ "@abtnode/models": "1.17.5-beta-20251208-123021-e8c53f96",
29
+ "@abtnode/queue": "1.17.5-beta-20251208-123021-e8c53f96",
30
+ "@abtnode/rbac": "1.17.5-beta-20251208-123021-e8c53f96",
31
+ "@abtnode/router-provider": "1.17.5-beta-20251208-123021-e8c53f96",
32
+ "@abtnode/static-server": "1.17.5-beta-20251208-123021-e8c53f96",
33
+ "@abtnode/timemachine": "1.17.5-beta-20251208-123021-e8c53f96",
34
+ "@abtnode/util": "1.17.5-beta-20251208-123021-e8c53f96",
35
35
  "@aigne/aigne-hub": "^0.10.10",
36
36
  "@arcblock/did": "^1.27.12",
37
37
  "@arcblock/did-connect-js": "^1.27.12",
@@ -43,15 +43,15 @@
43
43
  "@arcblock/pm2-events": "^0.0.5",
44
44
  "@arcblock/validator": "^1.27.12",
45
45
  "@arcblock/vc": "^1.27.12",
46
- "@blocklet/constant": "1.17.4",
46
+ "@blocklet/constant": "1.17.5-beta-20251208-123021-e8c53f96",
47
47
  "@blocklet/did-space-js": "^1.2.6",
48
- "@blocklet/env": "1.17.4",
48
+ "@blocklet/env": "1.17.5-beta-20251208-123021-e8c53f96",
49
49
  "@blocklet/error": "^0.3.3",
50
- "@blocklet/meta": "1.17.4",
51
- "@blocklet/resolver": "1.17.4",
52
- "@blocklet/sdk": "1.17.4",
53
- "@blocklet/server-js": "1.17.4",
54
- "@blocklet/store": "1.17.4",
50
+ "@blocklet/meta": "1.17.5-beta-20251208-123021-e8c53f96",
51
+ "@blocklet/resolver": "1.17.5-beta-20251208-123021-e8c53f96",
52
+ "@blocklet/sdk": "1.17.5-beta-20251208-123021-e8c53f96",
53
+ "@blocklet/server-js": "1.17.5-beta-20251208-123021-e8c53f96",
54
+ "@blocklet/store": "1.17.5-beta-20251208-123021-e8c53f96",
55
55
  "@blocklet/theme": "^3.2.11",
56
56
  "@fidm/x509": "^1.2.1",
57
57
  "@ocap/mcrypto": "^1.27.12",
@@ -116,5 +116,5 @@
116
116
  "express": "^4.18.2",
117
117
  "unzipper": "^0.10.11"
118
118
  },
119
- "gitHead": "4348ffa301611df5f5a55103474081a8a3457528"
119
+ "gitHead": "ed63bdced5fa8df09ba7fd282b38751007df2216"
120
120
  }