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

@ucanto/validator

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ucanto/validator - npm Package Compare versions

Comparing version 3.0.2 to 3.0.4

22

dist/src/schema/uri.d.ts

@@ -1,2 +0,2 @@

export function uri(): URISchema<Options<`${string}:`>>;
export function uri(): Schema.Schema<API.URI, unknown>;
export function read(input: unknown): Schema.ReadResult<API.URI<`${string}:`>, API.Failure>;

@@ -8,22 +8,4 @@ export function match<P extends `${string}:`, O extends Options<P>>(options: O): Schema.Schema<API.URI<O["protocol"]>, unknown>;

};
/**
* @template {API.Protocol} [P=API.Protocol]
* @typedef {{protocol: P}} Options
*/
/**
* @template {Options} O
* @extends {Schema.API<API.URI<O['protocol']>, unknown, Partial<O>>}
*/
declare class URISchema<O extends Options<`${string}:`>> extends Schema.API<API.URI<O["protocol"]>, unknown, Partial<O>> {
constructor(settings: Partial<O>);
/**
* @param {unknown} input
* @param {Partial<O>} options
* @returns {Schema.ReadResult<API.URI<O['protocol']>>}
*/
readWith(input: unknown, { protocol }?: Partial<O>): Schema.ReadResult<API.URI<O['protocol']>>;
}
import * as Schema from "./schema.js";
import * as API from "@ucanto/interface";
import * as Schema from "./schema.js";
export {};
//# sourceMappingURL=uri.d.ts.map

2

package.json
{
"name": "@ucanto/validator",
"description": "UCAN RPC validators",
"version": "3.0.2",
"version": "3.0.4",
"keywords": [

@@ -6,0 +6,0 @@ "UCAN",

@@ -41,2 +41,5 @@ import * as API from '@ucanto/interface'

/**
* @returns {Schema.Schema<API.URI, unknown>}
*/
export const uri = () => schema

@@ -43,0 +46,0 @@

Sorry, the diff of this file is not supported yet

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