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

grpc-reflection-js

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grpc-reflection-js - npm Package Compare versions

Comparing version 0.0.5 to 0.0.7

4

build/src/client.d.ts

@@ -1,2 +0,2 @@

import * as grpc from 'grpc';
import { ChannelCredentials } from '@grpc/grpc-js';
import * as services from './reflection_grpc_pb';

@@ -6,5 +6,5 @@ import { Root } from 'protobufjs';

grpcClient: services.IServerReflectionClient;
constructor(url: string, credentials: grpc.ChannelCredentials, options?: object);
constructor(url: string, credentials: ChannelCredentials, options?: object);
listServices(): Promise<string[] | void[]>;
fileContainingSymbol(symbol: string): Promise<Root>;
}

@@ -1,2 +0,1 @@

/// <reference types="grpc" />
export namespace ServerReflectionService {

@@ -15,3 +14,3 @@ export namespace serverReflectionInfo {

}
export var ServerReflectionClient: typeof import("grpc").Client;
export var ServerReflectionClient: import("@grpc/grpc-js/build/src/make-client").ServiceClientConstructor;
declare function serialize_grpc_reflection_v1alpha_ServerReflectionRequest(arg: any): Buffer;

@@ -18,0 +17,0 @@ declare function deserialize_grpc_reflection_v1alpha_ServerReflectionRequest(buffer_arg: any): import("./reflection_pb.js").ServerReflectionRequest;

@@ -20,3 +20,3 @@ // GENERATED CODE -- DO NOT EDIT!

'use strict';
var grpc = require('grpc');
var grpc = require('@grpc/grpc-js');
var reflection_pb = require('./reflection_pb.js');

@@ -23,0 +23,0 @@ function serialize_grpc_reflection_v1alpha_ServerReflectionRequest(arg) {

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

const client_1 = require("../src/client");
const grpc = __importStar(require("grpc"));
const grpc_js_1 = require("@grpc/grpc-js");
// eslint-disable-next-line node/no-unpublished-import

@@ -33,3 +33,3 @@ const chai_1 = require("chai");

it('should return services', async () => {
const reflectionClient = new client_1.Client('localhost:4770', grpc.credentials.createInsecure());
const reflectionClient = new client_1.Client('localhost:4770', grpc_js_1.credentials.createInsecure());
const grpcCall = {

@@ -36,0 +36,0 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any

{
"name": "grpc-reflection-js",
"version": "0.0.5",
"version": "0.0.7",
"main": "build/src/index.js",

@@ -9,6 +9,6 @@ "repository": "https://github.com/redhoyasa/grpc-reflection-js",

"dependencies": {
"@grpc/grpc-js": "^1.1.7",
"@types/google-protobuf": "^3.7.2",
"@types/lodash.set": "^4.3.6",
"google-protobuf": "^3.12.2",
"grpc": "^1.24.2",
"lodash.set": "^4.3.2",

@@ -30,3 +30,4 @@ "protobufjs": "^6.9.0"

"eslint-plugin-prettier": "^3.1.3",
"grpc_tools_node_protoc_ts": "^4.0.0",
"grpc-tools": "^1.9.1",
"grpc_tools_node_protoc_ts": "^5.0.0",
"gts": "^2.0.2",

@@ -36,3 +37,2 @@ "mocha": "^7.2.0",

"prettier": "^2.0.5",
"protoc-gen-grpc": "^1.4.0",
"sinon": "^9.0.2",

@@ -52,5 +52,3 @@ "ts-node": "^8.10.2",

"posttest": "yarn run check",
"protoc-pb": "protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./src --ts_out=./src -I ./static/grpc/reflection/v1alpha reflection.proto",
"protoc-grpc": "protoc-gen-grpc --js_out=import_style=commonjs,binary:./src --grpc_out=./src -I ./static/grpc/reflection/v1alpha reflection.proto",
"protoc": "yarn run protoc-pb && yarn run protoc-grpc",
"protoc": "grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./src --grpc_out=grpc_js:./src --ts_out=grpc_js:./src --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts -I ./static/grpc/reflection/v1alpha reflection.proto",
"build": "yarn run compile && yarn run fix && yarn run check"

@@ -57,0 +55,0 @@ },

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 too big to display

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