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

@ddadaal/tsgrpc-server

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ddadaal/tsgrpc-server - npm Package Compare versions

Comparing version 0.18.2 to 0.19.0

10

CHANGELOG.md
# Changelog
## 0.19.0
### Minor Changes
- e3fcaf3: allow pass in an existing logger when creating server
### Patch Changes
- 99f28ca: don't create a child logger
## 0.18.2

@@ -4,0 +14,0 @@

2

lib/server.d.ts

@@ -10,3 +10,3 @@ import * as grpc from "@grpc/grpc-js";

port?: number;
logger?: pino.LoggerOptions;
logger?: pino.LoggerOptions | pino.Logger;
/**

@@ -13,0 +13,0 @@ * The server credentials used when creating gRPC server

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

this.config = config;
this.logger = (0, pino_1.default)(config.logger).child({ component: "server" });
this.logger = (0, pino_1.default)(config.logger);
this.config.host = this.config.host ?? "0.0.0.0";

@@ -34,0 +34,0 @@ this.config.port = this.config.port ?? 5000;

{
"name": "@ddadaal/tsgrpc-server",
"version": "0.18.2",
"version": "0.19.0",
"description": "A simple gRPC Server Framework for TypeScript Node.js",

@@ -13,4 +13,4 @@ "main": "lib/index.js",

"dependencies": {
"pino": "8.8.0",
"tslib": "2.4.1",
"pino": "8.11.0",
"tslib": "2.5.0",
"@ddadaal/tsgrpc-common": "0.2.1"

@@ -22,3 +22,3 @@ },

"devDependencies": {
"@grpc/grpc-js": "1.8.4"
"@grpc/grpc-js": "1.8.11"
},

@@ -25,0 +25,0 @@ "publishConfig": {

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