From 8f903d84b32b8343278a01232b0e995205106e10 Mon Sep 17 00:00:00 2001 From: Daniel Milde Date: Mon, 4 Mar 2024 16:27:51 +0100 Subject: [PATCH] fix: revert back maruel/natural and stanza to be compatible with Ubuntu LTS 22.04 --- go.mod | 6 ++---- go.sum | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 6e7c1ff9f..66ace45b1 100644 --- a/go.mod +++ b/go.mod @@ -1,14 +1,12 @@ module github.com/dundee/gdu/v5 -go 1.21 - -toolchain go1.22.0 +go 1.18 require ( github.com/dgraph-io/badger/v3 v3.2103.2 github.com/fatih/color v1.16.0 github.com/gdamore/tcell/v2 v2.7.1 - github.com/maruel/natural v1.1.1 + github.com/maruel/natural v1.1.0 github.com/mattn/go-isatty v0.0.20 github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 github.com/pkg/errors v0.9.1 diff --git a/go.sum b/go.sum index a9221ec2d..58daefa93 100644 --- a/go.sum +++ b/go.sum @@ -66,8 +66,8 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/maruel/natural v1.1.1 h1:Hja7XhhmvEFhcByqDoHz9QZbkWey+COd9xWfCfn1ioo= -github.com/maruel/natural v1.1.1/go.mod h1:v+Rfd79xlw1AgVBjbO0BEQmptqb5HvL/k9GRHB7ZKEg= +github.com/maruel/natural v1.1.0 h1:2z1NgP/Vae+gYrtC0VuvrTJ6U35OuyUqDdfluLqMWuQ= +github.com/maruel/natural v1.1.0/go.mod h1:eFVhYCcUOfZFxXoDZam8Ktya72wa79fNC3lc/leA0DQ= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=