Skip to content

Commit 7fa8241

Browse files
committed
chore: update dependencies
1 parent a95e63f commit 7fa8241

7 files changed

Lines changed: 798 additions & 945 deletions

File tree

.github/workflows/build.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,23 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
14+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
15+
16+
- name: Install Node.js
17+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
18+
with:
19+
node-version: "24"
1520

1621
- name: Install pnpm
17-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
22+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
1823
with:
19-
version: latest
2024
run_install: true
25+
cache: true
2126

22-
- name: Install Node.js
23-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
24-
with:
25-
node-version: "24"
26-
cache: pnpm
27+
- name: Audit dependencies
28+
run: pnpm audit --prod --audit-level=high
2729

28-
- name: Run linter
30+
- name: Run linters
2931
run: pnpm run lint:all
3032

3133
- name: Run build

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
12+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1313

1414
- name: Generate Changelog
1515
id: release_notes
@@ -18,7 +18,7 @@ jobs:
1818
version: ${{ github.ref }}
1919

2020
- name: Create GitHub Release
21-
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
21+
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
2222
with:
2323
tag_name: ${{ github.ref_name }}
2424
body: ${{ steps.release_notes.outputs.release_notes }}

.ncurc.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
enginesNode: true
2+
format: repo
3+
reject:
4+
- pnpm
5+
- eslint # https://github.com/neostandard/neostandard/issues/350

package.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Userscript that minimizes messages containing words from the list",
55
"author": "VChet",
66
"license": "MIT",
7+
"packageManager": "pnpm@10.34.4",
78
"type": "module",
89
"homepage": "https://github.com/VChet/telegram-ad-filter#readme",
910
"repository": {
@@ -24,14 +25,14 @@
2425
"release": "npm run lint:all && commit-and-tag-version"
2526
},
2627
"devDependencies": {
27-
"@types/node": "^24.10.1",
28+
"@types/node": "^26.0.1",
2829
"@types/tampermonkey": "^5.0.5",
29-
"commit-and-tag-version": "^12.6.1",
30-
"eslint": "^9.39.1",
30+
"commit-and-tag-version": "^12.7.3",
31+
"eslint": "~9.39.4",
3132
"eslint-plugin-userscripts": "^0.5.6",
32-
"neostandard": "^0.12.2",
33-
"tsdown": "^0.17.0",
34-
"typescript": "^5.9.3"
33+
"neostandard": "^0.13.0",
34+
"tsdown": "^0.22.3",
35+
"typescript": "^6.0.3"
3536
},
3637
"pnpm": {
3738
"overrides": {
@@ -43,12 +44,16 @@
4344
"es-iterator-helpers": "npm:@nolyfill/es-iterator-helpers@^1",
4445
"hasown": "npm:@nolyfill/hasown@^1",
4546
"is-core-module": "npm:@nolyfill/is-core-module@^1",
47+
"isarray": "npm:@nolyfill/isarray@^1",
48+
"object-keys": "npm:@nolyfill/object-keys@^1",
4649
"object.assign": "npm:@nolyfill/object.assign@^1",
4750
"object.entries": "npm:@nolyfill/object.entries@^1",
4851
"object.fromentries": "npm:@nolyfill/object.fromentries@^1",
4952
"object.values": "npm:@nolyfill/object.values@^1",
53+
"safe-buffer": "npm:@nolyfill/safe-buffer@^1",
5054
"string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@^1",
51-
"string.prototype.repeat": "npm:@nolyfill/string.prototype.repeat@^1"
55+
"string.prototype.repeat": "npm:@nolyfill/string.prototype.repeat@^1",
56+
"typedarray": "npm:@nolyfill/typedarray@^1"
5257
}
5358
}
5459
}

0 commit comments

Comments
 (0)