Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
contents: read

jobs:
build:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
contents: read

jobs:
build:
ubuntu:
needs: [get-lts]
runs-on: ubuntu-latest
strategy:
Expand Down
19 changes: 17 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:
with:
node-version: "24"
- uses: actions/checkout@v6
- run: npm ci || npm install
- run: npm ci
- run: npm test

create-release:
release:
needs: [build, version]
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -77,3 +77,18 @@ jobs:
tag_name: v${{ needs.version.outputs.version }}
name: ${{ needs.version.outputs.version }}
generate_release_notes: false

publish:
needs: release
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish --provenance
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).

### Unreleased

### 2.2.1 - 2026-05-25

- fix(packet): use crypto.randomInt for Packet.uuid (RFC 5452)
- fix(packet): preserve RDLENGTH+RDATA for unknown RR types

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dns2",
"version": "2.2.0",
"version": "2.2.1",
"description": "A DNS Server and Client Implementation in Pure JavaScript with no dependencies.",
"main": "index.js",
"types": "ts/index.d.ts",
Expand Down Expand Up @@ -41,12 +41,12 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/song940/node-dns.git"
"url": "git+https://github.com/lsongdev/node-dns.git"
},
"bugs": {
"url": "https://github.com/song940/node-dns/issues"
"url": "https://github.com/lsongdev/node-dns/issues"
},
"homepage": "https://github.com/song940/node-dns#readme",
"homepage": "https://github.com/lsongdev/node-dns#readme",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@stylistic/eslint-plugin": "^5.10.0",
Expand Down