Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/assert-store

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/assert-store

Utils for testing pnpm store

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
84
increased by740%
Maintainers
2
Weekly downloads
 
Created
Source

@pnpm/assert-store

Utils for testing pnpm stores

Installation

pnpm install -D @pnpm/assert-store

Usage

import test = require('tape')
import { assertStore } from '@pnpm/assert-store'

test('...', async t => {
  // ...
  const store = assertStore(t, pathToStore, encodedRegistryName)

  await store.storeHas('is-positive', '3.1.0')
  // Test fails if pnpm store does not have this package
})

License

MIT

FAQs

Package last updated on 28 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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