Socket
Socket
Sign inDemoInstall

pacote

Package Overview
Dependencies
Maintainers
2
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 7.0.0 to 7.0.1

12

CHANGELOG.md

@@ -5,2 +5,14 @@ # Change Log

<a name="7.0.1"></a>
## [7.0.1](https://github.com/zkat/pacote/compare/v7.0.0...v7.0.1) (2017-11-15)
### Bug Fixes
* **git:** use resolved ref if available when doing a full clone (#125) ([46ca45a](https://github.com/zkat/pacote/commit/46ca45a)), closes [#125](https://github.com/zkat/pacote/issues/125)
* **move:** bump cacache for some cross-platform move fixes ([eebdcda](https://github.com/zkat/pacote/commit/eebdcda))
* **test:** missed a spot converting tests to promises ([c43caed](https://github.com/zkat/pacote/commit/c43caed))
<a name="7.0.0"></a>

@@ -7,0 +19,0 @@ # [7.0.0](https://github.com/zkat/pacote/compare/v6.1.0...v7.0.0) (2017-11-15)

7

lib/fetchers/git.js

@@ -166,7 +166,8 @@ 'use strict'

function cloneRepo (spec, repo, resolvedRef, rawRef, tmp, opts) {
if (resolvedRef && spec.hosted && SHALLOW_HOSTS.has(spec.hosted.type)) {
return git.shallow(repo, resolvedRef.ref, tmp, opts)
const ref = resolvedRef ? resolvedRef.ref : rawRef
if (spec.hosted && SHALLOW_HOSTS.has(spec.hosted.type)) {
return git.shallow(repo, ref, tmp, opts)
} else {
return git.clone(repo, rawRef, tmp, opts)
return git.clone(repo, ref, tmp, opts)
}
}
{
"name": "pacote",
"version": "7.0.0",
"version": "7.0.1",
"description": "JavaScript package downloader",

@@ -45,3 +45,3 @@ "main": "index.js",

"bluebird": "^3.5.1",
"cacache": "^10.0.0",
"cacache": "^10.0.1",
"get-stream": "^3.0.0",

@@ -48,0 +48,0 @@ "glob": "^7.1.2",

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