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

ts-proto

Package Overview
Dependencies
Maintainers
1
Versions
356
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-proto - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

build/main.js

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

.addStatement('const data = %L.encode(request).finish()', requestType(typeMap, methodDesc))
.addStatement('const promise = this.rpc.request(%S, %S, %L)', serviceDesc.name, methodDesc.name, 'data')
.addStatement('const promise = this.rpc.request("%L.%L", %S, %L)', fileDesc.package, serviceDesc.name, methodDesc.name, 'data')
.addStatement('return promise.then(data => %L.decode(new Reader(data)))', responseType(typeMap, methodDesc))

@@ -277,0 +277,0 @@ .returns(responsePromise(typeMap, methodDesc)));

{
"name": "ts-proto",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

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

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