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

@protobuf-ts/runtime

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@protobuf-ts/runtime - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0

6

build/commonjs/reflection-merge-partial.js

@@ -25,3 +25,3 @@ "use strict";

const group = input[field.oneof]; // this is the oneof`s group in the source
if (group === undefined) { // the user is free to omit
if (group == undefined) { // the user is free to omit
continue; // we skip this field, and all other members too

@@ -32,3 +32,3 @@ }

output.oneofKind = group.oneofKind; // always update discriminator
if (fieldValue === undefined) {
if (fieldValue == undefined) {
delete output[name]; // remove any existing value

@@ -41,3 +41,3 @@ continue; // skip further work on field

output = target; // we want our field value to go directly into the target
if (fieldValue === undefined) {
if (fieldValue == undefined) {
continue; // skip further work on field, existing value is used as is

@@ -44,0 +44,0 @@ }

@@ -22,3 +22,3 @@ /**

const group = input[field.oneof]; // this is the oneof`s group in the source
if (group === undefined) { // the user is free to omit
if (group == undefined) { // the user is free to omit
continue; // we skip this field, and all other members too

@@ -29,3 +29,3 @@ }

output.oneofKind = group.oneofKind; // always update discriminator
if (fieldValue === undefined) {
if (fieldValue == undefined) {
delete output[name]; // remove any existing value

@@ -38,3 +38,3 @@ continue; // skip further work on field

output = target; // we want our field value to go directly into the target
if (fieldValue === undefined) {
if (fieldValue == undefined) {
continue; // skip further work on field, existing value is used as is

@@ -41,0 +41,0 @@ }

{
"name": "@protobuf-ts/runtime",
"version": "2.5.0",
"version": "2.6.0",
"description": "Runtime library for code generated by the protoc plugin \"protobuf-ts\"",

@@ -40,3 +40,3 @@ "license": "(Apache-2.0 AND BSD-3-Clause)",

},
"gitHead": "63ea42785d879a32021268b1b318803df3ab391d"
"gitHead": "1c44863223b3fcbaf59997affcd87a233b8261fb"
}
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