From 7110b36c65969ed5065e55ad66faeb93995ea54c Mon Sep 17 00:00:00 2001 From: Shulhan Date: Thu, 9 Nov 2023 21:06:42 +0700 Subject: go.mod: update share and ciigo modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit = Release share v0.50.1 (2023-11-05) This release bring many enhancements to "lib/memfs", a library for caching file system in memory. === Enhancements * lib/memfs: return nil in AddChild if file not exist * lib/memfs: quote the path in the returned error * lib/memfs: add method Child to Node * lib/memfs: call the Init method in the embedded file * lib/memfs: include empty directory * lib/memfs: re-scan directory content on Node’s Update = Release share v0.50.0 (2023-10-04) This release bring many enhancements thanks to linters like revive, fieldaligment, and shadow. This release also replace "math/rand.Seed" with "crypto/rand". Since Go 1.20 the "math/rand.Seed" is considered deprecated (the initial value of rand is seeded automatically, not zero). Now, it is the time to replace "math/rand" with more secure random number generator, from "crypto/rand". This changes affect tests in package "lib/email", "lib/http", and "lib/stmp". = Release ciigo v0.10.1 (2023-11-07) In this release, update on asciidoctor-go add new features to parse unordered list with '-' and some bug fixes related to rendering list. The update on share module fix for permission error when scanning using memfs and HTTP redirect for request to directory that does not end with slash. --- go.mod | 12 ++++++------ go.sum | 24 ++++++++++++------------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/go.mod b/go.mod index bed4821..80647af 100644 --- a/go.mod +++ b/go.mod @@ -6,16 +6,16 @@ module github.com/shuLhan/rescached-go/v4 go 1.20 require ( - git.sr.ht/~shulhan/ciigo v0.10.0 - github.com/shuLhan/share v0.49.1 + git.sr.ht/~shulhan/ciigo v0.10.1 + github.com/shuLhan/share v0.50.2-0.20231107202614-fdb1c05d62a2 ) require ( - git.sr.ht/~shulhan/asciidoctor-go v0.5.0 // indirect - github.com/yuin/goldmark v1.5.6 // indirect + git.sr.ht/~shulhan/asciidoctor-go v0.5.1-0.20231105052733-3d54e38bac45 // indirect + github.com/yuin/goldmark v1.6.0 // indirect github.com/yuin/goldmark-meta v1.1.0 // indirect - golang.org/x/net v0.15.0 // indirect - golang.org/x/sys v0.12.0 // indirect + golang.org/x/net v0.17.0 // indirect + golang.org/x/sys v0.14.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect ) diff --git a/go.sum b/go.sum index 7d91016..db29127 100644 --- a/go.sum +++ b/go.sum @@ -1,17 +1,17 @@ -git.sr.ht/~shulhan/asciidoctor-go v0.5.0 h1:TfcAjv+7EwBZ83ef8OhX9vfQ4vRFcaJh0P1XXgbsJv0= -git.sr.ht/~shulhan/asciidoctor-go v0.5.0/go.mod h1:RHAfgO1CU1It8Gsz6eqDBi8HhT4wxhCS1dKO8U9vIgM= -git.sr.ht/~shulhan/ciigo v0.10.0 h1:s1SJ3/NzBcbOLmEZ4z1Cx9Vf7ZdDIvm45b7KMCZKzEY= -git.sr.ht/~shulhan/ciigo v0.10.0/go.mod h1:cG6av+ywJZZp96F43kmLB2QWjm2hYiahbsbeTX/vlgk= -github.com/shuLhan/share v0.49.1 h1:Y4LSCewjYKDxRYfyYZ2WRGs/aJ8JI5JRPw8vsS3TGWc= -github.com/shuLhan/share v0.49.1/go.mod h1:cuTw2WIcltSOPfUasvDpxHUNpBErzCBjk+YnKQHCLm8= -github.com/yuin/goldmark v1.5.6 h1:COmQAWTCcGetChm3Ig7G/t8AFAN00t+o8Mt4cf7JpwA= -github.com/yuin/goldmark v1.5.6/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +git.sr.ht/~shulhan/asciidoctor-go v0.5.1-0.20231105052733-3d54e38bac45 h1:FGltprabRao/KSTbvM3OTbC6e0oXI/EJ8O60QAqrEu4= +git.sr.ht/~shulhan/asciidoctor-go v0.5.1-0.20231105052733-3d54e38bac45/go.mod h1:q3YhUBXTOpM9HDfaTop6MVx2dc0p9idWJAfdpjbWJp4= +git.sr.ht/~shulhan/ciigo v0.10.1 h1:J/lZ9Xqretky2fgC0g8Z5HATNqEWWDFkSKUBLyFm83g= +git.sr.ht/~shulhan/ciigo v0.10.1/go.mod h1:q6VQ+us4sErIfB0jk4F+VsSBLYK/k9T41X2loC9CBLw= +github.com/shuLhan/share v0.50.2-0.20231107202614-fdb1c05d62a2 h1:zqrtgvlwf/GvRiF2G/VdCekJLQRtbpOJ2AAwDA4661I= +github.com/shuLhan/share v0.50.2-0.20231107202614-fdb1c05d62a2/go.mod h1:dUE7xqEzT8HZRy8vvfFzrFJ+6a6chXwaPmC4hYB68QU= +github.com/yuin/goldmark v1.6.0 h1:boZcn2GTjpsynOsC0iJHnBWa4Bi0qzfJjthwauItG68= +github.com/yuin/goldmark v1.6.0/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/yuin/goldmark-meta v1.1.0 h1:pWw+JLHGZe8Rk0EGsMVssiNb/AaPMHfSRszZeUeiOUc= github.com/yuin/goldmark-meta v1.1.0/go.mod h1:U4spWENafuA7Zyg+Lj5RqK/MF+ovMYtBvXi1lBb2VP0= -golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8= -golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= -golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= -golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q= +golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -- cgit v1.3