@k03mad/dns-leak 8.18.0 → 8.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,5 +16,5 @@ jobs:
16
16
  - uses: actions/setup-node@v4
17
17
  with:
18
18
  node-version-file: '.nvmrc'
19
- - run: npm run setup
19
+ - run: npm i
20
20
  - run: npm run lint
@@ -26,7 +26,7 @@ jobs:
26
26
  registry-url: 'https://registry.npmjs.org'
27
27
 
28
28
  - if: steps.check_pkg_version.outputs.changed == 'true'
29
- run: npm run setup
29
+ run: npm i
30
30
 
31
31
  - if: steps.check_pkg_version.outputs.changed == 'true'
32
32
  run: npm publish
package/app/run.js CHANGED
@@ -34,7 +34,7 @@ const dnsIpsInfo = await Promise.all(dnsIps.map(async ip => {
34
34
 
35
35
  const dnsIpsInfoFormatted = dnsIpsInfo
36
36
  .filter(Boolean)
37
- .sort((a, b) => a?.ip?.localeCompare(b?.ip))
37
+ .toSorted((a, b) => a?.ip?.localeCompare(b?.ip))
38
38
  .flatMap(data => formatIpInfo(data));
39
39
 
40
40
  const output = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k03mad/dns-leak",
3
- "version": "8.18.0",
3
+ "version": "8.18.2",
4
4
  "description": "DNS leak test",
5
5
  "maintainers": [
6
6
  "Kirill Molchanov <k03.mad@gmail.com"
@@ -18,26 +18,22 @@
18
18
  "node": ">=22"
19
19
  },
20
20
  "dependencies": {
21
- "@k03mad/ip2geo": "12.15.0",
22
- "@k03mad/request": "7.22.0",
21
+ "@k03mad/ip2geo": "12.15.2",
22
+ "@k03mad/request": "7.22.2",
23
23
  "@k03mad/simple-log": "5.3.0",
24
- "chalk": "5.6.0",
24
+ "chalk": "5.6.2",
25
25
  "country-locale-map": "1.9.9",
26
- "nanoid": "5.1.5",
26
+ "nanoid": "5.1.6",
27
27
  "nanoid-dictionary": "5.0.0",
28
- "ora": "8.2.0"
28
+ "ora": "9.0.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@k03mad/eslint-config": "29.9.0",
32
- "eslint": "9.34.0",
31
+ "@k03mad/eslint-config": "29.13.2",
32
+ "eslint": "9.36.0",
33
33
  "husky": "9.1.7"
34
34
  },
35
35
  "scripts": {
36
- "lint": "npm run lint:eslint",
37
- "lint:eslint": "eslint ./ --cache",
38
- "clean": "rm -rf ./node_modules .eslintcache || true",
39
- "setup": "npm run clean && npm run setup:pnpm",
40
- "setup:pnpm": "npm i pnpm -g && pnpm i",
36
+ "lint": "eslint ./ --cache",
41
37
  "prepare": "husky || true"
42
38
  }
43
39
  }