This run took 78 seconds.
From a34d9ce5bc7364bdd64683308e62fba9ae9f9ac0 Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Sat, 26 Jul 2025 05:48:43 +0000 Subject: [PATCH] build: Updating npm dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * brace-expansion: 1.1.11, 2.0.1 → 1.1.12, 2.0.2 * https://github.com/advisories/GHSA-v6h2-p8h4-qcjw * compression: 1.7.5 → 1.8.1 * https://github.com/advisories/GHSA-76c9-3jph-rj3q * form-data: 4.0.1 → 4.0.4 * https://github.com/advisories/GHSA-fjxv-7rqg-78g4 * on-headers: 1.0.2 → 1.1.0 * https://github.com/advisories/GHSA-76c9-3jph-rj3q Change-Id: Ife0b9b5bc127b0eba87ff270db9c121c1692af25 --- package-lock.json | 159 ++++++++++++++++++++++++++++------------------ 1 file changed, 96 insertions(+), 63 deletions(-) diff --git a/package-lock.json b/package-lock.json index 99968ff..645b109 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2295,11 +2295,10 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dev": true, - "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -3025,11 +3024,10 @@ "license": "ISC" }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "devOptional": true, - "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -3234,6 +3232,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -3536,16 +3546,15 @@ } }, "node_modules/compression": { - "version": "1.7.5", - "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.5.tgz", - "integrity": "sha512-bQJ0YRck5ak3LgtnpKkiabX5pNF7tMUh1BSy2ZBOTh0Dim0BUu6aPPwByIns6/A5Prh8PufSPerMDUklpzes2Q==", - "license": "MIT", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.8.1.tgz", + "integrity": "sha512-9mAqGPHLakhCLeNyxPkK4xVo746zQ/czLH1Ky+vkitMnWfWZps8r0qXuwhwizagCRttsL4lfG4pIOvaWLpAP0w==", "dependencies": { "bytes": "3.1.2", "compressible": "~2.0.18", "debug": "2.6.9", "negotiator": "~0.6.4", - "on-headers": "~1.0.2", + "on-headers": "~1.1.0", "safe-buffer": "5.2.1", "vary": "~1.1.2" }, @@ -3964,6 +3973,19 @@ "@types/trusted-types": "^2.0.7" } }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", @@ -4154,13 +4176,9 @@ } }, "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", "engines": { "node": ">= 0.4" } @@ -4175,11 +4193,9 @@ } }, "node_modules/es-object-atoms": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", - "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", - "dev": true, - "license": "MIT", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", "dependencies": { "es-errors": "^1.3.0" }, @@ -4188,15 +4204,14 @@ } }, "node_modules/es-set-tostringtag": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", - "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", - "dev": true, - "license": "MIT", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", "dependencies": { - "get-intrinsic": "^1.2.4", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", "has-tostringtag": "^1.0.2", - "hasown": "^2.0.1" + "hasown": "^2.0.2" }, "engines": { "node": ">= 0.4" @@ -4737,11 +4752,10 @@ } }, "node_modules/eslint-plugin-n/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dev": true, - "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -5592,13 +5606,14 @@ } }, "node_modules/form-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", - "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", - "license": "MIT", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", "mime-types": "^2.1.12" }, "engines": { @@ -5765,16 +5780,20 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "license": "MIT", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" }, "engines": { "node": ">= 0.4" @@ -5793,6 +5812,18 @@ "node": ">=8.0.0" } }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/get-symbol-description": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", @@ -5896,13 +5927,9 @@ } }, "node_modules/gopd": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.1.0.tgz", - "integrity": "sha512-FQoVQnqcdk4hVM4JN1eromaun4iuS34oStkdlLENLdpULsuQcTyXj8w7ayhuUfPwEYZ1ZOooOTT6fdA9Vmx/RA==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", "engines": { "node": ">= 0.4" }, @@ -5960,6 +5987,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -5969,10 +5997,9 @@ } }, "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "license": "MIT", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", "engines": { "node": ">= 0.4" }, @@ -5984,7 +6011,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "dev": true, "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" @@ -7322,6 +7348,14 @@ "node": ">=10" } }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -8157,10 +8191,9 @@ } }, "node_modules/on-headers": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", - "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", - "license": "MIT", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.1.0.tgz", + "integrity": "sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A==", "engines": { "node": ">= 0.8" } -- 2.39.5
$ date --- stdout --- Sat Jul 26 05:47:36 UTC 2025 --- end --- $ git clone file:///srv/git/mediawiki-services-cxserver.git repo --depth=1 -b master --- stderr --- Cloning into 'repo'... --- stdout --- --- end --- $ git config user.name libraryupgrader --- stdout --- --- end --- $ git config user.email tools.libraryupgrader@tools.wmflabs.org --- stdout --- --- end --- $ git submodule update --init --- stdout --- --- end --- $ grr init --- stdout --- Installed commit-msg hook. --- end --- $ git show-ref refs/heads/master --- stdout --- f358c9cb1b4d469ca4ce597ac92a8afaba579b47 refs/heads/master --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "brace-expansion": { "name": "brace-expansion", "severity": "low", "isDirect": false, "via": [ { "source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": [ "CWE-400" ], "cvss": { "score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L" }, "range": ">=1.0.0 <=1.1.11" }, { "source": 1105444, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": [ "CWE-400" ], "cvss": { "score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L" }, "range": ">=2.0.0 <=2.0.1" } ], "effects": [], "range": "1.0.0 - 1.1.11 || 2.0.0 - 2.0.1", "nodes": [ "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion", "node_modules/brace-expansion", "node_modules/eslint-plugin-n/node_modules/brace-expansion" ], "fixAvailable": true }, "compression": { "name": "compression", "severity": "low", "isDirect": true, "via": [ "on-headers" ], "effects": [], "range": "1.0.3 - 1.8.0", "nodes": [ "node_modules/compression" ], "fixAvailable": true }, "form-data": { "name": "form-data", "severity": "critical", "isDirect": false, "via": [ { "source": 1106507, "name": "form-data", "dependency": "form-data", "title": "form-data uses unsafe random function in form-data for choosing boundary", "url": "https://github.com/advisories/GHSA-fjxv-7rqg-78g4", "severity": "critical", "cwe": [ "CWE-330" ], "cvss": { "score": 0, "vectorString": null }, "range": ">=4.0.0 <4.0.4" } ], "effects": [], "range": "4.0.0 - 4.0.3", "nodes": [ "node_modules/form-data" ], "fixAvailable": true }, "on-headers": { "name": "on-headers", "severity": "low", "isDirect": false, "via": [ { "source": 1106485, "name": "on-headers", "dependency": "on-headers", "title": "on-headers is vulnerable to http response header manipulation", "url": "https://github.com/advisories/GHSA-76c9-3jph-rj3q", "severity": "low", "cwe": [ "CWE-241" ], "cvss": { "score": 3.4, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N" }, "range": "<1.1.0" } ], "effects": [ "compression" ], "range": "<1.1.0", "nodes": [ "node_modules/on-headers" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 3, "moderate": 0, "high": 0, "critical": 1, "total": 4 }, "dependencies": { "prod": 281, "dev": 529, "optional": 52, "peer": 1, "peerOptional": 0, "total": 861 } } } --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "brace-expansion": { "name": "brace-expansion", "severity": "low", "isDirect": false, "via": [ { "source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": [ "CWE-400" ], "cvss": { "score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L" }, "range": ">=1.0.0 <=1.1.11" }, { "source": 1105444, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": [ "CWE-400" ], "cvss": { "score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L" }, "range": ">=2.0.0 <=2.0.1" } ], "effects": [], "range": "1.0.0 - 1.1.11 || 2.0.0 - 2.0.1", "nodes": [ "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion", "node_modules/brace-expansion", "node_modules/eslint-plugin-n/node_modules/brace-expansion" ], "fixAvailable": true }, "compression": { "name": "compression", "severity": "low", "isDirect": true, "via": [ "on-headers" ], "effects": [], "range": "1.0.3 - 1.8.0", "nodes": [ "node_modules/compression" ], "fixAvailable": true }, "form-data": { "name": "form-data", "severity": "critical", "isDirect": false, "via": [ { "source": 1106507, "name": "form-data", "dependency": "form-data", "title": "form-data uses unsafe random function in form-data for choosing boundary", "url": "https://github.com/advisories/GHSA-fjxv-7rqg-78g4", "severity": "critical", "cwe": [ "CWE-330" ], "cvss": { "score": 0, "vectorString": null }, "range": ">=4.0.0 <4.0.4" } ], "effects": [], "range": "4.0.0 - 4.0.3", "nodes": [ "node_modules/form-data" ], "fixAvailable": true }, "on-headers": { "name": "on-headers", "severity": "low", "isDirect": false, "via": [ { "source": 1106485, "name": "on-headers", "dependency": "on-headers", "title": "on-headers is vulnerable to http response header manipulation", "url": "https://github.com/advisories/GHSA-76c9-3jph-rj3q", "severity": "low", "cwe": [ "CWE-241" ], "cvss": { "score": 3.4, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N" }, "range": "<1.1.0" } ], "effects": [ "compression" ], "range": "<1.1.0", "nodes": [ "node_modules/on-headers" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 3, "moderate": 0, "high": 0, "critical": 1, "total": 4 }, "dependencies": { "prod": 281, "dev": 529, "optional": 52, "peer": 1, "peerOptional": 0, "total": 861 } } } --- end --- Attempting to npm audit fix $ /usr/bin/npm audit fix --dry-run --only=dev --json --- stderr --- npm WARN invalid config only="dev" set in command line options npm WARN invalid config Must be one of: null, prod, production npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'cxserver@1.2.1', npm WARN EBADENGINE required: { node: '>=20' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } --- stdout --- { "added": 865, "removed": 0, "changed": 0, "audited": 866, "funding": 159, "audit": { "auditReportVersion": 2, "vulnerabilities": { "brace-expansion": { "name": "brace-expansion", "severity": "low", "isDirect": false, "via": [ { "source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": [ "CWE-400" ], "cvss": { "score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L" }, "range": ">=1.0.0 <=1.1.11" }, { "source": 1105444, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": [ "CWE-400" ], "cvss": { "score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L" }, "range": ">=2.0.0 <=2.0.1" } ], "effects": [], "range": "1.0.0 - 1.1.11 || 2.0.0 - 2.0.1", "nodes": [ "", "", "" ], "fixAvailable": true }, "compression": { "name": "compression", "severity": "low", "isDirect": false, "via": [ "on-headers" ], "effects": [], "range": "1.0.3 - 1.8.0", "nodes": [ "" ], "fixAvailable": true }, "form-data": { "name": "form-data", "severity": "critical", "isDirect": false, "via": [ { "source": 1106507, "name": "form-data", "dependency": "form-data", "title": "form-data uses unsafe random function in form-data for choosing boundary", "url": "https://github.com/advisories/GHSA-fjxv-7rqg-78g4", "severity": "critical", "cwe": [ "CWE-330" ], "cvss": { "score": 0, "vectorString": null }, "range": ">=4.0.0 <4.0.4" } ], "effects": [], "range": "4.0.0 - 4.0.3", "nodes": [ "" ], "fixAvailable": true }, "on-headers": { "name": "on-headers", "severity": "low", "isDirect": false, "via": [ { "source": 1106485, "name": "on-headers", "dependency": "on-headers", "title": "on-headers is vulnerable to http response header manipulation", "url": "https://github.com/advisories/GHSA-76c9-3jph-rj3q", "severity": "low", "cwe": [ "CWE-241" ], "cvss": { "score": 3.4, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N" }, "range": "<1.1.0" } ], "effects": [ "compression" ], "range": "<1.1.0", "nodes": [ "" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 3, "moderate": 0, "high": 0, "critical": 1, "total": 4 }, "dependencies": { "prod": 287, "dev": 527, "optional": 52, "peer": 1, "peerOptional": 0, "total": 865 } } } } --- end --- {"added": 865, "removed": 0, "changed": 0, "audited": 866, "funding": 159, "audit": {"auditReportVersion": 2, "vulnerabilities": {"brace-expansion": {"name": "brace-expansion", "severity": "low", "isDirect": false, "via": [{"source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": ["CWE-400"], "cvss": {"score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=1.0.0 <=1.1.11"}, {"source": 1105444, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": ["CWE-400"], "cvss": {"score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=2.0.0 <=2.0.1"}], "effects": [], "range": "1.0.0 - 1.1.11 || 2.0.0 - 2.0.1", "nodes": ["", "", ""], "fixAvailable": true}, "compression": {"name": "compression", "severity": "low", "isDirect": false, "via": ["on-headers"], "effects": [], "range": "1.0.3 - 1.8.0", "nodes": [""], "fixAvailable": true}, "form-data": {"name": "form-data", "severity": "critical", "isDirect": false, "via": [{"source": 1106507, "name": "form-data", "dependency": "form-data", "title": "form-data uses unsafe random function in form-data for choosing boundary", "url": "https://github.com/advisories/GHSA-fjxv-7rqg-78g4", "severity": "critical", "cwe": ["CWE-330"], "cvss": {"score": 0, "vectorString": null}, "range": ">=4.0.0 <4.0.4"}], "effects": [], "range": "4.0.0 - 4.0.3", "nodes": [""], "fixAvailable": true}, "on-headers": {"name": "on-headers", "severity": "low", "isDirect": false, "via": [{"source": 1106485, "name": "on-headers", "dependency": "on-headers", "title": "on-headers is vulnerable to http response header manipulation", "url": "https://github.com/advisories/GHSA-76c9-3jph-rj3q", "severity": "low", "cwe": ["CWE-241"], "cvss": {"score": 3.4, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N"}, "range": "<1.1.0"}], "effects": ["compression"], "range": "<1.1.0", "nodes": [""], "fixAvailable": true}}, "metadata": {"vulnerabilities": {"info": 0, "low": 3, "moderate": 0, "high": 0, "critical": 1, "total": 4}, "dependencies": {"prod": 287, "dev": 527, "optional": 52, "peer": 1, "peerOptional": 0, "total": 865}}}} $ /usr/bin/npm audit fix --only=dev --- stderr --- npm WARN invalid config only="dev" set in command line options npm WARN invalid config Must be one of: null, prod, production npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'cxserver@1.2.1', npm WARN EBADENGINE required: { node: '>=20' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs npm WARN deprecated npmlog@6.0.2: This package is no longer supported. npm WARN deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead npm WARN deprecated are-we-there-yet@3.0.1: This package is no longer supported. npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead npm WARN deprecated gauge@4.0.4: This package is no longer supported. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options. --- stdout --- added 865 packages, and audited 866 packages in 10s 159 packages are looking for funding run `npm fund` for details found 0 vulnerabilities --- end --- Verifying that tests still pass $ /usr/bin/npm ci --- stderr --- npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'cxserver@1.2.1', npm WARN EBADENGINE required: { node: '>=20' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs npm WARN deprecated npmlog@6.0.2: This package is no longer supported. npm WARN deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead npm WARN deprecated are-we-there-yet@3.0.1: This package is no longer supported. npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead npm WARN deprecated gauge@4.0.4: This package is no longer supported. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options. --- stdout --- added 865 packages, and audited 866 packages in 13s 159 packages are looking for funding run `npm fund` for details found 0 vulnerabilities --- end --- $ /usr/bin/npm test --- stdout --- > cxserver@1.2.1 test > npm run lint && npm run unittest > cxserver@1.2.1 lint > eslint . /src/repo/app.js 46:1 warning The type 'Express' is undefined jsdoc/no-undefined-types 81:34 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp 84:25 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 222:9 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 223:10 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/lib/Config.js 42:28 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 64:38 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 69:6 warning Mixed spaces and tabs no-mixed-spaces-and-tabs 70:6 warning Mixed spaces and tabs no-mixed-spaces-and-tabs 97:29 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/lib/adaptation/TemplateParameterMapper.js 110:5 warning Mixed spaces and tabs no-mixed-spaces-and-tabs 110:7 warning Expected no linebreak before this expression implicit-arrow-linebreak 113:4 warning Mixed spaces and tabs no-mixed-spaces-and-tabs /src/repo/lib/lineardoc/MwContextualizer.js 143:35 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp /src/repo/lib/logging.js 7:1 warning The type 'winston' is undefined jsdoc/no-undefined-types /src/repo/lib/mt/Apertium.js 37:27 warning The 'fetch' is still an experimental feature and is not supported until Node.js 21.0.0. The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/lib/mt/Elia.js 94:27 warning The 'fetch' is still an experimental feature and is not supported until Node.js 21.0.0. The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/lib/mt/Google.js 94:27 warning The 'fetch' is still an experimental feature and is not supported until Node.js 21.0.0. The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/lib/mt/LingoCloud.js 75:27 warning The 'fetch' is still an experimental feature and is not supported until Node.js 21.0.0. The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/lib/mt/MinT.js 55:27 warning The 'fetch' is still an experimental feature and is not supported until Node.js 21.0.0. The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/lib/mt/Yandex.js 82:27 warning The 'fetch' is still an experimental feature and is not supported until Node.js 21.0.0. The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/lib/mw/MWPageLoader.js 19:33 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/lib/mw/MwApiRequest.js 60:26 warning The 'fetch' is still an experimental feature and is not supported until Node.js 21.0.0. The configured version range is '>=20' n/no-unsupported-features/node-builtins 106:26 warning The 'fetch' is still an experimental feature and is not supported until Node.js 21.0.0. The configured version range is '>=20' n/no-unsupported-features/node-builtins 193:10 warning The 'fetch' is still an experimental feature and is not supported until Node.js 21.0.0. The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/lib/swagger-ui.js 26:9 warning Found readFile from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/lib/translationunits/MWCategory.js 15:41 warning Unsafe Regular Expression security/detect-unsafe-regex /src/repo/lib/translationunits/MWFile.js 44:51 warning Unsafe Regular Expression security/detect-unsafe-regex /src/repo/lib/translationunits/MWImage.js 123:68 warning Unsafe Regular Expression security/detect-unsafe-regex /src/repo/lib/util.js 132:23 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/scripts/SectionTitleAlignment/alignwithmt.js 214:26 warning The 'fetch' is still an experimental feature and is not supported until Node.js 21.0.0. The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/scripts/template-mapping.js 108:7 warning Found existsSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 114:14 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/spec.yaml 195:1 warning This line has a length of 139. Maximum allowed is 100 max-len 246:1 warning This line has a length of 139. Maximum allowed is 100 max-len 468:1 warning This line has a length of 109. Maximum allowed is 100 max-len 493:1 warning This line has a length of 110. Maximum allowed is 100 max-len 499:1 warning This line has a length of 216. Maximum allowed is 100 max-len 540:1 warning This line has a length of 110. Maximum allowed is 100 max-len 547:1 warning This line has a length of 216. Maximum allowed is 100 max-len 589:1 warning This line has a length of 106. Maximum allowed is 100 max-len 606:1 warning This line has a length of 134. Maximum allowed is 100 max-len /src/repo/test/adaptation/AdaptationTest.js 1:25 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/adaptation/SectionTest.js 1:18 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins 31:20 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/test/adaptation/TemplateParameterMapper.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/features/app/app.js 1:18 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/features/app/spec.js 1:18 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins 21:16 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 168:10 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp /src/repo/test/features/info/info.js 1:18 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/features/v1/page.js 1:18 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/features/v2/page.js 1:18 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/lineardoc/LinearDoc.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins 24:22 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 25:24 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 26:26 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 70:28 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 86:28 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 134:27 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 204:28 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/test/mt/Apertium.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/mt/Elia.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/mt/Google.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/mt/LingCloud.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/mt/MTClient.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/mt/Template.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/mt/Yandex.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/mt/transform.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/mw/MWPageLoaderTest.js 1:18 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins 37:27 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 46:5 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/test/mw/SectionWrap.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins 17:33 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/test/segmentation/CXSegmenter.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins 24:19 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 30:3 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/test/suggestions/SectionSuggestion.test.js 1:10 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/testutils.js 22:5 warning Found writeFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/test/translationunits/MWLink.test.js 1:25 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins /src/repo/test/translationunits/MWReference.test.js 1:25 warning The 'test.describe' is still an experimental feature and is not supported until Node.js 22.0.0 (backported: ^20.13.0). The configured version range is '>=20' n/no-unsupported-features/node-builtins 38:21 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename 53:27 warning Found readFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename /src/repo/test/utils/assert.js 8:40 warning Found non-literal argument to RegExp Constructor security/detect-non-literal-regexp ✖ 84 problems (0 errors, 84 warnings) > cxserver@1.2.1 unittest > NODE_ENV=test node --test test/ TAP version 13 # (node:237) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # {"@timestamp":"2025-07-26T05:48:30.909Z","ecs.version":"8.10.0","log.level":"info","message":"Starting cxserver-dev","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:31.003Z","ecs.version":"8.10.0","log.level":"info","message":"responseTimeMetric","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:31.005Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 345 languages from the configuration","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:31.032Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 7 MT providers","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:31.063Z","ecs.version":"8.10.0","log.level":"debug","message":"No title for the MWLink: {\\"name\\":\\"a\\",\\"attributes\\":{\\"rel\\":\\"mw:WikiLink\\",\\"href\\":\\"Oxygen\\",\\"id\\":\\"mwAA\\",\\"data-cx\\":\\"{\\\\\\"adapted\\\\\\":false}\\"},\\"isSelfClosing\\":false}","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:31.128Z","ecs.version":"8.10.0","log.level":"debug","message":"No title for the MWLink: {\\"name\\":\\"a\\",\\"attributes\\":{\\"rel\\":\\"mw:WikiLink\\",\\"href\\":\\"Atomic number\\",\\"id\\":\\"mwAB\\",\\"data-cx\\":\\"{\\\\\\"adapted\\\\\\":false}\\"},\\"isSelfClosing\\":false}","service":"cxserver-dev"} # Subtest: Adaptation tests # Subtest: Link adaptation basic test ok 1 - Link adaptation basic test --- duration_ms: 320.191822 ... # Subtest: Link adaptation - Full paragraph and relative links ok 2 - Link adaptation - Full paragraph and relative links --- duration_ms: 52.905949 ... # Subtest: Image adaptation basic test ok 3 - Image adaptation basic test --- duration_ms: 127.100413 ... # Subtest: Image adaptation - Inline image with span tag ok 4 - Image adaptation - Inline image with span tag --- duration_ms: 32.48795 ... # Subtest: Image adaptation - Inline image with span tag ok 5 - Image adaptation - Inline image with span tag --- duration_ms: 21.606914 ... # Subtest: Image adaptation - Source and target language directions differs ok 6 - Image adaptation - Source and target language directions differs --- duration_ms: 112.791456 ... # Subtest: Image adaptation - Image is not in commons ok 7 - Image adaptation - Image is not in commons --- duration_ms: 25.269377 ... # Subtest: Gallery adaptation ok 8 - Gallery adaptation --- duration_ms: 19.972332 ... # Subtest: Reference adaptation test without a reference template ok 9 - Reference adaptation test without a reference template --- duration_ms: 21.378878 ... # Subtest: Reference adaptation test where the content is reference and template at same time ok 10 - Reference adaptation test where the content is reference and template at same time --- duration_ms: 54.999779 ... # Subtest: Reference adaptation test where source and target has no template data. Must use template mapping database ok 11 - Reference adaptation test where source and target has no template data. Must use template mapping database --- duration_ms: 121.051314 ... # Subtest: Style tags holding template definition should not be ignored and used for template adaptation ok 12 - Style tags holding template definition should not be ignored and used for template adaptation --- duration_ms: 47.809253 ... # Subtest: Audio adaptation ok 13 - Audio adaptation --- duration_ms: 9.12464 ... # Subtest: Audio adaptation when audio is not in Commons ok 14 - Audio adaptation when audio is not in Commons --- duration_ms: 9.132382 ... # Subtest: Video adaptation ok 15 - Video adaptation --- duration_ms: 7.628743 ... # Subtest: Inline Video adaptation ok 16 - Inline Video adaptation --- duration_ms: 8.294607 ... 1..16 ok 1 - Adaptation tests --- duration_ms: 1159.475455 type: 'suite' ... # (node:238) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # {"@timestamp":"2025-07-26T05:48:30.797Z","ecs.version":"8.10.0","log.level":"info","message":"Starting cxserver-dev","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:30.854Z","ecs.version":"8.10.0","log.level":"info","message":"responseTimeMetric","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:30.855Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 345 languages from the configuration","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:30.922Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 7 MT providers","service":"cxserver-dev"} # Subtest: Adaptation tests # Subtest: should adapt section when: section has lot of templates, but all are fragments of main template ok 1 - should adapt section when: section has lot of templates, but all are fragments of main template --- duration_ms: 579.726411 ... 1..1 ok 2 - Adaptation tests --- duration_ms: 722.224889 type: 'suite' ... # Subtest: Template parameter mapping test # Subtest: should not have any errors while mapping params ok 1 - should not have any errors while mapping params --- duration_ms: 2.575515 ... 1..1 ok 3 - Template parameter mapping test --- duration_ms: 5.663547 type: 'suite' ... # (node:270) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # {"@timestamp":"2025-07-26T05:48:31.672Z","ecs.version":"8.10.0","log.level":"info","message":"Starting cxserver-dev","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:31.712Z","ecs.version":"8.10.0","log.level":"info","message":"responseTimeMetric","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:31.713Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 345 languages from the configuration","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:31.789Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 7 MT providers","service":"cxserver-dev"} # Subtest: express app # Subtest: should get robots.txt ok 1 - should get robots.txt --- duration_ms: 27.770718 ... # Subtest: should set CORS headers ok 2 - should set CORS headers --- duration_ms: 6.067692 ... # Subtest: should set CSP headers ok 3 - should set CSP headers --- duration_ms: 4.528846 ... 1..3 ok 4 - express app --- duration_ms: 171.740956 type: 'suite' ... # (node:281) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # {"@timestamp":"2025-07-26T05:48:33.294Z","ecs.version":"8.10.0","log.level":"info","message":"Starting cxserver-dev","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:33.337Z","ecs.version":"8.10.0","log.level":"info","message":"responseTimeMetric","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:33.339Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 345 languages from the configuration","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:33.398Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 7 MT providers","service":"cxserver-dev"} # Subtest: Swagger spec # Subtest: get the spec ok 1 - get the spec --- duration_ms: 37.764976 ... # Subtest: should expose valid OpenAPI spec ok 2 - should expose valid OpenAPI spec --- duration_ms: 22.016549 ... # Subtest: spec validation ok 3 - spec validation --- duration_ms: 1.316798 ... # Subtest: routes # Subtest: robots.txt check ok 1 - robots.txt check --- duration_ms: 16.849827 ... # Subtest: root with no query params ok 2 - root with no query params --- duration_ms: 7.187361 ... # Subtest: spec from root ok 3 - spec from root --- duration_ms: 6.755998 ... # Subtest: doc from root ok 4 - doc from root --- duration_ms: 4.236249 ... # Subtest: root with wrong query param ok 5 - root with wrong query param --- duration_ms: 4.389233 ... # {"@timestamp":"2025-07-26T05:48:33.515Z","ecs.version":"8.10.0","http":{"request":{"id":"7813099d-3080-4106-b5ec-2221e122f503","method":"GET"}},"log.level":"debug","message":"Getting page en:User:BSitzmann_(WMF)/MCS/Test/Frankenstein","service":"cxserver-dev","url":{"path":"/v1/page/en/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FFrankenstein"}} # {"@timestamp":"2025-07-26T05:48:33.874Z","ecs.version":"8.10.0","http":{"request":{"id":"7813099d-3080-4106-b5ec-2221e122f503","method":"GET"}},"log.level":"debug","message":"Page sent","service":"cxserver-dev","url":{"path":"/v1/page/en/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FFrankenstein"}} # Subtest: Fetch enwiki protected page ok 6 - Fetch enwiki protected page --- duration_ms: 376.933817 ... # {"@timestamp":"2025-07-26T05:48:33.886Z","ecs.version":"8.10.0","http":{"request":{"id":"8d61468e-dd1b-49f2-9555-24aa1abae273","method":"GET"}},"log.level":"debug","message":"Getting page en:User:BSitzmann_(WMF)/MCS/Test/Frankenstein","service":"cxserver-dev","url":{"path":"/v1/page/en/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FFrankenstein"}} # {"@timestamp":"2025-07-26T05:48:34.110Z","ecs.version":"8.10.0","http":{"request":{"id":"8d61468e-dd1b-49f2-9555-24aa1abae273","method":"GET"}},"log.level":"debug","message":"Page sent","service":"cxserver-dev","url":{"path":"/v1/page/en/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FFrankenstein"}} # Subtest: Fetch protected page with multi-word title ok 7 - Fetch protected page with multi-word title --- duration_ms: 252.468655 ... # {"@timestamp":"2025-07-26T05:48:34.138Z","ecs.version":"8.10.0","http":{"request":{"id":"d963ca61-140a-4a8e-83e5-f60bb231d546","method":"GET"}},"log.level":"debug","message":"Getting page en:User:BSitzmann_(WMF)/MCS/Test/Frankenstein","service":"cxserver-dev","url":{"path":"/v1/page/en/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FFrankenstein/1086816359"}} # {"@timestamp":"2025-07-26T05:48:34.294Z","ecs.version":"8.10.0","http":{"request":{"id":"d963ca61-140a-4a8e-83e5-f60bb231d546","method":"GET"}},"log.level":"debug","message":"Page sent","service":"cxserver-dev","url":{"path":"/v1/page/en/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FFrankenstein/1086816359"}} # Subtest: Fetch enwiki protected page with revision ok 8 - Fetch enwiki protected page with revision --- duration_ms: 165.345404 ... # Subtest: Machine translate an HTML fragment using TestClient. ok 9 - Machine translate an HTML fragment using TestClient. --- duration_ms: 137.343057 ... # Subtest: Machine translate an HTML fragment using TestClient. ok 10 - Machine translate an HTML fragment using TestClient. --- duration_ms: 25.941854 ... # Subtest: Get the tools between two language pairs ok 11 - Get the tools between two language pairs --- duration_ms: 3.353935 ... # Subtest: Get all the language pairs ok 12 - Get all the language pairs --- duration_ms: 4.085535 ... # Subtest: Get the MT tool between two language pairs ok 13 - Get the MT tool between two language pairs --- duration_ms: 23.866226 ... # Subtest: Get the MT tool between two language pairs ok 14 - Get the MT tool between two language pairs --- duration_ms: 3.171624 ... # {"@timestamp":"2025-07-26T05:48:34.502Z","ecs.version":"8.10.0","http":{"request":{"id":"60413d80-34c1-4ee6-811f-9cc60bf4b950","method":"GET"}},"log.level":"debug","message":"Getting page en:User:BSitzmann_(WMF)/MCS/Test/Frankenstein for es","service":"cxserver-dev","url":{"path":"/v2/page/en/es/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FFrankenstein"}} # {"@timestamp":"2025-07-26T05:48:34.763Z","ecs.version":"8.10.0","http":{"request":{"id":"60413d80-34c1-4ee6-811f-9cc60bf4b950","method":"GET"}},"log.level":"debug","message":"Page sent","service":"cxserver-dev","url":{"path":"/v2/page/en/es/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FFrankenstein"}} # Subtest: Translate enwiki protected page ok 15 - Translate enwiki protected page --- duration_ms: 276.571507 ... # {"@timestamp":"2025-07-26T05:48:34.786Z","ecs.version":"8.10.0","http":{"request":{"id":"4fdaa120-d5a3-4dd5-807a-cb18c8bacffd","method":"GET"}},"log.level":"debug","message":"Getting page en:User:BSitzmann_(WMF)/MCS/Test/Frankenstein for es","service":"cxserver-dev","url":{"path":"/v2/page/en/es/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FFrankenstein"}} # {"@timestamp":"2025-07-26T05:48:34.951Z","ecs.version":"8.10.0","http":{"request":{"id":"4fdaa120-d5a3-4dd5-807a-cb18c8bacffd","method":"GET"}},"log.level":"debug","message":"Page sent","service":"cxserver-dev","url":{"path":"/v2/page/en/es/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FFrankenstein"}} # Subtest: Translate enwiki protected page with multi-word title ok 16 - Translate enwiki protected page with multi-word title --- duration_ms: 183.087248 ... # {"@timestamp":"2025-07-26T05:48:34.963Z","ecs.version":"8.10.0","http":{"request":{"id":"58f20788-21ad-4f5a-9aa4-72c79bae0126","method":"GET"}},"log.level":"debug","message":"Getting page en:User:BSitzmann_(WMF)/MCS/Test/Frankenstein for es","service":"cxserver-dev","url":{"path":"/v2/page/en/es/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FFrankenstein/1086816359"}} # {"@timestamp":"2025-07-26T05:48:35.093Z","ecs.version":"8.10.0","http":{"request":{"id":"58f20788-21ad-4f5a-9aa4-72c79bae0126","method":"GET"}},"log.level":"debug","message":"Page sent","service":"cxserver-dev","url":{"path":"/v2/page/en/es/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FFrankenstein/1086816359"}} # Subtest: Translate enwiki protected page with revision ok 17 - Translate enwiki protected page with revision --- duration_ms: 142.997205 ... # Subtest: Machine translate an HTML fragment using TestClient, adapt the links to target language wiki. ok 18 - Machine translate an HTML fragment using TestClient, adapt the links to target language wiki. --- duration_ms: 262.258676 ... # Subtest: Machine translate an HTML fragment using TestClient, adapt the links to target language wiki. ok 19 - Machine translate an HTML fragment using TestClient, adapt the links to target language wiki. --- duration_ms: 6.374165 ... # Subtest: Suggest a target title for the given source title and language pairs ok 20 - Suggest a target title for the given source title and language pairs --- duration_ms: 266.313994 ... # Subtest: Return an authentication error HTTP status code, when default MT requires authentication and the given JWT is invalid ok 21 - Return an authentication error HTTP status code, when default MT requires authentication and the given JWT is invalid --- duration_ms: 7.532145 ... # {"@timestamp":"2025-07-26T05:48:35.648Z","ecs.version":"8.10.0","http":{"request":{"id":"35d5fd17-248f-4313-be4e-638dacbfd5e6","method":"GET"}},"log.level":"debug","message":"Attempting Paneer in en","service":"cxserver-dev","url":{"path":"/v2/suggest/source/Paneer/ca?sourcelanguages=en"}} # Subtest: Suggest a source title to use for translation ok 22 - Suggest a source title to use for translation --- duration_ms: 111.300917 ... # Subtest: Suggest target section titles for given source sections ok 23 - Suggest target section titles for given source sections --- duration_ms: 36.482 ... # Subtest: Suggest source sections to translate ok 24 - Suggest source sections to translate --- duration_ms: 196.852795 ... # Subtest: retrieve service info ok 25 - retrieve service info --- duration_ms: 11.426373 ... # Subtest: retrieve service name ok 26 - retrieve service name --- duration_ms: 3.692373 ... # Subtest: retrieve service version ok 27 - retrieve service version --- duration_ms: 2.955034 ... # Subtest: redirect to the home page ok 28 - redirect to the home page --- duration_ms: 3.229883 ... 1..28 ok 4 - routes --- duration_ms: 2548.490249 type: 'suite' ... 1..4 ok 5 - Swagger spec --- duration_ms: 2728.278889 type: 'suite' ... # (node:292) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # {"@timestamp":"2025-07-26T05:48:33.157Z","ecs.version":"8.10.0","log.level":"info","message":"Starting cxserver-dev","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:33.227Z","ecs.version":"8.10.0","log.level":"info","message":"responseTimeMetric","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:33.229Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 345 languages from the configuration","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:33.303Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 7 MT providers","service":"cxserver-dev"} # Subtest: service information # Subtest: should get the service name ok 1 - should get the service name --- duration_ms: 39.21545 ... # Subtest: should get the service version ok 2 - should get the service version --- duration_ms: 6.228795 ... # Subtest: should redirect to the service home page ok 3 - should redirect to the service home page --- duration_ms: 5.176302 ... # Subtest: should get the service info ok 4 - should get the service info --- duration_ms: 11.519966 ... 1..4 ok 6 - service information --- duration_ms: 227.236389 type: 'suite' ... # (node:303) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # {"@timestamp":"2025-07-26T05:48:33.553Z","ecs.version":"8.10.0","log.level":"info","message":"Starting cxserver-dev","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:33.589Z","ecs.version":"8.10.0","log.level":"info","message":"responseTimeMetric","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:33.590Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 345 languages from the configuration","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:33.642Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 7 MT providers","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:33.682Z","ecs.version":"8.10.0","http":{"request":{"id":"b58d5185-c412-4b92-a5a7-7b563c6275e4","method":"GET"}},"log.level":"debug","message":"Getting page en:Oxygen","service":"cxserver-dev","url":{"path":"/v1/page/en/Oxygen"}} # {"@timestamp":"2025-07-26T05:48:34.575Z","ecs.version":"8.10.0","http":{"request":{"id":"b58d5185-c412-4b92-a5a7-7b563c6275e4","method":"GET"}},"log.level":"debug","message":"Page sent","service":"cxserver-dev","url":{"path":"/v1/page/en/Oxygen"}} # Subtest: v1 api - page gets # Subtest: should get the whole page body ok 1 - should get the whole page body --- duration_ms: 1000.753363 ... # Subtest: should throw a 404 for a non-existent page ok 2 - should throw a 404 for a non-existent page --- duration_ms: 9.986196 ... 1..2 ok 7 - v1 api - page gets --- duration_ms: 1115.27368 type: 'suite' ... # (node:314) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # {"@timestamp":"2025-07-26T05:48:34.785Z","ecs.version":"8.10.0","log.level":"info","message":"Starting cxserver-dev","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:34.816Z","ecs.version":"8.10.0","log.level":"info","message":"responseTimeMetric","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:34.818Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 345 languages from the configuration","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:34.855Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 7 MT providers","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:34.901Z","ecs.version":"8.10.0","http":{"request":{"id":"1851d4f5-cba5-4f0c-83d1-947b1a75a848","method":"GET"}},"log.level":"debug","message":"Getting page en:Pickling for es","service":"cxserver-dev","url":{"path":"/v2/page/en/es/Pickling"}} # {"@timestamp":"2025-07-26T05:48:35.604Z","ecs.version":"8.10.0","http":{"request":{"id":"1851d4f5-cba5-4f0c-83d1-947b1a75a848","method":"GET"}},"log.level":"debug","message":"Page sent","service":"cxserver-dev","url":{"path":"/v2/page/en/es/Pickling"}} # Subtest: v2 api - page gets # Subtest: should get the whole page body ok 1 - should get the whole page body --- duration_ms: 768.176578 ... # {"@timestamp":"2025-07-26T05:48:35.629Z","ecs.version":"8.10.0","http":{"request":{"id":"2d103480-488b-4463-95a5-177cf2accc07","method":"GET"}},"log.level":"debug","message":"Getting page en:Wikipedia_content_translation_system for es","service":"cxserver-dev","url":{"path":"/v2/page/en/es/Wikipedia_content_translation_system"}} # Subtest: should throw a 404 for a non-existent page ok 2 - should throw a 404 for a non-existent page --- duration_ms: 86.799542 ... 1..2 ok 8 - v2 api - page gets --- duration_ms: 941.405691 type: 'suite' ... # (node:325) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # Subtest: LinearDoc # Subtest: should be possible to linearise all kind of HTML inputs ok 1 - should be possible to linearise all kind of HTML inputs --- duration_ms: 60.790157 ... # Subtest: should be possible to reconstruct the HTML from LinearDoc ok 2 - should be possible to reconstruct the HTML from LinearDoc --- duration_ms: 2.247377 ... # Subtest: should be possible to reduce and expand a document ok 3 - should be possible to reduce and expand a document --- duration_ms: 11.017675 ... # Subtest: test HTML compaction roundtrip with inline chunks ok 4 - test HTML compaction roundtrip with inline chunks --- duration_ms: 8.780767 ... # Subtest: test HTML expand with external attributes inserted ok 5 - test HTML expand with external attributes inserted --- duration_ms: 1.80815 ... # Subtest: test if the content is block level template ok 6 - test if the content is block level template --- duration_ms: 123.181542 ... # Subtest: test HTML compaction roundtrip with inline style content ok 7 - test HTML compaction roundtrip with inline style content --- duration_ms: 1.972318 ... # Subtest: test HTML compaction roundtrip with template with empty content ok 8 - test HTML compaction roundtrip with template with empty content --- duration_ms: 3.140387 ... # Subtest: test getRootItem for ignoring blockspaces ok 9 - test getRootItem for ignoring blockspaces --- duration_ms: 0.565706 ... # Subtest: test getRootItem for not ignoring non-whitespace content in textblock ok 10 - test getRootItem for not ignoring non-whitespace content in textblock --- duration_ms: 0.430338 ... # Subtest: test getRootItem for ignoring whitespace content in textblock ok 11 - test getRootItem for ignoring whitespace content in textblock --- duration_ms: 0.399188 ... 1..11 ok 9 - LinearDoc --- duration_ms: 219.157905 type: 'suite' ... # (node:336) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # Subtest: Apertium machine translation # Subtest: Test: All caps words ok 1 - Test: All caps words --- duration_ms: 108.475103 ... # Subtest: Test: Title caps one-to-many ok 2 - Test: Title caps one-to-many --- duration_ms: 19.01129 ... # Subtest: Test: Reordering with nested tags ok 3 - Test: Reordering with nested tags --- duration_ms: 29.037205 ... # Subtest: Test: Many-to-one with nested tags ok 4 - Test: Many-to-one with nested tags --- duration_ms: 26.624232 ... # Subtest: Test: Reordering at either ends of a tag ok 5 - Test: Reordering at either ends of a tag --- duration_ms: 17.668309 ... # Subtest: Test: Identical tags separated by whitespace ok 6 - Test: Identical tags separated by whitespace --- duration_ms: 13.684463 ... # Subtest: Test: Non-identical links separated by whitespace ok 7 - Test: Non-identical links separated by whitespace --- duration_ms: 15.126326 ... # Subtest: Test: Find longest match among multiple matches ok 8 - Test: Find longest match among multiple matches --- duration_ms: 28.659048 ... # Subtest: Test: Do not translate content inside the style tags ok 9 - Test: Do not translate content inside the style tags --- duration_ms: 23.036529 ... 1..9 ok 10 - Apertium machine translation --- duration_ms: 285.512097 type: 'suite' ... # Subtest: Elia machine translation # Subtest: Should fail because of wrong key ok 1 - Should fail because of wrong key --- duration_ms: 5.713986 ... 1..1 ok 11 - Elia machine translation --- duration_ms: 8.399021 type: 'suite' ... # Subtest: Google machine translation # Subtest: Should fail because of wrong key ok 1 - Should fail because of wrong key --- duration_ms: 18.019148 ... 1..1 ok 12 - Google machine translation --- duration_ms: 20.810657 type: 'suite' ... # Subtest: LingoCloud machine translation # Subtest: Should fail because of wrong key ok 1 - Should fail because of wrong key --- duration_ms: 6.866084 ... 1..1 ok 13 - LingoCloud machine translation --- duration_ms: 9.444959 type: 'suite' ... # Subtest: Machine translation with wrapped html result # Subtest: Should throw error ok 1 - Should throw error --- duration_ms: 12.286136 ... 1..1 ok 14 - Machine translation with wrapped html result --- duration_ms: 14.908605 type: 'suite' ... # Subtest: Machine translation result with extra spaces # Subtest: Should be cleaned up ok 1 - Should be cleaned up --- duration_ms: 129.394168 ... 1..1 ok 15 - Machine translation result with extra spaces --- duration_ms: 129.660826 type: 'suite' ... # Subtest: Subsequence match finding # Subtest: Should return correct range mapping ok 1 - Should return correct range mapping --- duration_ms: 14.58179 ... 1..1 ok 16 - Subsequence match finding --- duration_ms: 15.05555 type: 'suite' ... # Subtest: Template translation # Subtest: should not translate the fragement contents. ok 1 - should not translate the fragement contents. --- duration_ms: 127.102128 ... 1..1 ok 17 - Template translation --- duration_ms: 129.778381 type: 'suite' ... # Subtest: Yandex machine translation with corrupted result # Subtest: Should sanitize the MT output ok 1 - Should sanitize the MT output --- duration_ms: 154.507172 ... 1..1 ok 18 - Yandex machine translation with corrupted result --- duration_ms: 157.098981 type: 'suite' ... # Subtest: Yandex machine translation # Subtest: Should fail because of wrong key ok 1 - Should fail because of wrong key --- duration_ms: 2.410134 ... 1..1 ok 19 - Yandex machine translation --- duration_ms: 2.650834 type: 'suite' ... # Subtest: Config transform tests # Subtest: Simple cross product of languages ok 1 - Simple cross product of languages --- duration_ms: 1.822218 ... # Subtest: Do not translate between two variants of English ok 2 - Do not translate between two variants of English --- duration_ms: 0.308749 ... # Subtest: Exclude "notAsTarget" languages ok 3 - Exclude "notAsTarget" languages --- duration_ms: 0.128416 ... # Subtest: Handle pairs in the configuration ok 4 - Handle pairs in the configuration --- duration_ms: 0.520328 ... 1..4 ok 20 - Config transform tests --- duration_ms: 5.837295 type: 'suite' ... # (node:420) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # {"@timestamp":"2025-07-26T05:48:39.209Z","ecs.version":"8.10.0","log.level":"info","message":"Starting cxserver-dev","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:39.259Z","ecs.version":"8.10.0","log.level":"info","message":"responseTimeMetric","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:39.260Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 345 languages from the configuration","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:39.317Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 7 MT providers","service":"cxserver-dev"} # Subtest: MWPageLoader tests # Subtest: Test: Add data-section-number attribute to every CX section ok 1 - Test: Add data-section-number attribute to every CX section --- duration_ms: 55.772448 ... 1..1 ok 21 - MWPageLoader tests --- duration_ms: 179.940708 type: 'suite' ... # Subtest: Section wrap tests # Subtest: should parse correctly when section has common pattern of elements ok 1 - should parse correctly when section has common pattern of elements --- duration_ms: 1.134661 ... # Subtest: should extract correct number of categories when section has common pattern of elements ok 2 - should extract correct number of categories when section has common pattern of elements --- duration_ms: 0.911429 ... # Subtest: should parse correctly when section has categories to be extracted ok 3 - should parse correctly when section has categories to be extracted --- duration_ms: 0.103573 ... # Subtest: should extract correct number of categories when section has categories to be extracted ok 4 - should extract correct number of categories when section has categories to be extracted --- duration_ms: 0.238623 ... # Subtest: should parse correctly when content has nested sections and tricky transclusion context ok 5 - should parse correctly when content has nested sections and tricky transclusion context --- duration_ms: 0.089029 ... # Subtest: should extract correct number of categories when content has nested sections and tricky transclusion context ok 6 - should extract correct number of categories when content has nested sections and tricky transclusion context --- duration_ms: 0.09284 ... # Subtest: should parse correctly when content has blank template and then an unrelated table ok 7 - should parse correctly when content has blank template and then an unrelated table --- duration_ms: 0.227601 ... # Subtest: should extract correct number of categories when content has blank template and then an unrelated table ok 8 - should extract correct number of categories when content has blank template and then an unrelated table --- duration_ms: 0.100545 ... # Subtest: should parse correctly when content is complete page content with html, head tags and body having two templates with fragments ok 9 - should parse correctly when content is complete page content with html, head tags and body having two templates with fragments --- duration_ms: 0.267713 ... # Subtest: should extract correct number of categories when content is complete page content with html, head tags and body having two templates with fragments ok 10 - should extract correct number of categories when content is complete page content with html, head tags and body having two templates with fragments --- duration_ms: 0.137202 ... # Subtest: should parse correctly when Content has self closing meta tag ok 11 - should parse correctly when Content has self closing meta tag --- duration_ms: 0.094642 ... # Subtest: should extract correct number of categories when Content has self closing meta tag ok 12 - should extract correct number of categories when Content has self closing meta tag --- duration_ms: 0.074006 ... # Subtest: should parse correctly when Content has template fragments and one fragment is a section candidate. Section has categories too ok 13 - should parse correctly when Content has template fragments and one fragment is a section candidate. Section has categories too --- duration_ms: 0.20795 ... # Subtest: should extract correct number of categories when Content has template fragments and one fragment is a section candidate. Section has categories too ok 14 - should extract correct number of categories when Content has template fragments and one fragment is a section candidate. Section has categories too --- duration_ms: 0.090699 ... # Subtest: should parse correctly when Content has transclusion and one of its fragment get removed since it is ignorable. ok 15 - should parse correctly when Content has transclusion and one of its fragment get removed since it is ignorable. --- duration_ms: 0.07147 ... # Subtest: should extract correct number of categories when Content has transclusion and one of its fragment get removed since it is ignorable. ok 16 - should extract correct number of categories when Content has transclusion and one of its fragment get removed since it is ignorable. --- duration_ms: 0.234528 ... # Subtest: should parse correctly when Content has transclusion and same element is removable templatestyle. So do not remove ok 17 - should parse correctly when Content has transclusion and same element is removable templatestyle. So do not remove --- duration_ms: 0.089818 ... # Subtest: should extract correct number of categories when Content has transclusion and same element is removable templatestyle. So do not remove ok 18 - should extract correct number of categories when Content has transclusion and same element is removable templatestyle. So do not remove --- duration_ms: 0.320069 ... 1..18 ok 22 - Section wrap tests --- duration_ms: 9.3028 type: 'suite' ... # (node:446) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # {"@timestamp":"2025-07-26T05:48:39.793Z","ecs.version":"8.10.0","log.level":"info","message":"Starting cxserver-dev","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:39.821Z","ecs.version":"8.10.0","log.level":"info","message":"responseTimeMetric","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:39.823Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 345 languages from the configuration","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:39.883Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 7 MT providers","service":"cxserver-dev"} # Subtest: Title pair tests # Subtest: should adapt the title when: Corresponding title exist in target language ok 1 - should adapt the title when: Corresponding title exist in target language --- duration_ms: 250.937547 ... # Subtest: should adapt the title when: Corresponding title exist in target language ok 2 - should adapt the title when: Corresponding title exist in target language --- duration_ms: 0.567898 ... # Subtest: should adapt the title when: Corresponding title exist in target language and given title need normalization ok 3 - should adapt the title when: Corresponding title exist in target language and given title need normalization --- duration_ms: 0.253926 ... # Subtest: should adapt the title when: Corresponding title does not exist in target language and given title need normalization ok 4 - should adapt the title when: Corresponding title does not exist in target language and given title need normalization --- duration_ms: 0.212198 ... # Subtest: should adapt the title when: Corresponding title exist in target language and given title need normalization, has parenthesis ok 5 - should adapt the title when: Corresponding title exist in target language and given title need normalization, has parenthesis --- duration_ms: 0.350815 ... # Subtest: should adapt the title when: Source title is percentage encoded, but should not throw error, should return corresponding title ok 6 - should adapt the title when: Source title is percentage encoded, but should not throw error, should return corresponding title --- duration_ms: 0.475666 ... # Subtest: should have the queue size 50 ok 7 - should have the queue size 50 --- duration_ms: 2.247591 ... 1..7 ok 23 - Title pair tests --- duration_ms: 259.727038 ... # (node:457) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # Subtest: Segmentation tests for am # Subtest: should not have any errors when: Amharic segmentation - basic test ok 1 - should not have any errors when: Amharic segmentation - basic test --- duration_ms: 0.551348 ... 1..1 ok 24 - Segmentation tests for am --- duration_ms: 3.649361 type: 'suite' ... # Subtest: Segmentation tests for en # Subtest: should not have any errors when: Simple paragraph test ok 1 - should not have any errors when: Simple paragraph test --- duration_ms: 0.663905 ... # Subtest: should not have any errors when: Sentence ending with ) ok 2 - should not have any errors when: Sentence ending with ) --- duration_ms: 0.099203 ... # Subtest: should not have any errors when: Exclamation, punctuation test ok 3 - should not have any errors when: Exclamation, punctuation test --- duration_ms: 0.094366 ... # Subtest: should not have any errors when: Multiple sentences ok 4 - should not have any errors when: Multiple sentences --- duration_ms: 0.090129 ... # Subtest: should not have any errors when: Multiple sections - div, h1, paragraph ok 5 - should not have any errors when: Multiple sections - div, h1, paragraph --- duration_ms: 0.089163 ... # Subtest: should not have any errors when: Sentence starting with a link ok 6 - should not have any errors when: Sentence starting with a link --- duration_ms: 0.256824 ... # Subtest: should not have any errors when: Sentence starting with a link and ending with a link ok 7 - should not have any errors when: Sentence starting with a link and ending with a link --- duration_ms: 0.099575 ... # Subtest: should not have any errors when: Figure ok 8 - should not have any errors when: Figure --- duration_ms: 0.260455 ... # Subtest: should not have any errors when: References can appear after period without space. Example: Hydrogen is a gas.[1] It is ... ok 9 - should not have any errors when: References can appear after period without space. Example: Hydrogen is a gas.[1] It is ... --- duration_ms: 0.1949 ... # Subtest: should not have any errors when: References can appear after period without space, repeated. Example: Hydrogen is a gas.[1][2][3] It is ... ok 10 - should not have any errors when: References can appear after period without space, repeated. Example: Hydrogen is a gas.[1][2][3] It is ... --- duration_ms: 0.082682 ... # Subtest: should not have any errors when: References can appear inside a sentence. Example: Hydrogen is a gas[1] and it is ... ok 11 - should not have any errors when: References can appear inside a sentence. Example: Hydrogen is a gas[1] and it is ... --- duration_ms: 0.233615 ... # Subtest: should not have any errors when: References can appear inside a sentence. Example:Hydrogen's atomic number is one. Hydrogen is a gas[1] and it is ..... Test the flags are reset properly ok 12 - should not have any errors when: References can appear inside a sentence. Example:Hydrogen's atomic number is one. Hydrogen is a gas[1] and it is ..... Test the flags are reset properly --- duration_ms: 0.084174 ... # Subtest: should not have any errors when: References can appear repeated inside a sentence. Example: Hydrogen is a gas[1][2][3] and it is ... ok 13 - should not have any errors when: References can appear repeated inside a sentence. Example: Hydrogen is a gas[1][2][3] and it is ... --- duration_ms: 0.085343 ... # Subtest: should not have any errors when: References can appear after period and space. Example: Hydrogen is a gas. [1] It is ... ok 14 - should not have any errors when: References can appear after period and space. Example: Hydrogen is a gas. [1] It is ... --- duration_ms: 0.263977 ... # Subtest: should not have any errors when: Paragraph from Debian article- repeating references ok 15 - should not have any errors when: Paragraph from Debian article- repeating references --- duration_ms: 0.086494 ... # Subtest: should not have any errors when: References after closing bracket and period. ok 16 - should not have any errors when: References after closing bracket and period. --- duration_ms: 0.082948 ... # Subtest: should not have any errors when: Three sentences in a single text node ok 17 - should not have any errors when: Three sentences in a single text node --- duration_ms: 0.369472 ... # Subtest: should not have any errors when: Paragraph ending with reference and already having reference in between. The second reference should not be identified as repeating reference. If identified as repeating reference, 7 letters from last word will be missing. ok 18 - should not have any errors when: Paragraph ending with reference and already having reference in between. The second reference should not be identified as repeating reference. If identified as repeating reference, 7 letters from last word will be missing. --- duration_ms: 0.10491 ... # Subtest: should not have any errors when: Sentences ending with abbreviations ok 19 - should not have any errors when: Sentences ending with abbreviations --- duration_ms: 0.077799 ... # Subtest: should not have any errors when: link element inside span element ok 20 - should not have any errors when: link element inside span element --- duration_ms: 0.185362 ... # Subtest: should not have any errors when: Do not break inside of links with abbreviations. Example: Carl E. Wieman. See https://phabricator.wikimedia.org/T99504 ok 21 - should not have any errors when: Do not break inside of links with abbreviations. Example: Carl E. Wieman. See https://phabricator.wikimedia.org/T99504 --- duration_ms: 0.08412 ... # Subtest: should not have any errors when: A non-segmentable text chunk inside a textblock should not mark the whole text chunk non-segmentable ok 22 - should not have any errors when: A non-segmentable text chunk inside a textblock should not mark the whole text chunk non-segmentable --- duration_ms: 0.066143 ... # Subtest: should not have any errors when: Figure-inline segmentation. Do not violate the MediaWiki DOM spec https://www.mediawiki.org/wiki/Specs/HTML\#Images ok 23 - should not have any errors when: Figure-inline segmentation. Do not violate the MediaWiki DOM spec https://www.mediawiki.org/wiki/Specs/HTML\#Images --- duration_ms: 0.058224 ... # Subtest: should not have any errors when: Figure-inline inside a transclusions ok 24 - should not have any errors when: Figure-inline inside a transclusions --- duration_ms: 0.058051 ... # Subtest: should not have any errors when: Video tag in figure tag ok 25 - should not have any errors when: Video tag in figure tag --- duration_ms: 0.055502 ... # Subtest: should not have any errors when: Audio tag in figure tag ok 26 - should not have any errors when: Audio tag in figure tag --- duration_ms: 0.056524 ... # Subtest: should not have any errors when: Audio tag in figure-inline tag ok 27 - should not have any errors when: Audio tag in figure-inline tag --- duration_ms: 0.059715 ... # Subtest: should not have any errors when: Video tag in figure-inline tag ok 28 - should not have any errors when: Video tag in figure-inline tag --- duration_ms: 0.056071 ... # Subtest: should not have any errors when: Do not segment content inside block templates ok 29 - should not have any errors when: Do not segment content inside block templates --- duration_ms: 0.056862 ... # Subtest: should not have any errors when: about attribute alone does not initiate a transclusion context ok 30 - should not have any errors when: about attribute alone does not initiate a transclusion context --- duration_ms: 0.060569 ... # Subtest: should not have any errors when: Do not consider style tag with transclusion as block tag ok 31 - should not have any errors when: Do not consider style tag with transclusion as block tag --- duration_ms: 0.058895 ... # Subtest: should not have any errors when: Sections with singe paragraph and a transclusion based reference at th end - T283513 ok 32 - should not have any errors when: Sections with singe paragraph and a transclusion based reference at th end - T283513 --- duration_ms: 0.093699 ... # Subtest: should not have any errors when: Handle abbreviations such as Brown v. Board of education - T338689 ok 33 - should not have any errors when: Handle abbreviations such as Brown v. Board of education - T338689 --- duration_ms: 0.058554 ... 1..33 ok 25 - Segmentation tests for en --- duration_ms: 7.118959 type: 'suite' ... # Subtest: Segmentation tests for de # Subtest: should not have any errors when: Avoid segmenting inside a transclusion textblock ok 1 - should not have any errors when: Avoid segmenting inside a transclusion textblock --- duration_ms: 0.088041 ... 1..1 ok 26 - Segmentation tests for de --- duration_ms: 0.385542 type: 'suite' ... # Subtest: Segmentation tests for hi # Subtest: should not have any errors when: Hindi segmentation - basic test ok 1 - should not have any errors when: Hindi segmentation - basic test --- duration_ms: 0.087875 ... 1..1 ok 27 - Segmentation tests for hi --- duration_ms: 0.287659 type: 'suite' ... # Subtest: Segmentation tests for hy # Subtest: should not have any errors when: Armenian segmentation - basic test ok 1 - should not have any errors when: Armenian segmentation - basic test --- duration_ms: 0.084287 ... 1..1 ok 28 - Segmentation tests for hy --- duration_ms: 0.212542 type: 'suite' ... # Subtest: Segmentation tests for ja # Subtest: should not have any errors when: Japanese segmentation - basic test ok 1 - should not have any errors when: Japanese segmentation - basic test --- duration_ms: 0.0878 ... 1..1 ok 29 - Segmentation tests for ja --- duration_ms: 0.208372 type: 'suite' ... # Subtest: Segmentation tests for zh # Subtest: should not have any errors when: Chinese segmentation - basic test ok 1 - should not have any errors when: Chinese segmentation - basic test --- duration_ms: 0.090685 ... 1..1 ok 30 - Segmentation tests for zh --- duration_ms: 0.226154 type: 'suite' ... # Subtest: Segmentation tests for pa # Subtest: should not have any errors when: Punjabi segmentation - basic test ok 1 - should not have any errors when: Punjabi segmentation - basic test --- duration_ms: 0.099843 ... 1..1 ok 31 - Segmentation tests for pa --- duration_ms: 0.409855 type: 'suite' ... # (node:468) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # Subtest: SectionSuggester tests # Subtest: should find present and missing sections ok 1 - should find present and missing sections --- duration_ms: 41.342514 ... # Subtest: should find present and missing sections with sizes when requested ok 2 - should find present and missing sections with sizes when requested --- duration_ms: 6.684801 ... 1..2 ok 32 - SectionSuggester tests --- duration_ms: 51.008211 type: 'suite' ... # Subtest: /src/repo/test/testutils.js ok 23 - /src/repo/test/testutils.js --- duration_ms: 193.021049 ... # (node:490) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # {"@timestamp":"2025-07-26T05:48:41.354Z","ecs.version":"8.10.0","log.level":"info","message":"Starting cxserver-dev","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:41.385Z","ecs.version":"8.10.0","log.level":"info","message":"responseTimeMetric","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:41.387Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 345 languages from the configuration","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:41.434Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 7 MT providers","service":"cxserver-dev"} # Subtest: Link Adaptation tests # Subtest: Basic test ok 1 - Basic test --- duration_ms: 259.966468 ... # Subtest: Space in the title ok 2 - Space in the title --- duration_ms: 1.598116 ... # Subtest: Relative URL ok 3 - Relative URL --- duration_ms: 0.822389 ... # Subtest: Title with parenthesis ok 4 - Title with parenthesis --- duration_ms: 1.106833 ... # Subtest: Target title does not exist ok 5 - Target title does not exist --- duration_ms: 0.725542 ... # Subtest: Title with translation from Wikidata label ok 6 - Title with translation from Wikidata label --- duration_ms: 1.310775 ... # Subtest: ISBN Link adaptation ok 7 - ISBN Link adaptation --- duration_ms: 0.83189 ... 1..7 ok 34 - Link Adaptation tests --- duration_ms: 387.836744 type: 'suite' ... # (node:501) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # {"@timestamp":"2025-07-26T05:48:41.554Z","ecs.version":"8.10.0","log.level":"info","message":"Starting cxserver-dev","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:41.607Z","ecs.version":"8.10.0","log.level":"info","message":"responseTimeMetric","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:41.609Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 345 languages from the configuration","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:41.675Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 7 MT providers","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:41.694Z","ecs.version":"8.10.0","log.level":"debug","message":"Not-adapting a reference node without data-mw.body.html: trncttm-2","service":"cxserver-dev"} # Subtest: Reference adaptation # Subtest: Adapting a reference with plain text content ok 1 - Adapting a reference with plain text content --- duration_ms: 3.404596 ... # Subtest: Adapting a reference with plain text content, sup tag ok 2 - Adapting a reference with plain text content, sup tag --- duration_ms: 0.290106 ... # Subtest: Adapting a reference with html content, sup tag ok 3 - Adapting a reference with html content, sup tag --- duration_ms: 0.225135 ... # Subtest: Not adapting a reference with no data-mw.body ok 4 - Not adapting a reference with no data-mw.body --- duration_ms: 0.548316 ... # Subtest: Partially adapting a reference with named reference ok 5 - Partially adapting a reference with named reference --- duration_ms: 0.441469 ... # {"@timestamp":"2025-07-26T05:48:42.150Z","ecs.version":"8.10.0","log.level":"error","message":"Not-adapting a template node with non-JSON data-mw: CITEREFGazette57855","service":"cxserver-dev"} # Subtest: Mark the reference adaptation failed when the content defined in template not adapted ok 6 - Mark the reference adaptation failed when the content defined in template not adapted --- duration_ms: 435.041194 ... # Subtest: Mark the reference adaptation failed when the content defined in template and it is unsupported by CXserver ok 7 - Mark the reference adaptation failed when the content defined in template and it is unsupported by CXserver --- duration_ms: 35.242967 ... # Subtest: Partial reference adaptation, when mandatory params are not transferred successfully ok 8 - Partial reference adaptation, when mandatory params are not transferred successfully --- duration_ms: 179.863978 ... 1..8 ok 35 - Reference adaptation --- duration_ms: 806.497518 type: 'suite' ... # (node:512) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time # (Use `node --trace-warnings ...` to show where the warning was created) # {"@timestamp":"2025-07-26T05:48:41.683Z","ecs.version":"8.10.0","log.level":"info","message":"Starting cxserver-dev","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:41.741Z","ecs.version":"8.10.0","log.level":"info","message":"responseTimeMetric","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:41.743Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 345 languages from the configuration","service":"cxserver-dev"} # {"@timestamp":"2025-07-26T05:48:41.800Z","ecs.version":"8.10.0","log.level":"debug","message":"Found 7 MT providers","service":"cxserver-dev"} # Subtest: Template adaptation # Subtest: Template with no equivalents ok 1 - Template with no equivalents --- duration_ms: 306.748218 ... # Subtest: Babel template ok 2 - Babel template --- duration_ms: 82.745942 ... # Subtest: Cite web template ok 3 - Cite web template --- duration_ms: 170.480536 ... # Subtest: Multi-part template for columns ok 4 - Multi-part template for columns --- duration_ms: 97.595214 ... # Subtest: Template with equivalents, but target template data missing, no params mapped ok 5 - Template with equivalents, but target template data missing, no params mapped --- duration_ms: 88.810293 ... # Subtest: Equivalent template exist, templatedata exists only for source language. Use that as hint for extracting params from template source code in target language ok 6 - Equivalent template exist, templatedata exists only for source language. Use that as hint for extracting params from template source code in target language --- duration_ms: 70.535365 ... # Subtest: Template with equivalents, all mandatory params mapped ok 7 - Template with equivalents, all mandatory params mapped --- duration_ms: 79.995195 ... # Subtest: Images that are generated by templates ok 8 - Images that are generated by templates --- duration_ms: 5.064273 ... 1..8 ok 36 - Template adaptation --- duration_ms: 909.761552 ... # Subtest: /src/repo/test/utils/assert.js ok 27 - /src/repo/test/utils/assert.js --- duration_ms: 720.070747 ... 1..37 # tests 188 # suites 34 # pass 188 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 13123.11476 --- end --- {"1105443": {"source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": ["CWE-400"], "cvss": {"score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=1.0.0 <=1.1.11"}, "1105444": {"source": 1105444, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": ["CWE-400"], "cvss": {"score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=2.0.0 <=2.0.1"}} Upgrading n:brace-expansion from 1.1.11, 2.0.1 -> 1.1.12, 2.0.2 {"1106485": {"source": 1106485, "name": "on-headers", "dependency": "on-headers", "title": "on-headers is vulnerable to http response header manipulation", "url": "https://github.com/advisories/GHSA-76c9-3jph-rj3q", "severity": "low", "cwe": ["CWE-241"], "cvss": {"score": 3.4, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N"}, "range": "<1.1.0"}} Upgrading n:compression from 1.7.5 -> 1.8.1 {"1106507": {"source": 1106507, "name": "form-data", "dependency": "form-data", "title": "form-data uses unsafe random function in form-data for choosing boundary", "url": "https://github.com/advisories/GHSA-fjxv-7rqg-78g4", "severity": "critical", "cwe": ["CWE-330"], "cvss": {"score": 0, "vectorString": null}, "range": ">=4.0.0 <4.0.4"}} Upgrading n:form-data from 4.0.1 -> 4.0.4 {"1106485": {"source": 1106485, "name": "on-headers", "dependency": "on-headers", "title": "on-headers is vulnerable to http response header manipulation", "url": "https://github.com/advisories/GHSA-76c9-3jph-rj3q", "severity": "low", "cwe": ["CWE-241"], "cvss": {"score": 3.4, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N"}, "range": "<1.1.0"}} Upgrading n:on-headers from 1.0.2 -> 1.1.0 $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- build: Updating npm dependencies * brace-expansion: 1.1.11, 2.0.1 → 1.1.12, 2.0.2 * https://github.com/advisories/GHSA-v6h2-p8h4-qcjw * compression: 1.7.5 → 1.8.1 * https://github.com/advisories/GHSA-76c9-3jph-rj3q * form-data: 4.0.1 → 4.0.4 * https://github.com/advisories/GHSA-fjxv-7rqg-78g4 * on-headers: 1.0.2 → 1.1.0 * https://github.com/advisories/GHSA-76c9-3jph-rj3q $ git add . --- stdout --- --- end --- $ git commit -F /tmp/tmprz0mysyo --- stdout --- [master a34d9ce] build: Updating npm dependencies 1 file changed, 96 insertions(+), 63 deletions(-) --- end --- $ git format-patch HEAD~1 --stdout --- stdout --- From a34d9ce5bc7364bdd64683308e62fba9ae9f9ac0 Mon Sep 17 00:00:00 2001 From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> Date: Sat, 26 Jul 2025 05:48:43 +0000 Subject: [PATCH] build: Updating npm dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * brace-expansion: 1.1.11, 2.0.1 → 1.1.12, 2.0.2 * https://github.com/advisories/GHSA-v6h2-p8h4-qcjw * compression: 1.7.5 → 1.8.1 * https://github.com/advisories/GHSA-76c9-3jph-rj3q * form-data: 4.0.1 → 4.0.4 * https://github.com/advisories/GHSA-fjxv-7rqg-78g4 * on-headers: 1.0.2 → 1.1.0 * https://github.com/advisories/GHSA-76c9-3jph-rj3q Change-Id: Ife0b9b5bc127b0eba87ff270db9c121c1692af25 --- package-lock.json | 159 ++++++++++++++++++++++++++++------------------ 1 file changed, 96 insertions(+), 63 deletions(-) diff --git a/package-lock.json b/package-lock.json index 99968ff..645b109 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2295,11 +2295,10 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dev": true, - "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -3025,11 +3024,10 @@ "license": "ISC" }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "devOptional": true, - "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -3234,6 +3232,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -3536,16 +3546,15 @@ } }, "node_modules/compression": { - "version": "1.7.5", - "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.5.tgz", - "integrity": "sha512-bQJ0YRck5ak3LgtnpKkiabX5pNF7tMUh1BSy2ZBOTh0Dim0BUu6aPPwByIns6/A5Prh8PufSPerMDUklpzes2Q==", - "license": "MIT", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.8.1.tgz", + "integrity": "sha512-9mAqGPHLakhCLeNyxPkK4xVo746zQ/czLH1Ky+vkitMnWfWZps8r0qXuwhwizagCRttsL4lfG4pIOvaWLpAP0w==", "dependencies": { "bytes": "3.1.2", "compressible": "~2.0.18", "debug": "2.6.9", "negotiator": "~0.6.4", - "on-headers": "~1.0.2", + "on-headers": "~1.1.0", "safe-buffer": "5.2.1", "vary": "~1.1.2" }, @@ -3964,6 +3973,19 @@ "@types/trusted-types": "^2.0.7" } }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", @@ -4154,13 +4176,9 @@ } }, "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", "engines": { "node": ">= 0.4" } @@ -4175,11 +4193,9 @@ } }, "node_modules/es-object-atoms": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", - "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", - "dev": true, - "license": "MIT", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", "dependencies": { "es-errors": "^1.3.0" }, @@ -4188,15 +4204,14 @@ } }, "node_modules/es-set-tostringtag": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", - "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", - "dev": true, - "license": "MIT", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", "dependencies": { - "get-intrinsic": "^1.2.4", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", "has-tostringtag": "^1.0.2", - "hasown": "^2.0.1" + "hasown": "^2.0.2" }, "engines": { "node": ">= 0.4" @@ -4737,11 +4752,10 @@ } }, "node_modules/eslint-plugin-n/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dev": true, - "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -5592,13 +5606,14 @@ } }, "node_modules/form-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", - "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", - "license": "MIT", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", "mime-types": "^2.1.12" }, "engines": { @@ -5765,16 +5780,20 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "license": "MIT", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" }, "engines": { "node": ">= 0.4" @@ -5793,6 +5812,18 @@ "node": ">=8.0.0" } }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/get-symbol-description": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", @@ -5896,13 +5927,9 @@ } }, "node_modules/gopd": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.1.0.tgz", - "integrity": "sha512-FQoVQnqcdk4hVM4JN1eromaun4iuS34oStkdlLENLdpULsuQcTyXj8w7ayhuUfPwEYZ1ZOooOTT6fdA9Vmx/RA==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", "engines": { "node": ">= 0.4" }, @@ -5960,6 +5987,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -5969,10 +5997,9 @@ } }, "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "license": "MIT", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", "engines": { "node": ">= 0.4" }, @@ -5984,7 +6011,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "dev": true, "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" @@ -7322,6 +7348,14 @@ "node": ">=10" } }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -8157,10 +8191,9 @@ } }, "node_modules/on-headers": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", - "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", - "license": "MIT", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.1.0.tgz", + "integrity": "sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A==", "engines": { "node": ">= 0.8" } -- 2.39.5 --- end ---