-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
5.0.0 brings changes which allows for better treeshaking and interopability with ES Modules. It also deprecates legacy class based APIs in favour of single purpose methods. - Removed default export. All methods avaliable as named export - Drop legacy Postcode class and documentation - Clean up typedocs - Fix ValidPostcode interface. SubDistrict can be null in some instances BREAKING CHANGE: - `postcode` no longer uses default exports. All exports are named - `postcode` no longer exports a class - Legacy `new Postcode()` functionality has been removed. Methods attached to `Postcode` are all available as named exports. E.g. `new Postcode(postcode).unit()` becomes `toUnit(postcode)`;
- Loading branch information
Showing
6 changed files
with
172 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.