Skip to content

Commit c3daed1

Browse files
committed
chore: update deps
Signed-off-by: Christian Stewart <christian@aperture.us>
1 parent f38a3b3 commit c3daed1

File tree

20 files changed

+861
-779
lines changed

20 files changed

+861
-779
lines changed

cmd/bifrost/cmd_daemon.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !js
2-
// +build !js
32

43
package main
54

deps.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build deps_only
2-
// +build deps_only
32

43
package bifrost
54

examples/udp-link/main.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ import (
1818
"github.com/sirupsen/logrus"
1919
)
2020

21-
var (
22-
log = logrus.New()
23-
)
21+
var log = logrus.New()
2422

2523
func init() {
2624
log.SetLevel(logrus.DebugLevel)

examples/webrtc-browser-http/browser/index.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build js
2-
// +build js
32

43
package main
54

examples/webrtc-browser-http/browser/index_nojs.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !js
2-
// +build !js
32

43
package main
54

examples/websocket-browser-link/browser/index.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build js
2-
// +build js
32

43
package main
54

examples/websocket-browser-link/browser/index.html

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,45 +5,46 @@
55
license that can be found in the LICENSE file.
66
-->
77
<html>
8+
<head>
9+
<meta charset="utf-8" />
10+
<title>Go wasm</title>
11+
</head>
812

9-
<head>
10-
<meta charset="utf-8">
11-
<title>Go wasm</title>
12-
</head>
13-
14-
<body>
15-
<!--
13+
<body>
14+
<!--
1615
Add the following polyfill for Microsoft Edge 17/18 support:
1716
<script src="https://cdn.jsdelivr.net/npm/text-encoding@0.7.0/lib/encoding.min.js"></script>
1817
(see https://caniuse.com/#feat=textencoder)
1918
-->
20-
<script src="wasm_exec.js"></script>
21-
<script>
22-
if (!WebAssembly.instantiateStreaming) { // polyfill
23-
WebAssembly.instantiateStreaming = async (resp, importObject) => {
24-
const source = await (await resp).arrayBuffer();
25-
return await WebAssembly.instantiate(source, importObject);
26-
};
27-
}
28-
29-
const go = new Go();
30-
let mod, inst;
31-
WebAssembly.instantiateStreaming(fetch("test.wasm"), go.importObject).then((result) => {
32-
mod = result.module;
33-
inst = result.instance;
34-
document.getElementById("runButton").disabled = false;
35-
}).catch((err) => {
36-
console.error(err);
37-
});
19+
<script src="wasm_exec.js"></script>
20+
<script>
21+
if (!WebAssembly.instantiateStreaming) {
22+
// polyfill
23+
WebAssembly.instantiateStreaming = async (resp, importObject) => {
24+
const source = await (await resp).arrayBuffer()
25+
return await WebAssembly.instantiate(source, importObject)
26+
}
27+
}
3828

39-
async function run() {
40-
console.clear();
41-
await go.run(inst);
42-
inst = await WebAssembly.instantiate(mod, go.importObject); // reset instance
43-
}
44-
</script>
29+
const go = new Go()
30+
let mod, inst
31+
WebAssembly.instantiateStreaming(fetch('test.wasm'), go.importObject)
32+
.then((result) => {
33+
mod = result.module
34+
inst = result.instance
35+
document.getElementById('runButton').disabled = false
36+
})
37+
.catch((err) => {
38+
console.error(err)
39+
})
4540

46-
<button onClick="run();" id="runButton" disabled>Run</button>
47-
</body>
41+
async function run() {
42+
console.clear()
43+
await go.run(inst)
44+
inst = await WebAssembly.instantiate(mod, go.importObject) // reset instance
45+
}
46+
</script>
4847

49-
</html>
48+
<button onClick="run();" id="runButton" disabled>Run</button>
49+
</body>
50+
</html>

examples/websocket-browser-link/browser/index_nojs.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !js
2-
// +build !js
32

43
package main
54

examples/websocket-browser-link/common/common_js.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build js
2-
// +build js
32

43
package common
54

go.mod

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
module github.com/aperturerobotics/bifrost
22

3-
go 1.24.0
3+
go 1.25
44

55
require (
6-
github.com/aperturerobotics/cli v1.0.0 // latest
7-
github.com/aperturerobotics/common v0.22.12 // latest
8-
github.com/aperturerobotics/controllerbus v0.51.0 // latest
6+
github.com/aperturerobotics/cli v1.0.1 // latest
7+
github.com/aperturerobotics/common v0.22.13 // latest
8+
github.com/aperturerobotics/controllerbus v0.51.4-0.20251113002647-ff3f278bc709 // latest
99
github.com/aperturerobotics/entitygraph v0.11.0 // latest
1010
github.com/aperturerobotics/protobuf-go-lite v0.11.0 // latest
1111
github.com/aperturerobotics/starpc v0.39.10 // latest
12-
github.com/aperturerobotics/util v1.31.3 // latest
12+
github.com/aperturerobotics/util v1.31.4 // latest
1313
)
1414

1515
// aperture: use compatibility forks
@@ -46,7 +46,7 @@ require (
4646
)
4747

4848
require (
49-
github.com/aperturerobotics/json-iterator-lite v1.0.1-0.20250712004945-4e5f8882b0b8 // indirect
49+
github.com/aperturerobotics/json-iterator-lite v1.0.1-0.20251104042408-0c9eb8a3f726 // indirect
5050
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect
5151
github.com/ghodss/yaml v1.0.0 // indirect
5252
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
@@ -81,14 +81,14 @@ require (
8181
github.com/pion/turn/v4 v4.1.1 // indirect
8282
github.com/spaolacci/murmur3 v1.1.1-0.20190317074736-539464a789e9 // indirect
8383
github.com/wlynxg/anet v0.0.5 // indirect
84-
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
84+
github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 // indirect
8585
go.uber.org/mock v0.5.0 // indirect
86-
golang.org/x/mod v0.28.0 // indirect
87-
golang.org/x/net v0.45.0 // indirect
86+
golang.org/x/mod v0.30.0 // indirect
87+
golang.org/x/net v0.46.0 // indirect
8888
golang.org/x/sync v0.17.0 // indirect
8989
golang.org/x/sys v0.37.0 // indirect
9090
golang.org/x/time v0.12.0 // indirect
91-
golang.org/x/tools v0.37.0 // indirect
91+
golang.org/x/tools v0.38.0 // indirect
9292
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
9393
gopkg.in/yaml.v2 v2.4.0 // indirect
9494
lukechampine.com/blake3 v1.3.0 // indirect

0 commit comments

Comments
 (0)