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
359
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 2.2.5 to 2.2.6

5

build/src/schema.js

@@ -172,3 +172,6 @@ "use strict";

const result = resultBuffer.toString("base64");
return (0, ts_poet_1.code) `'${extension.name}': ${typeName}.decode(Buffer.from('${result}', 'base64'))`;
const encoded = ctx.options.env === options_1.EnvOption.NODE
? (0, ts_poet_1.code) `Buffer.from('${result}', 'base64')`
: (0, ts_poet_1.code) `${ctx.utils.bytesFromBase64}("${result}")`;
return (0, ts_poet_1.code) `'${extension.name}': ${typeName}.decode(${encoded})`;
}

@@ -175,0 +178,0 @@ else {

2

package.json
{
"name": "ts-proto",
"version": "2.2.5",
"version": "2.2.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "build/src/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