Socket
Socket
Sign inDemoInstall

libnpmpublish

Package Overview
Dependencies
Maintainers
5
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libnpmpublish - npm Package Compare versions

Comparing version 9.0.1 to 9.0.2

8

lib/provenance.js

@@ -22,5 +22,7 @@ const sigstore = require('sigstore')

/* istanbul ignore next - not covering missing env var case */
const [workflowPath, workflowRef] = (env.GITHUB_WORKFLOW_REF || '')
.replace(env.GITHUB_REPOSITORY + '/', '')
.split('@')
const relativeRef = (env.GITHUB_WORKFLOW_REF || '').replace(env.GITHUB_REPOSITORY + '/', '')
const delimiterIndex = relativeRef.indexOf('@')
const workflowPath = relativeRef.slice(0, delimiterIndex)
const workflowRef = relativeRef.slice(delimiterIndex + 1)
payload = {

@@ -27,0 +29,0 @@ _type: INTOTO_STATEMENT_V1_TYPE,

{
"name": "libnpmpublish",
"version": "9.0.1",
"version": "9.0.2",
"description": "Programmatic API for the bits behind npm publish and unpublish",

@@ -41,3 +41,3 @@ "author": "GitHub Inc.",

"dependencies": {
"ci-info": "^3.6.1",
"ci-info": "^4.0.0",
"normalize-package-data": "^6.0.0",

@@ -44,0 +44,0 @@ "npm-package-arg": "^11.0.1",

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