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

canihazip

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canihazip - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

14

package.json
{
"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

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