Content-Length: 981374 | pFad | http://github.com/npm/cli/commit/88dabc7d1b48b0207c3a938f35a2d2debf748abb

D5 deps: @sigstore/protobuf-specs@0.4.1 · npm/cli@88dabc7 · GitHub
Skip to content

Commit 88dabc7

Browse files
committed
deps: @sigstore/protobuf-specs@0.4.1
1 parent aa165ff commit 88dabc7

File tree

13 files changed

+159
-27
lines changed

13 files changed

+159
-27
lines changed

node_modules/@sigstore/protobuf-specs/dist/__generated__/envelope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
33
// versions:
44
// protoc-gen-ts_proto v2.6.1
5-
// protoc v5.29.3
5+
// protoc v5.29.4
66
// source: envelope.proto
77
Object.defineProperty(exports, "__esModule", { value: true });
88
exports.Signature = exports.Envelope = void 0;

node_modules/@sigstore/protobuf-specs/dist/__generated__/events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
33
// versions:
44
// protoc-gen-ts_proto v2.6.1
5-
// protoc v5.29.3
5+
// protoc v5.29.4
66
// source: events.proto
77
Object.defineProperty(exports, "__esModule", { value: true });
88
exports.CloudEventBatch = exports.CloudEvent_CloudEventAttributeValue = exports.CloudEvent_AttributesEntry = exports.CloudEvent = void 0;

node_modules/@sigstore/protobuf-specs/dist/__generated__/google/api/field_behavior.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
33
// versions:
44
// protoc-gen-ts_proto v2.6.1
5-
// protoc v5.29.3
5+
// protoc v5.29.4
66
// source: google/api/field_behavior.proto
77
Object.defineProperty(exports, "__esModule", { value: true });
88
exports.FieldBehavior = void 0;

node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/any.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
33
// versions:
44
// protoc-gen-ts_proto v2.6.1
5-
// protoc v5.29.3
5+
// protoc v5.29.4
66
// source: google/protobuf/any.proto
77
Object.defineProperty(exports, "__esModule", { value: true });
88
exports.Any = void 0;

node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/descriptor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
33
// versions:
44
// protoc-gen-ts_proto v2.6.1
5-
// protoc v5.29.3
5+
// protoc v5.29.4
66
// source: google/protobuf/descriptor.proto
77
Object.defineProperty(exports, "__esModule", { value: true });
88
exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.FeatureSetDefaults_FeatureSetEditionDefault = exports.FeatureSetDefaults = exports.FeatureSet = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions_FeatureSupport = exports.FieldOptions_EditionDefault = exports.FieldOptions = exports.MessageOptions = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.ExtensionRangeOptions_Declaration = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.GeneratedCodeInfo_Annotation_Semantic = exports.FeatureSet_JsonFormat = exports.FeatureSet_MessageEncoding = exports.FeatureSet_Utf8Validation = exports.FeatureSet_RepeatedFieldEncoding = exports.FeatureSet_EnumType = exports.FeatureSet_FieldPresence = exports.MethodOptions_IdempotencyLevel = exports.FieldOptions_OptionTargetType = exports.FieldOptions_OptionRetention = exports.FieldOptions_JSType = exports.FieldOptions_CType = exports.FileOptions_OptimizeMode = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto_Type = exports.ExtensionRangeOptions_VerificationState = exports.Edition = void 0;

node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/timestamp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
33
// versions:
44
// protoc-gen-ts_proto v2.6.1
5-
// protoc v5.29.3
5+
// protoc v5.29.4
66
// source: google/protobuf/timestamp.proto
77
Object.defineProperty(exports, "__esModule", { value: true });
88
exports.Timestamp = void 0;

node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
33
// versions:
44
// protoc-gen-ts_proto v2.6.1
5-
// protoc v5.29.3
5+
// protoc v5.29.4
66
// source: sigstore_bundle.proto
77
Object.defineProperty(exports, "__esModule", { value: true });
88
exports.Bundle = exports.VerificationMaterial = exports.TimestampVerificationData = void 0;

node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_common.js

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
33
// versions:
44
// protoc-gen-ts_proto v2.6.1
5-
// protoc v5.29.3
5+
// protoc v5.29.4
66
// source: sigstore_common.proto
77
Object.defineProperty(exports, "__esModule", { value: true });
88
exports.TimeRange = exports.X509CertificateChain = exports.SubjectAlternativeName = exports.X509Certificate = exports.DistinguishedName = exports.ObjectIdentifierValuePair = exports.ObjectIdentifier = exports.PublicKeyIdentifier = exports.PublicKey = exports.RFC3161SignedTimestamp = exports.LogId = exports.MessageSignature = exports.HashOutput = exports.SubjectAlternativeNameType = exports.PublicKeyDetails = exports.HashAlgorithm = void 0;
@@ -132,6 +132,15 @@ var PublicKeyDetails;
132132
/** PKIX_ED25519 - Ed 25519 */
133133
PublicKeyDetails[PublicKeyDetails["PKIX_ED25519"] = 7] = "PKIX_ED25519";
134134
PublicKeyDetails[PublicKeyDetails["PKIX_ED25519_PH"] = 8] = "PKIX_ED25519_PH";
135+
/**
136+
* PKIX_ECDSA_P384_SHA_256 - These algorithms are deprecated and should not be used, but they
137+
* were/are being used by most Sigstore clients implementations.
138+
*
139+
* @deprecated
140+
*/
141+
PublicKeyDetails[PublicKeyDetails["PKIX_ECDSA_P384_SHA_256"] = 19] = "PKIX_ECDSA_P384_SHA_256";
142+
/** @deprecated */
143+
PublicKeyDetails[PublicKeyDetails["PKIX_ECDSA_P521_SHA_256"] = 20] = "PKIX_ECDSA_P521_SHA_256";
135144
/**
136145
* LMS_SHA256 - LMS and LM-OTS
137146
*
@@ -203,6 +212,12 @@ function publicKeyDetailsFromJSON(object) {
203212
case 8:
204213
case "PKIX_ED25519_PH":
205214
return PublicKeyDetails.PKIX_ED25519_PH;
215+
case 19:
216+
case "PKIX_ECDSA_P384_SHA_256":
217+
return PublicKeyDetails.PKIX_ECDSA_P384_SHA_256;
218+
case 20:
219+
case "PKIX_ECDSA_P521_SHA_256":
220+
return PublicKeyDetails.PKIX_ECDSA_P521_SHA_256;
206221
case 14:
207222
case "LMS_SHA256":
208223
return PublicKeyDetails.LMS_SHA256;
@@ -249,6 +264,10 @@ function publicKeyDetailsToJSON(object) {
249264
return "PKIX_ED25519";
250265
case PublicKeyDetails.PKIX_ED25519_PH:
251266
return "PKIX_ED25519_PH";
267+
case PublicKeyDetails.PKIX_ECDSA_P384_SHA_256:
268+
return "PKIX_ECDSA_P384_SHA_256";
269+
case PublicKeyDetails.PKIX_ECDSA_P521_SHA_256:
270+
return "PKIX_ECDSA_P521_SHA_256";
252271
case PublicKeyDetails.LMS_SHA256:
253272
return "LMS_SHA256";
254273
case PublicKeyDetails.LMOTS_SHA256:

node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_rekor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
33
// versions:
44
// protoc-gen-ts_proto v2.6.1
5-
// protoc v5.29.3
5+
// protoc v5.29.4
66
// source: sigstore_rekor.proto
77
Object.defineProperty(exports, "__esModule", { value: true });
88
exports.TransparencyLogEntry = exports.InclusionPromise = exports.InclusionProof = exports.Checkpoint = exports.KindVersion = void 0;

node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_trustroot.js

Lines changed: 126 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,73 @@
22
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
33
// versions:
44
// protoc-gen-ts_proto v2.6.1
5-
// protoc v5.29.3
5+
// protoc v5.29.4
66
// source: sigstore_trustroot.proto
77
Object.defineProperty(exports, "__esModule", { value: true });
8-
exports.ClientTrustConfig = exports.SigningConfig = exports.TrustedRoot = exports.CertificateAuthority = exports.TransparencyLogInstance = void 0;
8+
exports.ClientTrustConfig = exports.ServiceConfiguration = exports.Service = exports.SigningConfig = exports.TrustedRoot = exports.CertificateAuthority = exports.TransparencyLogInstance = exports.ServiceSelector = void 0;
9+
exports.serviceSelectorFromJSON = serviceSelectorFromJSON;
10+
exports.serviceSelectorToJSON = serviceSelectorToJSON;
911
/* eslint-disable */
1012
const sigstore_common_1 = require("./sigstore_common");
13+
/**
14+
* ServiceSelector specifies how a client SHOULD select a set of
15+
* Services to connect to. A client SHOULD throw an error if
16+
* the value is SERVICE_SELECTOR_UNDEFINED.
17+
*/
18+
var ServiceSelector;
19+
(function (ServiceSelector) {
20+
ServiceSelector[ServiceSelector["SERVICE_SELECTOR_UNDEFINED"] = 0] = "SERVICE_SELECTOR_UNDEFINED";
21+
/**
22+
* ALL - Clients SHOULD select all Services based on supported API version
23+
* and validity window.
24+
*/
25+
ServiceSelector[ServiceSelector["ALL"] = 1] = "ALL";
26+
/**
27+
* ANY - Clients SHOULD select one Service based on supported API version
28+
* and validity window. It is up to the client implementation to
29+
* decide how to select the Service, e.g. random or round-robin.
30+
*/
31+
ServiceSelector[ServiceSelector["ANY"] = 2] = "ANY";
32+
/**
33+
* EXACT - Clients SHOULD select a specific number of Services based on
34+
* supported API version and validity window, using the provided
35+
* `count`. It is up to the client implementation to decide how to
36+
* select the Service, e.g. random or round-robin.
37+
*/
38+
ServiceSelector[ServiceSelector["EXACT"] = 3] = "EXACT";
39+
})(ServiceSelector || (exports.ServiceSelector = ServiceSelector = {}));
40+
function serviceSelectorFromJSON(object) {
41+
switch (object) {
42+
case 0:
43+
case "SERVICE_SELECTOR_UNDEFINED":
44+
return ServiceSelector.SERVICE_SELECTOR_UNDEFINED;
45+
case 1:
46+
case "ALL":
47+
return ServiceSelector.ALL;
48+
case 2:
49+
case "ANY":
50+
return ServiceSelector.ANY;
51+
case 3:
52+
case "EXACT":
53+
return ServiceSelector.EXACT;
54+
default:
55+
throw new globalThis.Error("Unrecognized enum value " + object + " for enum ServiceSelector");
56+
}
57+
}
58+
function serviceSelectorToJSON(object) {
59+
switch (object) {
60+
case ServiceSelector.SERVICE_SELECTOR_UNDEFINED:
61+
return "SERVICE_SELECTOR_UNDEFINED";
62+
case ServiceSelector.ALL:
63+
return "ALL";
64+
case ServiceSelector.ANY:
65+
return "ANY";
66+
case ServiceSelector.EXACT:
67+
return "EXACT";
68+
default:
69+
throw new globalThis.Error("Unrecognized enum value " + object + " for enum ServiceSelector");
70+
}
71+
}
1172
exports.TransparencyLogInstance = {
1273
fromJSON(object) {
1374
return {
@@ -106,28 +167,80 @@ exports.SigningConfig = {
106167
fromJSON(object) {
107168
return {
108169
mediaType: isSet(object.mediaType) ? globalThis.String(object.mediaType) : "",
109-
caUrl: isSet(object.caUrl) ? globalThis.String(object.caUrl) : "",
110-
oidcUrl: isSet(object.oidcUrl) ? globalThis.String(object.oidcUrl) : "",
111-
tlogUrls: globalThis.Array.isArray(object?.tlogUrls) ? object.tlogUrls.map((e) => globalThis.String(e)) : [],
112-
tsaUrls: globalThis.Array.isArray(object?.tsaUrls) ? object.tsaUrls.map((e) => globalThis.String(e)) : [],
170+
caUrls: globalThis.Array.isArray(object?.caUrls) ? object.caUrls.map((e) => exports.Service.fromJSON(e)) : [],
171+
oidcUrls: globalThis.Array.isArray(object?.oidcUrls) ? object.oidcUrls.map((e) => exports.Service.fromJSON(e)) : [],
172+
rekorTlogUrls: globalThis.Array.isArray(object?.rekorTlogUrls)
173+
? object.rekorTlogUrls.map((e) => exports.Service.fromJSON(e))
174+
: [],
175+
rekorTlogConfig: isSet(object.rekorTlogConfig)
176+
? exports.ServiceConfiguration.fromJSON(object.rekorTlogConfig)
177+
: undefined,
178+
tsaUrls: globalThis.Array.isArray(object?.tsaUrls) ? object.tsaUrls.map((e) => exports.Service.fromJSON(e)) : [],
179+
tsaConfig: isSet(object.tsaConfig) ? exports.ServiceConfiguration.fromJSON(object.tsaConfig) : undefined,
113180
};
114181
},
115182
toJSON(message) {
116183
const obj = {};
117184
if (message.mediaType !== "") {
118185
obj.mediaType = message.mediaType;
119186
}
120-
if (message.caUrl !== "") {
121-
obj.caUrl = message.caUrl;
187+
if (message.caUrls?.length) {
188+
obj.caUrls = message.caUrls.map((e) => exports.Service.toJSON(e));
189+
}
190+
if (message.oidcUrls?.length) {
191+
obj.oidcUrls = message.oidcUrls.map((e) => exports.Service.toJSON(e));
122192
}
123-
if (message.oidcUrl !== "") {
124-
obj.oidcUrl = message.oidcUrl;
193+
if (message.rekorTlogUrls?.length) {
194+
obj.rekorTlogUrls = message.rekorTlogUrls.map((e) => exports.Service.toJSON(e));
125195
}
126-
if (message.tlogUrls?.length) {
127-
obj.tlogUrls = message.tlogUrls;
196+
if (message.rekorTlogConfig !== undefined) {
197+
obj.rekorTlogConfig = exports.ServiceConfiguration.toJSON(message.rekorTlogConfig);
128198
}
129199
if (message.tsaUrls?.length) {
130-
obj.tsaUrls = message.tsaUrls;
200+
obj.tsaUrls = message.tsaUrls.map((e) => exports.Service.toJSON(e));
201+
}
202+
if (message.tsaConfig !== undefined) {
203+
obj.tsaConfig = exports.ServiceConfiguration.toJSON(message.tsaConfig);
204+
}
205+
return obj;
206+
},
207+
};
208+
exports.Service = {
209+
fromJSON(object) {
210+
return {
211+
url: isSet(object.url) ? globalThis.String(object.url) : "",
212+
majorApiVersion: isSet(object.majorApiVersion) ? globalThis.Number(object.majorApiVersion) : 0,
213+
validFor: isSet(object.validFor) ? sigstore_common_1.TimeRange.fromJSON(object.validFor) : undefined,
214+
};
215+
},
216+
toJSON(message) {
217+
const obj = {};
218+
if (message.url !== "") {
219+
obj.url = message.url;
220+
}
221+
if (message.majorApiVersion !== 0) {
222+
obj.majorApiVersion = Math.round(message.majorApiVersion);
223+
}
224+
if (message.validFor !== undefined) {
225+
obj.validFor = sigstore_common_1.TimeRange.toJSON(message.validFor);
226+
}
227+
return obj;
228+
},
229+
};
230+
exports.ServiceConfiguration = {
231+
fromJSON(object) {
232+
return {
233+
selector: isSet(object.selector) ? serviceSelectorFromJSON(object.selector) : 0,
234+
count: isSet(object.count) ? globalThis.Number(object.count) : 0,
235+
};
236+
},
237+
toJSON(message) {
238+
const obj = {};
239+
if (message.selector !== 0) {
240+
obj.selector = serviceSelectorToJSON(message.selector);
241+
}
242+
if (message.count !== 0) {
243+
obj.count = Math.round(message.count);
131244
}
132245
return obj;
133246
},

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/npm/cli/commit/88dabc7d1b48b0207c3a938f35a2d2debf748abb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy