Socket
Socket
Sign inDemoInstall

@arktype/attest

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arktype/attest - npm Package Compare versions

Comparing version 0.12.1 to 0.13.0

2

out/assert/attest.d.ts

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc