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

@types/google-protobuf

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/google-protobuf - npm Package Compare versions

Comparing version 3.15.11 to 3.15.12

108

google-protobuf/index.d.ts

@@ -7,2 +7,4 @@ type ByteSource = ArrayBuffer | Uint8Array | number[] | string;

interface FieldValueArray extends Array<FieldValue> {}
type ReadonlyFieldValue = string | number | boolean | Uint8Array | ReadonlyFieldValueArray | undefined;
interface ReadonlyFieldValueArray extends ReadonlyArray<FieldValue> {}

@@ -60,3 +62,3 @@ export abstract class Message {

fieldNumber: number,
value: FieldValue,
value: ReadonlyFieldValue,
): void;

@@ -73,3 +75,3 @@ static addToRepeatedField(

oneof: number[],
value: FieldValue,
value: ReadonlyFieldValue,
): void;

@@ -102,3 +104,3 @@ static computeOneofCase(msg: Message, oneof: number[]): number;

fieldNumber: number,
value?: T[],
value?: readonly T[],
): void;

@@ -373,52 +375,52 @@ static addToRepeatedWrapperField<T extends Message>(

writeVarintHash64(field: number, value?: string): void;
writeRepeatedInt32(field: number, value?: number[]): void;
writeRepeatedInt32String(field: number, value?: string[]): void;
writeRepeatedInt64(field: number, value?: number[]): void;
writeRepeatedInt64String(field: number, value?: string[]): void;
writeRepeatedUint32(field: number, value?: number[]): void;
writeRepeatedUint32String(field: number, value?: string[]): void;
writeRepeatedUint64(field: number, value?: number[]): void;
writeRepeatedUint64String(field: number, value?: string[]): void;
writeRepeatedSint32(field: number, value?: number[]): void;
writeRepeatedSint64(field: number, value?: number[]): void;
writeRepeatedSint64String(field: number, value?: string[]): void;
writeRepeatedFixed32(field: number, value?: number[]): void;
writeRepeatedFixed64(field: number, value?: number[]): void;
writeRepeatedFixed64String(field: number, value?: string[]): void;
writeRepeatedSfixed32(field: number, value?: number[]): void;
writeRepeatedSfixed64(field: number, value?: number[]): void;
writeRepeatedSfixed64String(field: number, value?: string[]): void;
writeRepeatedFloat(field: number, value?: number[]): void;
writeRepeatedDouble(field: number, value?: number[]): void;
writeRepeatedBool(field: number, value?: boolean[]): void;
writeRepeatedEnum(field: number, value?: number[]): void;
writeRepeatedString(field: number, value?: string[]): void;
writeRepeatedBytes(field: number, value?: ByteSource[]): void;
writeRepeatedMessage(field: number, value: Message[], writerCallback: BinaryWriteCallback): void;
writeRepeatedGroup(field: number, value: Message[], writerCallback: BinaryWriteCallback): void;
writeRepeatedFixedHash64(field: number, value?: string[]): void;
writeRepeatedVarintHash64(field: number, value?: string[]): void;
writePackedInt32(field: number, value?: number[]): void;
writePackedInt32String(field: number, value?: string[]): void;
writePackedInt64(field: number, value?: number[]): void;
writePackedInt64String(field: number, value?: string[]): void;
writePackedUint32(field: number, value?: number[]): void;
writePackedUint32String(field: number, value?: string[]): void;
writePackedUint64(field: number, value?: number[]): void;
writePackedUint64String(field: number, value?: string[]): void;
writePackedSint32(field: number, value?: number[]): void;
writePackedSint64(field: number, value?: number[]): void;
writePackedSint64String(field: number, value?: string[]): void;
writePackedFixed32(field: number, value?: number[]): void;
writePackedFixed64(field: number, value?: number[]): void;
writePackedFixed64String(field: number, value?: string[]): void;
writePackedSfixed32(field: number, value?: number[]): void;
writePackedSfixed64(field: number, value?: number[]): void;
writePackedSfixed64String(field: number, value?: string[]): void;
writePackedFloat(field: number, value?: number[]): void;
writePackedDouble(field: number, value?: number[]): void;
writePackedBool(field: number, value?: boolean[]): void;
writePackedEnum(field: number, value?: number[]): void;
writePackedFixedHash64(field: number, value?: string[]): void;
writePackedVarintHash64(field: number, value?: string[]): void;
writeRepeatedInt32(field: number, value?: readonly number[]): void;
writeRepeatedInt32String(field: number, value?: readonly string[]): void;
writeRepeatedInt64(field: number, value?: readonly number[]): void;
writeRepeatedInt64String(field: number, value?: readonly string[]): void;
writeRepeatedUint32(field: number, value?: readonly number[]): void;
writeRepeatedUint32String(field: number, value?: readonly string[]): void;
writeRepeatedUint64(field: number, value?: readonly number[]): void;
writeRepeatedUint64String(field: number, value?: readonly string[]): void;
writeRepeatedSint32(field: number, value?: readonly number[]): void;
writeRepeatedSint64(field: number, value?: readonly number[]): void;
writeRepeatedSint64String(field: number, value?: readonly string[]): void;
writeRepeatedFixed32(field: number, value?: readonly number[]): void;
writeRepeatedFixed64(field: number, value?: readonly number[]): void;
writeRepeatedFixed64String(field: number, value?: readonly string[]): void;
writeRepeatedSfixed32(field: number, value?: readonly number[]): void;
writeRepeatedSfixed64(field: number, value?: readonly number[]): void;
writeRepeatedSfixed64String(field: number, value?: readonly string[]): void;
writeRepeatedFloat(field: number, value?: readonly number[]): void;
writeRepeatedDouble(field: number, value?: readonly number[]): void;
writeRepeatedBool(field: number, value?: readonly boolean[]): void;
writeRepeatedEnum(field: number, value?: readonly number[]): void;
writeRepeatedString(field: number, value?: readonly string[]): void;
writeRepeatedBytes(field: number, value?: readonly ByteSource[]): void;
writeRepeatedMessage(field: number, value: readonly Message[], writerCallback: BinaryWriteCallback): void;
writeRepeatedGroup(field: number, value: readonly Message[], writerCallback: BinaryWriteCallback): void;
writeRepeatedFixedHash64(field: number, value?: readonly string[]): void;
writeRepeatedVarintHash64(field: number, value?: readonly string[]): void;
writePackedInt32(field: number, value?: readonly number[]): void;
writePackedInt32String(field: number, value?: readonly string[]): void;
writePackedInt64(field: number, value?: readonly number[]): void;
writePackedInt64String(field: number, value?: readonly string[]): void;
writePackedUint32(field: number, value?: readonly number[]): void;
writePackedUint32String(field: number, value?: readonly string[]): void;
writePackedUint64(field: number, value?: readonly number[]): void;
writePackedUint64String(field: number, value?: readonly string[]): void;
writePackedSint32(field: number, value?: readonly number[]): void;
writePackedSint64(field: number, value?: readonly number[]): void;
writePackedSint64String(field: number, value?: readonly string[]): void;
writePackedFixed32(field: number, value?: readonly number[]): void;
writePackedFixed64(field: number, value?: readonly number[]): void;
writePackedFixed64String(field: number, value?: readonly string[]): void;
writePackedSfixed32(field: number, value?: readonly number[]): void;
writePackedSfixed64(field: number, value?: readonly number[]): void;
writePackedSfixed64String(field: number, value?: readonly string[]): void;
writePackedFloat(field: number, value?: readonly number[]): void;
writePackedDouble(field: number, value?: readonly number[]): void;
writePackedBool(field: number, value?: readonly boolean[]): void;
writePackedEnum(field: number, value?: readonly number[]): void;
writePackedFixedHash64(field: number, value?: readonly string[]): void;
writePackedVarintHash64(field: number, value?: readonly string[]): void;
}

@@ -425,0 +427,0 @@

{
"name": "@types/google-protobuf",
"version": "3.15.11",
"version": "3.15.12",
"description": "TypeScript definitions for google-protobuf",

@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google-protobuf",

"dependencies": {},
"typesPublisherContentHash": "dc0f7bc07742d94f14080db86dfec52820e7e8f3e47fa6fb91b3bca917fd12d7",
"typesPublisherContentHash": "aa346debfe2c382b17853b4a060d3903fd0212415ef4b915352d092b2a0df2c6",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT
* Last updated: Tue, 21 Nov 2023 08:36:24 GMT
* Dependencies: none

@@ -14,0 +14,0 @@

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