@k03mad/dns-leak 7.1.4 → 7.3.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.
@@ -1,10 +1,10 @@
1
1
  version: 2
2
2
  updates:
3
- - package-ecosystem: "npm"
4
- directory: "/"
3
+ - package-ecosystem: npm
4
+ directory: /
5
5
  schedule:
6
- interval: "monthly"
7
- - package-ecosystem: "github-actions"
8
- directory: "/"
6
+ interval: monthly
7
+ - package-ecosystem: github-actions
8
+ directory: /
9
9
  schedule:
10
- interval: "daily"
10
+ interval: monthly
@@ -7,29 +7,14 @@ on:
7
7
  pull_request:
8
8
  branches:
9
9
  - master
10
- schedule:
11
- - cron: '00 15 * * 6'
12
10
 
13
11
  jobs:
14
12
  lint:
15
- name: Lint
16
- permissions:
17
- contents: read
18
- runs-on: ubuntu-latest
13
+ runs-on: ubuntu-22.04
19
14
  steps:
20
- - name: Checkout
21
- uses: actions/checkout@v4
22
-
23
- - name: Install NodeJS
24
- uses: actions/setup-node@v4
15
+ - uses: actions/checkout@v4
16
+ - uses: actions/setup-node@v4
25
17
  with:
26
18
  node-version-file: '.nvmrc'
27
-
28
- - name: Install PNPM
29
- run: npm i pnpm -g
30
-
31
- - name: Run setup
32
- run: npm run setup
33
-
34
- - name: Run lint
35
- run: npm run lint
19
+ - run: npm run setup
20
+ - run: npm run lint
@@ -0,0 +1,21 @@
1
+ name: Publish
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+
8
+ jobs:
9
+ publish:
10
+ environment: npm
11
+ runs-on: ubuntu-22.04
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-node@v4
15
+ with:
16
+ node-version-file: '.nvmrc'
17
+ registry-url: 'https://registry.npmjs.org'
18
+ - run: npm run setup
19
+ - run: npm publish
20
+ env:
21
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k03mad/dns-leak",
3
- "version": "7.1.4",
3
+ "version": "7.3.0",
4
4
  "description": "DNS leak test",
5
5
  "maintainers": [
6
6
  "Kirill Molchanov <k03.mad@gmail.com"
@@ -18,19 +18,19 @@
18
18
  "node": ">=20"
19
19
  },
20
20
  "dependencies": {
21
- "@k03mad/ip2geo": "7.0.0",
22
- "@k03mad/request": "5.6.0",
23
- "@k03mad/simple-log": "2.1.0",
21
+ "@k03mad/ip2geo": "7.0.1",
22
+ "@k03mad/request": "5.6.1",
23
+ "@k03mad/simple-log": "2.1.1",
24
24
  "chalk": "5.3.0",
25
25
  "country-locale-map": "1.9.0",
26
- "nanoid": "5.0.4",
26
+ "nanoid": "5.0.6",
27
27
  "nanoid-dictionary": "5.0.0-beta.1",
28
28
  "ora": "8.0.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@k03mad/eslint-config": "20.2.0",
32
- "eslint": "8.56.0",
33
- "husky": "9.0.7"
31
+ "@k03mad/eslint-config": "20.3.0",
32
+ "eslint": "8.57.0",
33
+ "husky": "9.0.11"
34
34
  },
35
35
  "scripts": {
36
36
  "lint": "npm run lint:eslint",
@@ -38,7 +38,8 @@
38
38
  "clean": "npm run clean:modules && npm run clean:eslint:cache",
39
39
  "clean:modules": "rm -rf ./node_modules || true",
40
40
  "clean:eslint:cache": "rm -rf .eslintcache || true",
41
- "setup": "npm run clean && pnpm i",
41
+ "setup": "npm run clean && npm run setup:pnpm",
42
+ "setup:pnpm": "npm i pnpm -g && pnpm i",
42
43
  "prepare": "husky || true"
43
44
  }
44
45
  }