From 52c311d35044bb47c4544a8e5db6540d918d21b4 Mon Sep 17 00:00:00 2001 From: Ralf Pannemans Date: Fri, 15 Nov 2024 12:16:49 +0100 Subject: [PATCH] Bump go.mod version to v5 (#1066) --- build_test.go | 4 ++-- cmd/inspector/internal/run_test.go | 2 +- cmd/inspector/main.go | 4 ++-- cmd/optimize-memory/internal/run_test.go | 2 +- cmd/optimize-memory/main.go | 4 ++-- cmd/util/environment_map_test.go | 2 +- detect_test.go | 4 ++-- go.mod | 2 +- node_version_parser_test.go | 2 +- nvmrc_parser_test.go | 2 +- run/main.go | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/build_test.go b/build_test.go index cf522fc8..1f4f8ab7 100644 --- a/build_test.go +++ b/build_test.go @@ -8,8 +8,8 @@ import ( "path/filepath" "testing" - nodeengine "github.com/paketo-buildpacks/node-engine/v4" - "github.com/paketo-buildpacks/node-engine/v4/fakes" + nodeengine "github.com/paketo-buildpacks/node-engine/v5" + "github.com/paketo-buildpacks/node-engine/v5/fakes" "github.com/paketo-buildpacks/packit/v2" "github.com/paketo-buildpacks/packit/v2/chronos" "github.com/paketo-buildpacks/packit/v2/scribe" diff --git a/cmd/inspector/internal/run_test.go b/cmd/inspector/internal/run_test.go index ade698ce..f74c0c55 100644 --- a/cmd/inspector/internal/run_test.go +++ b/cmd/inspector/internal/run_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/paketo-buildpacks/node-engine/v4/cmd/inspector/internal" + "github.com/paketo-buildpacks/node-engine/v5/cmd/inspector/internal" "github.com/sclevine/spec" . "github.com/onsi/gomega" diff --git a/cmd/inspector/main.go b/cmd/inspector/main.go index 9b061535..09ef1584 100644 --- a/cmd/inspector/main.go +++ b/cmd/inspector/main.go @@ -4,8 +4,8 @@ import ( "log" "os" - "github.com/paketo-buildpacks/node-engine/v4/cmd/inspector/internal" - "github.com/paketo-buildpacks/node-engine/v4/cmd/util" + "github.com/paketo-buildpacks/node-engine/v5/cmd/inspector/internal" + "github.com/paketo-buildpacks/node-engine/v5/cmd/util" ) func main() { diff --git a/cmd/optimize-memory/internal/run_test.go b/cmd/optimize-memory/internal/run_test.go index 42f1f337..a3fe602f 100644 --- a/cmd/optimize-memory/internal/run_test.go +++ b/cmd/optimize-memory/internal/run_test.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - "github.com/paketo-buildpacks/node-engine/v4/cmd/optimize-memory/internal" + "github.com/paketo-buildpacks/node-engine/v5/cmd/optimize-memory/internal" "github.com/sclevine/spec" . "github.com/onsi/gomega" diff --git a/cmd/optimize-memory/main.go b/cmd/optimize-memory/main.go index fc76d188..086826f8 100644 --- a/cmd/optimize-memory/main.go +++ b/cmd/optimize-memory/main.go @@ -4,8 +4,8 @@ import ( "log" "os" - "github.com/paketo-buildpacks/node-engine/v4/cmd/optimize-memory/internal" - "github.com/paketo-buildpacks/node-engine/v4/cmd/util" + "github.com/paketo-buildpacks/node-engine/v5/cmd/optimize-memory/internal" + "github.com/paketo-buildpacks/node-engine/v5/cmd/util" ) func main() { diff --git a/cmd/util/environment_map_test.go b/cmd/util/environment_map_test.go index 6d229849..dc5d6853 100644 --- a/cmd/util/environment_map_test.go +++ b/cmd/util/environment_map_test.go @@ -3,7 +3,7 @@ package util_test import ( "testing" - "github.com/paketo-buildpacks/node-engine/v4/cmd/util" + "github.com/paketo-buildpacks/node-engine/v5/cmd/util" "github.com/sclevine/spec" . "github.com/onsi/gomega" diff --git a/detect_test.go b/detect_test.go index 96773b96..405fa7a3 100644 --- a/detect_test.go +++ b/detect_test.go @@ -7,8 +7,8 @@ import ( "path/filepath" "testing" - nodeengine "github.com/paketo-buildpacks/node-engine/v4" - "github.com/paketo-buildpacks/node-engine/v4/fakes" + nodeengine "github.com/paketo-buildpacks/node-engine/v5" + "github.com/paketo-buildpacks/node-engine/v5/fakes" "github.com/paketo-buildpacks/packit/v2" "github.com/sclevine/spec" diff --git a/go.mod b/go.mod index 96566f86..52d5db61 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/paketo-buildpacks/node-engine/v4 +module github.com/paketo-buildpacks/node-engine/v5 go 1.23.3 diff --git a/node_version_parser_test.go b/node_version_parser_test.go index dc60443a..b909a26d 100644 --- a/node_version_parser_test.go +++ b/node_version_parser_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - nodeengine "github.com/paketo-buildpacks/node-engine/v4" + nodeengine "github.com/paketo-buildpacks/node-engine/v5" "github.com/sclevine/spec" . "github.com/onsi/gomega" diff --git a/nvmrc_parser_test.go b/nvmrc_parser_test.go index 65b2bf95..78aaeebb 100644 --- a/nvmrc_parser_test.go +++ b/nvmrc_parser_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - nodeengine "github.com/paketo-buildpacks/node-engine/v4" + nodeengine "github.com/paketo-buildpacks/node-engine/v5" "github.com/sclevine/spec" . "github.com/onsi/gomega" diff --git a/run/main.go b/run/main.go index 4470d442..80d68af0 100644 --- a/run/main.go +++ b/run/main.go @@ -3,7 +3,7 @@ package main import ( "os" - nodeengine "github.com/paketo-buildpacks/node-engine/v4" + nodeengine "github.com/paketo-buildpacks/node-engine/v5" "github.com/paketo-buildpacks/packit/v2" "github.com/paketo-buildpacks/packit/v2/cargo" "github.com/paketo-buildpacks/packit/v2/chronos"