1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/tests/registry/npm/ssri/registry.json

2 lines
23 KiB
JSON
Raw Normal View History

{"name":"ssri","description":"Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.","dist-tags":{"latest":"10.0.6"},"versions":{"10.0.6":{"name":"ssri","version":"10.0.6","author":{"name":"GitHub Inc."},"license":"ISC","_id":"ssri@10.0.6","bugs":{"url":"https://github.com/npm/ssri/issues"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"],"check-coverage":true},"dist":{"shasum":"a8aade2de60ba2bce8688e3fa349bad05c7dc1e5","tarball":"http://localhost:4260/ssri/ssri-10.0.6.tgz","fileCount":4,"integrity":"sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==","signatures":[{"sig":"MEUCIH0RAcuWHmyOrnF59mNHnOghRQc5pfXEyeKTuz0ADHaMAiEAzSMgV3xTvd0Hl4gQjpKKMr/niKEkH7Boonxk1iL335g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"http://localhost:4260/attestations/ssri@10.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38738},"main":"lib/index.js","engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"gitHead":"422a99ed3c5f17abcdc5fea50add6c05dd2e1703","scripts":{"lint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","snap":"tap","test":"tap","lintfix":"npm run lint -- --fix","coverage":"tap","postlint":"template-oss-check","posttest":"npm run lint","prerelease":"npm t","postrelease":"npm publish","template-oss-apply":"template-oss-apply --force"},"repository":{"url":"git+https://github.com/npm/ssri.git","type":"git"},"_npmVersion":"10.7.0","description":"Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.","directories":{},"templateOSS":{"publish":"true","version":"4.22.0","//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"22.1.0","dependencies":{"minipass":"^7.0.3"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.1","@npmcli/template-oss":"4.22.0","@npmcli/eslint-config":"^4.0.0"}}},"author":{"name":"GitHub Inc."},"repository":{"url":"git+https://github.com/npm/ssri.git","type":"git"},"license":"ISC","homepage":"https://github.com/npm/ssri#readme","bugs":{"url":"https://github.com/npm/ssri/issues"},"readme":"# ssri [![npm version](https://img.shields.io/npm/v/ssri.svg)](https://npm.im/ssri) [![license](https://img.shields.io/npm/l/ssri.svg)](https://npm.im/ssri) [![Travis](https://img.shields.io/travis/npm/ssri.svg)](https://travis-ci.org/npm/ssri) [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/npm/ssri?svg=true)](https://ci.appveyor.com/project/npm/ssri) [![Coverage Status](https://coveralls.io/repos/github/npm/ssri/badge.svg?branch=latest)](https://coveralls.io/github/npm/ssri?branch=latest)\n\n[`ssri`](https://github.com/npm/ssri), short for Standard Subresource\nIntegrity, is a Node.js utility for parsing, manipulating, serializing,\ngenerating, and verifying [Subresource\nIntegrity](https://w3c.github.io/webappsec/specs/subresourceintegrity/) hashes.\n\n## Install\n\n`$ npm install --save ssri`\n\n## Table of Contents\n\n* [Example](#example)\n* [Features](#features)\n* [Contributing](#contributing)\n* [API](#api)\n * Parsing & Serializing\n * [`parse`](#parse)\n * [`stringify`](#stringify)\n * [`Integrity#concat`](#integrity-concat)\n * [`Integrity#merge`](#integrity-merge)\n * [`Integrity#toString`](#integrity-to-string)\n * [`Integrity#toJSON`](#integrity-to-json)\n * [`Integrity#match`](#integrity-match)\n * [`Integrity#pickAlgorithm`](#integrity-pick-algorithm)\n * [`Integrity#hexDigest`](#integrity-hex-digest)\n * Integrity Generation\n * [`fromHex`](#from-hex)\n * [`fromData`](#from-data)\n * [`fromStream`](#from-stream)\n * [`create`](#create)\n * Integrity Verification\n * [`checkData`](#check-data)\n * [`checkStream`](#check-stream)\n * [`integrityStream`](#integrity-stream)\n\n### Example\n\n```javascript\nconst ssri = require('ssri')\n\nconst integrity = 'sha512-9KhgCRIx/AmzC8xqYJTZRrnO8OW2Pxyl2DIMZS