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

@join-com/grpc

Package Overview
Dependencies
Maintainers
32
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@join-com/grpc - npm Package Compare versions

Comparing version 3.3.8-alpha.1 to 3.3.8

3

dist/Service.d.ts

@@ -27,5 +27,2 @@ import * as grpc from '@grpc/grpc-js';

private logCall;
prepareMetadata(metadata: grpc.Metadata): {
[key: string]: grpc.MetadataValue;
};
private reformatError;

@@ -32,0 +29,0 @@ private handleError;

@@ -132,8 +132,3 @@ "use strict";

if (!(result instanceof Error)) {
this.logger.info(`GRPC Service ${methodDefinition.path}`, {
request,
response,
latency,
requestMetadata: this.prepareMetadata(call.metadata),
});
this.logger.info(`GRPC Service ${methodDefinition.path}`, { request, response, latency });
}

@@ -143,13 +138,5 @@ else {

const logger = (0, severityLogger_1.severityLogger)(this.logger);
logger.log(severity, `GRPC Service ${methodDefinition.path}`, {
request,
error: response,
latency,
requestMetadata: this.prepareMetadata(call.metadata),
});
logger.log(severity, `GRPC Service ${methodDefinition.path}`, { request, error: response, latency });
}
}
prepareMetadata(metadata) {
return metadata?.getMap();
}
reformatError(error) {

@@ -193,3 +180,3 @@ if (!(error instanceof Error)) {

getDisableServices(metadata) {
const metadataValue = metadata.get('chaos_mode.disable_services');
const metadataValue = metadata.get('uberctx-disable-services');
if (metadataValue.length === 1) {

@@ -196,0 +183,0 @@ const val = metadataValue[0];

2

package.json
{
"name": "@join-com/grpc",
"version": "3.3.8-alpha.1",
"version": "3.3.8",
"description": "gRPC library",

@@ -5,0 +5,0 @@ "author": "JOIN Solutions",

Sorry, the diff of this file is not supported yet

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