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
377
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.65.4 to 0.65.5

4

dist/cjs/internal/httpMiddleware.js

@@ -119,5 +119,5 @@ "use strict";

const searchParamsParser = httpApp => Effect.withFiberRuntime(fiber => {
const context = fiber.getFiberRef(FiberRef.currentContext);
const context = fiber.currentContext;
const request = Context.unsafeGet(context, ServerRequest.HttpServerRequest);
const params = ServerRequest.searchParamsFromURL(new URL(request.url));
const params = ServerRequest.searchParamsFromURL(new URL(request.originalUrl));
return Effect.locally(httpApp, FiberRef.currentContext, Context.add(context, ServerRequest.ParsedSearchParams, params));

@@ -124,0 +124,0 @@ });

@@ -109,5 +109,5 @@ import * as Context from "effect/Context";

export const searchParamsParser = httpApp => Effect.withFiberRuntime(fiber => {
const context = fiber.getFiberRef(FiberRef.currentContext);
const context = fiber.currentContext;
const request = Context.unsafeGet(context, ServerRequest.HttpServerRequest);
const params = ServerRequest.searchParamsFromURL(new URL(request.url));
const params = ServerRequest.searchParamsFromURL(new URL(request.originalUrl));
return Effect.locally(httpApp, FiberRef.currentContext, Context.add(context, ServerRequest.ParsedSearchParams, params));

@@ -114,0 +114,0 @@ });

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

@@ -17,4 +17,4 @@ "license": "MIT",

"peerDependencies": {
"@effect/schema": "^0.73.3",
"effect": "^3.8.2"
"@effect/schema": "^0.73.4",
"effect": "^3.8.3"
},

@@ -21,0 +21,0 @@ "publishConfig": {

@@ -192,5 +192,5 @@ import type { HttpApp } from "@effect/platform"

>((fiber) => {
const context = fiber.getFiberRef(FiberRef.currentContext)
const context = fiber.currentContext
const request = Context.unsafeGet(context, ServerRequest.HttpServerRequest)
const params = ServerRequest.searchParamsFromURL(new URL(request.url))
const params = ServerRequest.searchParamsFromURL(new URL(request.originalUrl))
return Effect.locally(

@@ -197,0 +197,0 @@ httpApp,

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