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

smee-client

Package Overview
Dependencies
Maintainers
5
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smee-client - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

index.js

@@ -10,2 +10,7 @@ "use strict";

class Client {
source;
target;
fetch;
logger;
events;
constructor({ source, target, logger = console, fetch = global.fetch, }) {

@@ -44,2 +49,3 @@ this.source = source;

headers["content-length"] = Buffer.byteLength(body);
headers["content-type"] = "application/json";
try {

@@ -46,0 +52,0 @@ const response = await this.fetch(url_1.default.format(target), {

10

package.json
{
"name": "smee-client",
"version": "2.0.1",
"version": "2.0.2",
"description": "Client to proxy webhooks to localhost",

@@ -31,12 +31,12 @@ "main": "index.js",

"devDependencies": {
"@octokit/tsconfig": "^2.0.0",
"@octokit/tsconfig": "^3.0.0",
"@types/eventsource": "^1.1.15",
"@types/node": "^18.19.14",
"@types/node": "^20.0.0",
"@types/validator": "^13.11.6",
"@vitest/coverage-v8": "^1.0.0",
"@vitest/coverage-v8": "^2.0.0",
"fastify": "^4.24.3",
"prettier": "^3.1.0",
"typescript": "^5.0.0",
"vitest": "^1.0.0"
"vitest": "^2.0.0"
}
}
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