New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

serverless-h3

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-h3 - npm Package Compare versions

Comparing version

to
1.0.25

9

dist/index.js

@@ -34,2 +34,4 @@ "use strict";

}
// Refs: H3 Response Schema
// - https://h3.unjs.io/adapters/plain
const handler = (0, h3_1.toPlainHandler)(app);

@@ -58,7 +60,4 @@ const response = yield handler(Object.assign(Object.assign({}, event), { method: event.httpMethod, context: event.requestContext }));

});
// console.log('Final headers object:', headersObject);
// console.log('Final multiValueHeaders object:', multiValueHeadersObject);
console.log(JSON.stringify({ app }));
console.log(JSON.stringify({ response }));
console.log(JSON.stringify({ event }));
// Refs: Lambda Response Schema
// - https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html
return {

@@ -65,0 +64,0 @@ statusCode: response.status,

{
"name": "serverless-h3",
"version": "1.0.24",
"version": "1.0.25",
"description": "A serverless wrapper for h3 applications",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -25,2 +25,4 @@ // src/index.ts

}
// Refs: H3 Response Schema
// - https://h3.unjs.io/adapters/plain
const handler = toPlainHandler(app);

@@ -54,9 +56,5 @@ const response = await handler({

// console.log('Final headers object:', headersObject);
// console.log('Final multiValueHeaders object:', multiValueHeadersObject);
console.log(JSON.stringify({ app }))
console.log(JSON.stringify({ response }))
console.log(JSON.stringify({ event }))
// Refs: Lambda Response Schema
// - https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html
return {

@@ -63,0 +61,0 @@ statusCode: response.status,