From 1ec69e40a683a60a9074fe566ab39ac0fa0dfdf3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 May 2024 05:19:20 +0000 Subject: [PATCH 1/2] --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 58835cd..7433424 100644 --- a/package-lock.json +++ b/package-lock.json @@ -414,9 +414,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.12.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz", - "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==", + "version": "20.12.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz", + "integrity": "sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==", "dev": true, "dependencies": { "undici-types": "~5.26.4" From 59087fde3a3144ea13b7071fdd27696447383b6d Mon Sep 17 00:00:00 2001 From: Joe Wagner Date: Tue, 21 May 2024 08:33:22 -0600 Subject: [PATCH 2/2] add type to arch object --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 0a7ea12..1d768ed 100644 --- a/src/index.ts +++ b/src/index.ts @@ -23,7 +23,7 @@ const platformMap = { }; // top level keys are all possible values for process.arch -const archMap = { +const archMap: Record> = { arm: platformMap, // not actively supported // we don't have an automated build setup for these, but a manual build is