Skip to content

Commit 32c49e3

Browse files
committed
chore: Update dependencies.
1 parent 97a6eb3 commit 32c49e3

36 files changed

Lines changed: 3246 additions & 3711 deletions

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ assignees: ""
3131

3232
### Environment
3333

34-
- Playwright-ghost version<!-- e.g. 0.18.0 -->:
34+
- Playwright-ghost version<!-- e.g. 0.19.0 -->:
3535
- Dependencies version:
36-
- Playwright (or fork)<!-- e.g. 1.58.2, patchright 1.58.2 -->:
37-
- others (if appropriate)<!-- e.g. @ghostery/adblocker-playwright 2.14.1 -->:
38-
- Node version<!-- e.g. v24.14.1 -->:
39-
- npm version<!-- e.g. 11.11.0 -->:
36+
- Playwright (or fork)<!-- e.g. 1.60.0, patchright 1.60.0 -->:
37+
- others (if appropriate)<!-- e.g. @ghostery/adblocker-playwright 2.18.0 -->:
38+
- Runtime version<!-- e.g. Node.js v26.3.0, Bun 1.3.11, Deno 2.8.2 -->:
39+
- npm version<!-- e.g. 11.16.0 -->:
4040

4141
### Additional context
4242

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ assignees: ""
1717

1818
### Environment
1919

20-
- Playwright-ghost version<!-- e.g. 0.18.0 -->:
20+
- Playwright-ghost version<!-- e.g. 0.19.0 -->:
2121
- Dependencies version:
22-
- Playwright (or fork)<!-- e.g. 1.58.2, patchright 1.58.2 -->:
23-
- others (if appropriate)<!-- e.g. @ghostery/adblocker-playwright 2.14.1 -->:
24-
- Node version<!-- e.g. v24.14.1 -->:
25-
- npm version<!-- e.g. 11.11.0 -->:
22+
- Playwright (or fork)<!-- e.g. 1.60.0, patchright 1.60.0 -->:
23+
- others (if appropriate)<!-- e.g. @ghostery/adblocker-playwright 2.18.0 -->:
24+
- Runtime version<!-- e.g. Node.js v26.3.0, Bun 1.3.11, Deno 2.8.2 -->:
25+
- npm version<!-- e.g. 11.16.0 -->:
2626

2727
### Additional context
2828

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ updates:
77
allow:
88
- dependency-type: production
99
cooldown:
10-
default-days: 5
10+
default-days: 7
1111
groups:
1212
npm:
1313
patterns:
@@ -18,7 +18,7 @@ updates:
1818
schedule:
1919
interval: monthly
2020
cooldown:
21-
default-days: 5
21+
default-days: 7
2222
groups:
2323
github-actions:
2424
patterns:

.github/workflows/ci.yml

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
schedule:
66
- cron: "3 4 * * 5"
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
permissions:
913
contents: read
1014

@@ -13,41 +17,44 @@ jobs:
1317
runs-on: ubuntu-latest
1418
steps:
1519
- name: Checkout repository
16-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1721
with:
1822
persist-credentials: false
1923

2024
- name: Setup Node.js
21-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
25+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2226
with:
23-
node-version: 24
27+
node-version: 26
2428

2529
- name: Install dependencies
2630
run: npm ci
2731

2832
- name: Lint files
33+
continue-on-error: true
2934
run: npm run lint -- --formatter github
3035

3136
- name: npm pack (publish) dry run
37+
continue-on-error: true
3238
run: npm pack --dry-run
3339

3440
- name: JSR publish dry run
41+
continue-on-error: true
3542
run: npx jsr publish --dry-run
3643

3744
test-node:
3845
runs-on: ${{ matrix.os }}
3946
strategy:
4047
matrix:
4148
os: [ubuntu-latest, macos-latest, windows-latest]
42-
node-version: [22, 24, latest]
49+
node-version: [22, 24, 26, latest]
4350
steps:
4451
- name: Checkout repository
45-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
52+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4653
with:
4754
persist-credentials: false
4855

4956
- name: Setup Node.js ${{ matrix.node-version }}
50-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
57+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
5158
with:
5259
node-version: ${{ matrix.node-version }}
5360

@@ -64,15 +71,15 @@ jobs:
6471
os: [ubuntu-latest, macos-latest, windows-latest]
6572
steps:
6673
- name: Checkout repository
67-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
74+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6875
with:
6976
persist-credentials: false
7077

7178
- name: Setup Bun
7279
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
7380

7481
- name: Install dependencies
75-
run: bun ci
82+
run: bun install
7683

7784
- name: Run unit tests on Bun
7885
run: npm run test:unit:bun
@@ -101,14 +108,14 @@ jobs:
101108
runs-on: ubuntu-latest
102109
steps:
103110
- name: Checkout repository
104-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
111+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
105112
with:
106113
persist-credentials: false
107114

108115
- name: Setup Node.js
109-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
116+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
110117
with:
111-
node-version: 24
118+
node-version: 26
112119

113120
- name: Install dependencies
114121
run: npm ci
@@ -126,19 +133,20 @@ jobs:
126133
security-events: write
127134
steps:
128135
- name: Checkout repository
129-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
136+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
130137
with:
131138
persist-credentials: false
132139

133140
- name: Initialize CodeQL
134-
uses: github/codeql-action/init@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
141+
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
135142
with:
136143
languages: javascript
137144

138145
- name: Perform CodeQL Analysis
139-
uses: github/codeql-action/analyze@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
146+
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
140147

141148
- name: Run Snyk to check for vulnerabilities
149+
# Ne pas exécuter Snyk sur les forks, car ils n'ont pas accès au jeton.
142150
if: ${{ 'Actions' == github.secret_source }}
143151
uses: snyk/actions/node@9adf32b1121593767fc3c057af55b55db032dc04 # v1.0.0
144152
continue-on-error: true

.github/workflows/release.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
push:
44
branches: [main]
55

6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
610
permissions:
711
contents: read
812

@@ -17,7 +21,7 @@ jobs:
1721
id-token: write
1822
steps:
1923
- name: Run Release Please
20-
uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
24+
uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
2125
id: release
2226
with:
2327
config-file: .release-please/config.json
@@ -29,7 +33,7 @@ jobs:
2933
# https://github.com/googleapis/release-please/issues/1802
3034
- name: Checkout repository
3135
if: ${{ steps.release.outputs.pr }}
32-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
36+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3337
with:
3438
ref: ${{ fromJSON(steps.release.outputs.pr).headBranchName }}
3539
# Récupérer deux commits sinon la réparation du commit (pour le
@@ -45,9 +49,9 @@ jobs:
4549
4650
- name: Setup Node.js
4751
if: ${{ steps.release.outputs.pr }}
48-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
52+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
4953
with:
50-
node-version: 24
54+
node-version: 26
5155

5256
- name: Install dependencies
5357
if: ${{ steps.release.outputs.pr }}
@@ -68,29 +72,22 @@ jobs:
6872
# Si la release a été créée : publier le paquet dans npm et JSR.
6973
- name: Checkout repository
7074
if: ${{ steps.release.outputs.release_created }}
71-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
75+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
7276

7377
- name: Setup Node.js
7478
if: ${{ steps.release.outputs.release_created }}
75-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
79+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
7680
with:
77-
node-version: 24
81+
node-version: 26
7882
registry-url: https://registry.npmjs.org
7983

80-
# Mettre à jour npm pour avoir a minima la version 11.11.1.
81-
# https://github.com/npm/cli/pull/9045
82-
- name: Update npm
83-
run: npm install -g npm@latest
84-
8584
- name: Install dependencies and build declaration files (d.ts)
8685
if: ${{ steps.release.outputs.release_created }}
8786
run: npm ci
8887

8988
- name: Publish in npm
9089
if: ${{ steps.release.outputs.release_created }}
91-
# Forcer l'accès public, car la valeur par défaut n'est pas utilisée.
92-
# https://github.com/npm/cli/issues/7706
93-
run: npm publish --access public
90+
run: npm publish
9491

9592
- name: Publish in JSR
9693
if: ${{ steps.release.outputs.release_created }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
*.swp
1414

1515
# Ignorer les autres lockfiles.
16+
/bun.lock
1617
/pnpm-lock.yaml
1718
/yarn.lock

.idea/runConfigurations/ci.xml

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/install.xml

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/prepare.xml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/test.xml

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)