Skip to content

Commit 32b5f77

Browse files
committed
Patch again
1 parent 3bc9781 commit 32b5f77

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
"unist-util-visit": "^5.0.0",
7777
"use-query-params": "^2.2.1"
7878
},
79+
"optionalDependencies": {
80+
"playwright": "^1.54.2"
81+
},
7982
"devDependencies": {
8083
"@graphql-eslint/eslint-plugin": "4.3.0",
8184
"@next/eslint-plugin-next": "^15.3.3",
@@ -104,9 +107,6 @@
104107
"tsx": "^4.19.4",
105108
"typescript": "^5.8.3"
106109
},
107-
"optionalDependencies": {
108-
"playwright": "^1.54.2"
109-
},
110110
"browserslist": [
111111
"chrome >0 and last 2.5 years",
112112
"edge >0 and last 2.5 years",

patches/mermaid-isomorphic.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/dist/mermaid-isomorphic.js b/dist/mermaid-isomorphic.js
2-
index aa5dc09a5dfb58a98d3f12cd2fc473caddd97b0d..588061772d8dad6c5ddcf0794cce93fbb5bfdbe2 100644
2+
index aa5dc09a5dfb58a98d3f12cd2fc473caddd97b0d..d0fa3ca8e690233d0b50e4f992ab6ac33c11585b 100644
33
--- a/dist/mermaid-isomorphic.js
44
+++ b/dist/mermaid-isomorphic.js
55
@@ -1,4 +1,5 @@
@@ -27,7 +27,7 @@ index aa5dc09a5dfb58a98d3f12cd2fc473caddd97b0d..588061772d8dad6c5ddcf0794cce93fb
2727
+ let { browserType = playwright, launchOptions } = options;
2828
+
2929
+ if (process.env.CI) {
30-
+ if (browserType) {
30+
+ if (options.browserType) {
3131
+ throw new Error('options.browserType is not supported because @hasparus patched it to run on Vercel builds, sorry');
3232
+ }
3333
+ browserType = {

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)