diff --git a/hack/load-test/package-lock.json b/hack/load-test/package-lock.json index f6d36ad8..143100bf 100644 --- a/hack/load-test/package-lock.json +++ b/hack/load-test/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "load-test", "version": "1.0.0", + "license": "AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial", "dependencies": { "kubernetes-fluent-client": "^3.0.0" } @@ -80,23 +81,21 @@ } }, "node_modules/@kubernetes/client-node": { - "version": "1.0.0-rc6", - "resolved": "https://registry.npmjs.org/@kubernetes/client-node/-/client-node-1.0.0-rc6.tgz", - "integrity": "sha512-CBNOZ0rrGc2NKx3/1Bu4Be6DLPbNWDDLmjgZ0DmIWOpEye/kyVf4vKqOCwfm+eM//reebW8DLxGZUsrrXETkEA==", + "version": "1.0.0-rc7", + "resolved": "https://registry.npmjs.org/@kubernetes/client-node/-/client-node-1.0.0-rc7.tgz", + "integrity": "sha512-s0U74yQ/nTq13xk3YI8P2y02pUm9TritjhsCIbtPYbOrG/5ti2bY2WhxxQWGx1LhiTZPEdoULtsyXI2XrIESJw==", "license": "Apache-2.0", "dependencies": { "@types/js-yaml": "^4.0.1", - "@types/node": "^20.3.1", + "@types/node": "^22.0.0", "@types/node-fetch": "^2.6.9", "@types/stream-buffers": "^3.0.3", "@types/tar": "^6.1.1", - "@types/underscore": "^1.8.9", "@types/ws": "^8.5.4", - "byline": "^5.0.0", "form-data": "^4.0.0", "isomorphic-ws": "^5.0.0", "js-yaml": "^4.1.0", - "jsonpath-plus": "^9.0.0", + "jsonpath-plus": "^10.0.0", "node-fetch": "^2.6.9", "openid-client": "^5.6.5", "rfc4648": "^1.3.0", @@ -104,9 +103,8 @@ "tar": "^7.0.0", "tmp-promise": "^3.0.2", "tslib": "^2.5.0", - "underscore": "^1.9.1", "url-parse": "^1.4.3", - "ws": "^8.13.0" + "ws": "^8.18.0" } }, "node_modules/@pkgjs/parseargs": { @@ -126,12 +124,12 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.14.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.13.tgz", - "integrity": "sha512-+bHoGiZb8UiQ0+WEtmph2IWQCjIqg8MDZMAV+ppRRhUZnquF5mQkP/9vpSwJClEiSM/C7fZZExPzfU0vJTyp8w==", + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "node_modules/@types/node-fetch": { @@ -163,12 +161,6 @@ "minipass": "^4.0.0" } }, - "node_modules/@types/underscore": { - "version": "1.11.15", - "resolved": "https://registry.npmjs.org/@types/underscore/-/underscore-1.11.15.tgz", - "integrity": "sha512-HP38xE+GuWGlbSRq9WrZkousaQ7dragtZCruBVMi0oX1migFZavZ3OROKHSkNp/9ouq82zrWtZpg18jFnVN96g==", - "license": "MIT" - }, "node_modules/@types/ws": { "version": "8.5.12", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz", @@ -685,30 +677,30 @@ } }, "node_modules/jsonpath-plus": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-9.0.0.tgz", - "integrity": "sha512-bqE77VIDStrOTV/czspZhTn+o27Xx9ZJRGVkdVShEtPoqsIx5yALv3lWVU6y+PqYvWPJNWE7ORCQheQkEe0DDA==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.0.0.tgz", + "integrity": "sha512-v7j76HGp/ibKlXYeZ7UrfCLSNDaBWuJMA0GaMjA4sZJtCtY89qgPyToDDcl2zdeHh4B5q/B3g2pQdW76fOg/dA==", "license": "MIT", "dependencies": { "@jsep-plugin/assignment": "^1.2.1", "@jsep-plugin/regex": "^1.0.3", - "jsep": "^1.3.8" + "jsep": "^1.3.9" }, "bin": { "jsonpath": "bin/jsonpath-cli.js", "jsonpath-plus": "bin/jsonpath-cli.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" } }, "node_modules/kubernetes-fluent-client": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/kubernetes-fluent-client/-/kubernetes-fluent-client-3.0.4.tgz", - "integrity": "sha512-mkLpT2Wjm8zUO3fgIy5d+UqFWoe4DG/soJA5wwrCTrsis+JHBnuLfTtI8bU/y2ie4EOfW0uSs8c0oXmveMImZQ==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/kubernetes-fluent-client/-/kubernetes-fluent-client-3.1.1.tgz", + "integrity": "sha512-JWwI3Fx7vIUcS1a7napVb5TviNregpnr/N7unXLgJ0r+F4zFHcPPoBSEgS9HVs35XtMhFHe0KdzpeXT1/7EQ8A==", "license": "Apache-2.0", "dependencies": { - "@kubernetes/client-node": "1.0.0-rc6", + "@kubernetes/client-node": "1.0.0-rc7", "byline": "5.0.0", "fast-json-patch": "3.1.1", "http-status-codes": "2.3.0", @@ -1280,16 +1272,10 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/underscore": { - "version": "1.13.7", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.7.tgz", - "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==", - "license": "MIT" - }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", "license": "MIT" }, "node_modules/unicode-properties": { diff --git a/pkg/api/auth/session_test.go b/pkg/api/auth/session_test.go index 706d12ed..556cdb7b 100644 --- a/pkg/api/auth/session_test.go +++ b/pkg/api/auth/session_test.go @@ -1,6 +1,8 @@ // Copyright 2024 Defense Unicorns // SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial +//go:build unit + package auth import ( diff --git a/pkg/k8s/session/session_test.go b/pkg/k8s/session/session_test.go index cd300b1b..c29f3c15 100644 --- a/pkg/k8s/session/session_test.go +++ b/pkg/k8s/session/session_test.go @@ -1,6 +1,8 @@ // Copyright 2024 Defense Unicorns // SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial +//go:build unit + package session import (