File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed
Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
44
55### Unreleased
66
7+ - added TypeScript type definitions
8+
79### [ 2.1.3] - 2025-01-31
810
911- dep(eslint): upgrade to v9
Original file line number Diff line number Diff line change 1+ declare class Address {
2+ user : string
3+ host : string
4+ original_host ?: string
5+
6+ constructor ( user : string , host : string )
7+ constructor ( email : string )
8+
9+ format ( use_punycode ?: boolean ) : string
10+
11+ address ( newval ?: string , use_punycode ?: boolean ) : string
12+
13+ toString ( ) : string
14+ }
15+
16+ export { Address }
Original file line number Diff line number Diff line change 77 "url" : " http://haraka.github.io"
88 },
99 "main" : " index.js" ,
10+ "types" : " index.d.ts" ,
1011 "homepage" : " https://github.com/haraka/node-address-rfc2821" ,
1112 "keywords" : [
1213 " email" ,
You can’t perform that action at this time.
0 commit comments