From bd6c285c95f58b31197b6998f6bfa80b1981914b Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 10 Jun 2024 15:25:35 +0000
Subject: [PATCH] Bump shellcheck from 2.2.0 to 3.0.0

Bumps [shellcheck](https://github.com/gunar/shellcheck) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/gunar/shellcheck/releases)
- [Changelog](https://github.com/gunar/shellcheck/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gunar/shellcheck/compare/v2.2.0...v3.0.0)

---
updated-dependencies:
- dependency-name: shellcheck
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
---
 package-lock.json | 29 ++++++++++++++++++++++++-----
 package.json      |  2 +-
 2 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index acbd647..ad1ef53 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -12,7 +12,7 @@
         "bats": "^1",
         "bats-assert": "github:bats-core/bats-assert",
         "bats-support": "github:bats-core/bats-support",
-        "shellcheck": "^2"
+        "shellcheck": "^3"
       }
     },
     "node_modules/@nodenv/nodenv": {
@@ -285,6 +285,18 @@
         "once": "^1.4.0"
       }
     },
+    "node_modules/envalid": {
+      "version": "8.0.0",
+      "resolved": "https://registry.npmjs.org/envalid/-/envalid-8.0.0.tgz",
+      "integrity": "sha512-PGeYJnJB5naN0ME6SH8nFcDj9HVbLpYIfg1p5lAyM9T4cH2lwtu2fLbozC/bq+HUUOIFxhX/LP0/GmlqPHT4tQ==",
+      "dev": true,
+      "dependencies": {
+        "tslib": "2.6.2"
+      },
+      "engines": {
+        "node": ">=8.12"
+      }
+    },
     "node_modules/es6-error": {
       "version": "4.1.1",
       "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz",
@@ -709,19 +721,20 @@
       }
     },
     "node_modules/shellcheck": {
-      "version": "2.2.0",
-      "resolved": "https://registry.npmjs.org/shellcheck/-/shellcheck-2.2.0.tgz",
-      "integrity": "sha512-rMt0WhmeqRrKMUqyTlkL6pd0zY27FRQMQWjQhpHMQETwG2ykc8gz+QGGtxHym4R2np646QgQAcq04sAEo3SWhA==",
+      "version": "3.0.0",
+      "resolved": "https://registry.npmjs.org/shellcheck/-/shellcheck-3.0.0.tgz",
+      "integrity": "sha512-pCG1++KHj1ZpkZWokMvyIFNk7oLnZ6hxJtJ3p+EFvYuEPWTqubuuaa2TP1BtgMk34Z9g1xe3b7gI2R97Fr2iqQ==",
       "dev": true,
       "dependencies": {
         "decompress": "^4.2.1",
+        "envalid": "^8.0.0",
         "global-agent": "^3.0.0"
       },
       "bin": {
         "shellcheck": "bin/shellcheck.js"
       },
       "engines": {
-        "node": ">=18.4.0 || >=16.17.0"
+        "node": ">=18.12.0"
       }
     },
     "node_modules/sprintf-js": {
@@ -784,6 +797,12 @@
       "integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg==",
       "dev": true
     },
+    "node_modules/tslib": {
+      "version": "2.6.2",
+      "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
+      "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==",
+      "dev": true
+    },
     "node_modules/type-fest": {
       "version": "0.13.1",
       "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz",
diff --git a/package.json b/package.json
index 8ac07b3..f7d017c 100644
--- a/package.json
+++ b/package.json
@@ -32,7 +32,7 @@
     "bats": "^1",
     "bats-assert": "github:bats-core/bats-assert",
     "bats-support": "github:bats-core/bats-support",
-    "shellcheck": "^2"
+    "shellcheck": "^3"
   },
   "keywords": [
     "nodenv",