Socket
Socket
Sign inDemoInstall

@sigstore/bundle

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sigstore/bundle - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

dist/serialized.d.ts
import { Envelope } from '@sigstore/protobuf-specs';
import type { Bundle } from './bundle';
import { Bundle } from './bundle';
import type { OneOf } from './utility';

@@ -4,0 +4,0 @@ export declare const bundleFromJSON: (obj: unknown) => Bundle;

@@ -20,2 +20,3 @@ "use strict";

const protobuf_specs_1 = require("@sigstore/protobuf-specs");
const bundle_1 = require("./bundle");
const validate_1 = require("./validate");

@@ -25,2 +26,8 @@ const bundleFromJSON = (obj) => {

(0, validate_1.assertBundle)(bundle);
if (bundle.mediaType === bundle_1.BUNDLE_V01_MEDIA_TYPE) {
(0, validate_1.assertBundleV01)(bundle);
}
else {
(0, validate_1.assertBundleLatest)(bundle);
}
return bundle;

@@ -27,0 +34,0 @@ };

{
"name": "@sigstore/bundle",
"version": "2.1.0",
"version": "2.1.1",
"description": "Sigstore bundle type",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,2 +0,2 @@

# @sigstore/bundle · [![npm version](https://img.shields.io/npm/v/@sigstore/bundle.svg?style=flat)](https://www.npmjs.com/package/@sigstore/tuf) [![CI Status](https://github.com/sigstore/sigstore-js/workflows/CI/badge.svg)](https://github.com/sigstore/sigstore-js/actions/workflows/ci.yml) [![Smoke Test Status](https://github.com/sigstore/sigstore-js/workflows/smoke-test/badge.svg)](https://github.com/sigstore/sigstore-js/actions/workflows/smoke-test.yml)
# @sigstore/bundle · [![npm version](https://img.shields.io/npm/v/@sigstore/bundle.svg?style=flat)](https://www.npmjs.com/package/@sigstore/bundle) [![CI Status](https://github.com/sigstore/sigstore-js/workflows/CI/badge.svg)](https://github.com/sigstore/sigstore-js/actions/workflows/ci.yml) [![Smoke Test Status](https://github.com/sigstore/sigstore-js/workflows/smoke-test/badge.svg)](https://github.com/sigstore/sigstore-js/actions/workflows/smoke-test.yml)

@@ -13,3 +13,3 @@ A JavaScript library for working with the Sigstore bundle format.

- Node.js version >= 14.17.0
- Node.js version >= 16.14.0

@@ -16,0 +16,0 @@ ## Installation

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