File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ permissions:
1010 contents : read
1111
1212jobs :
13- build :
13+ lint :
1414 runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v6
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ permissions:
1010 contents : read
1111
1212jobs :
13- build :
13+ ubuntu :
1414 needs : [get-lts]
1515 runs-on : ubuntu-latest
1616 strategy :
Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ jobs:
4343 with :
4444 node-version : " 24"
4545 - uses : actions/checkout@v6
46- - run : npm ci || npm install
46+ - run : npm ci
4747 - run : npm test
4848
49- create- release :
49+ release :
5050 needs : [build, version]
5151 runs-on : ubuntu-latest
5252 permissions :
7777 tag_name : v${{ needs.version.outputs.version }}
7878 name : ${{ needs.version.outputs.version }}
7979 generate_release_notes : false
80+
81+ publish :
82+ needs : release
83+ runs-on : ubuntu-latest
84+ permissions :
85+ contents : read
86+ id-token : write
87+ steps :
88+ - uses : actions/checkout@v6
89+ - uses : actions/setup-node@v6
90+ with :
91+ node-version : " 24"
92+ registry-url : https://registry.npmjs.org/
93+ - run : npm ci
94+ - run : npm publish --provenance
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+ ### 2.2.1 - 2026-05-25
8+
79- fix(packet): use crypto.randomInt for Packet.uuid (RFC 5452)
810- fix(packet): preserve RDLENGTH+RDATA for unknown RR types
911
Original file line number Diff line number Diff line change 11{
22 "name" : " dns2" ,
3- "version" : " 2.2.0 " ,
3+ "version" : " 2.2.1 " ,
44 "description" : " A DNS Server and Client Implementation in Pure JavaScript with no dependencies." ,
55 "main" : " index.js" ,
66 "types" : " ts/index.d.ts" ,
4141 "license" : " MIT" ,
4242 "repository" : {
4343 "type" : " git" ,
44- "url" : " git+https://github.com/song940 /node-dns.git"
44+ "url" : " git+https://github.com/lsongdev /node-dns.git"
4545 },
4646 "bugs" : {
47- "url" : " https://github.com/song940 /node-dns/issues"
47+ "url" : " https://github.com/lsongdev /node-dns/issues"
4848 },
49- "homepage" : " https://github.com/song940 /node-dns#readme" ,
49+ "homepage" : " https://github.com/lsongdev /node-dns#readme" ,
5050 "devDependencies" : {
5151 "@eslint/js" : " ^10.0.1" ,
5252 "@stylistic/eslint-plugin" : " ^5.10.0" ,
You can’t perform that action at this time.
0 commit comments