npminstall
Advanced tools
Comparing version 3.26.0 to 3.27.0
@@ -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 @@ ================== |
'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", |
168657
3710