@gjsify/cluster 0.3.20 → 0.3.21

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.
Files changed (2) hide show
  1. package/lib/esm/index.js +1 -1
  2. package/package.json +4 -4
package/lib/esm/index.js CHANGED
@@ -1 +1 @@
1
- import{EventEmitter as e}from"node:events";const t=!0,n=!0,r=!1,i={},a={};function o(e){}const s=o;function c(e){throw Error(`cluster.fork() is not supported in GJS`)}function l(e){}const u=2,d=1,f=2,p=new class extends e{};Object.assign(p,{isPrimary:!0,isMaster:!0,isWorker:!1,workers:i,settings:a,setupPrimary:o,setupMaster:s,fork:c,disconnect:l,schedulingPolicy:2,SCHED_NONE:1,SCHED_RR:2});export{d as SCHED_NONE,f as SCHED_RR,p as default,l as disconnect,c as fork,n as isMaster,t as isPrimary,r as isWorker,u as schedulingPolicy,a as settings,s as setupMaster,o as setupPrimary,i as workers};
1
+ import{EventEmitter as e}from"node:events";const t=!0,n=!0,r=!1,i={},a={};function setupPrimary(e){}const o=setupPrimary;function fork(e){throw Error(`cluster.fork() is not supported in GJS`)}function disconnect(e){}const s=2,c=1,l=2,u=new class extends e{};Object.assign(u,{isPrimary:!0,isMaster:!0,isWorker:!1,workers:i,settings:a,setupPrimary,setupMaster:o,fork,disconnect,schedulingPolicy:2,SCHED_NONE:1,SCHED_RR:2});export{c as SCHED_NONE,l as SCHED_RR,u as default,disconnect,fork,n as isMaster,t as isPrimary,r as isWorker,s as schedulingPolicy,a as settings,o as setupMaster,setupPrimary,i as workers};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/cluster",
3
- "version": "0.3.20",
3
+ "version": "0.3.21",
4
4
  "description": "Node.js cluster module for Gjs",
5
5
  "type": "module",
6
6
  "module": "lib/esm/index.js",
@@ -30,11 +30,11 @@
30
30
  "cluster"
31
31
  ],
32
32
  "dependencies": {
33
- "@gjsify/events": "^0.3.20"
33
+ "@gjsify/events": "^0.3.21"
34
34
  },
35
35
  "devDependencies": {
36
- "@gjsify/cli": "^0.3.20",
37
- "@gjsify/unit": "^0.3.20",
36
+ "@gjsify/cli": "^0.3.21",
37
+ "@gjsify/unit": "^0.3.21",
38
38
  "@types/node": "^25.6.2",
39
39
  "typescript": "^6.0.3"
40
40
  }