From 626910ef75dc113e11c9fa9a62248e80c6abb24b Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 10 Oct 2024 00:06:14 +0000
Subject: [PATCH] build: Updating npm dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* cookie: 0.4.2 → 0.7.2
* https://github.com/advisories/GHSA-pxg6-pf52-xh8x
* engine.io: 6.5.5 → 6.6.2
* https://github.com/advisories/GHSA-pxg6-pf52-xh8x
* socket.io: 4.7.4 → 4.8.0
* https://github.com/advisories/GHSA-pxg6-pf52-xh8x
Change-Id: I8b342ea5474146999a3e8443613e81f1f3f8b3c0
---
package-lock.json | 84 +++++++++++++++++++++++------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index a41a8fa..b8d533b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -725,12 +725,12 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "20.11.19",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.19.tgz",
- "integrity": "sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ==",
+ "version": "22.7.5",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz",
+ "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==",
"dev": true,
"dependencies": {
- "undici-types": "~5.26.4"
+ "undici-types": "~6.19.2"
}
},
"node_modules/@types/normalize-package-data": {
@@ -1463,9 +1463,9 @@
}
},
"node_modules/cookie": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz",
- "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==",
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
"dev": true,
"engines": {
"node": ">= 0.6"
@@ -1989,9 +1989,9 @@
}
},
"node_modules/engine.io": {
- "version": "6.5.5",
- "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.5.5.tgz",
- "integrity": "sha512-C5Pn8Wk+1vKBoHghJODM63yk8MvrO9EWZUfkAt5HAqIgPE4/8FF0PEGHXtEd40l223+cE5ABWuPzm38PHFXfMA==",
+ "version": "6.6.2",
+ "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.2.tgz",
+ "integrity": "sha512-gmNvsYi9C8iErnZdVcJnvCpSKbWTt1E8+JZo8b+daLninywUWi5NQ5STSHZ9rFjFO7imNcvb8Pc5pe/wMR5xEw==",
"dev": true,
"dependencies": {
"@types/cookie": "^0.4.1",
@@ -1999,7 +1999,7 @@
"@types/node": ">=10.0.0",
"accepts": "~1.3.4",
"base64id": "2.0.0",
- "cookie": "~0.4.1",
+ "cookie": "~0.7.2",
"cors": "~2.8.5",
"debug": "~4.3.1",
"engine.io-parser": "~5.2.1",
@@ -2010,9 +2010,9 @@
}
},
"node_modules/engine.io-parser": {
- "version": "5.2.2",
- "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.2.tgz",
- "integrity": "sha512-RcyUFKA93/CXH20l4SoVvzZfrSDMOTUS3bWVpTt2FuFP+XYrL8i8oonHP7WInRyVHXh0n/ORtoeiE1os+8qkSw==",
+ "version": "5.2.3",
+ "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz",
+ "integrity": "sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==",
"dev": true,
"engines": {
"node": ">=10.0.0"
@@ -6621,16 +6621,16 @@
}
},
"node_modules/socket.io": {
- "version": "4.7.4",
- "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.7.4.tgz",
- "integrity": "sha512-DcotgfP1Zg9iP/dH9zvAQcWrE0TtbMVwXmlV4T4mqsvY+gw+LqUGPfx2AoVyRk0FLME+GQhufDMyacFmw7ksqw==",
+ "version": "4.8.0",
+ "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.8.0.tgz",
+ "integrity": "sha512-8U6BEgGjQOfGz3HHTYaC/L1GaxDCJ/KM0XTkJly0EhZ5U/du9uNEZy4ZgYzEzIqlx2CMm25CrCqr1ck899eLNA==",
"dev": true,
"dependencies": {
"accepts": "~1.3.4",
"base64id": "~2.0.0",
"cors": "~2.8.5",
"debug": "~4.3.2",
- "engine.io": "~6.5.2",
+ "engine.io": "~6.6.0",
"socket.io-adapter": "~2.5.2",
"socket.io-parser": "~4.2.4"
},
@@ -7469,9 +7469,9 @@
}
},
"node_modules/undici-types": {
- "version": "5.26.5",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
- "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
+ "version": "6.19.8",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
+ "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"dev": true
},
"node_modules/universalify": {
@@ -8395,12 +8395,12 @@
"dev": true
},
"@types/node": {
- "version": "20.11.19",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.19.tgz",
- "integrity": "sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ==",
+ "version": "22.7.5",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz",
+ "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==",
"dev": true,
"requires": {
- "undici-types": "~5.26.4"
+ "undici-types": "~6.19.2"
}
},
"@types/normalize-package-data": {
@@ -8964,9 +8964,9 @@
}
},
"cookie": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz",
- "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==",
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
"dev": true
},
"core-util-is": {
@@ -9371,9 +9371,9 @@
"dev": true
},
"engine.io": {
- "version": "6.5.5",
- "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.5.5.tgz",
- "integrity": "sha512-C5Pn8Wk+1vKBoHghJODM63yk8MvrO9EWZUfkAt5HAqIgPE4/8FF0PEGHXtEd40l223+cE5ABWuPzm38PHFXfMA==",
+ "version": "6.6.2",
+ "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.2.tgz",
+ "integrity": "sha512-gmNvsYi9C8iErnZdVcJnvCpSKbWTt1E8+JZo8b+daLninywUWi5NQ5STSHZ9rFjFO7imNcvb8Pc5pe/wMR5xEw==",
"dev": true,
"requires": {
"@types/cookie": "^0.4.1",
@@ -9381,7 +9381,7 @@
"@types/node": ">=10.0.0",
"accepts": "~1.3.4",
"base64id": "2.0.0",
- "cookie": "~0.4.1",
+ "cookie": "~0.7.2",
"cors": "~2.8.5",
"debug": "~4.3.1",
"engine.io-parser": "~5.2.1",
@@ -9389,9 +9389,9 @@
}
},
"engine.io-parser": {
- "version": "5.2.2",
- "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.2.tgz",
- "integrity": "sha512-RcyUFKA93/CXH20l4SoVvzZfrSDMOTUS3bWVpTt2FuFP+XYrL8i8oonHP7WInRyVHXh0n/ORtoeiE1os+8qkSw==",
+ "version": "5.2.3",
+ "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz",
+ "integrity": "sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==",
"dev": true
},
"ent": {
@@ -12834,16 +12834,16 @@
}
},
"socket.io": {
- "version": "4.7.4",
- "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.7.4.tgz",
- "integrity": "sha512-DcotgfP1Zg9iP/dH9zvAQcWrE0TtbMVwXmlV4T4mqsvY+gw+LqUGPfx2AoVyRk0FLME+GQhufDMyacFmw7ksqw==",
+ "version": "4.8.0",
+ "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.8.0.tgz",
+ "integrity": "sha512-8U6BEgGjQOfGz3HHTYaC/L1GaxDCJ/KM0XTkJly0EhZ5U/du9uNEZy4ZgYzEzIqlx2CMm25CrCqr1ck899eLNA==",
"dev": true,
"requires": {
"accepts": "~1.3.4",
"base64id": "~2.0.0",
"cors": "~2.8.5",
"debug": "~4.3.2",
- "engine.io": "~6.5.2",
+ "engine.io": "~6.6.0",
"socket.io-adapter": "~2.5.2",
"socket.io-parser": "~4.2.4"
}
@@ -13506,9 +13506,9 @@
}
},
"undici-types": {
- "version": "5.26.5",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
- "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
+ "version": "6.19.8",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
+ "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"dev": true
},
"universalify": {
--
2.39.2
$ date
--- stdout ---
Thu Oct 10 00:03:17 UTC 2024
--- end ---
$ git clone file:///srv/git/VisualEditor-VisualEditor.git repo --depth=1 -b REL1_39
--- 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/REL1_39
--- stdout ---
922e648965ce6901235f7132d2f6f76088e5d671 refs/heads/REL1_39
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"cookie": {
"name": "cookie",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1099846,
"name": "cookie",
"dependency": "cookie",
"title": "cookie accepts cookie name, path, and domain with out of bounds characters",
"url": "https://github.com/advisories/GHSA-pxg6-pf52-xh8x",
"severity": "low",
"cwe": [
"CWE-74"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<0.7.0"
}
],
"effects": [
"engine.io"
],
"range": "<0.7.0",
"nodes": [
"node_modules/cookie"
],
"fixAvailable": true
},
"engine.io": {
"name": "engine.io",
"severity": "low",
"isDirect": false,
"via": [
"cookie"
],
"effects": [
"socket.io"
],
"range": "1.8.0 - 6.6.1",
"nodes": [
"node_modules/engine.io"
],
"fixAvailable": true
},
"grunt-css-url-embed": {
"name": "grunt-css-url-embed",
"severity": "moderate",
"isDirect": true,
"via": [
"request"
],
"effects": [],
"range": ">=1.1.0",
"nodes": [
"node_modules/grunt-css-url-embed"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"request": {
"name": "request",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1096727,
"name": "request",
"dependency": "request",
"title": "Server-Side Request Forgery in Request",
"url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<=2.88.2"
},
"tough-cookie"
],
"effects": [
"grunt-css-url-embed"
],
"range": "*",
"nodes": [
"node_modules/request"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"socket.io": {
"name": "socket.io",
"severity": "low",
"isDirect": false,
"via": [
"engine.io"
],
"effects": [],
"range": "1.6.0 - 4.7.5",
"nodes": [
"node_modules/socket.io"
],
"fixAvailable": true
},
"tough-cookie": {
"name": "tough-cookie",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1097682,
"name": "tough-cookie",
"dependency": "tough-cookie",
"title": "tough-cookie Prototype Pollution vulnerability",
"url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 6.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
"range": "<4.1.3"
}
],
"effects": [
"request"
],
"range": "<4.1.3",
"nodes": [
"node_modules/tough-cookie"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 3,
"moderate": 3,
"high": 0,
"critical": 0,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 683,
"optional": 3,
"peer": 5,
"peerOptional": 0,
"total": 683
}
}
}
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"cookie": {
"name": "cookie",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1099846,
"name": "cookie",
"dependency": "cookie",
"title": "cookie accepts cookie name, path, and domain with out of bounds characters",
"url": "https://github.com/advisories/GHSA-pxg6-pf52-xh8x",
"severity": "low",
"cwe": [
"CWE-74"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<0.7.0"
}
],
"effects": [
"engine.io"
],
"range": "<0.7.0",
"nodes": [
"node_modules/cookie"
],
"fixAvailable": true
},
"engine.io": {
"name": "engine.io",
"severity": "low",
"isDirect": false,
"via": [
"cookie"
],
"effects": [
"socket.io"
],
"range": "1.8.0 - 6.6.1",
"nodes": [
"node_modules/engine.io"
],
"fixAvailable": true
},
"grunt-css-url-embed": {
"name": "grunt-css-url-embed",
"severity": "moderate",
"isDirect": true,
"via": [
"request"
],
"effects": [],
"range": ">=1.1.0",
"nodes": [
"node_modules/grunt-css-url-embed"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"request": {
"name": "request",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1096727,
"name": "request",
"dependency": "request",
"title": "Server-Side Request Forgery in Request",
"url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<=2.88.2"
},
"tough-cookie"
],
"effects": [
"grunt-css-url-embed"
],
"range": "*",
"nodes": [
"node_modules/request"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"socket.io": {
"name": "socket.io",
"severity": "low",
"isDirect": false,
"via": [
"engine.io"
],
"effects": [],
"range": "1.6.0 - 4.7.5",
"nodes": [
"node_modules/socket.io"
],
"fixAvailable": true
},
"tough-cookie": {
"name": "tough-cookie",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1097682,
"name": "tough-cookie",
"dependency": "tough-cookie",
"title": "tough-cookie Prototype Pollution vulnerability",
"url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 6.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
"range": "<4.1.3"
}
],
"effects": [
"request"
],
"range": "<4.1.3",
"nodes": [
"node_modules/tough-cookie"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 3,
"moderate": 3,
"high": 0,
"critical": 0,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 683,
"optional": 3,
"peer": 5,
"peerOptional": 0,
"total": 683
}
}
}
--- 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: '@es-joy/jsdoccomment@0.20.1',
npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'eslint-plugin-jsdoc@37.9.7',
npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---
{
"added": 683,
"removed": 0,
"changed": 0,
"audited": 684,
"funding": 86,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"cookie": {
"name": "cookie",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1099846,
"name": "cookie",
"dependency": "cookie",
"title": "cookie accepts cookie name, path, and domain with out of bounds characters",
"url": "https://github.com/advisories/GHSA-pxg6-pf52-xh8x",
"severity": "low",
"cwe": [
"CWE-74"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<0.7.0"
}
],
"effects": [
"engine.io"
],
"range": "<0.7.0",
"nodes": [
""
],
"fixAvailable": true
},
"engine.io": {
"name": "engine.io",
"severity": "low",
"isDirect": false,
"via": [
"cookie"
],
"effects": [
"socket.io"
],
"range": "1.8.0 - 6.6.1",
"nodes": [
""
],
"fixAvailable": true
},
"grunt-css-url-embed": {
"name": "grunt-css-url-embed",
"severity": "moderate",
"isDirect": true,
"via": [
"request"
],
"effects": [],
"range": ">=1.1.0",
"nodes": [
"node_modules/grunt-css-url-embed"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"request": {
"name": "request",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1096727,
"name": "request",
"dependency": "request",
"title": "Server-Side Request Forgery in Request",
"url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<=2.88.2"
},
"tough-cookie"
],
"effects": [
"grunt-css-url-embed"
],
"range": "*",
"nodes": [
"node_modules/request"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"socket.io": {
"name": "socket.io",
"severity": "low",
"isDirect": false,
"via": [
"engine.io"
],
"effects": [],
"range": "1.6.0 - 4.7.5",
"nodes": [
""
],
"fixAvailable": true
},
"tough-cookie": {
"name": "tough-cookie",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1097682,
"name": "tough-cookie",
"dependency": "tough-cookie",
"title": "tough-cookie Prototype Pollution vulnerability",
"url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 6.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
"range": "<4.1.3"
}
],
"effects": [
"request"
],
"range": "<4.1.3",
"nodes": [
"node_modules/tough-cookie"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 3,
"moderate": 3,
"high": 0,
"critical": 0,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 683,
"optional": 3,
"peer": 5,
"peerOptional": 0,
"total": 683
}
}
}
}
--- end ---
{"added": 683, "removed": 0, "changed": 0, "audited": 684, "funding": 86, "audit": {"auditReportVersion": 2, "vulnerabilities": {"cookie": {"name": "cookie", "severity": "low", "isDirect": false, "via": [{"source": 1099846, "name": "cookie", "dependency": "cookie", "title": "cookie accepts cookie name, path, and domain with out of bounds characters", "url": "https://github.com/advisories/GHSA-pxg6-pf52-xh8x", "severity": "low", "cwe": ["CWE-74"], "cvss": {"score": 0, "vectorString": null}, "range": "<0.7.0"}], "effects": ["engine.io"], "range": "<0.7.0", "nodes": [""], "fixAvailable": true}, "engine.io": {"name": "engine.io", "severity": "low", "isDirect": false, "via": ["cookie"], "effects": ["socket.io"], "range": "1.8.0 - 6.6.1", "nodes": [""], "fixAvailable": true}, "grunt-css-url-embed": {"name": "grunt-css-url-embed", "severity": "moderate", "isDirect": true, "via": ["request"], "effects": [], "range": ">=1.1.0", "nodes": ["node_modules/grunt-css-url-embed"], "fixAvailable": {"name": "grunt-css-url-embed", "version": "1.0.4", "isSemVerMajor": true}}, "request": {"name": "request", "severity": "moderate", "isDirect": false, "via": [{"source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": ["CWE-918"], "cvss": {"score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}, "range": "<=2.88.2"}, "tough-cookie"], "effects": ["grunt-css-url-embed"], "range": "*", "nodes": ["node_modules/request"], "fixAvailable": {"name": "grunt-css-url-embed", "version": "1.0.4", "isSemVerMajor": true}}, "socket.io": {"name": "socket.io", "severity": "low", "isDirect": false, "via": ["engine.io"], "effects": [], "range": "1.6.0 - 4.7.5", "nodes": [""], "fixAvailable": true}, "tough-cookie": {"name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [{"source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}, "range": "<4.1.3"}], "effects": ["request"], "range": "<4.1.3", "nodes": ["node_modules/tough-cookie"], "fixAvailable": {"name": "grunt-css-url-embed", "version": "1.0.4", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 3, "moderate": 3, "high": 0, "critical": 0, "total": 6}, "dependencies": {"prod": 1, "dev": 683, "optional": 3, "peer": 5, "peerOptional": 0, "total": 683}}}}
$ /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: '@es-joy/jsdoccomment@0.20.1',
npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'eslint-plugin-jsdoc@37.9.7',
npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN deprecated har-validator@5.1.5: this library 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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
--- stdout ---
added 682 packages, and audited 683 packages in 17s
86 packages are looking for funding
run `npm fund` for details
# npm audit report
request *
Severity: moderate
Server-Side Request Forgery in Request - https://github.com/advisories/GHSA-p8p7-x288-28g6
Depends on vulnerable versions of tough-cookie
fix available via `npm audit fix --force`
Will install grunt-css-url-embed@1.0.4, which is a breaking change
node_modules/request
grunt-css-url-embed >=1.1.0
Depends on vulnerable versions of request
node_modules/grunt-css-url-embed
tough-cookie <4.1.3
Severity: moderate
tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3
fix available via `npm audit fix --force`
Will install grunt-css-url-embed@1.0.4, which is a breaking change
node_modules/tough-cookie
3 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stderr ---
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@es-joy/jsdoccomment@0.20.1',
npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'eslint-plugin-jsdoc@37.9.7',
npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN deprecated har-validator@5.1.5: this library 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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated kad-fs@0.0.4: This package is no longer maintained.
npm WARN deprecated kad-memstore@0.0.1: This package is no longer maintained.
--- stdout ---
> visualeditor@0.0.0 postinstall
> cd rebaser && npm ci
added 196 packages, and audited 197 packages in 5s
13 packages are looking for funding
run `npm fund` for details
21 vulnerabilities (1 low, 9 moderate, 10 high, 1 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
> visualeditor@0.0.0 prepare
> grunt build
Running "clean:dist" (clean) task
>> 0 paths cleaned.
Running "concat:rebaser.build" (concat) task
Running "concat:visualEditor.rebase.scripts" (concat) task
Running "concat:visualEditor.rebase.styles" (concat) task
Running "concat:js" (concat) task
Running "concat:css-apex" (concat) task
Running "concat:css-wikimediaui" (concat) task
Running "concat:jquery.i18n" (concat) task
Running "concat:jquery.uls.data" (concat) task
Running "cssjanus:apex" (cssjanus) task
File "dist/visualEditor-apex.rtl.css" created.
Running "cssjanus:wikimediaui" (cssjanus) task
File "dist/visualEditor-wikimediaui.rtl.css" created.
Running "cssUrlEmbed:dist" (cssUrlEmbed) task
Processing source file "dist/visualEditor-apex.css"
2 embeddable URLs found
Processing source file "dist/visualEditor-apex.rtl.css"
2 embeddable URLs found
Processing source file "dist/visualEditor-wikimediaui.css"
2 embeddable URLs found
Processing source file "dist/visualEditor-wikimediaui.rtl.css"
2 embeddable URLs found
>> "../../../ui/styles/images/resize-nw-se.svg" embedded
>> "../../../ui/styles/images/resize-nw-se.svg" embedded
>> "../../../ui/styles/images/resize-nw-se.svg" embedded
>> "../../../ui/styles/images/resize-nw-se.svg" embedded
>> "../../../ui/styles/images/resize-ne-sw.svg" embedded
File "dist/visualEditor-apex.css" created
>> "../../../ui/styles/images/resize-ne-sw.svg" embedded
File "dist/visualEditor-apex.rtl.css" created
>> "../../../ui/styles/images/resize-ne-sw.svg" embedded
File "dist/visualEditor-wikimediaui.css" created
>> "../../../ui/styles/images/resize-ne-sw.svg" embedded
File "dist/visualEditor-wikimediaui.rtl.css" created
Running "copy:i18n" (copy) task
Copied 211 files
Running "copy:lib" (copy) task
Created 27 directories, copied 1382 files
Running "buildloader:iframe" (buildloader) task
>> File ".jsduck/eg-iframe.html" written.
Running "buildloader:desktopDemoApex" (buildloader) task
>> File "demos/ve/desktop.html" written.
Running "buildloader:desktopDemoApexDist" (buildloader) task
>> File "demos/ve/desktop-dist.html" written.
Running "buildloader:desktopDemoWikimediaUI" (buildloader) task
>> File "demos/ve/desktop-wikimediaui.html" written.
Running "buildloader:desktopDemoWikimediaUIDist" (buildloader) task
>> File "demos/ve/desktop-wikimediaui-dist.html" written.
Running "buildloader:mobileDemo" (buildloader) task
>> File "demos/ve/mobile.html" written.
Running "buildloader:mobileDemoDist" (buildloader) task
>> File "demos/ve/mobile-dist.html" written.
Running "buildloader:minimalDemo" (buildloader) task
>> File "demos/ve/minimal.html" written.
Running "buildloader:minimalDemoRtl" (buildloader) task
>> File "demos/ve/minimal-rtl.html" written.
Running "buildloader:performanceTest" (buildloader) task
>> File "demos/ve/performance.html" written.
Running "buildloader:test" (buildloader) task
>> File "tests/index.html" written.
Done.
added 682 packages, and audited 683 packages in 24s
86 packages are looking for funding
run `npm fund` for details
3 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
--- end ---
$ /usr/bin/npm test
--- stdout ---
> visualeditor@0.0.0 test
> grunt test
Running "tyops:src" (tyops) task
>> No typos found; 608 files checked for 19 typos.
Running "eslint:all" (eslint) task
Running "stylelint:all" (stylelint) task
>> Linted 70 files without errors
Running "banana:all" (banana) task
>> 1 message directory checked.
Running "git-build" task
Running "clean:dist" (clean) task
>> 12 paths cleaned.
Running "concat:rebaser.build" (concat) task
Running "concat:visualEditor.rebase.scripts" (concat) task
Running "concat:visualEditor.rebase.styles" (concat) task
Running "concat:js" (concat) task
Running "concat:css-apex" (concat) task
Running "concat:css-wikimediaui" (concat) task
Running "concat:jquery.i18n" (concat) task
Running "concat:jquery.uls.data" (concat) task
Running "cssjanus:apex" (cssjanus) task
File "dist/visualEditor-apex.rtl.css" created.
Running "cssjanus:wikimediaui" (cssjanus) task
File "dist/visualEditor-wikimediaui.rtl.css" created.
Running "cssUrlEmbed:dist" (cssUrlEmbed) task
Processing source file "dist/visualEditor-apex.css"
2 embeddable URLs found
Processing source file "dist/visualEditor-apex.rtl.css"
2 embeddable URLs found
Processing source file "dist/visualEditor-wikimediaui.css"
2 embeddable URLs found
Processing source file "dist/visualEditor-wikimediaui.rtl.css"
2 embeddable URLs found
>> "../../../ui/styles/images/resize-nw-se.svg" embedded
>> "../../../ui/styles/images/resize-nw-se.svg" embedded
>> "../../../ui/styles/images/resize-nw-se.svg" embedded
>> "../../../ui/styles/images/resize-nw-se.svg" embedded
>> "../../../ui/styles/images/resize-ne-sw.svg" embedded
File "dist/visualEditor-apex.css" created
>> "../../../ui/styles/images/resize-ne-sw.svg" embedded
File "dist/visualEditor-apex.rtl.css" created
>> "../../../ui/styles/images/resize-ne-sw.svg" embedded
File "dist/visualEditor-wikimediaui.css" created
>> "../../../ui/styles/images/resize-ne-sw.svg" embedded
File "dist/visualEditor-wikimediaui.rtl.css" created
Running "copy:i18n" (copy) task
Copied 211 files
Running "copy:lib" (copy) task
Created 27 directories, copied 1382 files
Running "buildloader:iframe" (buildloader) task
>> File ".jsduck/eg-iframe.html" written.
Running "buildloader:desktopDemoApex" (buildloader) task
>> File "demos/ve/desktop.html" written.
Running "buildloader:desktopDemoApexDist" (buildloader) task
>> File "demos/ve/desktop-dist.html" written.
Running "buildloader:desktopDemoWikimediaUI" (buildloader) task
>> File "demos/ve/desktop-wikimediaui.html" written.
Running "buildloader:desktopDemoWikimediaUIDist" (buildloader) task
>> File "demos/ve/desktop-wikimediaui-dist.html" written.
Running "buildloader:mobileDemo" (buildloader) task
>> File "demos/ve/mobile.html" written.
Running "buildloader:mobileDemoDist" (buildloader) task
>> File "demos/ve/mobile-dist.html" written.
Running "buildloader:minimalDemo" (buildloader) task
>> File "demos/ve/minimal.html" written.
Running "buildloader:minimalDemoRtl" (buildloader) task
>> File "demos/ve/minimal-rtl.html" written.
Running "buildloader:performanceTest" (buildloader) task
>> File "demos/ve/performance.html" written.
Running "buildloader:test" (buildloader) task
>> File "tests/index.html" written.
Running "karma:chrome" (karma) task
START:
[33m10 10 2024 00:05:26.231:WARN [filelist]: [39mAll files matched by "/src/repo/node_modules/qunit/qunit/qunit.js" were excluded or matched by prior matchers.
[32m10 10 2024 00:05:35.347:INFO [karma-server]: [39mKarma v6.4.2 server started at http://localhost:9876/
[32m10 10 2024 00:05:35.348:INFO [launcher]: [39mLaunching browsers ChromeCustom with concurrency unlimited
[32m10 10 2024 00:05:35.353:INFO [launcher]: [39mStarting browser ChromeHeadless
[32m10 10 2024 00:05:38.516:INFO [Chrome Headless 126.0.6478.182 (Linux x86_64)]: [39mConnected on socket DsU258eHpBI0t82iAAAB with id 1180064
ve
✔ compareClassLists
✔ isInstanceOfAny
✔ getDomAttributes
✔ setDomAttributes
✔ sparseSplice
✔ batchSplice
✔ batchPush
✔ insertIntoArray
✔ escapeHtml
✔ addHeadTag
✔ createDocumentFromHtml
✔ resolveUrl
✔ resolveAttributes
✔ fixBase
✔ isUriComponentValid
✔ safeDecodeURIComponent
✔ isBlockElement/isVoidElement
✔ graphemeSafeSubstring
✔ transformStyleAttributes
✔ normalizeNode
✔ getCommonAncestor
✔ getCommonStartSequenceLength
✔ adjacentDomPosition
✔ deepFreeze
✔ deepFreeze (on cyclic structure)
✔ deepFreeze (recursive, aliased)
ve.DiffMatchPatch
✔ indexOf/lastIndexOf
ve.EventSequencer
✔ EventSequencer
ve.Scheduler
✔ Call with no real async
✔ Call with delay
✔ Test that throws an exception
✔ Test that never succeeds
ve.Range
✔ Basic usage (isCollapsed, isBackwards, getLength, equals, equalsSelection, containsOffset, containsRange, touchesRange)
✔ Modification (flip, truncate, expand, translate)
✔ Factory methods & serialization (newCoveringRange, newFromJSON, toJSON)
ve.Document
✔ getDocumentNode
ve.Node
✔ getType
✔ getParent
✔ getRoot
ve.BranchNode
✔ getChildren
✔ indexOf
✔ setDocument
ve.dm.Annotation
✔ getHashObject
ve.dm.AnnotationSet
✔ Basic usage
✔ Comparable
ve.dm.LinkAnnotation
✔ getFragment
ve.dm.NodeFactory
✔ getChildNodeTypes
✔ getParentNodeTypes
✔ canNodeHaveChildren
✔ canNodeTakeAnnotation
✔ canNodeHaveChildrenNotContent
✔ initialization
ve.dm.Node
✔ canHaveChildren
✔ canHaveChildrenNotContent
✔ getLength
✔ getOuterLength
✔ setLength
✔ adjustLength
✔ getAttribute
✔ setRoot
✔ attach
✔ detach
✔ canBeMergedWith
✔ getClonedElement
ve.dm.Converter
✔ getModelFromDom
✔ getModelFromDom with store argument
✔ getDomFromModel
✔ getFullData
✔ roundTripMetadata
ve.dm.SourceConverter
✔ conversion
ve.dm.BranchNode
✔ canHaveChildren
✔ canHaveChildrenNotContent
✔ setRoot
✔ setDocument
✔ push
✔ pop
✔ unshift
✔ shift
✔ splice
ve.dm.LeafNode
✔ canHaveChildren
✔ canHaveChildrenNotContent
✔ getAnnotations
ve.dm.TextNode
✔ getOuterLength
ve.dm.Document
✔ constructor
✔ newBlankDocument
✔ getData
✔ getFullData
✔ cloneFromRange
✔ getRelativeOffset
✔ getRelativeRange
✔ getBranchNodeFromOffset
✔ hasSlugAtOffset
✔ getDataFromNode
✔ getOuterLength
✔ selectNodes
✔ rangeInsideOneLeafNode
✔ shallowCloneFromRange
✔ protection against double application of transactions
✔ getNearestCursorOffset
✔ Selection equality
✔ findText (plain text)
✔ findText (non-text content)
✔ fixupInsertion
✔ read-only and offset caching
ve.dm.HashValueStore
✔ hash(es)
✔ value(s)
✔ slice
ve.dm.InternalList
✔ getDocument
✔ queueItemHtml/getItemHtmlQueue
✔ convertToData
✔ clone
ve.dm.LinearData
✔ basic usage
✔ slice(Object)/splice(Object)/batchSplice
ve.dm.Transaction
✔ translateOffset
✔ translateRange
✔ getModifiedRange
✔ Metadata transactions
ve.dm.TransactionBuilder
✔ newFromInsertion
✔ newFromRemoval
✔ newFromReplacement
✔ newFromDocumentInsertion
✔ newFromAttributeChanges
✔ newFromAnnotation
✔ newFromContentBranchConversion
✔ newFromWrap
✔ pushRetain
✔ pushReplacement
✔ pushReplaceElementAttribute
✔ isNoOp
✔ operations/build from operations
✔ newFromRemoval preserving metadata
ve.dm.TransactionSquasher
✔ squash
ve.dm.Change
✔ rebaseTransactions
✔ Change operations
✔ Rebase with conflicting annotations
✔ toJSON/deserialize/unsafeDeserialize
✔ Minified serialization
✔ Same-offset typing
ve.dm.RebaseServer
✔ Rebase
ve.dm.DocumentStore
✔ Create
ve.dm.TransportServer
✔ Create
ve.dm.TreeModifier
✔ treeDiff
✔ modify
✔ bare content
✔ applyTreeOperation: ensureNotText
✔ setupBlockSlugs
✔ checkEqualData
✔ TreeCursor#crossIgnoredNodes
✔ TreeCursor#normalizeCursor
ve.dm.TransactionProcessor
✔ commit
✔ undo clear annotation
ve.dm.Surface
✔ getDocument
✔ getSelection
✔ setSelection out of range
✔ contextChange events
✔ documentUpdate/select events
✔ breakpoint/undo/redo
✔ multi-user undo
✔ change rollback
✔ range translation
✔ staging
✔ getOffsetFromSourceOffset / getSourceOffsetFromOffset / getRangeFromSourceOffsets
✔ autosave
ve.dm.SurfaceFragment
✔ constructor
✔ update
✔ getSelectedModels
✔ getAnnotations
✔ hasAnnotations
✔ adjustLinearSelection
✔ truncateLinearSelection
✔ collapseToStart/End
✔ expandLinearSelection (annotation)
✔ expandLinearSelection (closest)
✔ expandLinearSelection (word)
✔ removeContent
✔ delete
✔ insertContent/insertDocument
✔ changeAttributes
✔ wrapNodes/unwrapNodes
✔ rewrapNodes
✔ wrapAllNodes
✔ rewrapAllNodes
✔ isolateAndUnwrap
ve.dm.SourceSurfaceFragment
✔ insertContent/insertDocument
ve.dm.ModelRegistry
✔ register/unregister/matchElement
✔ isAnnotation
ve.dm.MetaList
✔ constructor
✔ onTransact
ve.dm.Scalable
✔ construction/clone/getters/setters/toggleDefault/clearers
✔ getBoundedDimensions/getCurrentScale/isCurrentDimensionsValid/isTooSmall/isTooLarge
✔ isDefault/toggleDefault
✔ isDimensionsObjectValid
✔ getDimensionsFromValue
ve.dm.LinearSelection
✔ Construction and getters (getRange(s))
✔ Basic methods (collapse*, isCollased, equals, isNull)
✔ Factory methods & serialization (newFromJSON, toJSON, getDescription)
ve.dm.NullSelection
✔ Construction and getters (getDocument, getRanges)
✔ Basic methods (collapse*, isCollased, equals, isNull)
✔ Factory methods & serialization (newFromJSON, toJSON, getDescription)
ve.dm.TableSelection
✔ Construction and getters (getDocument, getRanges, getOuterRanges, getTableNode)
✔ Basic methods (expand, collapse*, getRange(s), isCollased, isSingleCell, equals, isNull, isFullRow/Col, getRow/ColCount)
✔ Factory methods & serialization (newFromJSON, toJSON, getDescription)
ve.dm.FlatLinearData
✔ getType/isOpenElementData/isCloseElementData
✔ isElementData
✔ containsElementData
ve.dm.ElementLinearData
✔ getAnnotationsFromOffset
✔ getAnnotationsFromRange
✔ getInsertionAnnotationsFromRange
✔ getAnnotatedRangeFromOffset
✔ trimOuterSpaceFromRange
✔ isContentOffset
✔ isStructuralOffset
✔ getCharacterData
✔ isPlainText
✔ getText
✔ getSourceText
✔ isContentData
✔ getRelativeOffset
✔ getRelativeContentOffset
✔ getNearestContentOffset
✔ getRelativeStructuralOffset
✔ getNearestStructuralOffset
✔ getWordRange
✔ sanitize
✔ countNonInternalElements
✔ hasContent
✔ getAnnotationHashesFromOffset
✔ getUsedStoreValues
✔ compareElements and compareElementsUnannotated
ve.ce
✔ getDomHash/getDomText (with ve.dm.Converter)
✔ getDomHash/getDomText (without ve.dm.Converter)
✔ getOffset
✔ isShortcutKey
✔ nextCursorOffset
✔ resolveTestOffset
✔ fakeImes
✔ isAfterAnnotationBoundary
ve.ce.Document
✔ Converter tests
✔ getNodeAndOffset
✔ attachedRoot
ve.ce.Surface
✔ handleObservedChanges (content changes)
✔ handleDataTransfer/handleDataTransferItems
✔ getClipboardHash
✔ onCopy
[33m10 10 2024 00:05:44.137:WARN [web-server]: [39m404: /null
✔ beforePaste/afterPaste
✔ onDocumentDragStart/onDocumentDrop
✔ getSelectionState
✔ findBlockSlug
✔ selectFirstSelectableContentOffset/selectLastSelectableContentOffset
✔ getViewportRange
ve.ce.RangeState
✔ Basic tests
ve.ce.TextState
✔ getChangeTransaction
ve.ce.NodeFactory
✔ splitNodeOnEnter/getDescription
✔ initialization
ve.ce.AnnotationFactory
✔ canAnnotationBeActive/getDescription
✔ initialization
ve.ce.Node
✔ getModel
✔ getParent
✔ attach
✔ detach
ve.ce.BranchNode
✔ splitOnEnter
✔ canHaveChildren
✔ canHaveChildrenNotContent
✔ updateTagName
✔ getDomPosition
✔ onSplice
ve.ce.ContentBranchNode
✔ getRenderedContents
ve.ce.LeafNode
✔ splitOnEnter
✔ canHaveChildren
✔ canHaveChildrenNotContent
ve.ce.Selection
✔ Rects
✔ getDirectionality
✔ equals
ve.ce.LinearArrowKeyDownHandler
✔ special key down: linear arrow keys
ve.ce.LinearDeleteKeyDownHandler
✔ special key down: linear backspace/delete
ve.ce.LinearEnterKeyDownHandler
✔ special key down: linear enter
ve.ce.LinearEscapeKeyDownHandler
✔ special key down: linear escape
ve.ce.TableArrowKeyDownHandler
✔ special key down: table arrow keys (complex movements)
✔ special key down: table arrow keys (simple movements)
ve.ce.TableDeleteKeyDownHandler
✔ special key down: table backspace/delete
ve.ce.TableEnterKeyDownHandler
✔ special key down: table enter
ve.ce.TableF2KeyDownHandler
✔ special key down: table f2
ve.ce.ResizableNode
✔ updateSizeLabel
✔ resize events
✔ notResizable
ve.ce.TextNode
✔ getAnnotatedHtml
ve.ce.TableNode
✔ getNearestCellNode
✔ getFirstSectionNode
✔ onTableMouseDown/onTableMouseMove/onTableMouseUp/onTableDblClick
✔ onTableMouseDown
ve.init.Target
✔ createModelFromDom/parseDocument (source mode)
ve.init.sa.Platform
✔ getUserConfig
✔ setUserConfig
✔ messages
✔ parsedMessage
ve.init.ListStorage
✔ Basic methods
✔ List methods
ve.ui.DataTransferHandlerFactory
✔ getHandlerNameForItem
ve.ui.Trigger
✔ constructor
ve.ui.Sequence
✔ findAndExecuteSequences
WARN: 'This page contains the following errors:error on line 1 at column 56: Opening and ending tag mismatch: p line 1 and b
Below is a rendering of the page up to the first error.', '
', '<p>a</p><table><tr><td>A</td></tr></table><p>b</b>', '
', '<xml><p>a</p><table><tr><td>A</td></tr></table><p>b</b></xml>'
WARN: 'This page contains the following errors:error on line 1 at column 80: Opening and ending tag mismatch: p line 1 and b
Below is a rendering of the page up to the first error.', '
', '<p>a</p><table><tr><td colspan="1" rowspan="1">A</td></tr></table><p>b</b>', '
', '<xml><p>a</p><table><tr><td colspan="1" rowspan="1">A</td></tr></table><p>b</b></xml>'
ve.ui.DiffElement
✔ Diffing
✔ compareAttributes/describeChanges
ve.ui.PreviewElement
✔ Basic tests
ve.ui.AnnotationAction
✔ toggle
ve.ui.BlockquoteAction
✔ wrap/unwrap/toggle
ve.ui.ContentAction
✔ insert/remove/select/selectAll
ve.ui.FormatAction
✔ convert
ve.ui.IndentationAction
✔ increase/decrease
ve.ui.LinkAction
✔ autolink
ve.ui.ListAction
✔ (un)wrap
ve.ui.TableAction
✔ create / insert / mergeCells / delete / changeCellStyle / moveRelative
ve.ui.WindowAction
✔ Basic open/close
ve.ui.DSVFileTransferHandler
✔ getInsertableData
ve.ui.UrlStringTransferHandler
✔ paste
ve.ui.FindAndReplaceDialog
✔ find fragments
✔ replace all
ve.ui.FragmentInspector
✔ Different selections and inputs
Finished in 12.989 secs / 12.608 secs @ 00:05:52 GMT+0000 (Coordinated Universal Time)
SUMMARY:
✔ 317 tests completed
=============================== Coverage summary ===============================
Statements : 81.76% ( 18201/22260 )
Branches : 73.56% ( 7862/10687 )
Functions : 73.63% ( 2273/3087 )
Lines : 81.6% ( 17856/21882 )
================================================================================
Running "karma:firefox" (karma) task
[33m10 10 2024 00:05:54.060:WARN [filelist]: [39mAll files matched by "/src/repo/node_modules/qunit/qunit/qunit.js" were excluded or matched by prior matchers.
[32m10 10 2024 00:05:54.148:INFO [karma-server]: [39mKarma v6.4.2 server started at http://localhost:9876/
[32m10 10 2024 00:05:54.148:INFO [launcher]: [39mLaunching browsers FirefoxHeadless with concurrency unlimited
[32m10 10 2024 00:05:54.155:INFO [launcher]: [39mStarting browser FirefoxHeadless
[32m10 10 2024 00:05:58.396:INFO [Firefox 115.0 (Linux x86_64)]: [39mConnected on socket ZjQ_RSWqNfVYxhQeAAAD with id 33081070
................................................................................
................................................................................
................................................................................
....[33m10 10 2024 00:06:03.533:WARN [web-server]: [39m404: /null
........................................................
WARN: undefined, '
', '<p>a</p><table><tr><td>A</td></tr></table><p>b</b>', '
', '<xml><p>a</p><table><tr><td>A</td></tr></table><p>b</b></xml>'
WARN: undefined, '
', '<p>a</p><table><tr><td colspan="1" rowspan="1">A</td></tr></table><p>b</b>', '
', '<xml><p>a</p><table><tr><td colspan="1" rowspan="1">A</td></tr></table><p>b</b></xml>'
.................
Firefox 115.0 (Linux x86_64): Executed 317 of 317 SUCCESS (14.17 secs / 14.016 secs)
Done.
--- end ---
{"1099846": {"source": 1099846, "name": "cookie", "dependency": "cookie", "title": "cookie accepts cookie name, path, and domain with out of bounds characters", "url": "https://github.com/advisories/GHSA-pxg6-pf52-xh8x", "severity": "low", "cwe": ["CWE-74"], "cvss": {"score": 0, "vectorString": null}, "range": "<0.7.0"}}
Upgrading n:cookie from 0.4.2 -> 0.7.2
{"1099846": {"source": 1099846, "name": "cookie", "dependency": "cookie", "title": "cookie accepts cookie name, path, and domain with out of bounds characters", "url": "https://github.com/advisories/GHSA-pxg6-pf52-xh8x", "severity": "low", "cwe": ["CWE-74"], "cvss": {"score": 0, "vectorString": null}, "range": "<0.7.0"}}
Upgrading n:engine.io from 6.5.5 -> 6.6.2
{"1099846": {"source": 1099846, "name": "cookie", "dependency": "cookie", "title": "cookie accepts cookie name, path, and domain with out of bounds characters", "url": "https://github.com/advisories/GHSA-pxg6-pf52-xh8x", "severity": "low", "cwe": ["CWE-74"], "cvss": {"score": 0, "vectorString": null}, "range": "<0.7.0"}}
Upgrading n:socket.io from 4.7.4 -> 4.8.0
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
build: Updating npm dependencies
* cookie: 0.4.2 → 0.7.2
* https://github.com/advisories/GHSA-pxg6-pf52-xh8x
* engine.io: 6.5.5 → 6.6.2
* https://github.com/advisories/GHSA-pxg6-pf52-xh8x
* socket.io: 4.7.4 → 4.8.0
* https://github.com/advisories/GHSA-pxg6-pf52-xh8x
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmphxu3lz_f
--- stdout ---
[REL1_39 626910e] build: Updating npm dependencies
1 file changed, 42 insertions(+), 42 deletions(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 626910ef75dc113e11c9fa9a62248e80c6abb24b Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 10 Oct 2024 00:06:14 +0000
Subject: [PATCH] build: Updating npm dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* cookie: 0.4.2 → 0.7.2
* https://github.com/advisories/GHSA-pxg6-pf52-xh8x
* engine.io: 6.5.5 → 6.6.2
* https://github.com/advisories/GHSA-pxg6-pf52-xh8x
* socket.io: 4.7.4 → 4.8.0
* https://github.com/advisories/GHSA-pxg6-pf52-xh8x
Change-Id: I8b342ea5474146999a3e8443613e81f1f3f8b3c0
---
package-lock.json | 84 +++++++++++++++++++++++------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index a41a8fa..b8d533b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -725,12 +725,12 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "20.11.19",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.19.tgz",
- "integrity": "sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ==",
+ "version": "22.7.5",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz",
+ "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==",
"dev": true,
"dependencies": {
- "undici-types": "~5.26.4"
+ "undici-types": "~6.19.2"
}
},
"node_modules/@types/normalize-package-data": {
@@ -1463,9 +1463,9 @@
}
},
"node_modules/cookie": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz",
- "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==",
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
"dev": true,
"engines": {
"node": ">= 0.6"
@@ -1989,9 +1989,9 @@
}
},
"node_modules/engine.io": {
- "version": "6.5.5",
- "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.5.5.tgz",
- "integrity": "sha512-C5Pn8Wk+1vKBoHghJODM63yk8MvrO9EWZUfkAt5HAqIgPE4/8FF0PEGHXtEd40l223+cE5ABWuPzm38PHFXfMA==",
+ "version": "6.6.2",
+ "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.2.tgz",
+ "integrity": "sha512-gmNvsYi9C8iErnZdVcJnvCpSKbWTt1E8+JZo8b+daLninywUWi5NQ5STSHZ9rFjFO7imNcvb8Pc5pe/wMR5xEw==",
"dev": true,
"dependencies": {
"@types/cookie": "^0.4.1",
@@ -1999,7 +1999,7 @@
"@types/node": ">=10.0.0",
"accepts": "~1.3.4",
"base64id": "2.0.0",
- "cookie": "~0.4.1",
+ "cookie": "~0.7.2",
"cors": "~2.8.5",
"debug": "~4.3.1",
"engine.io-parser": "~5.2.1",
@@ -2010,9 +2010,9 @@
}
},
"node_modules/engine.io-parser": {
- "version": "5.2.2",
- "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.2.tgz",
- "integrity": "sha512-RcyUFKA93/CXH20l4SoVvzZfrSDMOTUS3bWVpTt2FuFP+XYrL8i8oonHP7WInRyVHXh0n/ORtoeiE1os+8qkSw==",
+ "version": "5.2.3",
+ "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz",
+ "integrity": "sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==",
"dev": true,
"engines": {
"node": ">=10.0.0"
@@ -6621,16 +6621,16 @@
}
},
"node_modules/socket.io": {
- "version": "4.7.4",
- "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.7.4.tgz",
- "integrity": "sha512-DcotgfP1Zg9iP/dH9zvAQcWrE0TtbMVwXmlV4T4mqsvY+gw+LqUGPfx2AoVyRk0FLME+GQhufDMyacFmw7ksqw==",
+ "version": "4.8.0",
+ "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.8.0.tgz",
+ "integrity": "sha512-8U6BEgGjQOfGz3HHTYaC/L1GaxDCJ/KM0XTkJly0EhZ5U/du9uNEZy4ZgYzEzIqlx2CMm25CrCqr1ck899eLNA==",
"dev": true,
"dependencies": {
"accepts": "~1.3.4",
"base64id": "~2.0.0",
"cors": "~2.8.5",
"debug": "~4.3.2",
- "engine.io": "~6.5.2",
+ "engine.io": "~6.6.0",
"socket.io-adapter": "~2.5.2",
"socket.io-parser": "~4.2.4"
},
@@ -7469,9 +7469,9 @@
}
},
"node_modules/undici-types": {
- "version": "5.26.5",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
- "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
+ "version": "6.19.8",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
+ "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"dev": true
},
"node_modules/universalify": {
@@ -8395,12 +8395,12 @@
"dev": true
},
"@types/node": {
- "version": "20.11.19",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.19.tgz",
- "integrity": "sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ==",
+ "version": "22.7.5",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz",
+ "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==",
"dev": true,
"requires": {
- "undici-types": "~5.26.4"
+ "undici-types": "~6.19.2"
}
},
"@types/normalize-package-data": {
@@ -8964,9 +8964,9 @@
}
},
"cookie": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz",
- "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==",
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
"dev": true
},
"core-util-is": {
@@ -9371,9 +9371,9 @@
"dev": true
},
"engine.io": {
- "version": "6.5.5",
- "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.5.5.tgz",
- "integrity": "sha512-C5Pn8Wk+1vKBoHghJODM63yk8MvrO9EWZUfkAt5HAqIgPE4/8FF0PEGHXtEd40l223+cE5ABWuPzm38PHFXfMA==",
+ "version": "6.6.2",
+ "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.2.tgz",
+ "integrity": "sha512-gmNvsYi9C8iErnZdVcJnvCpSKbWTt1E8+JZo8b+daLninywUWi5NQ5STSHZ9rFjFO7imNcvb8Pc5pe/wMR5xEw==",
"dev": true,
"requires": {
"@types/cookie": "^0.4.1",
@@ -9381,7 +9381,7 @@
"@types/node": ">=10.0.0",
"accepts": "~1.3.4",
"base64id": "2.0.0",
- "cookie": "~0.4.1",
+ "cookie": "~0.7.2",
"cors": "~2.8.5",
"debug": "~4.3.1",
"engine.io-parser": "~5.2.1",
@@ -9389,9 +9389,9 @@
}
},
"engine.io-parser": {
- "version": "5.2.2",
- "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.2.tgz",
- "integrity": "sha512-RcyUFKA93/CXH20l4SoVvzZfrSDMOTUS3bWVpTt2FuFP+XYrL8i8oonHP7WInRyVHXh0n/ORtoeiE1os+8qkSw==",
+ "version": "5.2.3",
+ "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz",
+ "integrity": "sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==",
"dev": true
},
"ent": {
@@ -12834,16 +12834,16 @@
}
},
"socket.io": {
- "version": "4.7.4",
- "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.7.4.tgz",
- "integrity": "sha512-DcotgfP1Zg9iP/dH9zvAQcWrE0TtbMVwXmlV4T4mqsvY+gw+LqUGPfx2AoVyRk0FLME+GQhufDMyacFmw7ksqw==",
+ "version": "4.8.0",
+ "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.8.0.tgz",
+ "integrity": "sha512-8U6BEgGjQOfGz3HHTYaC/L1GaxDCJ/KM0XTkJly0EhZ5U/du9uNEZy4ZgYzEzIqlx2CMm25CrCqr1ck899eLNA==",
"dev": true,
"requires": {
"accepts": "~1.3.4",
"base64id": "~2.0.0",
"cors": "~2.8.5",
"debug": "~4.3.2",
- "engine.io": "~6.5.2",
+ "engine.io": "~6.6.0",
"socket.io-adapter": "~2.5.2",
"socket.io-parser": "~4.2.4"
}
@@ -13506,9 +13506,9 @@
}
},
"undici-types": {
- "version": "5.26.5",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
- "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
+ "version": "6.19.8",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
+ "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"dev": true
},
"universalify": {
--
2.39.2
--- end ---