Comparing version 4.0.0-beta.11 to 4.0.0-beta.12
{ | ||
"name": "envinfo", | ||
"version": "4.0.0-beta.11", | ||
"version": "4.0.0-beta.12", | ||
"description": "Info about your dev environment for debugging purposes", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/tabrindle/envinfo", |
@@ -21,3 +21,3 @@ 'use strict'; | ||
IDEs: ['Android Studio', 'Atom', 'VSCode', 'Sublime Text', 'Xcode'], | ||
Languages: ['Bash', 'Go', 'PHP', 'Python', 'Ruby'], | ||
Languages: ['Bash', 'Go', 'Elixir', 'PHP', 'Python', 'Ruby'], | ||
Browsers: [ | ||
@@ -24,0 +24,0 @@ 'Chrome', |
@@ -202,2 +202,12 @@ const childProcess = require('child_process'); | ||
function getElixirVersion() { | ||
var elixirVersion; | ||
try { | ||
elixirVersion = /[Elixir]+\s([\d|.]+)/g.exec(utils.run('elixir --version'))[1]; | ||
} catch (error) { | ||
elixirVersion = 'Not Found'; | ||
} | ||
return elixirVersion; | ||
} | ||
function getFreeMemory() { | ||
@@ -434,2 +444,3 @@ return utils.toReadableBytes(os.freemem()); | ||
getDockerVersion: getDockerVersion, | ||
getElixirVersion: getElixirVersion, | ||
getFreeMemory: getFreeMemory, | ||
@@ -436,0 +447,0 @@ getGoVersion: getGoVersion, |
@@ -45,2 +45,3 @@ const helpers = require('./helpers'); | ||
go: helpers.getGoVersion, | ||
elixir: helpers.getElixirVersion, | ||
php: helpers.getPhpVersion, | ||
@@ -47,0 +48,0 @@ python: helpers.getPythonVersion, |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
279935
989