@bufbuild/protobuf
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -20,2 +20,3 @@ "use strict"; | ||
const scalars_js_1 = require("./private/scalars.js"); | ||
const reify_wkt_js_1 = require("./private/reify-wkt.js"); | ||
const packageName = "@bufbuild/protobuf"; | ||
@@ -25,2 +26,3 @@ exports.codegenInfo = { | ||
localName: names_js_1.localName, | ||
reifyWkt: reify_wkt_js_1.reifyWkt, | ||
getUnwrappedFieldType: field_wrapper_js_1.getUnwrappedFieldType, | ||
@@ -27,0 +29,0 @@ scalarDefaultValue: scalars_js_1.scalarDefaultValue, |
@@ -173,2 +173,5 @@ "use strict"; | ||
} | ||
if (Object.keys(json).length == 0) { | ||
return this; | ||
} | ||
const typeUrl = json["@type"]; | ||
@@ -175,0 +178,0 @@ if (typeof typeUrl != "string" || typeUrl == "") { |
@@ -17,3 +17,3 @@ "use strict"; | ||
exports.ListValue = exports.Value = exports.Struct = exports.NullValue = void 0; | ||
// @generated by protoc-gen-es v0.2.0 with parameter "bootstrap_wkt=true,ts_nocheck=false,target=ts" | ||
// @generated by protoc-gen-es v0.2.1 with parameter "bootstrap_wkt=true,ts_nocheck=false,target=ts" | ||
// @generated from file google/protobuf/struct.proto (package google.protobuf, syntax proto3) | ||
@@ -20,0 +20,0 @@ /* eslint-disable */ |
@@ -17,3 +17,3 @@ "use strict"; | ||
exports.Option = exports.EnumValue = exports.Enum = exports.Field_Cardinality = exports.Field_Kind = exports.Field = exports.Type = exports.Syntax = void 0; | ||
// @generated by protoc-gen-es v0.2.0 with parameter "bootstrap_wkt=true,ts_nocheck=false,target=ts" | ||
// @generated by protoc-gen-es v0.2.1 with parameter "bootstrap_wkt=true,ts_nocheck=false,target=ts" | ||
// @generated from file google/protobuf/type.proto (package google.protobuf, syntax proto3) | ||
@@ -20,0 +20,0 @@ /* eslint-disable */ |
@@ -17,2 +17,3 @@ // Copyright 2021-2022 Buf Technologies, Inc. | ||
import { scalarDefaultValue } from "./private/scalars.js"; | ||
import { reifyWkt } from "./private/reify-wkt.js"; | ||
const packageName = "@bufbuild/protobuf"; | ||
@@ -22,2 +23,3 @@ export const codegenInfo = { | ||
localName, | ||
reifyWkt, | ||
getUnwrappedFieldType, | ||
@@ -24,0 +26,0 @@ scalarDefaultValue, |
@@ -170,2 +170,5 @@ // Copyright 2021-2022 Buf Technologies, Inc. | ||
} | ||
if (Object.keys(json).length == 0) { | ||
return this; | ||
} | ||
const typeUrl = json["@type"]; | ||
@@ -172,0 +175,0 @@ if (typeof typeUrl != "string" || typeUrl == "") { |
@@ -14,3 +14,3 @@ // Copyright 2021-2022 Buf Technologies, Inc. | ||
// limitations under the License. | ||
// @generated by protoc-gen-es v0.2.0 with parameter "bootstrap_wkt=true,ts_nocheck=false,target=ts" | ||
// @generated by protoc-gen-es v0.2.1 with parameter "bootstrap_wkt=true,ts_nocheck=false,target=ts" | ||
// @generated from file google/protobuf/struct.proto (package google.protobuf, syntax proto3) | ||
@@ -17,0 +17,0 @@ /* eslint-disable */ |
@@ -14,3 +14,3 @@ // Copyright 2021-2022 Buf Technologies, Inc. | ||
// limitations under the License. | ||
// @generated by protoc-gen-es v0.2.0 with parameter "bootstrap_wkt=true,ts_nocheck=false,target=ts" | ||
// @generated by protoc-gen-es v0.2.1 with parameter "bootstrap_wkt=true,ts_nocheck=false,target=ts" | ||
// @generated from file google/protobuf/type.proto (package google.protobuf, syntax proto3) | ||
@@ -17,0 +17,0 @@ /* eslint-disable */ |
import { localName } from "./private/names.js"; | ||
import { getUnwrappedFieldType } from "./private/field-wrapper.js"; | ||
import { scalarDefaultValue } from "./private/scalars.js"; | ||
import { reifyWkt } from "./private/reify-wkt.js"; | ||
interface CodegenInfo { | ||
@@ -11,2 +12,3 @@ readonly packageName: string; | ||
readonly scalarDefaultValue: typeof scalarDefaultValue; | ||
readonly reifyWkt: typeof reifyWkt; | ||
} | ||
@@ -13,0 +15,0 @@ declare type RuntimeSymbolName = "proto2" | "proto3" | "Message" | "PartialMessage" | "PlainMessage" | "FieldList" | "MessageType" | "BinaryReadOptions" | "BinaryWriteOptions" | "JsonReadOptions" | "JsonWriteOptions" | "JsonValue" | "JsonObject" | "protoInt64" | "ScalarType" | "MethodKind" | "MethodIdempotency"; |
{ | ||
"name": "@bufbuild/protobuf", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"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.", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
985337
159
25054