@k03mad/dns-leak 3.3.0 → 3.5.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,4 +1,4 @@
1
- name: ESLint
1
+ name: Lint
2
2
 
3
3
  on:
4
4
  push:
@@ -11,11 +11,10 @@ on:
11
11
  - cron: '00 15 * * 6'
12
12
 
13
13
  jobs:
14
- eslint:
15
- name: ESLint
14
+ lint:
15
+ name: Lint
16
16
  permissions:
17
17
  contents: read
18
- security-events: write
19
18
  runs-on: ubuntu-latest
20
19
  steps:
21
20
  - name: Checkout
@@ -26,15 +25,8 @@ jobs:
26
25
  with:
27
26
  node-version-file: '.nvmrc'
28
27
 
29
- - name: Install dependencies
28
+ - name: Run setup
30
29
  run: npm run setup
31
30
 
32
- - name: Run ESLint
33
- run: npm run lint:github
34
- continue-on-error: true
35
-
36
- - name: Upload results
37
- uses: github/codeql-action/upload-sarif@v3
38
- with:
39
- sarif_file: eslint-results.sarif
40
- wait-for-processing: true
31
+ - name: Run lint
32
+ run: npm run lint
@@ -0,0 +1,3 @@
1
+ {
2
+ "eslint.experimental.useFlatConfig": true
3
+ }
@@ -0,0 +1 @@
1
+ export {default} from '@k03mad/eslint-config';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k03mad/dns-leak",
3
- "version": "3.3.0",
3
+ "version": "3.5.0",
4
4
  "description": "DNS leak test",
5
5
  "maintainers": [
6
6
  "Kirill Molchanov <k03.mad@gmail.com"
@@ -14,30 +14,22 @@
14
14
  "node": ">=20"
15
15
  },
16
16
  "dependencies": {
17
- "@k03mad/request": "4.1.0",
17
+ "@k03mad/request": "4.3.0",
18
18
  "chalk": "5.3.0",
19
19
  "country-locale-map": "1.9.0",
20
20
  "nanoid": "5.0.4",
21
21
  "nanoid-dictionary": "5.0.0-beta.1",
22
- "ora": "7.0.1"
22
+ "ora": "8.0.1"
23
23
  },
24
24
  "devDependencies": {
25
- "@k03mad/eslint-config": "14.14.0",
26
- "@microsoft/eslint-formatter-sarif": "3.0.0",
27
- "@stylistic/eslint-plugin": "1.5.1",
25
+ "@k03mad/eslint-config": "16.3.0",
28
26
  "eslint": "8.56.0",
29
- "eslint-plugin-import": "2.29.1",
30
- "eslint-plugin-jsdoc": "46.9.1",
31
- "eslint-plugin-n": "16.4.0",
32
- "eslint-plugin-simple-import-sort": "10.0.0",
33
- "eslint-plugin-sort-destructure-keys": "1.5.0",
34
- "eslint-plugin-unicorn": "49.0.0",
35
27
  "husky": "8.0.3"
36
28
  },
37
29
  "scripts": {
38
- "lint": "eslint ./ --report-unused-disable-directives",
39
- "lint:github": "eslint ./ --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif",
40
- "clean": "rm -rfv ./node_modules || true",
30
+ "lint": "npm run lint:eslint",
31
+ "lint:eslint": "eslint ./ --cache",
32
+ "clean": "rm -rf ./node_modules || true",
41
33
  "setup": "npm run clean && npm i",
42
34
  "prepare": "husky install"
43
35
  }
package/.eslintrc.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "extends": "@k03mad"
3
- }