@systemfsoftware/vitest 0.3.0 → 1.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 +6 -0
- package/dist/{engine-ZbxyPNiN.d.ts → engine-CMvYG5V0.d.ts} +1 -1
- package/dist/{failure-DC_SJoxW.mjs → failure-D8mPXwf4.mjs} +1 -1
- package/dist/failure.d.ts +1 -1
- package/dist/failure.mjs +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @systemfsoftware/vitest
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 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.
|
|
8
|
+
|
|
3
9
|
## 0.3.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -3,7 +3,7 @@ import * as Cause from "effect/Cause";
|
|
|
3
3
|
import * as Effect$1 from "effect/Effect";
|
|
4
4
|
import * as Schema$1 from "effect/Schema";
|
|
5
5
|
import { Schema } from "effect";
|
|
6
|
-
import * as Arbitrary from "effect/
|
|
6
|
+
import * as Arbitrary from "effect/Arbitrary";
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/internal/errors.schema.d.ts
|
|
9
9
|
/**
|
|
@@ -12,7 +12,7 @@ import * as Option$1 from "effect/Option";
|
|
|
12
12
|
import * as Match from "effect/Match";
|
|
13
13
|
import * as Tracer from "effect/Tracer";
|
|
14
14
|
import { Effect, Option, Schema, SchemaGetter, SchemaIssue } from "effect";
|
|
15
|
-
import * as Arbitrary from "effect/
|
|
15
|
+
import * as Arbitrary from "effect/Arbitrary";
|
|
16
16
|
import * as Data from "effect/Data";
|
|
17
17
|
//#region src/internal/property/defaults.ts
|
|
18
18
|
/** @internal The `test.provide` key the shared config fills with this run's tier's check options. */
|
package/dist/failure.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { a as Values, i as PropertySubject, l as Breach, n as Gens, o as engine_d_exports, r as PropertySpec } from "./engine-
|
|
2
|
+
import { a as Values, i as PropertySubject, l as Breach, n as Gens, o as engine_d_exports, r as PropertySpec } from "./engine-CMvYG5V0.js";
|
|
3
3
|
import { i as Checks, t as Asserted } from "./checks-DiuzHhQM.js";
|
|
4
4
|
import * as Cause from "effect/Cause";
|
|
5
5
|
import * as Effect$1 from "effect/Effect";
|
package/dist/failure.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
import { _ as ReplayFromText, c as summaryOf, d as providedRoot, g as Replay, l as testIdentityOf, n as recordOfRun, r as createSpanRecorder, s as renderFailureRecord, t as recordOfProperty, u as throwFailureRecord, v as replayOfText } from "./failure-
|
|
2
|
+
import { _ as ReplayFromText, c as summaryOf, d as providedRoot, g as Replay, l as testIdentityOf, n as recordOfRun, r as createSpanRecorder, s as renderFailureRecord, t as recordOfProperty, u as throwFailureRecord, v as replayOfText } from "./failure-D8mPXwf4.mjs";
|
|
3
3
|
import { c as callFrameOutside, l as callSite, p as withRaisingFrame } from "./test-context-D_-acRSc.mjs";
|
|
4
4
|
export { Replay, ReplayFromText, callFrameOutside, callSite, createSpanRecorder, providedRoot as providedWorkspaceRoot, recordOfProperty, recordOfRun, renderFailureRecord, replayOfText, summaryOf, testIdentityOf, throwFailureRecord, withRaisingFrame };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="./compat.d.ts" />
|
|
2
|
-
import { a as Values$1, c as kinds_d_exports, i as PropertySubject$1, n as Gens$1, o as engine_d_exports, r as PropertySpec$1, s as LawApi, t as ArbitraryInput, u as __exportAll } from "./engine-
|
|
2
|
+
import { a as Values$1, c as kinds_d_exports, i as PropertySubject$1, n as Gens$1, o as engine_d_exports, r as PropertySpec$1, s as LawApi, t as ArbitraryInput, u as __exportAll } from "./engine-CMvYG5V0.js";
|
|
3
3
|
import { a as Expect, c as NoCheckRefusal, d as RefuseSyncBody, f as ScopedLaneRefusal, i as Checks, l as RefuseAsyncBody, m as UnprovidedRefusal, o as EffectLaneRefusal, p as ScopedLiveLaneRefusal, r as Check, s as HookRefusal, t as Asserted, u as RefuseEffectBody } from "./checks-DiuzHhQM.js";
|
|
4
4
|
import * as V from "vitest";
|
|
5
5
|
import { afterAll, assertType, beforeAll, expectTypeOf, inject, onTestFailed, onTestFinished, recordArtifact, vi, vitest } from "vitest";
|
|
@@ -9,7 +9,7 @@ import * as Layer from "effect/Layer";
|
|
|
9
9
|
import * as Scope from "effect/Scope";
|
|
10
10
|
import * as TestConsole from "effect/testing/TestConsole";
|
|
11
11
|
import * as Context from "effect/Context";
|
|
12
|
-
import * as Arbitrary from "effect/
|
|
12
|
+
import * as Arbitrary from "effect/Arbitrary";
|
|
13
13
|
import * as Clock from "effect/Clock";
|
|
14
14
|
import * as Scheduler from "effect/Scheduler";
|
|
15
15
|
//#region src/internal/property/defaults.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { a as replayOfFailure, d as providedRoot, f as InvalidBudget, h as Slop, i as makeProperty, l as testIdentityOf, m as NonBooleanVerdict, o as isFailureRecordError, p as LeakedState, r as createSpanRecorder, u as throwFailureRecord } from "./failure-
|
|
2
|
+
import { a as replayOfFailure, d as providedRoot, f as InvalidBudget, h as Slop, i as makeProperty, l as testIdentityOf, m as NonBooleanVerdict, o as isFailureRecordError, p as LeakedState, r as createSpanRecorder, u as throwFailureRecord } from "./failure-D8mPXwf4.mjs";
|
|
3
3
|
import { a as isCheck, i as checksFor, n as vitestTestContextKey$1, o as makeLedger, r as Asserted, t as VitestTestContext$1 } from "./test-context-D_-acRSc.mjs";
|
|
4
4
|
import { _ as refuseScopedLiveLane, d as refuseAsyncBody, f as refuseEffectLane, g as refuseScopedLane, i as markTask, l as noCheckRefusal, o as isRefusal$1, p as refuseHook, u as refusalOf$1, v as refuseSyncBody, x as unprovidedText, y as refuseUnyielded } from "./guard-BocOhXt2.mjs";
|
|
5
5
|
import * as V from "vitest";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/vitest",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.0",
|
|
5
5
|
"author": "Ryan Lee <drdgvhbh@gmail.com>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
],
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
|
|
51
|
-
"@systemfsoftware/oxlint-config-recommended": "^
|
|
51
|
+
"@systemfsoftware/oxlint-config-recommended": "^4.0.0",
|
|
52
52
|
"@systemfsoftware/stryker-config": "^0.1.0",
|
|
53
53
|
"@systemfsoftware/stryker-ignorer-effect-schema-declarations": "latest",
|
|
54
54
|
"@systemfsoftware/stryker-ignorer-in-source-vitest-block": "latest",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@systemfsoftware/tsdown-config": "^0.1.0",
|
|
61
61
|
"@systemfsoftware/vitest-config": "^0.1.0",
|
|
62
62
|
"@types/node": "^26",
|
|
63
|
-
"effect": "4
|
|
63
|
+
"effect": "^4",
|
|
64
64
|
"oxlint": "~1.82.0",
|
|
65
65
|
"rimraf": "^6.1.3",
|
|
66
66
|
"tsdown": "^0.23.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"vitest": "^5"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"effect": "4
|
|
71
|
+
"effect": "^4",
|
|
72
72
|
"vitest": "^5"
|
|
73
73
|
},
|
|
74
74
|
"publishConfig": {
|