@k03mad/dns-leak 4.1.1 → 4.2.0

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.
@@ -25,6 +25,9 @@ jobs:
25
25
  with:
26
26
  node-version-file: '.nvmrc'
27
27
 
28
+ - name: Install PNPM
29
+ run: npm i pnpm -g
30
+
28
31
  - name: Run setup
29
32
  run: npm run setup
30
33
 
package/README.md CHANGED
@@ -10,7 +10,7 @@ Using API/tools:\
10
10
  ## Global
11
11
 
12
12
  ```bash
13
- npm i @k03mad/dns-leak -g
13
+ pnpm i @k03mad/dns-leak -g
14
14
  ```
15
15
 
16
16
  ```bash
@@ -20,7 +20,7 @@ dns-leak
20
20
  ## API
21
21
 
22
22
  ```bash
23
- npm i @k03mad/dns-leak
23
+ pnpm i @k03mad/dns-leak
24
24
  ```
25
25
 
26
26
  ```js
package/package.json CHANGED
@@ -1,20 +1,25 @@
1
1
  {
2
2
  "name": "@k03mad/dns-leak",
3
- "version": "4.1.1",
3
+ "version": "4.2.0",
4
4
  "description": "DNS leak test",
5
5
  "maintainers": [
6
6
  "Kirill Molchanov <k03.mad@gmail.com"
7
7
  ],
8
8
  "main": "app/api/_index.js",
9
- "bin": "app/run.js",
10
- "repository": "k03mad/dns-leak",
9
+ "bin": {
10
+ "dns-leak": "app/run.js"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/k03mad/dns-leak.git"
15
+ },
11
16
  "license": "MIT",
12
17
  "type": "module",
13
18
  "engines": {
14
19
  "node": ">=20"
15
20
  },
16
21
  "dependencies": {
17
- "@k03mad/request": "5.1.1",
22
+ "@k03mad/request": "5.4.0",
18
23
  "chalk": "5.3.0",
19
24
  "country-locale-map": "1.9.0",
20
25
  "nanoid": "5.0.4",
@@ -22,18 +27,17 @@
22
27
  "ora": "8.0.1"
23
28
  },
24
29
  "devDependencies": {
25
- "@k03mad/eslint-config": "17.12.3",
30
+ "@k03mad/eslint-config": "17.14.0",
26
31
  "eslint": "8.56.0",
27
32
  "husky": "8.0.3"
28
33
  },
29
34
  "scripts": {
30
- "lint": "npm run lint:eslint",
35
+ "lint": "pnpm run lint:eslint",
31
36
  "lint:eslint": "eslint ./ --cache",
32
- "clean": "npm run clean:modules && npm run clean:eslint:cache",
37
+ "clean": "pnpm run clean:modules && pnpm run clean:eslint:cache",
33
38
  "clean:modules": "rm -rf ./node_modules || true",
34
39
  "clean:eslint:cache": "rm -rf .eslintcache || true",
35
- "setup": "npm run clean && npm i",
36
- "setup:prod": "npm run clean && npm i --omit=dev",
40
+ "setup": "pnpm run clean && pnpm i",
37
41
  "prepare": "husky install || true"
38
42
  }
39
43
  }