New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2 to 1.0.3

7

index.js

@@ -42,9 +42,8 @@ 'use strict';

// Connect options for canihazip API, GET method is implicit.
var canihazipOptions = {
host: 'canihazip.com',
path: '/s'
var options = {
host: 'api.ipify.org',
};
// Make a request to canihazip and end it immediately.
protocol.request(canihazipOptions, httpCallback)
protocol.request(options, httpCallback)
.end();

@@ -51,0 +50,0 @@ });

{
"name": "canihazip",
"version": "1.0.2",
"version": "1.0.3",
"description": "Get public IP using canihazip.com.",

@@ -5,0 +5,0 @@ "author": {

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