@systemfsoftware/effect-sim-kernel 2.1.0 → 2.1.2

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/CHANGELOG.md CHANGED
@@ -1,11 +1,5 @@
1
1
  # @systemfsoftware/effect-sim-kernel
2
2
 
3
- # @systemfsoftware/effect-sim-kernel@2.1.0
3
+ # @systemfsoftware/effect-sim-kernel@2.1.2
4
4
 
5
- Dev dependency bump (@types/node) only; the packed tarball is unchanged.
6
-
7
- No consumer-visible package changes.
8
-
9
- On Node 26 a run that waited on a file read as a deadlock: Node 26 leaves pending file requests out of `process.getActiveResourcesInfo()`, the list the kernel read its host waits from. `Kernel.run` takes a `host` option naming where it reads them, and `Kernel.fileRequestHooks(createHook)` follows file requests through `async_hooks` while keeping the process list for sockets, DNS lookups and timers. The kernel still imports no Node module: the caller passes `createHook`. `Conformance.released` reads the source from `Kernel.HostResourcesService` when it is provided.
10
-
11
- Rebuilt with tsdown 0.23.7 against the updated dev dependencies: the bundled `dist/` files carry a different hashed runtime chunk name and comment markers, and the declared devDependency ranges move. The public API and runtime behaviour are unchanged.
5
+ The Effect presets list every rule `@effect/tsgo` 0.70 ships. A rule missing from a preset fell back to its upstream default, and `unstableApiUsage` defaulted to `warning`, which fails the `effect-tsgo` exit code on every use of an Effect 4 platform module. The rules that default to warning or error are now `error`, and suggestion-level hints are `off`. `allowedUnstableApis` names the Effect 4 platform subtrees, so `unstableApiUsage` fails only on unstable APIs outside them.
package/dist/index.mjs CHANGED
@@ -1421,7 +1421,7 @@ const currentPreemptionsFor = (requested) => Effect.map(currentProfile, (profile
1421
1421
  const mulberry32 = (seed) => {
1422
1422
  let state = seed | 0;
1423
1423
  return () => {
1424
- state = state + 1831565813 | 0;
1424
+ state = state + 0x6d2b79f5 | 0;
1425
1425
  let mixed = state;
1426
1426
  mixed = Math.imul(mixed ^ mixed >>> 15, mixed | 1);
1427
1427
  mixed ^= mixed + Math.imul(mixed ^ mixed >>> 7, mixed | 61);
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "@systemfsoftware/effect-sim-kernel",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "license": "Apache-2.0",
5
+ "engines": {
6
+ "node": "^22.12.0 || ^24.0.0 || >=26.0.0"
7
+ },
5
8
  "author": "Ryan Lee <drdgvhbh@gmail.com>",
6
9
  "repository": {
7
10
  "type": "git",
@@ -32,17 +35,17 @@
32
35
  "./package.json": "./package.json"
33
36
  },
34
37
  "devDependencies": {
35
- "@microsoft/api-extractor": "^7.60.1",
36
- "@systemfsoftware/oxlint-config-recommended": "^8.0.4",
37
- "@systemfsoftware/tsconfig": "^2.1.0",
38
- "@systemfsoftware/tsdown-config": "^0.1.3",
39
- "@systemfsoftware/vitest": "^4.2.0",
40
- "@systemfsoftware/vitest-config": "^0.1.4",
41
- "@types/node": "^26.6.6",
38
+ "@microsoft/api-extractor": "^7.60.2",
39
+ "@systemfsoftware/oxlint-config-recommended": "^9.0.5",
40
+ "@systemfsoftware/tsconfig": "^2.2.0",
41
+ "@systemfsoftware/tsdown-config": "^0.2.2",
42
+ "@systemfsoftware/vitest": "^4.4.1",
43
+ "@systemfsoftware/vitest-config": "^0.2.2",
44
+ "@types/node": "^26.6.11",
42
45
  "effect": "^4.1.4",
43
46
  "oxlint": "~1.93.0",
44
47
  "rimraf": "^6.1.4",
45
- "tsdown": "^0.23.7",
48
+ "tsdown": "^0.23.8",
46
49
  "typescript": "^7.0.2",
47
50
  "vitest": "^5.1.0"
48
51
  },
@@ -58,7 +61,7 @@
58
61
  "build": "tsdown -l warn && pnpm api:check",
59
62
  "typecheck": "effect-tsgo tsc -b",
60
63
  "test": "vitest run",
61
- "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; oxlint . --format=${f:-default}",
64
+ "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; effect-tsgo oxlint . --format=${f:-default}",
62
65
  "api:check": "api-extractor-quiet run",
63
66
  "api:update": "api-extractor run --local"
64
67
  }