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

public-ip

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

public-ip - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

1

core.js

@@ -18,2 +18,3 @@ import AggregateError from 'aggregate-error'; // Use built-in when targeting Node.js 16

const ipv6 = await ipv6Promise;
ipv4Promise.catch(() => {}); // Don't throw when cancelling
ipv4Promise.cancel();

@@ -20,0 +21,0 @@ return ipv6;

4

index.d.ts

@@ -6,3 +6,3 @@ /**

export interface Options {
export type Options = {
/**

@@ -43,3 +43,3 @@ Use a HTTPS check using the [icanhazip.com](https://github.com/major/icanhaz) service instead of the DNS query. [ipify.org](https://www.ipify.org) is used as a fallback if `icanhazip.com` fails. This check is much more secure and tamper-proof, but also a lot slower.

readonly fallbackUrls?: readonly string[];
}
};

@@ -46,0 +46,0 @@ export type CancelablePromise<T> = Promise<T> & {

{
"name": "public-ip",
"version": "6.0.1",
"version": "6.0.2",
"description": "Get your public IP address — very fast!",

@@ -19,2 +19,3 @@ "license": "MIT",

},
"sideEffects": false,
"engines": {

@@ -53,6 +54,7 @@ "node": ">=14.16"

"ava": "^4.3.0",
"esmock": "^2.6.4",
"sinon": "^14.0.0",
"time-span": "^5.0.0",
"tsd": "^0.21.0",
"xo": "^0.50.0"
"xo": "^0.54.0"
},

@@ -69,4 +71,7 @@ "xo": {

"test.js"
],
"nodeArguments": [
"--loader=esmock"
]
}
}
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