Skip to content

Commit df36d32

Browse files
committed
release 2.2.1
1 parent 972e223 commit df36d32

5 files changed

Lines changed: 25 additions & 8 deletions

File tree

.github/workflows/lint.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
contents: read
1111

1212
jobs:
13-
build:
13+
lint:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v6

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
contents: read
1111

1212
jobs:
13-
build:
13+
ubuntu:
1414
needs: [get-lts]
1515
runs-on: ubuntu-latest
1616
strategy:

.github/workflows/release.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff 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:
@@ -77,3 +77,18 @@ jobs:
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

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",
@@ -41,12 +41,12 @@
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",

0 commit comments

Comments
 (0)