Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

http-kit

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-kit - npm Package Compare versions

Comparing version
0.3.1
to
0.4.0
+1
-1
dist/fetch/mod.js
import * as Effect from "@effect/io/Effect";
import { HttpError } from "../exception.js";
const fetch_ = (req) => {
return Effect.tryPromiseInterrupt({
return Effect.tryPromise({
try: (signal) => fetch(req.url, Object.assign(Object.assign({}, req.init), { signal })),

@@ -6,0 +6,0 @@ catch: (error) => new HttpError("Fetch error", error),

{
"name": "http-kit",
"version": "0.3.1",
"version": "0.4.0",
"type": "module",

@@ -61,10 +61,10 @@ "description": "Platform agnostic fetch kit for the Effect package",

"devDependencies": {
"@effect/data": "^0.17.0",
"@effect/io": "^0.36.1",
"@effect/data": "^0.18.6",
"@effect/io": "^0.40.3",
"rimraf": "^5.0.1",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
},
"peerDependencies": {
"@effect/data": "^0.17.0",
"@effect/io": "^0.36.1"
"@effect/data": "^0.18.6",
"@effect/io": "^0.40.3"
},

@@ -71,0 +71,0 @@ "scripts": {