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

@silenteer/natsu-port-server

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@silenteer/natsu-port-server - npm Package Compare versions

Comparing version 0.0.37 to 0.0.38

4

dist/index.d.ts

@@ -0,6 +1,8 @@

/// <reference types="node" />
import type { FastifyRequest } from 'fastify';
import 'colors';
import type { NatsPortResponse, NatsPortErrorResponse } from '@silenteer/natsu-type';
export declare type CustomFastifyRequest = FastifyRequest & {
export declare type CustomFastifyRequest = FastifyRequest<any> & {
parts: () => any;
file?: Buffer;
};

@@ -7,0 +9,0 @@ export declare type OnBeforeSendNatsRequest = (request: CustomFastifyRequest) => Promise<void>;

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

const fastify_cors_1 = (0, tslib_1.__importDefault)(require("fastify-cors"));
const fastify_multipart_1 = (0, tslib_1.__importDefault)(require("fastify-multipart"));
const multipart_1 = (0, tslib_1.__importDefault)(require("@fastify/multipart"));
const fastify_websocket_1 = (0, tslib_1.__importDefault)(require("fastify-websocket"));

@@ -40,3 +40,3 @@ require("colors");

})
.register(fastify_multipart_1.default, multipartOptions)
.register(multipart_1.default, multipartOptions)
.register(fastify_websocket_1.default)

@@ -43,0 +43,0 @@ .post(configuration_1.default.httpPath, (request, reply) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {

{
"name": "@silenteer/natsu-port-server",
"version": "0.0.37",
"version": "0.0.38",
"license": "MIT",

@@ -24,2 +24,3 @@ "private": false,

"dependencies": {
"@fastify/multipart": "6.0.0",
"@silenteer/natsu-type": "*",

@@ -32,3 +33,2 @@ "arg": "5.0.1",

"fastify-cors": "6.0.2",
"fastify-multipart": "5.4.0",
"fastify-websocket": "4.0.0",

@@ -35,0 +35,0 @@ "nats": "2.6.1",

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