From cfada6796639a9d8e34dd610952b395b57ab1d4a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Feb 2026 11:32:29 +0000 Subject: [PATCH 1/3] refactor: bump @actions/core from 1.11.1 to 3.0.0 Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.11.1 to 3.0.0. - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) --- updated-dependencies: - dependency-name: "@actions/core" dependency-version: 3.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 83 ++++++++++++++++++++++++++++------------------- package.json | 2 +- 2 files changed, 51 insertions(+), 34 deletions(-) diff --git a/package-lock.json b/package-lock.json index c688a3c228..ddcf685474 100644 --- a/package-lock.json +++ b/package-lock.json @@ -58,7 +58,7 @@ "parse-server": "bin/parse-server" }, "devDependencies": { - "@actions/core": "1.11.1", + "@actions/core": "3.0.0", "@apollo/client": "3.13.8", "@babel/cli": "7.27.0", "@babel/core": "7.29.0", @@ -116,37 +116,38 @@ } }, "node_modules/@actions/core": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.11.1.tgz", - "integrity": "sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-3.0.0.tgz", + "integrity": "sha512-zYt6cz+ivnTmiT/ksRVriMBOiuoUpDCJJlZ5KPl2/FRdvwU3f7MPh9qftvbkXJThragzUZieit2nyHUyw53Seg==", "dev": true, "dependencies": { - "@actions/exec": "^1.1.1", - "@actions/http-client": "^2.0.1" + "@actions/exec": "^3.0.0", + "@actions/http-client": "^4.0.0" } }, "node_modules/@actions/exec": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", - "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-3.0.0.tgz", + "integrity": "sha512-6xH/puSoNBXb72VPlZVm7vQ+svQpFyA96qdDBvhB8eNZOE8LtPf9L4oAsfzK/crCL8YZ+19fKYVnM63Sl+Xzlw==", "dev": true, "dependencies": { - "@actions/io": "^1.0.1" + "@actions/io": "^3.0.2" } }, "node_modules/@actions/http-client": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz", - "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-4.0.0.tgz", + "integrity": "sha512-QuwPsgVMsD6qaPD57GLZi9sqzAZCtiJT8kVBCDpLtxhL5MydQ4gS+DrejtZZPdIYyB1e95uCK9Luyds7ybHI3g==", "dev": true, "dependencies": { - "tunnel": "^0.0.6" + "tunnel": "^0.0.6", + "undici": "^6.23.0" } }, "node_modules/@actions/io": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.3.tgz", - "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-3.0.2.tgz", + "integrity": "sha512-nRBchcMM+QK1pdjO7/idu86rbJI5YHUKCvKs0KxnSYbVe3F51UfGxuZX4Qy/fWlp6l7gWFwIkrOzN+oUK03kfw==", "dev": true }, "node_modules/@apollo/cache-control-types": { @@ -21701,6 +21702,15 @@ "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==", "dev": true }, + "node_modules/undici": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.23.0.tgz", + "integrity": "sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==", + "dev": true, + "engines": { + "node": ">=18.17" + } + }, "node_modules/undici-types": { "version": "6.19.8", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", @@ -22561,37 +22571,38 @@ }, "dependencies": { "@actions/core": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.11.1.tgz", - "integrity": "sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-3.0.0.tgz", + "integrity": "sha512-zYt6cz+ivnTmiT/ksRVriMBOiuoUpDCJJlZ5KPl2/FRdvwU3f7MPh9qftvbkXJThragzUZieit2nyHUyw53Seg==", "dev": true, "requires": { - "@actions/exec": "^1.1.1", - "@actions/http-client": "^2.0.1" + "@actions/exec": "^3.0.0", + "@actions/http-client": "^4.0.0" } }, "@actions/exec": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", - "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-3.0.0.tgz", + "integrity": "sha512-6xH/puSoNBXb72VPlZVm7vQ+svQpFyA96qdDBvhB8eNZOE8LtPf9L4oAsfzK/crCL8YZ+19fKYVnM63Sl+Xzlw==", "dev": true, "requires": { - "@actions/io": "^1.0.1" + "@actions/io": "^3.0.2" } }, "@actions/http-client": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz", - "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-4.0.0.tgz", + "integrity": "sha512-QuwPsgVMsD6qaPD57GLZi9sqzAZCtiJT8kVBCDpLtxhL5MydQ4gS+DrejtZZPdIYyB1e95uCK9Luyds7ybHI3g==", "dev": true, "requires": { - "tunnel": "^0.0.6" + "tunnel": "^0.0.6", + "undici": "^6.23.0" } }, "@actions/io": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.3.tgz", - "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-3.0.2.tgz", + "integrity": "sha512-nRBchcMM+QK1pdjO7/idu86rbJI5YHUKCvKs0KxnSYbVe3F51UfGxuZX4Qy/fWlp6l7gWFwIkrOzN+oUK03kfw==", "dev": true }, "@apollo/cache-control-types": { @@ -37527,6 +37538,12 @@ "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==", "dev": true }, + "undici": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.23.0.tgz", + "integrity": "sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==", + "dev": true + }, "undici-types": { "version": "6.19.8", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", diff --git a/package.json b/package.json index e2ba512c2a..73013474d8 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "ws": "8.18.2" }, "devDependencies": { - "@actions/core": "1.11.1", + "@actions/core": "3.0.0", "@apollo/client": "3.13.8", "@babel/cli": "7.27.0", "@babel/core": "7.29.0", From 799954bfb2f68060c9e3f2eeec4324529d8d342a Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Wed, 11 Feb 2026 21:17:48 +0000 Subject: [PATCH 2/3] fix: Use dynamic import for ESM-only @actions/core v3 --- ci/CiVersionCheck.js | 2 +- ci/definitionsCheck.js | 2 +- ci/nodeEngineCheck.js | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ci/CiVersionCheck.js b/ci/CiVersionCheck.js index b06620b246..20986a0b15 100644 --- a/ci/CiVersionCheck.js +++ b/ci/CiVersionCheck.js @@ -1,4 +1,3 @@ -const core = require('@actions/core'); const semver = require('semver'); const yaml = require('yaml'); const fs = require('fs').promises; @@ -220,6 +219,7 @@ class CiVersionCheck { * Runs the check. */ async check() { + const core = await import('@actions/core'); /* eslint-disable no-console */ try { console.log(`\nChecking ${this.packageName} versions in CI environments...`); diff --git a/ci/definitionsCheck.js b/ci/definitionsCheck.js index 476dad8d0e..b4b9e88d0a 100644 --- a/ci/definitionsCheck.js +++ b/ci/definitionsCheck.js @@ -1,8 +1,8 @@ const fs = require('fs').promises; const { exec } = require('child_process'); -const core = require('@actions/core'); const util = require('util'); (async () => { + const core = await import('@actions/core'); const [currentDefinitions, currentDocs] = await Promise.all([ fs.readFile('./src/Options/Definitions.js', 'utf8'), fs.readFile('./src/Options/docs.js', 'utf8'), diff --git a/ci/nodeEngineCheck.js b/ci/nodeEngineCheck.js index 65a806f760..e2c4553604 100644 --- a/ci/nodeEngineCheck.js +++ b/ci/nodeEngineCheck.js @@ -1,7 +1,7 @@ -const core = require('@actions/core'); const semver = require('semver'); const fs = require('fs').promises; const path = require('path'); +let core; /** * This checks whether any package dependency requires a minimum node engine @@ -137,6 +137,7 @@ class NodeEngineCheck { } async function check() { + core = await import('@actions/core'); // Define paths const nodeModulesPath = path.join(__dirname, '../node_modules'); const packageJsonPath = path.join(__dirname, '../package.json'); From 8e7d97f8e1d619aac69f664e7418c5c3d9126780 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Wed, 11 Feb 2026 21:23:05 +0000 Subject: [PATCH 3/3] fix: Use dynamic import for @actions/core in benchmark script --- benchmark/performance.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmark/performance.js b/benchmark/performance.js index c37ac09777..b373a6a7a8 100644 --- a/benchmark/performance.js +++ b/benchmark/performance.js @@ -8,7 +8,6 @@ * Run with: npm run benchmark */ -const core = require('@actions/core'); const Parse = require('parse/node'); const { performance } = require('node:perf_hooks'); const { MongoClient } = require('mongodb'); @@ -25,6 +24,7 @@ const LOG_ITERATIONS = false; // Parse Server instance let parseServer; let mongoClient; +let core; // Logging helpers const logInfo = message => core.info(message); @@ -529,6 +529,7 @@ async function benchmarkQueryWithIncludeNested(name) { * Run all benchmarks */ async function runBenchmarks() { + core = await import('@actions/core'); logInfo('Starting Parse Server Performance Benchmarks...'); let server;