Socket
Socket
Sign inDemoInstall

nice-grpc-client-middleware-deadline

Package Overview
Dependencies
2
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.9 to 2.0.10

3

lib/index.js

@@ -11,3 +11,4 @@ "use strict";

const deadlineMiddleware = async function* deadlineMiddleware(call, options) {
if (options.deadline == null) {
var _a;
if (options.deadline == null || ((_a = options.signal) === null || _a === void 0 ? void 0 : _a.aborted)) {
return yield* call.next(call.request, options);

@@ -14,0 +15,0 @@ }

{
"name": "nice-grpc-client-middleware-deadline",
"version": "2.0.9",
"version": "2.0.10",
"description": "Deadline client middleware for nice-grpc",

@@ -36,3 +36,3 @@ "repository": "deeplay-io/nice-grpc",

},
"gitHead": "fa26b226f2ab9f5cdaae1773b0064d7d4c84544a"
"gitHead": "b562ecbc16c38e23668c0589a38f8e64a858d153"
}

@@ -21,3 +21,3 @@ import {ClientError, ClientMiddleware, Status} from 'nice-grpc-common';

async function* deadlineMiddleware(call, options) {
if (options.deadline == null) {
if (options.deadline == null || options.signal?.aborted) {
return yield* call.next(call.request, options);

@@ -24,0 +24,0 @@ }

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc