parse-app-info
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"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 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
10818
85
20
4
86
1
+ Addeddotgitconfig@1.1.2(transitive)
+ Addedlast-commit-log@2.1.0(transitive)
- Removedgit-remote-origin-url@2.0.0(transitive)
- Removedgitconfiglocal@1.0.0(transitive)
- Removedlast-commit-log@1.0.13(transitive)
- Removedpify@2.3.0(transitive)
Updatedlast-commit-log@^2.0.0