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

ts-proto

Package Overview
Dependencies
Maintainers
0
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.180.0 to 1.181.0

2

build/options.d.ts

@@ -102,2 +102,4 @@ import { ToStringOpts } from "ts-poet/build/Code";

bigIntLiteral: boolean;
typePrefix: string;
typeSuffix: string;
};

@@ -104,0 +106,0 @@ export declare function defaultOptions(): Options;

@@ -109,2 +109,4 @@ "use strict";

bigIntLiteral: true,
typePrefix: "",
typeSuffix: "",
};

@@ -111,0 +113,0 @@ }

6

build/visit.js

@@ -14,4 +14,5 @@ "use strict";

const tsFullName = tsPrefix + (0, case_1.maybeSnakeToCamel)(enumDesc.name, options);
const tsFullNameWithAffixes = `${options.typePrefix}${tsFullName}${options.typeSuffix}`;
const nestedSourceInfo = sourceInfo.open(childEnumType, index);
enumFn(tsFullName, enumDesc, nestedSourceInfo, protoFullName);
enumFn(tsFullNameWithAffixes, enumDesc, nestedSourceInfo, protoFullName);
});

@@ -25,4 +26,5 @@ const messages = "messageType" in proto ? proto.messageType : proto.nestedType;

const tsFullName = tsPrefix + (0, case_1.maybeSnakeToCamel)(messageName(message), options);
const tsFullNameWithAffixes = `${options.typePrefix}${tsFullName}${options.typeSuffix}`;
const nestedSourceInfo = sourceInfo.open(childType, index);
messageFn(tsFullName, message, nestedSourceInfo, protoFullName);
messageFn(tsFullNameWithAffixes, message, nestedSourceInfo, protoFullName);
const delim = options.useSnakeTypeName ? "_" : "";

@@ -29,0 +31,0 @@ visit(message, nestedSourceInfo, messageFn, options, enumFn, tsFullName + delim, protoFullName + ".");

{
"name": "ts-proto",
"version": "1.180.0",
"version": "1.181.0",
"description": "",

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

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