Skip to content

Commit d1065c8

Browse files
committed
add functions necessary for extensions to the root
1 parent 467275c commit d1065c8

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

go.mod

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
11
module github.com/blues/jsonata-go
22

3-
go 1.16
3+
go 1.23.0
4+
5+
toolchain go1.24.2
6+
7+
require (
8+
github.com/google/go-cmp v0.6.0 // indirect
9+
github.com/yuin/goldmark v1.4.13 // indirect
10+
golang.org/x/crypto v0.38.0 // indirect
11+
golang.org/x/mod v0.24.0 // indirect
12+
golang.org/x/net v0.40.0 // indirect
13+
golang.org/x/sync v0.14.0 // indirect
14+
golang.org/x/sys v0.33.0 // indirect
15+
golang.org/x/telemetry v0.0.0-20240521205824-bda55230c457 // indirect
16+
golang.org/x/term v0.32.0 // indirect
17+
golang.org/x/text v0.25.0 // indirect
18+
golang.org/x/tools v0.33.0 // indirect
19+
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect
20+
)

go.sum

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
2+
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
3+
golang.org/x/crypto v0.38.0/go.mod h1:MvrbAqul58NNYPKnOra203SB9vpuZW0e+RRZV+Ggqjw=
4+
golang.org/x/mod v0.24.0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU=
5+
golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww=
6+
golang.org/x/net v0.40.0/go.mod h1:y0hY0exeL2Pku80/zKK7tpntoX23cqL3Oa6njdgRtds=
7+
golang.org/x/sync v0.14.0 h1:woo0S4Yywslg6hp4eUFjTVOyKt0RookbpAHG4c1HmhQ=
8+
golang.org/x/sync v0.14.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
9+
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
10+
golang.org/x/telemetry v0.0.0-20240521205824-bda55230c457/go.mod h1:pRgIJT+bRLFKnoM1ldnzKoxTIn14Yxz928LQRYYgIN0=
11+
golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ=
12+
golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA=
13+
golang.org/x/tools v0.33.0 h1:4qz2S3zmRxbGIhDIAgjxvFutSvH5EfnsYrRBj0UI0bc=
14+
golang.org/x/tools v0.33.0/go.mod h1:CIJMaWEY88juyUfo7UbgPqbC8rU2OqfAV1h2Qp0oMYI=
15+
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

v1.5.4/jsonata.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,3 +379,8 @@ func isLetter(r rune) bool {
379379
func isDigit(r rune) bool {
380380
return (r >= '0' && r <= '9') || unicode.IsDigit(r)
381381
}
382+
383+
// Cross-package exports so that everything we need can also be obtained at the root package level
384+
var ArgUndefined = jtypes.ArgUndefined
385+
386+
type ArgHandler = jtypes.ArgHandler

0 commit comments

Comments
 (0)