anybar-ping
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/Kikobeats/anybar-ping", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"bin": { | ||
@@ -29,2 +29,3 @@ "anybar-ping": "bin/index.mjs" | ||
"execa": "~7.1.1", | ||
"mri": "~1.2.0", | ||
"open": "~9.1.0", | ||
@@ -36,4 +37,3 @@ "ps-list": "~8.1.1" | ||
"@commitlint/config-conventional": "latest", | ||
"ava": "latest", | ||
"c8": "latest", | ||
"ci-publish": "latest", | ||
"conventional-github-releaser": "latest", | ||
@@ -56,2 +56,17 @@ "finepack": "latest", | ||
], | ||
"scripts": { | ||
"clean": "rm -rf node_modules", | ||
"contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true", | ||
"coverage": "c8 report --reporter=text-lcov > coverage/lcov.info", | ||
"lint": "standard-markdown README.md && standard", | ||
"postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)", | ||
"prerelease": "npm run update:check", | ||
"pretest": "npm run lint", | ||
"release": "standard-version -a", | ||
"release:github": "conventional-github-releaser -p angular", | ||
"release:tags": "git push --follow-tags origin HEAD:master", | ||
"test": "exit 0", | ||
"update": "ncu -u", | ||
"update:check": "ncu -- --error-level 2" | ||
}, | ||
"preferGlobal": true, | ||
@@ -81,18 +96,3 @@ "license": "MIT", | ||
"pre-commit": "npx nano-staged" | ||
}, | ||
"scripts": { | ||
"clean": "rm -rf node_modules", | ||
"contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true", | ||
"coverage": "c8 report --reporter=text-lcov > coverage/lcov.info", | ||
"lint": "standard-markdown README.md && standard", | ||
"postrelease": "npm run release:tags && npm run release:github && npm publish", | ||
"prerelease": "npm run update:check", | ||
"pretest": "npm run lint", | ||
"release": "standard-version -a", | ||
"release:github": "conventional-github-releaser -p angular", | ||
"release:tags": "git push --follow-tags origin HEAD:master", | ||
"test": "c8 ava", | ||
"update": "ncu -u", | ||
"update:check": "ncu -- --error-level 2" | ||
} | ||
} | ||
} |
# anybar-ping | ||
<p align="center"> | ||
<br> | ||
<img src="/demo.png" alt="anybar-ping"> | ||
<br> | ||
</p> | ||
![Last version](https://img.shields.io/github/tag/Kikobeats/anybar-ping.svg?style=flat-square) | ||
[![NPM Status](https://img.shields.io/npm/dm/anybar-ping.svg?style=flat-square)](https://www.npmjs.org/package/anybar-ping) | ||
> Menubar status indicator for internet health check. | ||
> Menubar status indicator to check internet connection. | ||
## Install | ||
> **Note**: | ||
> You have to install [AnyBar](https://github.com/tonsky/AnyBar) first. | ||
```bash | ||
@@ -17,6 +26,16 @@ $ npm install anybar-ping --global | ||
```bash | ||
$ anybar-ping start | ||
$ anybar-ping --help | ||
# after a while, when you don't need it more | ||
anybar-ping stop | ||
Usage | ||
anybar <start|stop> [flags] | ||
Flags | ||
--debug Enable verbose log level [default=false]. | ||
--interval Wait N milliseconds between sending each packet [default=5000]. | ||
--source Use the following IP address as the source address in outgoing packets [default=1.1.1.1]. | ||
--timeout Time in milliseconds to wait for a reply for each packet sent [default=1000]. | ||
Examples | ||
anybar-ping start --source 8.8.8.8 | ||
anybar-ping stop # after a while, when you don't need it more | ||
``` | ||
@@ -23,0 +42,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
7687
13
7
67
48
5
1
+ Addedmri@~1.2.0
+ Addedmri@1.2.0(transitive)