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

elysia

Package Overview
Dependencies
Maintainers
1
Versions
429
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elysia - npm Package Compare versions

Comparing version 1.1.14 to 1.1.15

7

dist/cjs/handler.js

@@ -1733,9 +1733,10 @@ "use strict";

if (typeof handle === "function" || handle instanceof Blob) return;
if (typeof handle === "string" && setHeaders["content-type"] === void 0)
setHeaders["content-type"] = "text/plain;charset=utf-8";
const response = mapResponse(handle, {
headers: setHeaders
});
if (hooks.parse.length === 0 && hooks.transform.length === 0 && hooks.beforeHandle.length === 0 && hooks.afterHandle.length === 0)
if (hooks.parse.length === 0 && hooks.transform.length === 0 && hooks.beforeHandle.length === 0 && hooks.afterHandle.length === 0) {
if (!response.headers.has("content-type"))
response.headers.append("content-type", "text/plain;charset=utf-8");
return response.clone.bind(response);
}
};

@@ -1742,0 +1743,0 @@ // Annotate the CommonJS export names for ESM import in node:

{
"name": "elysia",
"description": "Ergonomic Framework for Human",
"version": "1.1.14",
"version": "1.1.15",
"author": {

@@ -6,0 +6,0 @@ "name": "saltyAom",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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