Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pacote

Package Overview
Dependencies
Maintainers
1
Versions
223
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.19 to 2.7.20

10

CHANGELOG.md

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

<a name="2.7.20"></a>
## [2.7.20](https://github.com/zkat/pacote/compare/v2.7.19...v2.7.20) (2017-05-25)
### Bug Fixes
* **registry:** encode username and password for auth ([c48b651](https://github.com/zkat/pacote/commit/c48b651))
<a name="2.7.19"></a>

@@ -7,0 +17,0 @@ ## [2.7.19](https://github.com/zkat/pacote/compare/v2.7.18...v2.7.19) (2017-05-25)

6

lib/fetchers/registry/fetch.js

@@ -93,5 +93,5 @@ 'use strict'

} else if (shouldAuth && auth.username && auth.password) {
const encoded = Buffer.from(
`${auth.username}:${auth.password}`, 'utf8'
).toString('base64')
const username = encodeURIComponent(auth.username)
const password = encodeURIComponent(auth.password)
const encoded = Buffer.from(`${username}:${password}`).toString('base64')
headers.authorization = `Basic ${encoded}`

@@ -98,0 +98,0 @@ }

{
"name": "pacote",
"version": "2.7.19",
"version": "2.7.20",
"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