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

grpc_tools_node_protoc_ts

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grpc_tools_node_protoc_ts - npm Package Compare versions

Comparing version 5.1.2 to 5.1.3

6

build/index.js

@@ -15,3 +15,2 @@ "use strict";

const TplEngine_1 = require("./lib/TplEngine");
const MsgRender_1 = require("./lib/template/MsgRender");
Utility_1.Utility.withAllStdIn((inputBuff) => {

@@ -36,7 +35,2 @@ try {

const msgModel = ProtoMsgTsdFormatter_1.ProtoMsgTsdFormatter.format(fileNameToDescriptor[fileName], exportMap);
// FIXME
const fs = require("fs");
const { inspect } = require("util");
fs.writeFileSync("/tmp/console.txt", inspect(msgModel, { showHidden: true, depth: null }));
fs.writeFileSync("/tmp/msg.d.ts", new MsgRender_1.MsgRender(msgModel).render());
msgTsdFile.setContent(TplEngine_1.TplEngine.render("msg_tsd", msgModel));

@@ -43,0 +37,0 @@ codeGenResponse.addFile(msgTsdFile);

2

package.json
{
"name": "grpc_tools_node_protoc_ts",
"version": "5.1.2",
"version": "5.1.3",
"description": "Generate d.ts definitions for generated js files from grpc_tools_node_protoc",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -465,2 +465,5 @@ grpc_tools_node_protoc_ts

## Changes
### 5.1.3
Fix wrong publishing, 5.1.2 contains some temp compiled codes. See: [Issue#89](https://github.com/agreatfool/grpc_tools_node_protoc_ts/issues/89).
### 5.1.2

@@ -467,0 +470,0 @@ Fix `Extension` and `JsPbMessageId` issue, see: [Issue#84](https://github.com/agreatfool/grpc_tools_node_protoc_ts/issues/84), and [PR#87](https://github.com/agreatfool/grpc_tools_node_protoc_ts/pull/87).

@@ -15,3 +15,2 @@ /**

import {TplEngine} from "./lib/TplEngine";
import {MsgRender} from "./lib/template/MsgRender";

@@ -42,9 +41,2 @@ Utility.withAllStdIn((inputBuff: Buffer) => {

const msgModel = ProtoMsgTsdFormatter.format(fileNameToDescriptor[fileName], exportMap);
// FIXME
const fs = require("fs");
const { inspect } = require("util");
fs.writeFileSync("/tmp/console.txt", inspect(msgModel, { showHidden: true, depth: null }));
fs.writeFileSync("/tmp/msg.d.ts", new MsgRender(msgModel).render());
msgTsdFile.setContent(TplEngine.render("msg_tsd", msgModel));

@@ -51,0 +43,0 @@ codeGenResponse.addFile(msgTsdFile);

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