mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
3a372ad29a
The commit will help - Better testing - Preventing regression like #785. - **Implementing spack** (It requires access to neon api because of the plugin system)
17 lines
262 B
JavaScript
17 lines
262 B
JavaScript
var pkg = require("../../package.json");
|
|
|
|
/**
|
|
* A custom user agent use for binary downloads.
|
|
*
|
|
* @api private
|
|
*/
|
|
module.exports = function() {
|
|
return [
|
|
"node/",
|
|
process.version,
|
|
" ",
|
|
"node-swc-installer/",
|
|
pkg.version
|
|
].join("");
|
|
};
|