From 48d1f2c3b7e53b8a6ccd7360c28882dc2d01a252 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Mon, 10 Oct 2022 13:43:41 -0700 Subject: [PATCH] Pin github.com/dop251/goja v0.0.0-20220501172647-e1eca0b61fa9 The newer goja caused problems calling RunCollide or RunKeypress on doodad scripts - resulting in a broken player character and no collision events running on doodad scripts. Investigate later. --- go.mod | 2 +- go.sum | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index fe89296..6730a3a 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/aichaos/rivescript-go v0.3.1 github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect github.com/dgrijalva/jwt-go v3.2.0+incompatible - github.com/dop251/goja v0.0.0-20221003171542-5ea1285e6c91 + github.com/dop251/goja v0.0.0-20220501172647-e1eca0b61fa9 github.com/fsnotify/fsnotify v1.4.9 github.com/gen2brain/dlgs v0.0.0-20220603100644-40c77870fa8d github.com/google/uuid v1.3.0 diff --git a/go.sum b/go.sum index 4763b33..483b5ff 100644 --- a/go.sum +++ b/go.sum @@ -78,6 +78,7 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91 h1:Izz0+t1Z5nI16/II7vuEo/nHjodOg0p7+OiDpjX5t1E= github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= github.com/dlclark/regexp2 v1.4.1-0.20220402034307-55964957c159 h1:76tGhMs2VcMihnjZxTZ64bC6HtSZdSoF+EYwd/Azryg= github.com/dlclark/regexp2 v1.4.1-0.20220402034307-55964957c159/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=