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

npm-registry-client

Package Overview
Dependencies
Maintainers
2
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-registry-client - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

test/publish-again-scoped.js

9

lib/publish.js

@@ -78,5 +78,5 @@

root._attachments[ tbName ] = {
content_type: 'application/octet-stream',
data: tarbuffer.toString('base64'),
length: stat.size
"content_type": "application/octet-stream",
"data": tarbuffer.toString("base64"),
"length": stat.size
}

@@ -103,4 +103,3 @@

// let's see what versions are already published.
var getUrl = url.resolve(registry, data.name + "?write=true")
this.request("GET", getUrl, null, function (er, current) {
this.request("GET", fixed + "?write=true", null, function (er, current) {
if (er) return cb(er)

@@ -107,0 +106,0 @@

@@ -5,3 +5,3 @@ {

"description": "Client for the npm registry",
"version": "3.0.1",
"version": "3.0.2",
"repository": {

@@ -8,0 +8,0 @@ "url": "git://github.com/isaacs/npm-registry-client"

Sorry, the diff of this file is not supported yet

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