Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

parse-app-info

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-app-info - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

lib/index.js

33

package.json
{
"name": "parse-app-info",
"description": "parse information about an application process",
"version": "1.0.2",
"version": "1.0.3",
"author": "Philipp Kursawe <phil.kursawe@gmail.com> (https://pke.github.io)",

@@ -23,29 +23,33 @@ "ava": {

"dependencies": {
"last-commit-log": "^1.0.13",
"last-commit-log": "^2.0.0",
"read-pkg-up": "^4.0.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest",
"ava": "1.0.0-beta.8",
"ava": "1.0.1",
"codecov": "latest",
"cross-env": "latest",
"eslint": "latest",
"eslint-config-prettier": "latest",
"eslint-config-xo-lass": "latest",
"eslint-plugin-prettier": "latest",
"eslint-plugin-node": "^8.0.1",
"fixpack": "latest",
"husky": "latest",
"lint-staged": "latest",
"mocked-env": "1.2.1",
"mocked-env": "1.2.4",
"nyc": "latest",
"prettier": "latest",
"remark-cli": "latest",
"remark-preset-github": "latest",
"testdouble": "3.8.1",
"testdouble": "3.9.2",
"xo": "latest"
},
"engines": {
"node": ">=8.3"
"node": ">=6.4"
},
"files": [
"lib"
],
"homepage": "https://github.com/pke/parse-app-info",

@@ -83,3 +87,3 @@ "husky": {

},
"main": "index.js",
"main": "lib/index.js",
"nyc": {

@@ -112,7 +116,10 @@ "check-coverage": true,

"ava": "cross-env NODE_ENV=test ava",
"build": "npm run build:clean && npm run build:lib",
"build:clean": "rimraf lib",
"build:lib": "babel src --out-dir lib",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "xo && remark . -qfo",
"lint": "xo && remark . -qfo && eslint lib",
"nyc": "cross-env NODE_ENV=test nyc ava",
"test": "npm run lint && npm run ava",
"test-coverage": "npm run lint && npm run nyc"
"test": "npm run build && npm run lint && npm run ava",
"test-coverage": "npm run build && npm run lint && npm run nyc"
},

@@ -119,0 +126,0 @@ "xo": {

@@ -17,2 +17,3 @@ # parse-app-info

* [Usage](#usage)
* [Available info](#available-info)
* [Contributors](#contributors)

@@ -49,2 +50,21 @@ * [License](#license)

## Available info
| Property | Description |
| ----------- | ----------------------------------- |
| environment | The value of NODE_ENV |
| hostname | Name of the computer |
| name | Name of the app from `package.json` |
| node | Version if node.js running the app |
| pid | Process ID as in `process.pid` |
| version | Version of the app `package.json` |
Additional properties when the app is in a git repository
| Property | Description |
| -------- | ------------------------------------------------------------------ |
| hash | git hash of latest commit if the app |
| tag | the latest git tag. Property is not available when there is no tag |
## Contributors

@@ -51,0 +71,0 @@

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