Skip to content

Commit d33043b

Browse files
committed
Upgrade to github.com/theory/jsonpath v0.10.2
Also: * Upgrade the toolchain to Go 1.24.9 * Explicitly build the playground in the `run` command for now * Ignore the `compare` directory (used by the main branch) * Upgrade golangci-lint to v2.5.0
1 parent 5cc6348 commit d33043b

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ go.work
2727
pub/
2828
_build/
2929
jsonpath-compliance-test-suite/
30+
/compare
3031

3132
# OS Stuff
3233
.DS_Store

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ $(DST_DIR)/wasm_exec.js: $(WASM_EXEC)
2525
mkdir -p $(@D)
2626
cp $< $@
2727

28+
# explicitly build the playground with _vendor/tinygo until
29+
# https://github.com/tinygo-org/tinygo/issues/4873 fixed.
2830
.PHONY: run
29-
run: playground
31+
run: _vendor/tinygo
32+
env PATH="$$PWD/_vendor/tinygo/bin:$$PATH" $(MAKE) playground
3033
python3 -m http.server --directory $(DST_DIR)
3134

3235
.PHONY: brew-lint-depends # Install linting tools from Homebrew
@@ -35,7 +38,7 @@ brew-lint-depends:
3538

3639
.PHONY: debian-lint-depends # Install linting tools on Debian
3740
debian-lint-depends:
38-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b /usr/bin v2.4.0
41+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b /usr/bin v2.5.0
3942

4043
.PHONY: lint # Lint the project
4144
lint: .pre-commit-config.yaml

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ module main
22

33
go 1.24
44

5-
toolchain go1.24.6
5+
toolchain go1.24.9
66

7-
require github.com/theory/jsonpath v0.10.1
7+
require github.com/theory/jsonpath v0.10.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
44
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
55
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
66
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
7-
github.com/theory/jsonpath v0.10.1 h1:Qa3alEtTTLIy2s60U2XzamS0XgQmF9zWIg42mEkSRVg=
8-
github.com/theory/jsonpath v0.10.1/go.mod h1:ZOz+y6MxTEDcN/FOxf9AOgeHSoKHx2B+E0nD3HOtzGE=
7+
github.com/theory/jsonpath v0.10.2 h1:i8GeMxnD6ftNWeSeaGb/Eb8XghGjsas1eDizaQNupuE=
8+
github.com/theory/jsonpath v0.10.2/go.mod h1:ZOz+y6MxTEDcN/FOxf9AOgeHSoKHx2B+E0nD3HOtzGE=
99
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
1010
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)