Socket
Socket
Sign inDemoInstall

protocat

Package Overview
Dependencies
37
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.1 to 0.6.2

8

dist/lib/misc/type-helpers.d.ts
/// <reference types="node" />
import { EventEmitter } from 'events';
declare type KnownKeys<T> = {
declare type KnownKeys<T> = ({
[K in keyof T]: string extends K ? never : number extends K ? never : K;
} extends {
[_ in keyof T]: infer U;
} ? U : never;
declare type NeverKeys<T> = {
} ? U : never) & keyof T;
declare type NeverKeys<T> = ({
[K in keyof T]: T[K] extends never ? never : K;
} extends {
[_ in keyof T]: infer U;
} ? U : never;
} ? U : never) & keyof T;
export declare type RemoveIdxSgn<T> = Pick<T, KnownKeys<T>>;

@@ -14,0 +14,0 @@ export declare type OmitNeverKeys<T> = Pick<T, NeverKeys<T>>;

@@ -13,3 +13,2 @@ // package: cats

serializeBinary(): Uint8Array;

@@ -16,0 +15,0 @@ toObject(includeInstance?: boolean): Cat.AsObject;

@@ -5,2 +5,3 @@ // source: type/cat.proto

* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or

@@ -7,0 +8,0 @@ * field starts with 'MSG_' and isn't a translatable message.

@@ -14,3 +14,2 @@ // package: cats.v1

serializeBinary(): Uint8Array;

@@ -53,3 +52,2 @@ toObject(includeInstance?: boolean): GetCatRequest.AsObject;

serializeBinary(): Uint8Array;

@@ -74,7 +72,5 @@ toObject(includeInstance?: boolean): FeedCatsRequest.AsObject;

setLng(value: number): ShareLocationRequest;
getLat(): number;
setLat(value: number): ShareLocationRequest;
serializeBinary(): Uint8Array;

@@ -101,3 +97,2 @@ toObject(includeInstance?: boolean): ShareLocationRequest.AsObject;

serializeBinary(): Uint8Array;

@@ -104,0 +99,0 @@ toObject(includeInstance?: boolean): ShareLocationResponse.AsObject;

@@ -5,2 +5,3 @@ // source: v1/cat.proto

* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or

@@ -7,0 +8,0 @@ * field starts with 'MSG_' and isn't a translatable message.

@@ -13,3 +13,2 @@ // package: cats.v1

serializeBinary(): Uint8Array;

@@ -16,0 +15,0 @@ toObject(includeInstance?: boolean): Hello.AsObject;

@@ -5,2 +5,3 @@ // source: v1/hello.proto

* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or

@@ -7,0 +8,0 @@ * field starts with 'MSG_' and isn't a translatable message.

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

unary,
...{},
...{}, // we skip def on non-unary
});

@@ -31,0 +31,0 @@ app.use(cache_1.createCache(cache, (call, hit, hash) => {

{
"name": "protocat",
"description": "Modern, minimalist type-safe gRPC framework for Node.js",
"version": "0.6.1",
"version": "0.6.2",
"author": "Jaroslav Šmolík <grissius@gmail.com>",

@@ -60,4 +60,4 @@ "main": "./dist/index.js",

"typedoc-plugin-markdown": "^3.0.11",
"typescript": "^4.1.3"
"typescript": "^4.2.3"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc