Comparing version 2.2.4 to 2.2.5
@@ -191,4 +191,4 @@ "use strict"; | ||
const value = encodedOptions[key]; | ||
const extension = extensionCache[extendee][parseInt(key, 10) >>> 3]; | ||
if (shouldAddOptionDefinition(ctx, extension)) { | ||
const extension = extensionCache[extendee]?.[parseInt(key, 10) >>> 3]; | ||
if (extension && shouldAddOptionDefinition(ctx, extension)) { | ||
// todo: we should be able to create an option definition ALWAYS, however, | ||
@@ -195,0 +195,0 @@ // we currently cannot do that because the if the extension is a sub-message |
{ | ||
"name": "ts-proto", | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/src/plugin.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
654040