Socket
Socket
Sign inDemoInstall

@sigstore/protobuf-specs

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sigstore/protobuf-specs - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

dist/__generated__/events.d.ts

14

dist/__generated__/envelope.js

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

};
var globalThis = (() => {
var tsProtoGlobalThis = (() => {
if (typeof globalThis !== "undefined") {

@@ -64,7 +64,7 @@ return globalThis;

function bytesFromBase64(b64) {
if (globalThis.Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
if (tsProtoGlobalThis.Buffer) {
return Uint8Array.from(tsProtoGlobalThis.Buffer.from(b64, "base64"));
}
else {
const bin = globalThis.atob(b64);
const bin = tsProtoGlobalThis.atob(b64);
const arr = new Uint8Array(bin.length);

@@ -78,4 +78,4 @@ for (let i = 0; i < bin.length; ++i) {

function base64FromBytes(arr) {
if (globalThis.Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
if (tsProtoGlobalThis.Buffer) {
return tsProtoGlobalThis.Buffer.from(arr).toString("base64");
}

@@ -87,3 +87,3 @@ else {

});
return globalThis.btoa(bin.join(""));
return tsProtoGlobalThis.btoa(bin.join(""));
}

@@ -90,0 +90,0 @@ }

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

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FieldBehavior");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldBehavior");
}

@@ -102,7 +102,7 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FieldBehavior");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldBehavior");
}
}
exports.fieldBehaviorToJSON = fieldBehaviorToJSON;
var globalThis = (() => {
var tsProtoGlobalThis = (() => {
if (typeof globalThis !== "undefined") {

@@ -109,0 +109,0 @@ return globalThis;

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

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FieldDescriptorProto_Type");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldDescriptorProto_Type");
}

@@ -149,3 +149,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FieldDescriptorProto_Type");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldDescriptorProto_Type");
}

@@ -173,3 +173,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FieldDescriptorProto_Label");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldDescriptorProto_Label");
}

@@ -187,3 +187,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FieldDescriptorProto_Label");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldDescriptorProto_Label");
}

@@ -214,3 +214,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FileOptions_OptimizeMode");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FileOptions_OptimizeMode");
}

@@ -228,3 +228,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FileOptions_OptimizeMode");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FileOptions_OptimizeMode");
}

@@ -252,3 +252,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FieldOptions_CType");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldOptions_CType");
}

@@ -266,3 +266,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FieldOptions_CType");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldOptions_CType");
}

@@ -292,3 +292,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FieldOptions_JSType");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldOptions_JSType");
}

@@ -306,3 +306,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum FieldOptions_JSType");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldOptions_JSType");
}

@@ -336,3 +336,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum MethodOptions_IdempotencyLevel");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum MethodOptions_IdempotencyLevel");
}

@@ -350,3 +350,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum MethodOptions_IdempotencyLevel");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum MethodOptions_IdempotencyLevel");
}

@@ -1278,3 +1278,3 @@ }

};
var globalThis = (() => {
var tsProtoGlobalThis = (() => {
if (typeof globalThis !== "undefined") {

@@ -1295,7 +1295,7 @@ return globalThis;

function bytesFromBase64(b64) {
if (globalThis.Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
if (tsProtoGlobalThis.Buffer) {
return Uint8Array.from(tsProtoGlobalThis.Buffer.from(b64, "base64"));
}
else {
const bin = globalThis.atob(b64);
const bin = tsProtoGlobalThis.atob(b64);
const arr = new Uint8Array(bin.length);

@@ -1309,4 +1309,4 @@ for (let i = 0; i < bin.length; ++i) {

function base64FromBytes(arr) {
if (globalThis.Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
if (tsProtoGlobalThis.Buffer) {
return tsProtoGlobalThis.Buffer.from(arr).toString("base64");
}

@@ -1318,3 +1318,3 @@ else {

});
return globalThis.btoa(bin.join(""));
return tsProtoGlobalThis.btoa(bin.join(""));
}

@@ -1321,0 +1321,0 @@ }

@@ -32,4 +32,3 @@ import { Envelope } from "./envelope";

/**
* This is the inclusion proof, where the timestamp is coming from
* the transparency log.
* An inclusion proof and an optional signed timestamp from the log.
* Client verification libraries MAY provide an option to support v0.1

@@ -43,3 +42,6 @@ * bundles for backwards compatibility, which may contain an inclusion

tlogEntries: TransparencyLogEntry[];
/** Timestamp verification data, over the artifact's signature. */
/**
* Timestamp may also come from
* tlog_entries.inclusion_promise.signed_entry_timestamp.
*/
timestampVerificationData: TimestampVerificationData | undefined;

@@ -46,0 +48,0 @@ }

@@ -69,3 +69,7 @@ /// <reference types="node" />

export interface MessageSignature {
/** Message digest can be used to identify the artifact. */
/**
* Message digest can be used to identify the artifact.
* Clients MUST NOT attempt to use this digest to verify the associated
* signature; it is intended solely for identification.
*/
messageDigest: HashOutput | undefined;

@@ -72,0 +76,0 @@ /**

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

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum HashAlgorithm");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum HashAlgorithm");
}

@@ -41,3 +41,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum HashAlgorithm");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum HashAlgorithm");
}

@@ -97,3 +97,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum PublicKeyDetails");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum PublicKeyDetails");
}

@@ -121,3 +121,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum PublicKeyDetails");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum PublicKeyDetails");
}

@@ -153,3 +153,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum SubjectAlternativeNameType");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum SubjectAlternativeNameType");
}

@@ -169,3 +169,3 @@ }

default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum SubjectAlternativeNameType");
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum SubjectAlternativeNameType");
}

@@ -405,3 +405,3 @@ }

};
var globalThis = (() => {
var tsProtoGlobalThis = (() => {
if (typeof globalThis !== "undefined") {

@@ -422,7 +422,7 @@ return globalThis;

function bytesFromBase64(b64) {
if (globalThis.Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
if (tsProtoGlobalThis.Buffer) {
return Uint8Array.from(tsProtoGlobalThis.Buffer.from(b64, "base64"));
}
else {
const bin = globalThis.atob(b64);
const bin = tsProtoGlobalThis.atob(b64);
const arr = new Uint8Array(bin.length);

@@ -436,4 +436,4 @@ for (let i = 0; i < bin.length; ++i) {

function base64FromBytes(arr) {
if (globalThis.Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
if (tsProtoGlobalThis.Buffer) {
return tsProtoGlobalThis.Buffer.from(arr).toString("base64");
}

@@ -445,3 +445,3 @@ else {

});
return globalThis.btoa(bin.join(""));
return tsProtoGlobalThis.btoa(bin.join(""));
}

@@ -448,0 +448,0 @@ }

@@ -31,3 +31,3 @@ /// <reference types="node" />

export interface InclusionProof {
/** The index of the entry in the log. */
/** The index of the entry in the tree it was written to. */
logIndex: string;

@@ -44,4 +44,4 @@ /**

* in order from leaf to root.
* Not that leaf and root hashes are not included.
* The root has is available separately in this message, and the
* Note that leaf and root hashes are not included.
* The root hash is available separately in this message, and the
* leaf hash should be calculated by the client.

@@ -82,3 +82,3 @@ */

export interface TransparencyLogEntry {
/** The index of the entry in the log. */
/** The global index of the entry, used when querying the log by index. */
logIndex: string;

@@ -99,2 +99,3 @@ /** The unique identifier of the log. */

* Optional for >= v0.2 bundles, and SHOULD be verified when present.
* Also may be used as a signed timestamp.
*/

@@ -101,0 +102,0 @@ inclusionPromise: InclusionPromise | undefined;

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

};
var globalThis = (() => {
var tsProtoGlobalThis = (() => {
if (typeof globalThis !== "undefined") {

@@ -142,7 +142,7 @@ return globalThis;

function bytesFromBase64(b64) {
if (globalThis.Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
if (tsProtoGlobalThis.Buffer) {
return Uint8Array.from(tsProtoGlobalThis.Buffer.from(b64, "base64"));
}
else {
const bin = globalThis.atob(b64);
const bin = tsProtoGlobalThis.atob(b64);
const arr = new Uint8Array(bin.length);

@@ -156,4 +156,4 @@ for (let i = 0; i < bin.length; ++i) {

function base64FromBytes(arr) {
if (globalThis.Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
if (tsProtoGlobalThis.Buffer) {
return tsProtoGlobalThis.Buffer.from(arr).toString("base64");
}

@@ -165,3 +165,3 @@ else {

});
return globalThis.btoa(bin.join(""));
return tsProtoGlobalThis.btoa(bin.join(""));
}

@@ -168,0 +168,0 @@ }

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

};
var globalThis = (() => {
var tsProtoGlobalThis = (() => {
if (typeof globalThis !== "undefined") {

@@ -248,7 +248,7 @@ return globalThis;

function bytesFromBase64(b64) {
if (globalThis.Buffer) {
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
if (tsProtoGlobalThis.Buffer) {
return Uint8Array.from(tsProtoGlobalThis.Buffer.from(b64, "base64"));
}
else {
const bin = globalThis.atob(b64);
const bin = tsProtoGlobalThis.atob(b64);
const arr = new Uint8Array(bin.length);

@@ -262,4 +262,4 @@ for (let i = 0; i < bin.length; ++i) {

function base64FromBytes(arr) {
if (globalThis.Buffer) {
return globalThis.Buffer.from(arr).toString("base64");
if (tsProtoGlobalThis.Buffer) {
return tsProtoGlobalThis.Buffer.from(arr).toString("base64");
}

@@ -271,3 +271,3 @@ else {

});
return globalThis.btoa(bin.join(""));
return tsProtoGlobalThis.btoa(bin.join(""));
}

@@ -274,0 +274,0 @@ }

{
"name": "@sigstore/protobuf-specs",
"version": "0.2.0",
"version": "0.2.1",
"description": "code-signing for npm packages",

@@ -5,0 +5,0 @@ "main": "dist/index.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