@systemfsoftware/oxlint-plugin-test-discipline 4.1.0 → 5.0.0
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 +8 -0
- package/dist/index.mjs +3 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @systemfsoftware/oxlint-plugin-test-discipline
|
|
2
2
|
|
|
3
|
+
## 5.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Rules recognize effect 4.0.0 module paths: `effect/Arbitrary` (and the root `Arbitrary` name), `effect/process/ChildProcessSpawner`, and the `effect/encoding` codecs. A module is judged the same whether it is imported from `effect`, from an `effect/<area>` barrel, or by its own subpath. `schema-file-imports-pure-modules-only` admits `Base64`, `Base64Url`, `Hex` and `EncodingError` from `effect/encoding` in place of the removed `Encoding` module.
|
|
8
|
+
|
|
9
|
+
- Require `effect` `^4` (stable 4.0.0). Release candidates are no longer supported: imports follow 4.0.0's module layout (`effect/http`, `effect/rpc`, `effect/http-api`, `effect/cluster`, `effect/process`, `effect/socket`, `effect/persistence`, `effect/reactivity`, `effect/encoding`, `effect/Arbitrary`), which does not exist in any 4.0.0 RC.
|
|
10
|
+
|
|
3
11
|
## 4.1.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/index.mjs
CHANGED
|
@@ -1370,7 +1370,7 @@ const IO_SPECIFIERS = {
|
|
|
1370
1370
|
"node:https": true,
|
|
1371
1371
|
"node:dns": true,
|
|
1372
1372
|
"effect/FileSystem": true,
|
|
1373
|
-
"effect/
|
|
1373
|
+
"effect/process/ChildProcessSpawner": true,
|
|
1374
1374
|
"@effect/platform/FileSystem": true,
|
|
1375
1375
|
"@effect/platform/CommandExecutor": true,
|
|
1376
1376
|
"@effect/platform-node": true,
|
|
@@ -2188,7 +2188,7 @@ const dynamicEdgeOf = (declarator, init, name) => {
|
|
|
2188
2188
|
};
|
|
2189
2189
|
const vocabularyOf = (edge) => {
|
|
2190
2190
|
if (SCHEMA_SOURCE_PATTERN.test(edge.source)) return "schema";
|
|
2191
|
-
if (edge.source
|
|
2191
|
+
if (edge.source === "effect/Arbitrary") return "schema";
|
|
2192
2192
|
if (edge.source === "effect" && edge.imported !== null) {
|
|
2193
2193
|
if (SCHEMA_NAMESPACE_NAMES[edge.imported] === true) return "schema";
|
|
2194
2194
|
if (FASTCHECK_NAMESPACE_NAMES[edge.imported] === true) return "handBuilt";
|
|
@@ -2220,7 +2220,7 @@ var Provenance = class {
|
|
|
2220
2220
|
if (resolveLocal$1(name, node, this.getScope).kind !== "import") return false;
|
|
2221
2221
|
const edge = this.imports.get(name);
|
|
2222
2222
|
if (edge === void 0) return false;
|
|
2223
|
-
if (edge.source
|
|
2223
|
+
if (edge.source === "effect/Arbitrary") return true;
|
|
2224
2224
|
return edge.source === "effect" && edge.imported === "Arbitrary";
|
|
2225
2225
|
}
|
|
2226
2226
|
classifyCall(name, node) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/oxlint-plugin-test-discipline",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "5.0.0",
|
|
5
5
|
"author": "Ryan Lee <drdgvhbh@gmail.com>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@systemfsoftware/vitest-config": "^0.1.0",
|
|
57
57
|
"@types/node": "^26",
|
|
58
58
|
"@vitest/coverage-v8": "^5",
|
|
59
|
-
"effect": "4
|
|
59
|
+
"effect": "^4",
|
|
60
60
|
"fast-check": "^4",
|
|
61
61
|
"oxlint": "~1.82.0",
|
|
62
62
|
"rimraf": "^6.1.3",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"vitest": "^5"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"effect": "4
|
|
68
|
+
"effect": "^4",
|
|
69
69
|
"typescript": ">=5.0.0"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|