Socket
Socket
Sign inDemoInstall

tsrpc-cli

Package Overview
Dependencies
64
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0 to 0.4.1

2

index.js

@@ -307,3 +307,3 @@ #!/usr/bin/env node

msgStr = msgs.map(function (v) { return " " + JSON.stringify(v.name) + ": " + v.msg; }).join(',\n');
fileContent = ("\nimport { ServiceProto } from 'tsrpc-proto';\nimport { conf } from './test1';\n" + importStr + "\n\nexport interface ServiceType {\n req: {\n" + reqStr + "\n },\n res: {\n" + resStr + "\n },\n msg: {\n" + msgStr + "\n }\n}\n\nexport const serviceProto: ServiceProto<ServiceType> = " + JSON.stringify(proto, null, 4) + ";\n").trim();
fileContent = ("\nimport { ServiceProto } from 'tsrpc-proto';\n" + importStr + "\n\nexport interface ServiceType {\n req: {\n" + reqStr + "\n },\n res: {\n" + resStr + "\n },\n msg: {\n" + msgStr + "\n }\n}\n\nexport const serviceProto: ServiceProto<ServiceType> = " + JSON.stringify(proto, null, 4) + ";\n").trim();
process.chdir(originalCwd);

@@ -310,0 +310,0 @@ fs.writeFileSync(output, fileContent);

{
"name": "tsrpc-cli",
"version": "0.4.0",
"version": "0.4.1",
"description": "TSRPC CLI Tools",

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

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