🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@http4t/core

Package Overview
Dependencies
Maintainers
4
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@http4t/core - npm Package Compare versions

Comparing version

to
0.3.63

2

package.json
{
"name": "@http4t/core",
"version": "0.3.62",
"version": "0.3.63",
"license": "Apache-2.0",

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

@@ -5,3 +5,4 @@ import { Header, HttpBody, HttpResponse } from "./contract";

export declare function notFound(body?: HttpBody, ...headers: Header[]): HttpResponse;
export declare function noContent(...headers: Header[]): HttpResponse;
export * from "./messages";
//# sourceMappingURL=responses.d.ts.map

@@ -13,3 +13,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.notFound = exports.ok = exports.responseOf = void 0;
exports.noContent = exports.notFound = exports.ok = exports.responseOf = void 0;
function responseOf(status, body, ...headers) {

@@ -27,3 +27,7 @@ return { status, headers: headers, body: body ? body : '' };

exports.notFound = notFound;
function noContent(...headers) {
return responseOf(204, undefined, ...headers);
}
exports.noContent = noContent;
__exportStar(require("./messages"), exports);
//# sourceMappingURL=responses.js.map

@@ -15,2 +15,6 @@ import {Header, HttpBody, HttpResponse} from "./contract";

export function noContent(...headers: Header[]): HttpResponse {
return responseOf(204, undefined, ...headers);
}
export * from "./messages";

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet