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
1
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 1.0.1 to 1.0.2

6

dist/index.js

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

Object.defineProperty(exports, "__esModule", { value: true });
// index.ts
// src/index.ts
const h3_1 = require("h3");

@@ -18,3 +18,3 @@ const toPascalCase = (str) => {

.toLowerCase()
.replace(/(^\w|-\w)/g, (match) => match.toUpperCase().replace('-', ''));
.replace(/(^\w|-\w)/g, (match) => match.toUpperCase().replace("-", ""));
};

@@ -39,3 +39,3 @@ function serverless(app) {

headers: headersObject,
body: response.body
body: response.body,
};

@@ -42,0 +42,0 @@ });

{
"name": "serverless-h3",
"version": "1.0.1",
"version": "1.0.2",
"description": "A serverless wrapper for h3 applications",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
},
"author": "Your Name",

@@ -20,3 +16,6 @@ "license": "MIT",

"@types/serviceworker": "^0.0.1"
},
"scripts": {
"build": "tsc"
}
}
}

@@ -1,2 +0,2 @@

// index.ts
// src/index.ts
import { toPlainHandler } from "h3";

@@ -7,3 +7,3 @@

.toLowerCase()
.replace(/(^\w|-\w)/g, (match) => match.toUpperCase().replace('-', ''));
.replace(/(^\w|-\w)/g, (match) => match.toUpperCase().replace("-", ""));
};

@@ -16,3 +16,3 @@

...event,
method: event.httpMethod
method: event.httpMethod,
});

@@ -34,5 +34,6 @@

headers: headersObject,
body: response.body
body: response.body,
};
};
}
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