Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@effect/platform

Package Overview
Dependencies
Maintainers
0
Versions
399
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect/platform - npm Package Compare versions

Comparing version 0.58.17 to 0.58.18

6

dist/dts/HttpIncomingMessage.d.ts

@@ -54,3 +54,3 @@ /**

*/
export declare const schemaBodyUrlParams: <A, I extends Readonly<Record<string, string>>, R>(schema: Schema.Schema<A, I, R>, options?: ParseOptions | undefined) => <E>(self: HttpIncomingMessage<E>) => Effect.Effect<A, E | ParseResult.ParseError, R>;
export declare const schemaBodyUrlParams: <A, I extends Readonly<Record<string, string | undefined>>, R>(schema: Schema.Schema<A, I, R>, options?: ParseOptions | undefined) => <E>(self: HttpIncomingMessage<E>) => Effect.Effect<A, E | ParseResult.ParseError, R>;
/**

@@ -60,3 +60,3 @@ * @since 1.0.0

*/
export declare const schemaBodyUrlParamsScoped: <A, I extends Readonly<Record<string, string>>, R>(schema: Schema.Schema<A, I, R>, options?: ParseOptions | undefined) => <E, E2, R2>(effect: Effect.Effect<HttpIncomingMessage<E>, E2, R2>) => Effect.Effect<A, ParseResult.ParseError | E | E2, Exclude<R, Scope.Scope> | Exclude<R2, Scope.Scope>>;
export declare const schemaBodyUrlParamsScoped: <A, I extends Readonly<Record<string, string | undefined>>, R>(schema: Schema.Schema<A, I, R>, options?: ParseOptions | undefined) => <E, E2, R2>(effect: Effect.Effect<HttpIncomingMessage<E>, E2, R2>) => Effect.Effect<A, ParseResult.ParseError | E | E2, Exclude<R, Scope.Scope> | Exclude<R2, Scope.Scope>>;
/**

@@ -71,3 +71,3 @@ * @since 1.0.0

*/
export declare const schemaHeadersScoped: <A, I extends Readonly<Record<string, string>>, R>(schema: Schema.Schema<A, I, R>, options?: ParseOptions | undefined) => <E, E2, R2>(effect: Effect.Effect<HttpIncomingMessage<E>, E2, R2>) => Effect.Effect<A, ParseResult.ParseError | E2, Exclude<R, Scope.Scope> | Exclude<R2, Scope.Scope>>;
export declare const schemaHeadersScoped: <A, I extends Readonly<Record<string, string | undefined>>, R>(schema: Schema.Schema<A, I, R>, options?: ParseOptions | undefined) => <E, E2, R2>(effect: Effect.Effect<HttpIncomingMessage<E>, E2, R2>) => Effect.Effect<A, ParseResult.ParseError | E2, Exclude<R, Scope.Scope> | Exclude<R2, Scope.Scope>>;
/**

@@ -74,0 +74,0 @@ * @since 1.0.0

@@ -100,3 +100,3 @@ /**

*/
export declare const schemaCookies: <A, I extends Readonly<Record<string, string>>, R>(schema: Schema.Schema<A, I, R>, options?: ParseOptions | undefined) => Effect.Effect<A, ParseResult.ParseError, HttpServerRequest | R>;
export declare const schemaCookies: <A, I extends Readonly<Record<string, string | undefined>>, R>(schema: Schema.Schema<A, I, R>, options?: ParseOptions | undefined) => Effect.Effect<A, ParseResult.ParseError, HttpServerRequest | R>;
/**

@@ -106,3 +106,3 @@ * @since 1.0.0

*/
export declare const schemaHeaders: <A, I extends Readonly<Record<string, string>>, R>(schema: Schema.Schema<A, I, R>, options?: ParseOptions | undefined) => Effect.Effect<A, ParseResult.ParseError, HttpServerRequest | R>;
export declare const schemaHeaders: <A, I extends Readonly<Record<string, string | undefined>>, R>(schema: Schema.Schema<A, I, R>, options?: ParseOptions | undefined) => Effect.Effect<A, ParseResult.ParseError, HttpServerRequest | R>;
/**

@@ -127,3 +127,3 @@ * @since 1.0.0

*/
export declare const schemaBodyUrlParams: <A, I extends Readonly<Record<string, string>>, R>(schema: Schema.Schema<A, I, R>, options?: ParseOptions | undefined) => Effect.Effect<A, ParseResult.ParseError | Error.RequestError, R | HttpServerRequest>;
export declare const schemaBodyUrlParams: <A, I extends Readonly<Record<string, string | undefined>>, R>(schema: Schema.Schema<A, I, R>, options?: ParseOptions | undefined) => Effect.Effect<A, ParseResult.ParseError | Error.RequestError, R | HttpServerRequest>;
/**

@@ -130,0 +130,0 @@ * @since 1.0.0

{
"name": "@effect/platform",
"version": "0.58.17",
"version": "0.58.18",
"description": "Unified interfaces for common platform-specific services",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -72,3 +72,3 @@ /**

*/
export const schemaBodyUrlParams = <A, I extends Readonly<Record<string, string>>, R>(
export const schemaBodyUrlParams = <A, I extends Readonly<Record<string, string | undefined>>, R>(
schema: Schema.Schema<A, I, R>,

@@ -86,3 +86,3 @@ options?: ParseOptions | undefined

*/
export const schemaBodyUrlParamsScoped = <A, I extends Readonly<Record<string, string>>, R>(
export const schemaBodyUrlParamsScoped = <A, I extends Readonly<Record<string, string | undefined>>, R>(
schema: Schema.Schema<A, I, R>,

@@ -114,3 +114,3 @@ options?: ParseOptions | undefined

*/
export const schemaHeadersScoped = <A, I extends Readonly<Record<string, string>>, R>(
export const schemaHeadersScoped = <A, I extends Readonly<Record<string, string | undefined>>, R>(
schema: Schema.Schema<A, I, R>,

@@ -117,0 +117,0 @@ options?: ParseOptions | undefined

@@ -137,3 +137,3 @@ /**

*/
export const schemaCookies: <A, I extends Readonly<Record<string, string>>, R>(
export const schemaCookies: <A, I extends Readonly<Record<string, string | undefined>>, R>(
schema: Schema.Schema<A, I, R>,

@@ -147,3 +147,3 @@ options?: ParseOptions | undefined

*/
export const schemaHeaders: <A, I extends Readonly<Record<string, string>>, R>(
export const schemaHeaders: <A, I extends Readonly<Record<string, string | undefined>>, R>(
schema: Schema.Schema<A, I, R>,

@@ -188,3 +188,3 @@ options?: ParseOptions | undefined

*/
export const schemaBodyUrlParams: <A, I extends Readonly<Record<string, string>>, R>(
export const schemaBodyUrlParams: <A, I extends Readonly<Record<string, string | undefined>>, R>(
schema: Schema.Schema<A, I, R>,

@@ -191,0 +191,0 @@ options?: ParseOptions | undefined

@@ -66,3 +66,3 @@ import type { ParseOptions } from "@effect/schema/AST"

/** @internal */
export const schemaCookies = <A, I extends Readonly<Record<string, string>>, R>(
export const schemaCookies = <A, I extends Readonly<Record<string, string | undefined>>, R>(
schema: Schema.Schema<A, I, R>,

@@ -76,3 +76,3 @@ options?: ParseOptions | undefined

/** @internal */
export const schemaHeaders = <A, I extends Readonly<Record<string, string>>, R>(
export const schemaHeaders = <A, I extends Readonly<Record<string, string | undefined>>, R>(
schema: Schema.Schema<A, I, R>,

@@ -123,3 +123,3 @@ options?: ParseOptions | undefined

/** @internal */
export const schemaBodyUrlParams = <A, I extends Readonly<Record<string, string>>, R>(
export const schemaBodyUrlParams = <A, I extends Readonly<Record<string, string | undefined>>, R>(
schema: Schema.Schema<A, I, R>,

@@ -126,0 +126,0 @@ options?: ParseOptions | undefined

Sorry, the diff of this file is not supported yet

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