Socket
Socket
Sign inDemoInstall

ts-proto

Package Overview
Dependencies
19
Maintainers
1
Versions
342
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.177.0 to 1.178.0

2

build/options.d.ts

@@ -71,3 +71,3 @@ import { ToStringOpts } from "ts-poet/build/Code";

exportCommonSymbols: boolean;
outputSchema: boolean;
outputSchema: boolean | "no-file-descriptor";
onlyTypes: boolean;

@@ -74,0 +74,0 @@ emitImportedFiles: boolean;

@@ -31,4 +31,3 @@ "use strict";

export interface ProtoMetadata {
fileDescriptor: ${fileDescriptorProto};
references: { [key: string]: any };
${ctx.options.outputSchema !== "no-file-descriptor" ? (0, ts_poet_1.code) `fileDescriptor: ${fileDescriptorProto};\n` : ""}references: { [key: string]: any };
dependencies?: ProtoMetadata[];

@@ -146,4 +145,5 @@ options?: {

export const ${(0, ts_poet_1.def)("protoMetadata")}: ProtoMetadata = {
fileDescriptor: ${fileDescriptorProto}.fromPartial(${descriptor}),
references: { ${(0, ts_poet_1.joinCode)(references, { on: "," })} },
${ctx.options.outputSchema !== "no-file-descriptor"
? (0, ts_poet_1.code) `fileDescriptor: ${fileDescriptorProto}.fromPartial(${descriptor}),\n`
: ""}references: { ${(0, ts_poet_1.joinCode)(references, { on: "," })} },
dependencies: [${(0, ts_poet_1.joinCode)(dependencies, { on: "," })}],

@@ -150,0 +150,0 @@ ${fileOptions || messagesOptions.length > 0 || servicesOptions.length > 0 || enumsOptions.length > 0

{
"name": "ts-proto",
"version": "1.177.0",
"version": "1.178.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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc