@arktype/attest
Advanced tools
Comparing version 0.12.1 to 0.13.0
@@ -8,6 +8,6 @@ import { type SourcePosition } from "@ark/fs"; | ||
export type AttestFn = { | ||
<expected>(actual: expected): rootAssertions<expected, AssertionKind>; | ||
<expected, actual extends expected = never>(...args: actual extends never ? [ | ||
ErrorMessage<"Type-only assertion requires two explicit genreic params, e.g. attest<expected, actual>"> | ||
] : []): void; | ||
<expected>(actual: expected): rootAssertions<expected, AssertionKind>; | ||
instantiations: (count?: Measure<"instantiations"> | undefined) => void; | ||
@@ -14,0 +14,0 @@ }; |
@@ -7,3 +7,3 @@ import { type autocomplete } from "@ark/util"; | ||
type BaseAttestConfig = { | ||
tsconfig: string | undefined; | ||
tsconfig: string | null | undefined; | ||
compilerOptions: ts.CompilerOptions; | ||
@@ -10,0 +10,0 @@ updateSnapshots: boolean; |
@@ -22,3 +22,3 @@ import { caller } from "@ark/fs"; | ||
basename(filePath) | ||
: filePath.slice(testsDirChar + testDirName.length); | ||
: filePath.slice(testsDirChar + testDirName.length + 1); | ||
const suiteName = suiteNamePath.slice(0, -testSuffix.length); | ||
@@ -25,0 +25,0 @@ if (contextualTests) { |
{ | ||
"name": "@arktype/attest", | ||
"version": "0.12.1", | ||
"version": "0.13.0", | ||
"author": { | ||
@@ -38,5 +38,5 @@ "name": "David Blass", | ||
"@prettier/sync": "0.5.2", | ||
"arktype": "2.0.0-beta.6", | ||
"@ark/fs": "0.2.2", | ||
"@ark/util": "0.2.2" | ||
"@ark/util": "0.3.0", | ||
"@ark/fs": "0.3.0", | ||
"arktype": "2.0.0-rc.0" | ||
}, | ||
@@ -43,0 +43,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138304
+ Added@ark/fs@0.3.0(transitive)
+ Added@ark/schema@0.4.0(transitive)
+ Added@ark/util@0.3.0(transitive)
+ Addedarktype@2.0.0-rc.0(transitive)
- Removed@ark/fs@0.2.2(transitive)
- Removed@ark/schema@0.3.3(transitive)
- Removed@ark/util@0.2.2(transitive)
- Removedarktype@2.0.0-beta.6(transitive)
Updated@ark/fs@0.3.0
Updated@ark/util@0.3.0
Updatedarktype@2.0.0-rc.0