Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "canihazip", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Get public IP using canihazip.com.", | ||
@@ -26,9 +26,9 @@ "author": { | ||
"chai-as-promised": "^5.0.0", | ||
"grunt": "^0.4.5", | ||
"grunt": "^1.2.1", | ||
"grunt-bump": "^0.3.1", | ||
"grunt-cli": "^0.1.13", | ||
"grunt-contrib-jshint": "^0.11.0", | ||
"grunt-contrib-nodeunit": "^0.4.1", | ||
"grunt-contrib-watch": "^0.6.1", | ||
"grunt-mocha-cli": "^1.12.0", | ||
"grunt-cli": "^1.3.2", | ||
"grunt-contrib-jshint": "^2.1.0", | ||
"grunt-contrib-nodeunit": "^2.1.0", | ||
"grunt-contrib-watch": "^1.1.0", | ||
"grunt-mocha-cli": "^6.0.0", | ||
"jshint-stylish": "^1.0.1", | ||
@@ -35,0 +35,0 @@ "load-grunt-tasks": "^3.1.0", |
@@ -1,6 +0,13 @@ | ||
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] | ||
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] | ||
> Get public IP using [canihazip.com](http://canihazip.com/). | ||
### :warning: Deprecation notice | ||
The [canihazip.com](http://canihazip.com/) project stopped working. See the report at #2. As a fallback, this project is using [ipify.org](https://www.ipify.org/) with [patch 1.0.3](https://github.com/markogresak/canihazip/releases/tag/v1.0.3) so it does not break old usages. | ||
**For new projects, I suggest using [`public-ip`](https://www.npmjs.com/package/public-ip)**. It is better maintained, built to be more robust (to avoid issues like #2) and has a better feature set. | ||
--- | ||
> Get public IP using ~~[canihazip.com](http://canihazip.com/)~~ [ipify.org](https://www.ipify.org/). | ||
## Install | ||
@@ -36,5 +43,4 @@ | ||
This will return IP of the current machine, for example: `8.8.8.8`. | ||
This will return IP of the current machine, for example: `1.2.3.4`. | ||
## License | ||
@@ -44,3 +50,2 @@ | ||
[npm-image]: https://badge.fury.io/js/canihazip.svg | ||
@@ -47,0 +52,0 @@ [npm-url]: https://npmjs.org/package/canihazip |
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
6188
55