New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ark/attest

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ark/attest - npm Package Compare versions

Comparing version 0.27.0 to 0.28.0

12

out/assert/chainableAssertions.d.ts

@@ -52,3 +52,5 @@ import { snapshot, type Constructor } from "@ark/util";

toFile: (id: string, options?: ExternalSnapshotOptions) => nextAssertions<kind>;
unwrap: Unwrapper<expected>;
};
export type Unwrapper<expected = unknown> = (opts?: UnwrapOptions) => expected;
export type comparableValueAssertion<expected, kind extends AssertionKind> = {

@@ -59,7 +61,11 @@ snap: snapProperty<expected, kind>;

is: (value: expected) => nextAssertions<kind>;
completions: (value?: Completions) => void;
completions: CompletionsSnap;
satisfies: <def>(def: type.validate<def>) => nextAssertions<kind>;
unknown: Omit<comparableValueAssertion<unknown, kind>, "unknown">;
unwrap: (opts?: UnwrapOptions) => unknown;
unwrap: Unwrapper<expected>;
};
export interface CompletionsSnap {
(value?: Completions): void;
unwrap: Unwrapper<Completions>;
}
export type TypeAssertionsRoot = {

@@ -71,3 +77,3 @@ type: TypeAssertionProps;

errors: valueFromTypeAssertion<string | RegExp, string>;
completions: (value?: Completions) => void;
completions: CompletionsSnap;
};

@@ -74,0 +80,0 @@ export type ExternalSnapshotOptions = {

@@ -106,3 +106,6 @@ import { caller } from "@ark/fs";

};
return Object.assign(inline, { toFile });
return Object.assign(inline, {
toFile,
unwrap: this.unwrap.bind(this)
});
}

@@ -109,0 +112,0 @@ immediateOrChained() {

{
"name": "@ark/attest",
"version": "0.27.0",
"version": "0.28.0",
"license": "MIT",

@@ -39,8 +39,8 @@ "author": {

"@prettier/sync": "0.5.2",
"arktype": "2.0.0-rc.23",
"@ark/util": "0.23.0",
"@ark/fs": "0.23.0"
"@ark/fs": "0.24.0",
"arktype": "2.0.0-rc.24",
"@ark/util": "0.24.0"
},
"devDependencies": {
"typescript": "5.7.0-beta"
"typescript": "5.7.1-rc"
},

@@ -47,0 +47,0 @@ "peerDependencies": {

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