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 3.26.0 to 3.27.0

2

bin/install.js

@@ -188,2 +188,4 @@ #!/usr/bin/env node

}),
// user-agent
npm_config_user_agent: globalConfig.userAgent,
};

@@ -190,0 +192,0 @@ // https://github.com/npm/npm/blob/2005f4ce11f6cdf142f8a77f4f7ee4996000fb57/lib/utils/lifecycle.js#L67

3.27.0 / 2020-01-14
==================
**features**
* [[`62fa887`](http://github.com/cnpm/npminstall/commit/62fa887a2f353cb99f72584d1893a54037fda42a)] - feat: support npm_config_user_agent env (#323) (#324) (fengmk2 <<fengmk2@gmail.com>>)
3.26.0 / 2020-01-13

@@ -3,0 +9,0 @@ ==================

5

lib/config.js
'use strict';
const pkg = require('../package.json');
const config = {

@@ -10,5 +12,6 @@ env: {

chineseMirrorUrl: 'https://npm.taobao.org/mirrors',
chineseRegistry: 'https://r.npm.taobao.org',
chineseRegistry: 'https://registry.npm.taobao.org',
userAgent: `npminstall/${pkg.version} npm/? node/${process.version} ${process.platform} ${process.arch}`,
};
module.exports = config;
{
"name": "npminstall",
"version": "3.26.0",
"version": "3.27.0",
"description": "Let npm install fast and easy",

@@ -5,0 +5,0 @@ "main": "lib/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