Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@squaredup/plugin-common

Package Overview
Dependencies
Maintainers
6
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squaredup/plugin-common - npm Package Compare versions

Comparing version
2.2.1
to
2.2.2
+12
-8
package.json
{
"name": "@squaredup/plugin-common",
"version": "2.2.1",
"version": "2.2.2",
"description": "Common functions that can be used by any plugin",
"type": "module",
"main": "index.js",
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "vitest --reporter=verbose --reporter=junit --outputFile.junit=tests_output/junit.xml",
"fast": "pnpm i --frozen-lockfile",
"lint": "eslint ."
},
"files": [
"index.js",
"README.md"
],
"author": "SquaredUp",

@@ -29,3 +27,9 @@ "license": "ISC",

"serialize-error": "^10.0.0"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "vitest --reporter=verbose --reporter=junit --outputFile.junit=tests_output/junit.xml",
"fast": "pnpm i --frozen-lockfile",
"lint": "eslint ."
}
}
}
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"streetsidesoftware.code-spell-checker",
"vitest.explorer"
],
}
{
"compilerOptions": {
"lib": ["ES2021"]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites name="vitest tests" tests="139" failures="0" errors="0" time="229.165">
<testsuite name="tests/isValidVertex.test.js" timestamp="2026-05-01T11:56:57.195Z" hostname="SQUP-LT6TCPND4" tests="47" failures="0" errors="0" skipped="0" time="0.016892">
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; should return true when an vertex with valid inV, label, and outV passed" time="0.0017675">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Missing vertex properties &gt; should return false when an vertex with &apos;name&apos; missing is passed" time="0.0016702">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Missing vertex properties &gt; should return false when an vertex with &apos;sourceId&apos; missing is passed" time="0.0002338">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Missing vertex properties &gt; should return false when an vertex with &apos;sourceName&apos; missing is passed" time="0.0001982">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Missing vertex properties &gt; should return false when an vertex with &apos;type&apos; missing is passed" time="0.0002283">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Missing vertex properties &gt; should return false when an vertex with &apos;sourceType&apos; missing is passed" time="0.0001599">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Missing vertex properties &gt; should log an error when an vertex with &apos;name&apos; missing is passed" time="0.0016203">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Missing vertex properties &gt; should log an error when an vertex with &apos;sourceId&apos; missing is passed" time="0.0003003">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Missing vertex properties &gt; should log an error when an vertex with &apos;sourceName&apos; missing is passed" time="0.0003715">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Missing vertex properties &gt; should log an error when an vertex with &apos;type&apos; missing is passed" time="0.000321">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Missing vertex properties &gt; should log an error when an vertex with &apos;sourceType&apos; missing is passed" time="0.0003248">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;name&apos; of type &apos;number&apos; passed" time="0.0002033">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;name&apos; of type &apos;object&apos; passed" time="0.0002427">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;name&apos; of type &apos;null&apos; passed" time="0.0001751">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;sourceId&apos; of type &apos;number&apos; passed" time="0.0001512">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;sourceId&apos; of type &apos;object&apos; passed" time="0.0002046">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;sourceId&apos; of type &apos;null&apos; passed" time="0.0001501">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;sourceName&apos; of type &apos;number&apos; passed" time="0.0001341">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;sourceName&apos; of type &apos;object&apos; passed" time="0.0001493">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;sourceName&apos; of type &apos;null&apos; passed" time="0.0001611">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;type&apos; of type &apos;number&apos; passed" time="0.0001944">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;type&apos; of type &apos;object&apos; passed" time="0.0001481">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;type&apos; of type &apos;null&apos; passed" time="0.0001296">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;sourceType&apos; of type &apos;number&apos; passed" time="0.0006956">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;sourceType&apos; of type &apos;object&apos; passed" time="0.0001314">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should return false when an vertex with &apos;sourceType&apos; of type &apos;null&apos; passed" time="0.000112">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;name&apos; of type &apos;number&apos; passed" time="0.0002577">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;name&apos; of type &apos;object&apos; passed" time="0.0002715">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;name&apos; of type &apos;null&apos; passed" time="0.0001968">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;sourceId&apos; of type &apos;number&apos; passed" time="0.0002259">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;sourceId&apos; of type &apos;object&apos; passed" time="0.0002459">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;sourceId&apos; of type &apos;null&apos; passed" time="0.0002336">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;sourceName&apos; of type &apos;number&apos; passed" time="0.000178">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;sourceName&apos; of type &apos;object&apos; passed" time="0.0002153">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;sourceName&apos; of type &apos;null&apos; passed" time="0.0001626">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;type&apos; of type &apos;number&apos; passed" time="0.0001579">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;type&apos; of type &apos;object&apos; passed" time="0.0001568">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;type&apos; of type &apos;null&apos; passed" time="0.0001397">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;sourceType&apos; of type &apos;number&apos; passed" time="0.0001505">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;sourceType&apos; of type &apos;object&apos; passed" time="0.0006402">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex properties &gt; should log an error when an vertex with &apos;sourceType&apos; of type &apos;null&apos; passed" time="0.000158">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex &gt; should return false when no vertex is passed" time="0.0001534">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex &gt; should log an error when no vertex is passed" time="0.0001827">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex &gt; should return false when an invalid vertex of type &apos;number&apos; is passed" time="0.0002241">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid vertex &gt; should log an error when an invalid vertex of type &apos;number&apos; is passed" time="0.0001706">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid context &gt; should throw when no context passed" time="0.0007108">
</testcase>
<testcase classname="tests/isValidVertex.test.js" name="isValidVertex &gt; Invalid context &gt; should throw when no log object passed" time="0.0002022">
</testcase>
</testsuite>
<testsuite name="tests/getRedactedJsonString.test.js" timestamp="2026-05-01T11:56:57.239Z" hostname="SQUP-LT6TCPND4" tests="8" failures="0" errors="0" skipped="0" time="0.0039927">
<testcase classname="tests/getRedactedJsonString.test.js" name="getRedactedJsonString &gt; Handles bare strings" time="0.0012704">
</testcase>
<testcase classname="tests/getRedactedJsonString.test.js" name="getRedactedJsonString &gt; Handles bare numbers" time="0.0002648">
</testcase>
<testcase classname="tests/getRedactedJsonString.test.js" name="getRedactedJsonString &gt; Handles bare booleans" time="0.0001352">
</testcase>
<testcase classname="tests/getRedactedJsonString.test.js" name="getRedactedJsonString &gt; Handles simple objects" time="0.0002029">
</testcase>
<testcase classname="tests/getRedactedJsonString.test.js" name="getRedactedJsonString &gt; Removes sensitive properties in simple objects" time="0.0002199">
</testcase>
<testcase classname="tests/getRedactedJsonString.test.js" name="getRedactedJsonString &gt; Removes sensitive properties in nested objects" time="0.0002164">
</testcase>
<testcase classname="tests/getRedactedJsonString.test.js" name="getRedactedJsonString &gt; Removes sensitive properties in nested objects with circularities" time="0.0001705">
</testcase>
<testcase classname="tests/getRedactedJsonString.test.js" name="getRedactedJsonString &gt; Removes properties passed in by caller" time="0.000152">
</testcase>
</testsuite>
<testsuite name="tests/isValidEdge.test.js" timestamp="2026-05-01T11:56:57.248Z" hostname="SQUP-LT6TCPND4" tests="31" failures="0" errors="0" skipped="0" time="0.0145011">
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; should return true when an edge with valid inV, label, and outV passed" time="0.001662">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Missing edge properties &gt; should return false when an edge with &apos;inV&apos; missing is passed" time="0.0005653">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Missing edge properties &gt; should return false when an edge with &apos;label&apos; missing is passed" time="0.0002203">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Missing edge properties &gt; should return false when an edge with &apos;outV&apos; missing is passed" time="0.000389">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Missing edge properties &gt; should log an error when an edge with &apos;inV&apos; missing is passed" time="0.0020518">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Missing edge properties &gt; should log an error when an edge with &apos;label&apos; missing is passed" time="0.0003423">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Missing edge properties &gt; should log an error when an edge with &apos;outV&apos; missing is passed" time="0.0003853">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should return false when an edge with &apos;inV&apos; of type &apos;number&apos; passed" time="0.000216">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should return false when an edge with &apos;inV&apos; of type &apos;object&apos; passed" time="0.0002443">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should return false when an edge with &apos;inV&apos; of type &apos;null&apos; passed" time="0.0001856">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should return false when an edge with &apos;label&apos; of type &apos;number&apos; passed" time="0.0001639">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should return false when an edge with &apos;label&apos; of type &apos;object&apos; passed" time="0.000146">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should return false when an edge with &apos;label&apos; of type &apos;null&apos; passed" time="0.0002458">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should return false when an edge with &apos;outV&apos; of type &apos;number&apos; passed" time="0.0001864">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should return false when an edge with &apos;outV&apos; of type &apos;object&apos; passed" time="0.0001481">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should return false when an edge with &apos;outV&apos; of type &apos;null&apos; passed" time="0.0001998">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should log an error when an edge with &apos;inV&apos; of type &apos;number&apos; passed" time="0.0002999">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should log an error when an edge with &apos;inV&apos; of type &apos;object&apos; passed" time="0.0003152">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should log an error when an edge with &apos;inV&apos; of type &apos;null&apos; passed" time="0.0003104">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should log an error when an edge with &apos;label&apos; of type &apos;number&apos; passed" time="0.0002772">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should log an error when an edge with &apos;label&apos; of type &apos;object&apos; passed" time="0.0002957">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should log an error when an edge with &apos;label&apos; of type &apos;null&apos; passed" time="0.0003085">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should log an error when an edge with &apos;outV&apos; of type &apos;number&apos; passed" time="0.0002594">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should log an error when an edge with &apos;outV&apos; of type &apos;object&apos; passed" time="0.0002691">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge properties &gt; should log an error when an edge with &apos;outV&apos; of type &apos;null&apos; passed" time="0.0006615">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge &gt; should return false when no edge is passed" time="0.0001649">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge &gt; should log an error when no edge is passed" time="0.0001854">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge &gt; should return false when an invalid edge of type &apos;number&apos; is passed" time="0.000204">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid edge &gt; should log an error when an invalid edge of type &apos;number&apos; is passed" time="0.0002019">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid context &gt; should throw when no context passed" time="0.000716">
</testcase>
<testcase classname="tests/isValidEdge.test.js" name="isValidEdge &gt; Invalid context &gt; should throw when no log object passed" time="0.000221">
</testcase>
</testsuite>
<testsuite name="tests/warningTracker.test.js" timestamp="2026-05-01T11:56:57.274Z" hostname="SQUP-LT6TCPND4" tests="12" failures="0" errors="0" skipped="0" time="0.0106397">
<testcase classname="tests/warningTracker.test.js" name="warningTracker &gt; should return a valid function" time="0.0021456">
</testcase>
<testcase classname="tests/warningTracker.test.js" name="warningTracker &gt; should report a warning when a fresh warning is passed" time="0.0013613">
</testcase>
<testcase classname="tests/warningTracker.test.js" name="warningTracker &gt; should report distinct warnings when multiple messages passed" time="0.000378">
</testcase>
<testcase classname="tests/warningTracker.test.js" name="warningTracker &gt; should debug the message when a warning is passed twice" time="0.0015032">
</testcase>
<testcase classname="tests/warningTracker.test.js" name="warningTracker &gt; should report the message once, when a warning is passed twice" time="0.0003797">
</testcase>
<testcase classname="tests/warningTracker.test.js" name="warningTracker &gt; should debug the message once, when a warning is passed twice" time="0.0007158">
</testcase>
<testcase classname="tests/warningTracker.test.js" name="warningTracker &gt; should debug the message once, when a warning is passed three times" time="0.0002519">
</testcase>
<testcase classname="tests/warningTracker.test.js" name="warningTracker &gt; should pass any object when reporting a message once" time="0.000511">
</testcase>
<testcase classname="tests/warningTracker.test.js" name="warningTracker &gt; should pass any object when reporting a message twice" time="0.0003819">
</testcase>
<testcase classname="tests/warningTracker.test.js" name="warningTracker &gt; should pass the appropriate objects when reporting a message twice" time="0.0009179">
</testcase>
<testcase classname="tests/warningTracker.test.js" name="warningTracker &gt; should throw when an invalid context object is passed" time="0.0006994">
</testcase>
<testcase classname="tests/warningTracker.test.js" name="warningTracker &gt; should throw when an empty context object is passed" time="0.0002961">
</testcase>
</testsuite>
<testsuite name="tests/pageApi.test.js" timestamp="2026-05-01T11:56:57.286Z" hostname="SQUP-LT6TCPND4" tests="13" failures="0" errors="0" skipped="0" time="0.0052371">
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; setup tests &gt; should return an object" time="0.0010764">
</testcase>
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; setup tests &gt; should return a get function" time="0.0001658">
</testcase>
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; setup tests &gt; should return a set function" time="0.0001653">
</testcase>
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; setup tests &gt; should return a clear function" time="0.0001588">
</testcase>
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; content tests &gt; should not throw when get called wih an unset value" time="0.0007751">
</testcase>
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; content tests &gt; should return undefined when get called with an unset value" time="0.0003326">
</testcase>
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; content tests &gt; should set a value into pagingContext when using set" time="0.0001706">
</testcase>
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; content tests &gt; should set an object value into pagingContext when using set" time="0.000119">
</testcase>
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; content tests &gt; should return a previously set value when using get" time="0.0001701">
</testcase>
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; content tests &gt; should overwrite a previously set value when using set" time="0.0001423">
</testcase>
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; content tests &gt; should remove any values in pagingContext when clear called" time="0.0001428">
</testcase>
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; content tests &gt; should not throw when getting a null key" time="0.0002024">
</testcase>
<testcase classname="tests/pageApi.test.js" name="pageAPI &gt; content tests &gt; should not throw when setting a null key" time="0.0002932">
</testcase>
</testsuite>
<testsuite name="tests/getCommonRetryAfter.test.js" timestamp="2026-05-01T11:56:57.298Z" hostname="SQUP-LT6TCPND4" tests="6" failures="0" errors="0" skipped="0" time="0.0046159">
<testcase classname="tests/getCommonRetryAfter.test.js" name="getCommonRetryAfter &gt; should return null if headers is not an object" time="0.0012434">
</testcase>
<testcase classname="tests/getCommonRetryAfter.test.js" name="getCommonRetryAfter &gt; should return null if no retry-after headers are present" time="0.0002013">
</testcase>
<testcase classname="tests/getCommonRetryAfter.test.js" name="getCommonRetryAfter &gt; should return null if retry-after headers are present but not numbers" time="0.0003011">
</testcase>
<testcase classname="tests/getCommonRetryAfter.test.js" name="getCommonRetryAfter &gt; should return the retry-after value as a number" time="0.0002383">
</testcase>
<testcase classname="tests/getCommonRetryAfter.test.js" name="getCommonRetryAfter &gt; should return the largest retry-after value when multiple headers are present" time="0.000955">
</testcase>
<testcase classname="tests/getCommonRetryAfter.test.js" name="getCommonRetryAfter &gt; should handle a mix of valid and invalid retry-after values" time="0.0001952">
</testcase>
</testsuite>
<testsuite name="tests/deGremlin.test.js" timestamp="2026-05-01T11:56:57.305Z" hostname="SQUP-LT6TCPND4" tests="6" failures="0" errors="0" skipped="0" time="0.0068603">
<testcase classname="tests/deGremlin.test.js" name="deGremlin &gt; should return a string when given a string" time="0.0019777">
</testcase>
<testcase classname="tests/deGremlin.test.js" name="deGremlin &gt; should return the expected string when given a string" time="0.0004711">
</testcase>
<testcase classname="tests/deGremlin.test.js" name="deGremlin &gt; should return a string when given string[]" time="0.0002976">
</testcase>
<testcase classname="tests/deGremlin.test.js" name="deGremlin &gt; should return the expected string when given string[]" time="0.0003823">
</testcase>
<testcase classname="tests/deGremlin.test.js" name="deGremlin &gt; should return the first string when given multiple values in string[]" time="0.0005837">
</testcase>
<testcase classname="tests/deGremlin.test.js" name="deGremlin &gt; should not throw when given a null value" time="0.0012589">
</testcase>
</testsuite>
<testsuite name="tests/axiosLogInterceptors.test.js" timestamp="2026-05-01T11:56:57.311Z" hostname="SQUP-LT6TCPND4" tests="8" failures="0" errors="0" skipped="0" time="0.0072592">
<testcase classname="tests/axiosLogInterceptors.test.js" name="&apos;Request Interceptors&apos; &gt; should return an array" time="0.0012227">
</testcase>
<testcase classname="tests/axiosLogInterceptors.test.js" name="&apos;Request Interceptors&apos; &gt; should return the expected array" time="0.0008118">
</testcase>
<testcase classname="tests/axiosLogInterceptors.test.js" name="&apos;Request Interceptors&apos; &gt; should throw when no context provided" time="0.0007469">
</testcase>
<testcase classname="tests/axiosLogInterceptors.test.js" name="&apos;Request Interceptors&apos; &gt; should throw when invalid context provided" time="0.0002112">
</testcase>
<testcase classname="tests/axiosLogInterceptors.test.js" name="&apos;Response Interceptors&apos; &gt; should return an array" time="0.0001866">
</testcase>
<testcase classname="tests/axiosLogInterceptors.test.js" name="&apos;Response Interceptors&apos; &gt; should return the expected array" time="0.0001613">
</testcase>
<testcase classname="tests/axiosLogInterceptors.test.js" name="&apos;Response Interceptors&apos; &gt; should throw when no context provided" time="0.0001937">
</testcase>
<testcase classname="tests/axiosLogInterceptors.test.js" name="&apos;Response Interceptors&apos; &gt; should throw when invalid context provided" time="0.0001432">
</testcase>
</testsuite>
<testsuite name="tests/getBase64Auth.test.js" timestamp="2026-05-01T11:56:57.318Z" hostname="SQUP-LT6TCPND4" tests="6" failures="0" errors="0" skipped="0" time="0.005769">
<testcase classname="tests/getBase64Auth.test.js" name="getBase64Auth &gt; should return a string" time="0.0016699">
</testcase>
<testcase classname="tests/getBase64Auth.test.js" name="getBase64Auth &gt; should return the expected string" time="0.0002817">
</testcase>
<testcase classname="tests/getBase64Auth.test.js" name="getBase64Auth &gt; should not throw when given a null username" time="0.0011379">
</testcase>
<testcase classname="tests/getBase64Auth.test.js" name="getBase64Auth &gt; should not throw when given a null password" time="0.0003538">
</testcase>
<testcase classname="tests/getBase64Auth.test.js" name="getBase64Auth &gt; should not throw when given a null values" time="0.0004413">
</testcase>
<testcase classname="tests/getBase64Auth.test.js" name="getBase64Auth &gt; should not throw when given objects" time="0.0002947">
</testcase>
</testsuite>
<testsuite name="tests/generatePkcePair.test.js" timestamp="2026-05-01T11:56:57.324Z" hostname="SQUP-LT6TCPND4" tests="2" failures="0" errors="0" skipped="0" time="0.0057795">
<testcase classname="tests/generatePkcePair.test.js" name="generatePkcePair &gt; should return an object" time="0.0027427">
</testcase>
<testcase classname="tests/generatePkcePair.test.js" name="generatePkcePair &gt; should return the expected object" time="0.001688">
</testcase>
</testsuite>
</testsuites>
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {}
});