-
-
Notifications
You must be signed in to change notification settings - Fork 14
Make JS engines optional dependencies when pulling in gost-dom/browser #245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| go 1.25 | ||
|
|
||
| use ( | ||
| . | ||
| ./scripting/v8engine | ||
| ./scripting/sobekengine | ||
| ./v8browser | ||
| ) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ go 1.25.3 | |
| require ( | ||
| github.com/Marlliton/slogpretty v0.1.3 | ||
| github.com/gost-dom/browser v0.10.3 | ||
| github.com/gost-dom/browser/scripting/v8engine v0.0.0 | ||
| github.com/stretchr/testify v1.11.1 | ||
| golang.org/x/net v0.48.0 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check golang.org/x/net versions across all go.mod files
echo "=== golang.org/x/net versions in all go.mod files ==="
fd -e mod -x sh -c 'echo "{}:"; grep "golang.org/x/net" {} || echo " (not present)"'Repository: gost-dom/browser Length of output: 464 Align golang.org/x/net versions across modules. The repository has a version inconsistency for |
||
| ) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,4 +3,5 @@ go 1.25.3 | |
| use ( | ||
| . | ||
| ../../.. | ||
| ../../../scripting/v8engine | ||
| ) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| module github.com/gost-dom/browser/scripting/sobekengine | ||
|
|
||
| go 1.25 | ||
|
|
||
| require ( | ||
| github.com/gost-dom/browser v0.10.3 | ||
| github.com/grafana/sobek v0.0.0-20251113105955-976a34df9c09 | ||
| ) | ||
|
|
||
| require ( | ||
| github.com/dlclark/regexp2 v1.11.5 // indirect | ||
| github.com/go-sourcemap/sourcemap v2.1.4+incompatible // indirect | ||
| github.com/gost-dom/css v0.1.0 // indirect | ||
| github.com/google/pprof v0.0.0-20251114195745-4902fdda35c8 // indirect | ||
| golang.org/x/net v0.47.0 // indirect | ||
| golang.org/x/text v0.31.0 // indirect | ||
| ) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| module github.com/gost-dom/browser/scripting/v8engine | ||
|
|
||
| go 1.25 | ||
|
|
||
| require ( | ||
| github.com/gost-dom/browser v0.10.3 | ||
| github.com/gost-dom/v8go v0.0.0-20250712111039-fd213ddc42d7 | ||
| ) | ||
|
|
||
| require ( | ||
| github.com/gost-dom/css v0.1.0 // indirect | ||
| github.com/tommie/v8go/deps/android_amd64 v0.0.0-20251007175045-97bcf8e7d6ed // indirect | ||
| github.com/tommie/v8go/deps/android_arm64 v0.0.0-20251007175045-97bcf8e7d6ed // indirect | ||
| github.com/tommie/v8go/deps/darwin_amd64 v0.0.0-20251007175045-97bcf8e7d6ed // indirect | ||
| github.com/tommie/v8go/deps/darwin_arm64 v0.0.0-20251007175045-97bcf8e7d6ed // indirect | ||
| github.com/tommie/v8go/deps/linux_amd64 v0.0.0-20251007175045-97bcf8e7d6ed // indirect | ||
| github.com/tommie/v8go/deps/linux_arm64 v0.0.0-20251007175045-97bcf8e7d6ed // indirect | ||
| golang.org/x/net v0.47.0 // indirect | ||
| ) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| module github.com/gost-dom/browser/v8browser | ||
|
|
||
| go 1.25 | ||
|
|
||
| require ( | ||
| github.com/gost-dom/browser v0.10.3 | ||
| github.com/gost-dom/browser/scripting/v8engine v0.0.0 // local version via go.work | ||
| ) | ||
|
|
||
| require ( | ||
| github.com/gost-dom/css v0.1.0 // indirect | ||
| github.com/gost-dom/v8go v0.0.0-20250712111039-fd213ddc42d7 // indirect | ||
| github.com/tommie/v8go/deps/android_amd64 v0.0.0-20251007175045-97bcf8e7d6ed // indirect | ||
| github.com/tommie/v8go/deps/android_arm64 v0.0.0-20251007175045-97bcf8e7d6ed // indirect | ||
| github.com/tommie/v8go/deps/darwin_amd64 v0.0.0-20251007175045-97bcf8e7d6ed // indirect | ||
| github.com/tommie/v8go/deps/darwin_arm64 v0.0.0-20251007175045-97bcf8e7d6ed // indirect | ||
| github.com/tommie/v8go/deps/linux_amd64 v0.0.0-20251007175045-97bcf8e7d6ed // indirect | ||
| github.com/tommie/v8go/deps/linux_arm64 v0.0.0-20251007175045-97bcf8e7d6ed // indirect | ||
| golang.org/x/net v0.47.0 // indirect | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix trailing space.
Proposed fix
📝 Committable suggestion
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)
71-71: Trailing spaces
Expected: 0 or 2; Actual: 1
(MD009, no-trailing-spaces)