Socket
Socket
Sign inDemoInstall

pacote

Package Overview
Dependencies
Maintainers
1
Versions
220
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 2.7.8 to 2.7.9

10

CHANGELOG.md

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

<a name="2.7.9"></a>
## [2.7.9](https://github.com/zkat/pacote/compare/v2.7.8...v2.7.9) (2017-05-09)
### Bug Fixes
* **git:** Resolve to ref git specs w/o committishes (#88) ([cb885f5](https://github.com/zkat/pacote/commit/cb885f5)), closes [#88](https://github.com/zkat/pacote/issues/88)
<a name="2.7.8"></a>

@@ -7,0 +17,0 @@ ## [2.7.8](https://github.com/zkat/pacote/compare/v2.7.7...v2.7.8) (2017-05-07)

4

lib/fetchers/git.js

@@ -110,3 +110,3 @@ 'use strict'

if (ref) {
const resolved = spec.saveSpec.replace(/#.*/, `#${ref.sha}`)
const resolved = spec.saveSpec.replace(/(?:#.*)?$/, `#${ref.sha}`)
return {

@@ -125,3 +125,3 @@ _repo: repo,

// then we can at least get `finalize-manifest` to cache its result.
const resolved = spec.saveSpec.replace(/#.*/, `#${rawRef}`)
const resolved = spec.saveSpec.replace(/(?:#.*)?$/, `#${rawRef}`)
return {

@@ -128,0 +128,0 @@ _repo: repo,

{
"name": "pacote",
"version": "2.7.8",
"version": "2.7.9",
"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