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

grpc-code-gen

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grpc-code-gen - npm Package Compare versions

Comparing version 5.0.5 to 5.0.6

2

build/genGrpcObj.js

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

`import * as grpc from '${grpcNpmName}';`,
`import { Status } from '${grpcNpmName}/build/src/constants';`,
grpcNpmName === 'grpc' ? `const { Status } = require('${grpcNpmName}/src/constants');` : `import { Status } from '${grpcNpmName}/build/src/constants';`,
`import * as fs from 'fs';`,

@@ -13,0 +13,0 @@ `import { forOwn } from 'lodash';`,

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

Object.keys(metadata).forEach((keyName) => {
metadataIns.add(keyName, metadata[keyName] as string);
metadataIns.add(keyName, '' + metadata[keyName]);
});

@@ -29,0 +29,0 @@ }

{
"name": "grpc-code-gen",
"version": "5.0.5",
"version": "5.0.6",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": "https://github.com/yunkeCN/grpc-code-gen.git",

@@ -14,3 +14,3 @@ import { fileTip, getImportPath, tslintDisable } from "./utils";

`import * as grpc from '${grpcNpmName}';`,
`import { Status } from '${grpcNpmName}/build/src/constants';`,
grpcNpmName === 'grpc' ? `const { Status } = require('${grpcNpmName}/src/constants');` : `import { Status } from '${grpcNpmName}/build/src/constants';`,
`import * as fs from 'fs';`,

@@ -17,0 +17,0 @@ `import { forOwn } from 'lodash';`,

@@ -29,3 +29,3 @@ import { fileTip, getImportPath, tslintDisable } from "./utils";

Object.keys(metadata).forEach((keyName) => {
metadataIns.add(keyName, metadata[keyName] as string);
metadataIns.add(keyName, '' + metadata[keyName]);
});

@@ -32,0 +32,0 @@ }

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