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.181.1 to 1.181.2

1

build/enums.d.ts

@@ -10,2 +10,3 @@ import { Code } from "ts-poet";

name: string;
originalName: string;
};

@@ -12,0 +13,0 @@ export declare function generateEnum(ctx: Context, fullName: string, enumDesc: EnumDescriptorProto, sourceInfo: SourceInfo): Code;

4

build/enums.js

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

if (valueDesc.number === options.unrecognizedEnumValue) {
unrecognizedEnum = { present: true, name: memberName };
unrecognizedEnum = { present: true, name: memberName, originalName: valueName };
}

@@ -159,3 +159,3 @@ (0, utils_1.maybeAddComment)(options, info, chunks, valueDesc.options?.deprecated, `${memberName} - `);

default:
return "${unrecognizedEnum.name}";
return "${unrecognizedEnum.originalName}";
`);

@@ -162,0 +162,0 @@ }

{
"name": "ts-proto",
"version": "1.181.1",
"version": "1.181.2",
"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