Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: beaugunderson/ip-address
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.2.2
Choose a base ref
...
head repository: beaugunderson/ip-address
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.3.0
Choose a head ref
  • 5 commits
  • 5 files changed
  • 4 contributors

Commits on Jul 25, 2026

  1. Bump vulnerable transitive dev dependencies

    Resolves four Dependabot alerts, all development-scope and none reaching
    consumers of the published package (files is limited to dist):
    
      js-yaml      4.1.1  -> 4.3.0    GHSA-h67p-54hq-rp68
      linkify-it   5.0.0  -> 5.0.2    GHSA-v245-v573-v5vm
      markdown-it  14.1.1 -> 14.3.0   GHSA-6v5v-wf23-fmfq
      esbuild      0.27.7 -> 0.28.1   GHSA-g7r4-m6w7-qqqr (via tsx 4.21.0 -> 4.23.1)
    
    brace-expansion moves 5.0.5 -> 5.0.8, clearing GHSA-3jxr-9vmj-r5cp. The
    1.1.16 and 2.1.2 copies that minimatch 3.x (eslint-plugin-import) and 9.x
    (mocha) pin remain within GHSA-mh99-v99m-4gvg, whose only fix is 5.0.8 on the
    5.x line; forcing that under those minimatch majors would break their API, and
    the expansion inputs there are local config globs rather than untrusted text.
    
    Lockfile only, no manifest changes. Verified with npm ci, 3561 tests, tsc
    --noEmit, tsc build, and a docs regeneration that leaves README byte-identical.
    beaugunderson committed Jul 25, 2026
    Configuration menu
    Copy the full SHA
    4da4295 View commit details
    Browse the repository at this point in the history
  2. Fix repository URL protocol

    dangelo352 authored and beaugunderson committed Jul 25, 2026
    Configuration menu
    Copy the full SHA
    d46eb43 View commit details
    Browse the repository at this point in the history
  3. fix: Address6.fromURL squelches port 65536 as valid

    Valid ports are 0-65535 (16-bit), but the range check used `> 65536`,
    so a port of exactly 65536 slipped through instead of being nulled
    out like every other out-of-range value. Looks like a plain off-by-one
    that's been there since the very first commit. Updated the two
    existing tests that had baked the wrong expectation in and added one
    pinning 65535 as the actual max.
    chatman-media authored and beaugunderson committed Jul 25, 2026
    Configuration menu
    Copy the full SHA
    c697eaa View commit details
    Browse the repository at this point in the history
  4. fix: pad Address6#toByteArray to a full 16 bytes

    `bigInt().toString(16)` drops high-order zero nibbles, so `toByteArray()`
    and `toUnsignedByteArray()` returned a short array for any address with
    leading zero bytes. `::1` yielded `[1]` and `::` yielded `[0]` instead of
    the documented 16-byte representation, which breaks `Buffer.from(...)` for
    fixed-width network and storage use.
    
    Pad the hex string to `BITS / 4` nibbles (16 bytes), matching the existing
    `binaryZeroPad()` approach and the `Address4#toArray` sibling, which
    already returns a fixed-width array.
    spokodev authored and beaugunderson committed Jul 25, 2026
    Configuration menu
    Copy the full SHA
    fd0687e View commit details
    Browse the repository at this point in the history
  5. 10.3.0

    beaugunderson committed Jul 25, 2026
    Configuration menu
    Copy the full SHA
    9ed7949 View commit details
    Browse the repository at this point in the history
Loading