removed temp goja bind workaround as the issue was resolved

This commit is contained in:
Gani Georgiev committed 2026-10-23 15:26:49 +03:00
1 parent 9d281ccaba
commit 76060cfebd
3 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ go 1.27
require (
github.com/disintegration/imaging v1.6.2
github.com/domodwyer/mailyak/v3 v3.6.2
github.com/dop251/goja v0.0.0-20261021140635-64adc8bb4d51
github.com/dop251/goja v0.0.0-20261023121931-6ace4dde0b29
github.com/dop251/goja_nodejs v0.0.0-20260212111938-1f56ff5bcf14
github.com/fatih/color v1.19.0
github.com/fsnotify/fsnotify v1.10.1
+2 -2
View File
@@ -15,8 +15,8 @@ github.com/domodwyer/mailyak/v3 v3.6.2 h1:x3tGMsyFhTCaxp6ycgR0FE/bu5QiNp+hetUuCO
github.com/domodwyer/mailyak/v3 v3.6.2/go.mod h1:lOm/u9CyCVWHeaAmHIdF4RiKVxKUT/H5XX10lIKAL6c=
github.com/dop251/base64dec v0.0.0-20231022112746-c6c9f9a96217 h1:16iT9CBDOniJwFGPI41MbUDfEk74hFaKTqudrX8kenY=
github.com/dop251/base64dec v0.0.0-20231022112746-c6c9f9a96217/go.mod h1:eIb+f24U+eWQCIsj9D/ah+MD9UP+wdxuqzsdLD+mhGM=
github.com/dop251/goja v0.0.0-20261021140635-64adc8bb4d51 h1:rBqRWGmNQj7j3+rPYY4fx7ETsWqyw78Epe3vwhrLofE=
github.com/dop251/goja v0.0.0-20261021140635-64adc8bb4d51/go.mod h1:Cp9NYOLrEKg/ypIRkUWYXWLuKAyyFGkDmGeJ95Sw0zI=
github.com/dop251/goja v0.0.0-20261023121931-6ace4dde0b29 h1:8JAAzAe9Mu6h+YqnZ2qqKtt4H/tz5xMl6nIT4Gmvjhg=
github.com/dop251/goja v0.0.0-20261023121931-6ace4dde0b29/go.mod h1:Cp9NYOLrEKg/ypIRkUWYXWLuKAyyFGkDmGeJ95Sw0zI=
github.com/dop251/goja_nodejs v0.0.0-20260212111938-1f56ff5bcf14 h1:3U8dTgyNBhEQ/GVw0jZW5q+93Zw2gAZPRWhJ9TwV3rM=
github.com/dop251/goja_nodejs v0.0.0-20260212111938-1f56ff5bcf14/go.mod h1:Tb7Xxye4LX7cT3i8YLvmPMGCV92IOi4CDZvm/V8ylc0=
github.com/dustin/go-humanize v1.1.0 h1:dbKTrvD0klcbBV/h4AWJdMuZogJACoMlvWIWZ5b2xWg=
+1 -2
View File
@@ -465,8 +465,7 @@ func BindCore(vm *goja.Runtime) {
return &v
})
vm.Set("nullObject", func() *types.JSONMap[any] {
// cannot be nil because of https://github.com/dop251/goja/issues/822
v := types.JSONMap[any]{}
var v types.JSONMap[any]
return &v
})