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

google-protobuf

Package Overview
Dependencies
Maintainers
4
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-protobuf - npm Package Compare versions

Comparing version 3.7.0 to 3.7.1

2

google/protobuf/any_pb.js

@@ -65,3 +65,3 @@ /**

proto.google.protobuf.Any.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
typeUrl: jspb.Message.getFieldWithDefault(msg, 1, ""),

@@ -68,0 +68,0 @@ value: msg.getValue_asB64()

@@ -120,3 +120,3 @@ /**

proto.google.protobuf.Api.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),

@@ -501,3 +501,3 @@ methodsList: jspb.Message.toObjectList(msg.getMethodsList(),

proto.google.protobuf.Method.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),

@@ -815,3 +815,3 @@ requestTypeUrl: jspb.Message.getFieldWithDefault(msg, 2, ""),

proto.google.protobuf.Mixin.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),

@@ -818,0 +818,0 @@ root: jspb.Message.getFieldWithDefault(msg, 2, "")

@@ -133,3 +133,3 @@ /**

proto.google.protobuf.compiler.Version.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
major: jspb.Message.getField(msg, 1),

@@ -415,3 +415,3 @@ minor: jspb.Message.getField(msg, 2),

proto.google.protobuf.compiler.CodeGeneratorRequest.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
fileToGenerateList: jspb.Message.getRepeatedField(msg, 1),

@@ -705,3 +705,3 @@ parameter: jspb.Message.getField(msg, 2),

proto.google.protobuf.compiler.CodeGeneratorResponse.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
error: jspb.Message.getField(msg, 1),

@@ -831,3 +831,3 @@ fileList: jspb.Message.toObjectList(msg.getFileList(),

proto.google.protobuf.compiler.CodeGeneratorResponse.File.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
name: jspb.Message.getField(msg, 1),

@@ -834,0 +834,0 @@ insertionPoint: jspb.Message.getField(msg, 2),

@@ -65,3 +65,3 @@ /**

proto.google.protobuf.Duration.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
seconds: jspb.Message.getFieldWithDefault(msg, 1, 0),

@@ -68,0 +68,0 @@ nanos: jspb.Message.getFieldWithDefault(msg, 2, 0)

@@ -65,3 +65,3 @@ /**

proto.google.protobuf.Empty.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {

@@ -68,0 +68,0 @@ };

@@ -72,3 +72,3 @@ /**

proto.google.protobuf.FieldMask.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
pathsList: jspb.Message.getRepeatedField(msg, 1)

@@ -75,0 +75,0 @@ };

@@ -65,3 +65,3 @@ /**

proto.google.protobuf.SourceContext.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
fileName: jspb.Message.getFieldWithDefault(msg, 1, "")

@@ -68,0 +68,0 @@ };

@@ -110,3 +110,3 @@ /**

proto.google.protobuf.Struct.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
fieldsMap: (f = msg.getFieldsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : []

@@ -271,3 +271,3 @@ };

proto.google.protobuf.Value.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0),

@@ -649,3 +649,3 @@ numberValue: +jspb.Message.getFieldWithDefault(msg, 2, 0.0),

proto.google.protobuf.ListValue.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
valuesList: jspb.Message.toObjectList(msg.getValuesList(),

@@ -652,0 +652,0 @@ proto.google.protobuf.Value.toObject, includeInstance)

@@ -65,3 +65,3 @@ /**

proto.google.protobuf.Timestamp.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
seconds: jspb.Message.getFieldWithDefault(msg, 1, 0),

@@ -68,0 +68,0 @@ nanos: jspb.Message.getFieldWithDefault(msg, 2, 0)

@@ -167,3 +167,3 @@ /**

proto.google.protobuf.Type.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),

@@ -516,3 +516,3 @@ fieldsList: jspb.Message.toObjectList(msg.getFieldsList(),

proto.google.protobuf.Field.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
kind: jspb.Message.getFieldWithDefault(msg, 1, 0),

@@ -951,3 +951,3 @@ cardinality: jspb.Message.getFieldWithDefault(msg, 2, 0),

proto.google.protobuf.Enum.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),

@@ -1256,3 +1256,3 @@ enumvalueList: jspb.Message.toObjectList(msg.getEnumvalueList(),

proto.google.protobuf.EnumValue.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),

@@ -1458,3 +1458,3 @@ number: jspb.Message.getFieldWithDefault(msg, 2, 0),

proto.google.protobuf.Option.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),

@@ -1461,0 +1461,0 @@ value: (f = msg.getValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)

@@ -241,3 +241,3 @@ /**

proto.google.protobuf.DoubleValue.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
value: +jspb.Message.getFieldWithDefault(msg, 1, 0.0)

@@ -367,3 +367,3 @@ };

proto.google.protobuf.FloatValue.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
value: +jspb.Message.getFieldWithDefault(msg, 1, 0.0)

@@ -493,3 +493,3 @@ };

proto.google.protobuf.Int64Value.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
value: jspb.Message.getFieldWithDefault(msg, 1, 0)

@@ -619,3 +619,3 @@ };

proto.google.protobuf.UInt64Value.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
value: jspb.Message.getFieldWithDefault(msg, 1, 0)

@@ -745,3 +745,3 @@ };

proto.google.protobuf.Int32Value.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
value: jspb.Message.getFieldWithDefault(msg, 1, 0)

@@ -871,3 +871,3 @@ };

proto.google.protobuf.UInt32Value.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
value: jspb.Message.getFieldWithDefault(msg, 1, 0)

@@ -997,3 +997,3 @@ };

proto.google.protobuf.BoolValue.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
value: jspb.Message.getFieldWithDefault(msg, 1, false)

@@ -1125,3 +1125,3 @@ };

proto.google.protobuf.StringValue.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
value: jspb.Message.getFieldWithDefault(msg, 1, "")

@@ -1251,3 +1251,3 @@ };

proto.google.protobuf.BytesValue.toObject = function(includeInstance, msg) {
var obj = {
var f, obj = {
value: msg.getValue_asB64()

@@ -1254,0 +1254,0 @@ };

{
"name": "google-protobuf",
"version": "3.7.0",
"version": "3.7.1",
"description": "Protocol Buffers for JavaScript",

@@ -5,0 +5,0 @@ "main": "google-protobuf.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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