Mirror: Best-effort discovery of the machine's local network using just Node.js dgram sockets
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 70 lines 2.1 kB view raw view rendered
1# lan-network 2 3## 0.2.1 4 5### Patch Changes 6 7- Add missing `socket.close` for DHCP discover on timeout 8 Submitted by [@kitten](https://github.com/kitten) (See [`ee60e14`](https://github.com/kitten/lan-network/commit/ee60e1415dc323843c07e3a0d0acda998ed2d9ae)) 9 10## 0.2.0 11 12### Minor Changes 13 14- Add `noProbe` and `noDhcp` options 15 Submitted by [@kitten](https://github.com/kitten) (See [#18](https://github.com/kitten/lan-network/pull/18)) 16 17## 0.1.8 18 19### Patch Changes 20 21- Deprioritize `bridge*` interfaces as internal networks 22 Submitted by [@kitten](https://github.com/kitten) (See [#15](https://github.com/kitten/lan-network/pull/15)) 23- Update rollup config for reduced output and exclude sources from sourcemaps 24 Submitted by [@kitten](https://github.com/kitten) (See [#17](https://github.com/kitten/lan-network/pull/17)) 25 26## 0.1.7 27 28### Patch Changes 29 30- Compare subnet-masked addresses before accepting DHCP discover message 31 Submitted by [@hyoban](https://github.com/hyoban) (See [#12](https://github.com/kitten/lan-network/pull/12)) 32 33## 0.1.6 34 35### Patch Changes 36 37- ⚠️ Fix probing and fallback methods for Windows 38 Submitted by [@kitten](https://github.com/kitten) (See [#9](https://github.com/kitten/lan-network/pull/9)) 39 40## 0.1.5 41 42### Patch Changes 43 44- When matching a probed route, ignore internal interfaces. The probed route will match a VPN (virtual) interface when using it to tunnel all traffic, but is unlikely to be considered the local network by users 45 Submitted by [@kitten](https://github.com/kitten) (See [#7](https://github.com/kitten/lan-network/pull/7)) 46 47## 0.1.3 48 49### Patch Changes 50 51- Move vitest to devDependencies 52 Submitted by [@kitten](https://github.com/kitten) (See [#5](https://github.com/kitten/lan-network/pull/5)) 53 54## 0.1.2 55 56### Patch Changes 57 58- Add CLI for testing 59 Submitted by [@kitten](https://github.com/kitten) (See [#3](https://github.com/kitten/lan-network/pull/3)) 60 61## 0.1.1 62 63### Patch Changes 64 65- Bind to assignment IP for DHCP discovery 66 Submitted by [@kitten](https://github.com/kitten) (See [#1](https://github.com/kitten/lan-network/pull/1)) 67 68## 0.1.0 69 70Initial Release.