Comparing version 7.0.1 to 7.0.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="7.0.2"></a> | ||
## [7.0.2](https://github.com/zkat/pacote/compare/v7.0.1...v7.0.2) (2017-11-28) | ||
### Bug Fixes | ||
* **git:** only resolvedRefs can be shallow-cloned ([899720f](https://github.com/zkat/pacote/commit/899720f)) | ||
<a name="7.0.1"></a> | ||
@@ -7,0 +17,0 @@ ## [7.0.1](https://github.com/zkat/pacote/compare/v7.0.0...v7.0.1) (2017-11-15) |
@@ -167,3 +167,3 @@ 'use strict' | ||
const ref = resolvedRef ? resolvedRef.ref : rawRef | ||
if (spec.hosted && SHALLOW_HOSTS.has(spec.hosted.type)) { | ||
if (resolvedRef && spec.hosted && SHALLOW_HOSTS.has(spec.hosted.type)) { | ||
return git.shallow(repo, ref, tmp, opts) | ||
@@ -170,0 +170,0 @@ } else { |
{ | ||
"name": "pacote", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"description": "JavaScript package downloader", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96538