Skip to content

Releases: webpod/ip

v0.0.1

08 Sep 07:37

Choose a tag to compare

0.0.1 — MVP

This release brings basic package functionality and fixes some critical legacy bugs.

  • Eliminates CVE-2024-29415
  • Enhances IPv6/IPv4 detection
  • Provides both CJS and ESM entrypoints
  • Exposes browser-compatible @webpod/ip/core module

Install

npm i @webpod/ip

Drop-in

- const ip = require('ip')
+ const ip = require('@webpod/ip')

Temporary workaround to avoid refactoring is using overrides / resolutions in your package.json:

{
  "overrides": {
    "ip": "@webpod/ip"
  }
}

Usage

The API is fully compatible with the latest ip@2.0.1

import ip from '@webpod/ip'

ip.address()                              // '192.168.1.50'  (example local address)
ip.isPrivate('127.0.0.1')                 // true

v0.0.0

08 Sep 07:25

Choose a tag to compare

0.0.0 (2025-09-08)

Fixes & improvements

  • refactor: optimize a bit isSpecial() (c4039db)
  • refactor: simplify normilizeToLong() inners (ee038d9)
  • docs: add readme (907ccb4)

Features

  • feat: introduce isSpecial() ip checker (#6) (6da2ec5)
  • feat: introduce setMode() helper for lib legacy/strict mode switching (#5) (6a68e75)
  • feat: separate browser compat core layer (f124b00)
  • feat: mvp (#3) (78f0ff2)
  • feat: expose ESM and CJS entry points (#2) (a6ae47a)