New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

npminstall

Package Overview
Dependencies
Maintainers
2
Versions
268
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npminstall - npm Package Compare versions

Comparing version 1.5.3 to 1.6.0

5

History.md
1.6.0 / 2016-04-01
==================
* feat: add referer for registry access log
1.5.3 / 2016-03-30

@@ -3,0 +8,0 @@ ==================

1

lib/get.js

@@ -39,2 +39,3 @@ /**

options.headers['User-Agent'] = USER_AGENT;
options.headers.Referer = globalOptions.referer;
if (globalOptions) {

@@ -41,0 +42,0 @@ options.rejectUnauthorized = globalOptions.strictSSL;

@@ -29,2 +29,3 @@ /**

const os = require('os');
const uuid = require('uuid');
const utils = require('./utils');

@@ -111,2 +112,10 @@ const postinstall = require('./postinstall');

}
options.referer = 'install';
if (pkgs.length > 0) {
options.referer += ' ' + pkgs.map(pkg => pkg.name).join(' ');
}
if (options.production) {
options.referer += ' --production';
}
options.referer += ' --uuid=' + uuid.v1();

@@ -113,0 +122,0 @@ if (installRoot) yield preinstall(rootPkg, options.root, options);

7

package.json
{
"name": "npminstall",
"version": "1.5.3",
"version": "1.6.0",
"description": "Let npm install fast and easy",

@@ -24,2 +24,3 @@ "main": "lib/index.js",

"await-event": "~1.0.0",
"binary-mirror-config": "^1.0.1",
"bytes": "~2.2.0",

@@ -33,2 +34,3 @@ "chalk": "~1.1.1",

"destroy": "~1.0.4",
"minimist": "~1.2.0",
"mkdirp": "~0.5.1",

@@ -46,4 +48,3 @@ "ms": "~0.7.1",

"utility": "~1.6.0",
"minimist": "~1.2.0",
"binary-mirror-config": "^1.0.1"
"uuid": "~2.0.1"
},

@@ -50,0 +51,0 @@ "devDependencies": {

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