Socket
Socket
Sign inDemoInstall

pacote

Package Overview
Dependencies
Maintainers
7
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pacote - npm Package Compare versions

Comparing version 11.3.4 to 11.3.5

8

lib/fetcher.js

@@ -122,2 +122,9 @@ // This is the base class that the other fetcher types in lib

'--no-audit',
// override any omit settings from the environment
'--include=dev',
'--include=peer',
'--include=optional',
// we need the actual things, not just the lockfile
'--no-package-lock-only',
'--no-dry-run',
]

@@ -434,2 +441,3 @@ }

noChmod: true,
noMtime: true,
filter: (name, entry) => {

@@ -436,0 +444,0 @@ if (/Link$/.test(entry.type))

7

lib/git.js

@@ -88,2 +88,5 @@ const Fetcher = require('./fetcher.js')

.catch(er => {
// Throw early since we know pathspec errors will fail again if retried
if (er instanceof git.errors.GitPathspecError)
throw er
const ssh = hosted.sshurl && hosted.sshurl()

@@ -264,5 +267,7 @@ // no fallthrough if we can't fall through or have https auth

const hosted = this.spec.hosted
const https = hosted.https()
return this[_cloneRepo](hosted.https({ noCommittish: true }), ref, tmp)
.catch(er => {
// Throw early since we know pathspec errors will fail again if retried
if (er instanceof git.errors.GitPathspecError)
throw er
const ssh = hosted.sshurl && hosted.sshurl({ noCommittish: true })

@@ -269,0 +274,0 @@ // no fallthrough if we can't fall through or have https auth

4

package.json
{
"name": "pacote",
"version": "11.3.4",
"version": "11.3.5",
"description": "JavaScript package downloader",

@@ -36,3 +36,3 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",

"dependencies": {
"@npmcli/git": "^2.0.1",
"@npmcli/git": "^2.1.0",
"@npmcli/installed-package-contents": "^1.0.6",

@@ -39,0 +39,0 @@ "@npmcli/promise-spawn": "^1.2.0",

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