Skip to content

Commit

Permalink
Merge pull request szkiba#3 from szkiba/feature/upgrade-deps
Browse files Browse the repository at this point in the history
chore: upgrade k6 to v0.39.0
  • Loading branch information
szkiba authored Mar 12, 2023
2 parents 20b88b2 + 5522ecc commit 9c1250b
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 377 deletions.
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
version: "3"

env:
K6_VERSION: v0.32.0
K6_VERSION: v0.39.0

silent: true

Expand Down
3 changes: 1 addition & 2 deletions csv.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
package csv

import (
"context"
"encoding/csv"
"errors"
"fmt"
Expand All @@ -46,7 +45,7 @@ func New() *Module {

var ErrInvalidSeparator = errors.New("invalid separator")

func (m *Module) Parse(ctx context.Context, text string, separator []byte) (interface{}, error) {
func (m *Module) Parse(text string, separator []byte) (interface{}, error) {
if len(separator) > 1 {
return nil, fmt.Errorf("%w: %s", ErrInvalidSeparator, separator)
}
Expand Down
24 changes: 22 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
module github.com/szkiba/xk6-csv

go 1.16
go 1.17

require go.k6.io/k6 v0.32.0
require go.k6.io/k6 v0.39.0

require (
github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91 // indirect
github.com/dop251/goja v0.0.0-20220516123900-4418d4575a41 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/go-sourcemap/sourcemap v2.1.4-0.20211119122758-180fcef48034+incompatible // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
github.com/serenize/snaker v0.0.0-20201027110005-a7ad2135616e // indirect
github.com/sirupsen/logrus v1.8.1 // indirect
github.com/spf13/afero v1.1.2 // indirect
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20220411224347-583f2d630306 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
gopkg.in/guregu/null.v3 v3.3.0 // indirect
)
Loading

0 comments on commit 9c1250b

Please sign in to comment.