Skip to content

Commit 175a575

Browse files
committed
remove very old upgrade instructions
1 parent d5a19cb commit 175a575

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,6 @@
1414
`ip-address` is a library for validating and manipulating IPv4 and IPv6
1515
addresses in JavaScript.
1616

17-
18-
### Migrating from 6.x to 7.x
19-
20-
`ip-address` was rewritten in TypeScript for version 7. If you were using
21-
version 6 you'll need to make these changes to upgrade:
22-
23-
- Instead of checking `isValid()`, which has been removed, you'll need to use a
24-
`try`/`catch` if you're accepting unknown input. This made the TypeScript
25-
types substantially easier as well as allowed the use of an `AddressError`
26-
class which will contain a `parseMessage` if an error occurred in the parsing
27-
step.
28-
- Instead of using the `error`, `parseError`, and `valid` attributes you'll
29-
need to use the `message` and `parseMessage` of the thrown `AddressError`.
30-
3117
### Documentation
3218

3319
Documentation is available at [ip-address.js.org](http://ip-address.js.org/).

0 commit comments

Comments
 (0)