- Started a ChangeLog
- Improved readme
- Updated ipaddr.js to latest version
- Updated tests to use assert.equal, so if something returns something unexpected the test will crash.
- Uppercase
IP
is preferred overip
orIp
in function names and docs - Function renaming
- . All older versions still work
validip
is nowisIP
validRange
is nowisRange
- added
isV4
andisV6
functions - Fixed issue #12
- Added
storeIP
,searchIP
anddisplayIP
functions
- Converted project over to Typescript!
- Breaking: No more export alias, including for the misspelled ones left for backwards compatibility in prior versions.
- Breaking:
version
is now fully spelled out instead ofver
. - Breaking: Lowercase now being used for
storeIP
anddisplayIP
https://stackoverflow.com/a/27510980/458642 - This matches the RFC that statesThe characters "a", "b", "c", "d", "e", and "f" in an IPv6 address MUST be represented in lowercase.
. So if you stored any of this where case-sensitivity might matter such as perhaps a database index, make sure you correct that before upgrading!
- Converted to bun-lib-starter
- Fixed #25
- Added
isPrivateIP
function
- Added
isIPInRangeOrPrivate
function