@systemfsoftware/oxlint-plugin-effect-platform 3.0.0 → 3.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +2 -6
  2. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,9 +1,5 @@
1
1
  # @systemfsoftware/oxlint-plugin-effect-platform
2
2
 
3
- # @systemfsoftware/oxlint-plugin-effect-platform@3.0.0
3
+ # @systemfsoftware/oxlint-plugin-effect-platform@3.0.2
4
4
 
5
- `no-die-on-service-option` reports an `Effect.serviceOption` read whose own `None` branch reaches a defect — `Effect.die`, `Effect.failCause(Cause.die(...))`, `throw`, `Option.getOrThrow`/`Option.getOrThrowWith`, or `Effect.orDie` over an `Effect.fromOption` of the read — and is enabled at `error` in the recommended preset. Optional reads that fall back, skip the work, or fail with a typed error keep passing. A consumer of the recommended preset must fix such reads in the change that takes this release: put the dependency back in the requirement type with `yield* Tag`, or handle absence with a fallback, a skip, or `Effect.fail`.
6
-
7
- New rule `node-runtime-needs-engines` reports code that reaches the Node runtime directly (a Node builtin import, a Node global such as `process` or `Buffer`, a static `globalThis` or `Reflect.get` key naming one, or `import.meta.dirname`/`filename`/`resolve`) in a package whose nearest `package.json` declares no `engines.node`, and reports an `engines.node` that is not `^M.m.p` or `>=M.m.p` clauses joined by `||`. Test files are exempt except in a private package. The plugin's own recommended preset does not enable it.
8
-
9
- Declares the Node.js lines it supports in `engines.node`: 22, 24 and 26 and later, each from the lowest release its runtime dependencies accept. A package manager with engine checks enabled now warns or refuses on an unsupported Node.
5
+ The Effect presets set `ignoreEffectErrorsInTscExitCode` and `ignoreEffectWarningsInTscExitCode`, so Effect diagnostics still print in `tsc` output and editors but no longer fail the `tsc` exit code. Effect rules are enforced by Oxlint's `effecttsgo` rules, whose severities the Oxlint presets set; a typecheck no longer enforces a second, separately configured copy of them.
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "engines": {
5
5
  "node": "^22.12.0 || ^24.0.0 || >=26.0.0"
6
6
  },
7
- "version": "3.0.0",
7
+ "version": "3.0.2",
8
8
  "author": "Ryan Lee <drdgvhbh@gmail.com>",
9
9
  "repository": {
10
10
  "type": "git",
@@ -40,25 +40,25 @@
40
40
  "./package.json": "./package.json"
41
41
  },
42
42
  "dependencies": {
43
- "@oxc-project/types": "^0.159.0",
43
+ "@oxc-project/types": "^0.161.0",
44
44
  "@oxlint/plugins": "~1.93.0",
45
45
  "oxlint": "~1.93.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@microsoft/api-extractor": "^7.60.1",
48
+ "@microsoft/api-extractor": "^7.60.2",
49
49
  "@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
50
- "@systemfsoftware/oxlint-config-rule-authoring": "^3.0.3",
50
+ "@systemfsoftware/oxlint-config-rule-authoring": "^3.0.5",
51
51
  "@systemfsoftware/oxlint-import-origin": "^0.1.0",
52
- "@systemfsoftware/tsconfig": "^2.1.0",
53
- "@systemfsoftware/tsdown-config": "^0.2.1",
54
- "@systemfsoftware/vitest-config": "^0.1.5",
55
- "@types/node": "^26.6.6",
52
+ "@systemfsoftware/tsconfig": "^2.3.0",
53
+ "@systemfsoftware/tsdown-config": "^0.2.3",
54
+ "@systemfsoftware/vitest-config": "^0.2.3",
55
+ "@types/node": "^26.6.11",
56
56
  "@vitest/coverage-v8": "^5.1.0",
57
57
  "effect": "^4.1.4",
58
- "fast-check": "^4.10.2",
58
+ "fast-check": "^4.11.0",
59
59
  "oxlint": "~1.93.0",
60
60
  "rimraf": "^6.1.4",
61
- "tsdown": "^0.23.7",
61
+ "tsdown": "^0.23.8",
62
62
  "typescript": "^7.0.2",
63
63
  "vitest": "^5.1.0"
64
64
  },