From 2195ebc1f94694825948af67a3ea8f79606cdf36 Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 22 May 2024 20:03:13 +0200 Subject: [PATCH] updated: rename the filename for node resolvers --- .github/workflows/test-on-push.yml | 2 +- dist/{resolver-node-dig.d.ts => node-resolvers.d.ts} | 0 dist/{resolver-node-dig.js => node-resolvers.js} | 0 examples/all-dns-records-node-dig.ts | 2 +- src/{resolver-node-dig.ts => node-resolvers.ts} | 0 test/test.js | 2 +- 6 files changed, 3 insertions(+), 3 deletions(-) rename dist/{resolver-node-dig.d.ts => node-resolvers.d.ts} (100%) rename dist/{resolver-node-dig.js => node-resolvers.js} (100%) rename src/{resolver-node-dig.ts => node-resolvers.ts} (100%) diff --git a/.github/workflows/test-on-push.yml b/.github/workflows/test-on-push.yml index d872f69..986501d 100644 --- a/.github/workflows/test-on-push.yml +++ b/.github/workflows/test-on-push.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - node-version: [18, 20, 21] + node-version: [18, 20, 22] steps: - uses: actions/checkout@v4 diff --git a/dist/resolver-node-dig.d.ts b/dist/node-resolvers.d.ts similarity index 100% rename from dist/resolver-node-dig.d.ts rename to dist/node-resolvers.d.ts diff --git a/dist/resolver-node-dig.js b/dist/node-resolvers.js similarity index 100% rename from dist/resolver-node-dig.js rename to dist/node-resolvers.js diff --git a/examples/all-dns-records-node-dig.ts b/examples/all-dns-records-node-dig.ts index 5d221c0..68b4a4a 100644 --- a/examples/all-dns-records-node-dig.ts +++ b/examples/all-dns-records-node-dig.ts @@ -1,5 +1,5 @@ import { DnsRecord, getAllDnsRecords } from '../src/index.ts' -import { getDnsRecordsDig } from '../src/resolver-node-dig.ts' +import { getDnsRecordsDig } from '../src/node-resolvers.ts' const domain = 'render.com' diff --git a/src/resolver-node-dig.ts b/src/node-resolvers.ts similarity index 100% rename from src/resolver-node-dig.ts rename to src/node-resolvers.ts diff --git a/test/test.js b/test/test.js index 935c863..d912e01 100644 --- a/test/test.js +++ b/test/test.js @@ -2,7 +2,7 @@ import { strict as assert } from 'node:assert' import test from 'node:test' import { getDnsRecords, getAllDnsRecords } from '../dist/index.js' -import { getDnsRecordsDig } from '../dist/resolver-node-dig.js' +import { getDnsRecordsDig } from '../dist/node-resolvers.js' test('get name servers for google.com (NS)', async () => { const expectedNs = ['ns1.google.com.', 'ns2.google.com.', 'ns3.google.com.', 'ns4.google.com.']