Skip to content

Commit 0c19cf7

Browse files
authored
fix: supply chain hardening and dep fixes (#341)
- Override protobufjs >=7.5.5, tar >=7.5.13, dompurify >=3.4.0 - Move protobufjs to ignoredBuiltDependencies - Add --frozen-lockfile to CI install steps - Refresh lockfile
1 parent 115182e commit 0c19cf7

3 files changed

Lines changed: 28 additions & 32 deletions

File tree

.github/workflows/verify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
cache-dependency-path: pnpm-lock.yaml
4040

4141
- name: Install dependencies
42-
run: pnpm install
42+
run: pnpm install --frozen-lockfile
4343

4444
- name: Check
4545
run: pnpm run check
@@ -100,7 +100,7 @@ jobs:
100100
cache-dependency-path: pnpm-lock.yaml
101101

102102
- name: Install dependencies
103-
run: pnpm install
103+
run: pnpm install --frozen-lockfile
104104

105105
- name: Run Playwright tests
106106
run: pnpm run test:e2e --shard=${{ matrix.shard }}/3

pnpm-lock.yaml

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

pnpm-workspace.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ onlyBuiltDependencies:
77
- core-js
88
- es5-ext
99
- esbuild
10+
11+
ignoredBuiltDependencies:
1012
- protobufjs
1113

1214
minimumReleaseAgeExclude:
@@ -16,6 +18,11 @@ minimumReleaseAgeExclude:
1618
- ox
1719
- viem
1820

21+
overrides:
22+
protobufjs: '>=7.5.5'
23+
tar: '>=7.5.13'
24+
dompurify: '>=3.4.0'
25+
1926
patchedDependencies:
2027
'@braintree/sanitize-url@7.1.2': patches/@braintree__sanitize-url@7.1.2.patch
2128
dayjs@1.11.20: patches/dayjs@1.11.20.patch

0 commit comments

Comments
 (0)