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

@bufbuild/protobuf

Package Overview
Dependencies
Maintainers
10
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bufbuild/protobuf - npm Package Compare versions

Comparing version 2.0.0-beta.3 to 2.0.0

10

dist/cjs/registry.js

@@ -617,2 +617,3 @@ "use strict";

field.message = reg.getMessage(trimLeadingDot(proto.typeName));
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
assert(field.message);

@@ -624,2 +625,3 @@ field.delimitedEncoding = isDelimitedEncoding(proto, parentOrFile);

field.enum = reg.getEnum(trimLeadingDot(proto.typeName));
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
assert(field.enum);

@@ -642,3 +644,5 @@ break;

field.message = reg.getMessage(trimLeadingDot(proto.typeName));
assert(field.message, `invalid FieldDescriptorProto: type_name ${proto.typeName} not found`);
assert(
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
field.message, `invalid FieldDescriptorProto: type_name ${proto.typeName} not found`);
field.delimitedEncoding = isDelimitedEncoding(proto, parentOrFile);

@@ -780,3 +784,5 @@ field.getDefaultValue = () => undefined;

const oneof = allOneofs[proto.oneofIndex];
assert(oneof, `invalid FieldDescriptorProto: oneof #${proto.oneofIndex} for field #${proto.number} not found`);
assert(
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
oneof, `invalid FieldDescriptorProto: oneof #${proto.oneofIndex} for field #${proto.number} not found`);
return oneof;

@@ -783,0 +789,0 @@ }

@@ -611,2 +611,3 @@ // Copyright 2021-2024 Buf Technologies, Inc.

field.message = reg.getMessage(trimLeadingDot(proto.typeName));
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
assert(field.message);

@@ -618,2 +619,3 @@ field.delimitedEncoding = isDelimitedEncoding(proto, parentOrFile);

field.enum = reg.getEnum(trimLeadingDot(proto.typeName));
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
assert(field.enum);

@@ -636,3 +638,5 @@ break;

field.message = reg.getMessage(trimLeadingDot(proto.typeName));
assert(field.message, `invalid FieldDescriptorProto: type_name ${proto.typeName} not found`);
assert(
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
field.message, `invalid FieldDescriptorProto: type_name ${proto.typeName} not found`);
field.delimitedEncoding = isDelimitedEncoding(proto, parentOrFile);

@@ -774,3 +778,5 @@ field.getDefaultValue = () => undefined;

const oneof = allOneofs[proto.oneofIndex];
assert(oneof, `invalid FieldDescriptorProto: oneof #${proto.oneofIndex} for field #${proto.number} not found`);
assert(
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
oneof, `invalid FieldDescriptorProto: oneof #${proto.oneofIndex} for field #${proto.number} not found`);
return oneof;

@@ -777,0 +783,0 @@ }

2

package.json
{
"name": "@bufbuild/protobuf",
"version": "2.0.0-beta.3",
"version": "2.0.0",
"license": "(Apache-2.0 AND BSD-3-Clause)",

@@ -5,0 +5,0 @@ "description": "A complete implementation of Protocol Buffers in TypeScript, suitable for web browsers and Node.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