From 8081f32b08b155eb35943c8e12f71cbe08ce2c61 Mon Sep 17 00:00:00 2001 From: Gar Date: Wed, 8 Oct 2025 10:30:27 -0700 Subject: [PATCH] deps: downgrade ci-info to 4.3.0 Tests for libnpmpublish fail with ci-info@4.3.1 --- node_modules/ci-info/index.js | 28 +++++++++++++--------------- node_modules/ci-info/package.json | 2 +- package-lock.json | 8 ++++---- package.json | 2 +- 4 files changed, 19 insertions(+), 21 deletions(-) diff --git a/node_modules/ci-info/index.js b/node_modules/ci-info/index.js index 38056d9aa8772..75695253adb47 100644 --- a/node_modules/ci-info/index.js +++ b/node_modules/ci-info/index.js @@ -15,24 +15,22 @@ exports.name = null exports.isPR = null exports.id = null -if (env.CI !== 'false') { - vendors.forEach(function (vendor) { - const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env] - const isCI = envs.every(function (obj) { - return checkEnv(obj) - }) +vendors.forEach(function (vendor) { + const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env] + const isCI = envs.every(function (obj) { + return checkEnv(obj) + }) - exports[vendor.constant] = isCI + exports[vendor.constant] = isCI - if (!isCI) { - return - } + if (!isCI) { + return + } - exports.name = vendor.name - exports.isPR = checkPR(vendor) - exports.id = vendor.constant - }) -} + exports.name = vendor.name + exports.isPR = checkPR(vendor) + exports.id = vendor.constant +}) exports.isCI = !!( env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false' diff --git a/node_modules/ci-info/package.json b/node_modules/ci-info/package.json index 1e47fe0092d3a..8ce80ae1ee847 100644 --- a/node_modules/ci-info/package.json +++ b/node_modules/ci-info/package.json @@ -1,6 +1,6 @@ { "name": "ci-info", - "version": "4.3.1", + "version": "4.3.0", "description": "Get details about the current Continuous Integration environment", "main": "index.js", "typings": "index.d.ts", diff --git a/package-lock.json b/package-lock.json index 79a95c4d3206d..1bf3308628ed9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -97,7 +97,7 @@ "archy": "~1.0.0", "cacache": "^20.0.1", "chalk": "^5.6.2", - "ci-info": "^4.3.1", + "ci-info": "^4.3.0", "cli-columns": "^4.0.0", "fastest-levenshtein": "^1.0.16", "fs-minipass": "^3.0.3", @@ -3040,9 +3040,9 @@ } }, "node_modules/ci-info": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.3.1.tgz", - "integrity": "sha512-Wdy2Igu8OcBpI2pZePZ5oWjPC38tmDVx5WKUXKwlLYkA0ozo85sLsLvkBbBn/sZaSCMFOGZJ14fvW9t5/d7kdA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.3.0.tgz", + "integrity": "sha512-l+2bNRMiQgcfILUi33labAZYIWlH1kWDp+ecNo5iisRKrbm0xcRyCww71/YU0Fkw0mAFpz9bJayXPjey6vkmaQ==", "funding": [ { "type": "github", diff --git a/package.json b/package.json index 57b726fa1ecdb..b8ab1e3059d62 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "archy": "~1.0.0", "cacache": "^20.0.1", "chalk": "^5.6.2", - "ci-info": "^4.3.1", + "ci-info": "^4.3.0", "cli-columns": "^4.0.0", "fastest-levenshtein": "^1.0.16", "fs-minipass": "^3.0.3",