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.1 to 7.0.2

10

CHANGELOG.md

@@ -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)

2

lib/fetchers/git.js

@@ -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",

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