You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

srvx

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

srvx - npm Package Compare versions

Comparing version
0.11.1
to
0.11.2
+1
-1
dist/cli.mjs

@@ -177,3 +177,3 @@ import { a as green, c as url, i as gray, l as yellow, n as bold, o as magenta, r as cyan, s as red } from "./_chunks/_utils.mjs";

name: "srvx",
version: "0.11.1",
version: "0.11.2",
description: "Universal Server."

@@ -180,0 +180,0 @@ };

@@ -22,3 +22,3 @@ import { Server, ServerMiddleware, ServerPlugin, ServerRequest } from "./types.mjs";

* This plugin wraps all middleware and the fetch handler with tracing instrumentation,
* allowing you to subscribe to `srvx.fetch` and `srvx.middleware` tracing channels.
* allowing you to subscribe to `srvx.request` and `srvx.middleware` tracing channels.
*

@@ -25,0 +25,0 @@ * @example

@@ -6,3 +6,3 @@ function tracingPlugin(opts = {}) {

if (opts.fetch !== false) {
const fetchChannel = tracingChannel("srvx.fetch");
const fetchChannel = tracingChannel("srvx.request");
const originalFetch = server.options.fetch;

@@ -9,0 +9,0 @@ server.options.fetch = (request) => {

{
"name": "srvx",
"version": "0.11.1",
"version": "0.11.2",
"description": "Universal Server.",

@@ -5,0 +5,0 @@ "homepage": "https://srvx.h3.dev",