Socket
Socket
Sign inDemoInstall

envinfo

Package Overview
Dependencies
0
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.10.0 to 5.11.0

4

package.json
{
"name": "envinfo",
"version": "5.10.0",
"version": "5.11.0",
"description": "Info about your dev environment for debugging purposes",

@@ -30,3 +30,3 @@ "repository": "https://github.com/tabrindle/envinfo",

"start": "node src/cli.js",
"test": "jest && npm run lint && npm run check:format"
"test": "jest --env=node && npm run lint && npm run check:format"
},

@@ -33,0 +33,0 @@ "keywords": [

@@ -46,62 +46,81 @@ <p align="center">

```bash
System:
OS: macOS High Sierra 10.13
CPU: x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
Free Memory: 4.01 GB
Total Memory: 16.00 GB
Shell: /usr/local/bin/bash - 4.4.12
Binaries:
Node: 8.9.4
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.9.0
Docker: 17.12.0-ce, build c97c6d6
Homebrew: 1.5.4
SDKs:
iOS:
Platforms: iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0
Android:
Build Tools: 27.0.3
API Levels: 26
IDEs:
Android Studio: 3.0 AI-171.4443003
Atom: 1.23.3
Emacs: 22.1.1 - /usr/bin/emacs
IntelliJ: 2018.1.3
Nano: 2.0.6 - /usr/bin/nano
PhpStorm: 2018.1.3
Sublime Text: Build 3143
Vim: 8.0 - /usr/bin/vim
VSCode: 1.20.1
WebStorm: 2017.3.4
Xcode: Xcode 9.0 Build version 9A235
Languages:
Bash: 4.4.12
Go: 1.9.3
PHP: 7.1.7
Python: 2.7.10
Ruby: 2.3.3p222
Browsers:
Chrome: 64.0.3282.167
Chrome Canary: 66.0.3353.0
Firefox: 58.0
Firefox Developer Edition: 57.0
Firefox Nightly: 58.0a1
Safari: 11.0
Safari Technology Preview: 11.1
npmPackages:
eslint:
wanted: ^4.10.0
installed: 4.16.0
...
yamlify-object:
wanted: ^0.4.5
installed: 0.4.5
npmGlobalPackages:
create-react-native-app: 1.0.0
exp: 49.2.2
lerna: 2.7.1
npm: 5.6.0
npm-check-updates: 2.14.0
react-native-cli: 2.0.1
System:
OS: macOS High Sierra 10.13
CPU: x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
Memory: 204.88 MB / 16.00 GB
Shell: 5.4.2 - /usr/local/bin/zsh
Binaries:
Node: 8.11.0 - ~/.nvm/versions/node/v8.11.0/bin/node
Yarn: 1.5.1 - ~/.yarn/bin/yarn
npm: 5.6.0 - ~/.nvm/versions/node/v8.11.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Utilities:
CMake: 3.10.2 - /usr/local/bin/cmake
Make: 3.81 - /usr/bin/make
GCC: 4.2.1 - /usr/bin/gcc
Git: 2.17.1 - /usr/local/bin/git
Servers:
Apache: 2.4.27 - /usr/sbin/apachectl
Nginx: 1.13.12 - /usr/local/bin/nginx
Virtualization:
Docker: 18.03.1 - /usr/local/bin/docker
Parallels: 13.3.0 - /usr/local/bin/prlctl
VirtualBox: 5.2.8 - /usr/local/bin/vboxmanage
SDKs:
iOS SDK:
Platforms: iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0
Android SDK:
Build Tools: 27.0.3
API Levels: 26
IDEs:
Android Studio: 3.0 AI-171.4443003
Atom: 1.23.3
Emacs: 22.1.1 - /usr/bin/emacs
Nano: 2.0.6 - /usr/bin/nano
Vim: 8.0 - /usr/bin/vim
VSCode: 1.23.1 - /usr/local/bin/code
Xcode: 9.0/9A235 - /usr/bin/xcodebuild
Languages:
Bash: 4.4.12 - /usr/local/bin/bash
Go: 1.9.3 - /usr/local/bin/go
Elixir: 1.6.2 - /usr/local/bin/elixir
Java: 1.8.0 - /usr/bin/javac
Perl: 5.18.2 - /usr/bin/perl
PHP: 7.1.7 - /usr/bin/php
Python: 2.7.14 - /usr/local/bin/python
Ruby: 2.4.1 - ~/.rvm/rubies/ruby-2.4.1/bin/ruby
Rust: 1.11.0 - ~/.cargo/bin/rustup
Scala: 2.12.6 - /usr/local/bin/scalac
Databases:
MongoDB: 3.6.4 - /usr/local/bin/mongo
MySQL: 10.2.14 (MariaDB) - /usr/local/bin/mysql
PostgreSQL: 10.3 - /usr/local/bin/postgres
SQLite: 3.19.4 - /usr/local/bin/sqlite3
Browsers:
Chrome: 67.0.3396.62
Chrome Canary: 69.0.3447.2
Firefox: 59.0.2
Firefox Developer Edition: 61.0
Firefox Nightly: 61.0a1
Safari: 11.0
Safari Technology Preview: 11.2
npmPackages:
apollo-client: ^2.3.1 => 2.3.1
jest: ^22.2.1 => 22.2.1
...
react: ^16.3.2 => 16.3.2
react-apollo: ^2.1.4 => 2.1.4
run4staged: ^1.1.1 => 1.1.1
solidarity: 2.0.5 => 2.0.5
styled-components: ^3.1.6 => 3.1.6
npmGlobalPackages:
create-react-app: 1.5.2
create-react-native-app: 1.0.0
envinfo: 5.10.0
exp: 49.2.2
gatsby-cli: 1.1.52
npm: 5.6.0
react-native-cli: 2.0.1
solidarity: 2.1.0
typescript: 2.8.1
```

@@ -116,13 +135,12 @@

console.log(
envinfo.run(
{
System: ['OS', 'CPU'],
Binaries: ['Node', 'Yarn', 'npm'],
Browsers: ['Chrome', 'Firefox', 'Safari'],
npmPackages: ['styled-components', 'babel-plugin-styled-components'],
},
{ json: true }
)
envinfo.run(
{
System: ['OS', 'CPU'],
Binaries: ['Node', 'Yarn', 'npm'],
Browsers: ['Chrome', 'Firefox', 'Safari'],
npmPackages: ['styled-components', 'babel-plugin-styled-components'],
},
{ json: true, console: true, showNotFound: true }
);
```

@@ -137,10 +155,25 @@ returns:

"Binaries": {
"Node": "8.9.4",
"Yarn": "1.3.2",
"npm": "5.6.0"
"Node": {
"version": "8.11.0",
"path": "~/.nvm/versions/node/v8.11.0/bin/node"
},
"Yarn": {
"version": "1.5.1",
"path": "~/.yarn/bin/yarn"
},
"npm": {
"version": "5.6.0",
"path": "~/.nvm/versions/node/v8.11.0/bin/npm"
}
},
"Browsers": {
"Chrome": "65.0.3325.146",
"Firefox": 58.0,
"Safari": 11.0
"Chrome": {
"version": "67.0.3396.62"
},
"Firefox": {
"version": "59.0.2"
},
"Safari": {
"version": "11.0"
}
},

@@ -152,6 +185,3 @@ "npmPackages": {

},
"babel-plugin-styled-components": {
"wanted": "^1.5.1",
"installed": "1.5.1"
}
"babel-plugin-styled-components": "Not Found"
}

@@ -164,16 +194,12 @@ }

```javascript
import { helpers } from 'envinfo';
const envinfo = require('envinfo');
const OS = helpers.getOperatingSystemInfo();
const docker = helpers.getDockerVersion();
// each helper returns a promise
const node = await envinfo.helpers.getNodeInfo();
console.log({ OS, docker });
```
// The promises resolve to an array of values: ["Name", "Version", "Path"]
// e.g. ["Node", "10.9.0", "/usr/local/bin/node"]
console.log(`Node: ${node[1]}`); // "Node: 10.9.0"
```
{
OS: 'macOS High Sierra 10.13'
docker: '17.12.0-ce, build c97c6d6'
}
```

@@ -207,5 +233,6 @@ ## CLI Options

* [Create React App](https://github.com/facebook/create-react-app) (`create-react-app --info`)
* [Expo](https://github.com/expo/exp) (`exp diagnostics`)
* [Expo CLI](https://github.com/expo/expo-cli) (`expo diagnostics`)
* [Webpack](https://github.com/webpack/webpack-cli) (`webpack-cli info`)
* [Solidarity](https://github.com/infinitered/solidarity) (`solidarity report`)
* [Gatsby](https://github.com/gatsbyjs/gatsby) (`gatsby info`)

@@ -212,0 +239,0 @@ envinfo is used in the ISSUE_TEMPLATE of:

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc