mediawiki/extensions/Translate: REL1_41 (log #1379260)

sourcepatches

This run took 48 seconds.

From 8f770da5e70843cf3542dd524dcab0e7f3e3b1a0 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Fri, 14 Jun 2024 01:39:37 +0000
Subject: [PATCH] build: Updating braces to 3.0.3

* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I1392242aa96483809e2ce6c9591497968cd17d5a
---
 package-lock.json | 46 ++++++++++++++++++++++++++--------------------
 1 file changed, 26 insertions(+), 20 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 0aee2ca..36b5ace 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -503,12 +503,12 @@
 			}
 		},
 		"node_modules/braces": {
-			"version": "3.0.2",
-			"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
-			"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+			"version": "3.0.3",
+			"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+			"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
 			"dev": true,
 			"dependencies": {
-				"fill-range": "^7.0.1"
+				"fill-range": "^7.1.1"
 			},
 			"engines": {
 				"node": ">=8"
@@ -1766,9 +1766,9 @@
 			}
 		},
 		"node_modules/fill-range": {
-			"version": "7.0.1",
-			"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
-			"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+			"version": "7.1.1",
+			"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+			"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
 			"dev": true,
 			"dependencies": {
 				"to-regex-range": "^5.0.1"
@@ -4733,7 +4733,8 @@
 			"version": "2.1.1",
 			"resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.1.1.tgz",
 			"integrity": "sha512-jwx+WCqszn53YHOfvFMJJRd/B2GqkCBt+1MJSG6o5/s8+ytHMvDZXsJgUEWLk12UnLd7HYKac4BYU5i/Ron1Cw==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"@es-joy/jsdoccomment": {
 			"version": "0.23.6",
@@ -4902,7 +4903,8 @@
 			"version": "5.3.2",
 			"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
 			"integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"ajv": {
 			"version": "6.12.6",
@@ -5011,12 +5013,12 @@
 			}
 		},
 		"braces": {
-			"version": "3.0.2",
-			"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
-			"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+			"version": "3.0.3",
+			"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+			"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
 			"dev": true,
 			"requires": {
-				"fill-range": "^7.0.1"
+				"fill-range": "^7.1.1"
 			}
 		},
 		"browserslist": {
@@ -5634,7 +5636,8 @@
 			"version": "2.7.0",
 			"resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-2.7.0.tgz",
 			"integrity": "sha512-Aeg7dA6GTH1AcWLlBtWNzOU9efK5KpNi7b0EhBO0o0M+awyzguUUo8gF6hXGjQ9n5h8/uRtYv9zOqQkeC5CG0w==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"eslint-plugin-node": {
 			"version": "11.1.0",
@@ -5930,9 +5933,9 @@
 			}
 		},
 		"fill-range": {
-			"version": "7.0.1",
-			"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
-			"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+			"version": "7.1.1",
+			"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+			"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
 			"dev": true,
 			"requires": {
 				"to-regex-range": "^5.0.1"
@@ -7147,7 +7150,8 @@
 			"version": "6.0.0",
 			"resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-6.0.0.tgz",
 			"integrity": "sha512-FPX16mQLyEjLzEuuJtxA8X3ejDLNGGEG503d2YGZR5Ask1SpDN8KmZUMpzCvyalWRywAn1n1VOA5dcqfCLo5rg==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"postcss-media-query-parser": {
 			"version": "0.2.3",
@@ -7165,7 +7169,8 @@
 			"version": "6.0.0",
 			"resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz",
 			"integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"postcss-selector-parser": {
 			"version": "6.0.11",
@@ -7704,7 +7709,8 @@
 			"version": "9.0.0",
 			"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-9.0.0.tgz",
 			"integrity": "sha512-9YQSrJq4NvvRuTbzDsWX3rrFOzOlYBmZP+o513BJN/yfEmGSr0AxdvrWs0P/ilSpVV/wisamAHu5XSk8Rcf4CQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"stylelint-config-wikimedia": {
 			"version": "0.15.0",
-- 
2.39.2

$ date
--- stdout ---
Fri Jun 14 01:38:54 UTC 2024

--- end ---
$ git clone file:///srv/git/mediawiki-extensions-Translate.git repo --depth=1 -b REL1_41
--- 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_41
--- stdout ---
5181e7065ecb0eabf301cc739f36fc991be96f88 refs/heads/REL1_41

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "braces": {
      "name": "braces",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1097496,
          "name": "braces",
          "dependency": "braces",
          "title": "Uncontrolled resource consumption in braces",
          "url": "https://github.com/advisories/GHSA-grv7-fg5c-xmjg",
          "severity": "high",
          "cwe": [
            "CWE-1050"
          ],
          "cvss": {
            "score": 7.5,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
          },
          "range": "<3.0.3"
        }
      ],
      "effects": [],
      "range": "<3.0.3",
      "nodes": [
        "node_modules/braces"
      ],
      "fixAvailable": true
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 0,
      "moderate": 0,
      "high": 1,
      "critical": 0,
      "total": 1
    },
    "dependencies": {
      "prod": 1,
      "dev": 399,
      "optional": 0,
      "peer": 0,
      "peerOptional": 0,
      "total": 399
    }
  }
}

--- end ---
$ /usr/bin/composer install
--- stderr ---
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 40 installs, 0 updates, 0 removals
  - Locking composer/installers (v2.2.0)
  - Locking composer/pcre (3.1.4)
  - Locking composer/semver (3.3.2)
  - Locking composer/spdx-licenses (1.5.8)
  - Locking composer/xdebug-handler (3.0.5)
  - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0)
  - Locking doctrine/deprecations (1.1.3)
  - Locking felixfbecker/advanced-json-rpc (v3.2.1)
  - Locking mediawiki/mediawiki-codesniffer (v42.0.0)
  - Locking mediawiki/mediawiki-phan-config (0.13.0)
  - Locking mediawiki/minus-x (1.1.1)
  - Locking mediawiki/phan-taint-check-plugin (5.0.0)
  - Locking microsoft/tolerant-php-parser (v0.1.2)
  - Locking mustangostang/spyc (0.6.3)
  - Locking netresearch/jsonmapper (v4.4.1)
  - Locking phan/phan (5.4.2)
  - Locking php-parallel-lint/php-console-color (v1.0.1)
  - Locking php-parallel-lint/php-console-highlighter (v1.0.0)
  - Locking php-parallel-lint/php-parallel-lint (v1.3.2)
  - Locking phpdocumentor/reflection-common (2.2.0)
  - Locking phpdocumentor/reflection-docblock (5.4.1)
  - Locking phpdocumentor/type-resolver (1.8.2)
  - Locking phpstan/phpdoc-parser (1.29.1)
  - Locking psr/container (2.0.2)
  - Locking psr/log (2.0.0)
  - Locking sabre/event (5.1.4)
  - Locking slevomat/coding-standard (8.14.1)
  - Locking squizlabs/php_codesniffer (3.7.2)
  - Locking symfony/console (v5.4.40)
  - Locking symfony/deprecation-contracts (v3.5.0)
  - Locking symfony/polyfill-ctype (v1.29.0)
  - Locking symfony/polyfill-intl-grapheme (v1.29.0)
  - Locking symfony/polyfill-intl-normalizer (v1.29.0)
  - Locking symfony/polyfill-mbstring (v1.29.0)
  - Locking symfony/polyfill-php73 (v1.29.0)
  - Locking symfony/polyfill-php80 (v1.29.0)
  - Locking symfony/service-contracts (v3.5.0)
  - Locking symfony/string (v6.4.8)
  - Locking tysonandre/var_representation_polyfill (0.1.3)
  - Locking webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 40 installs, 0 updates, 0 removals
    0 [>---------------------------]    0 [->--------------------------]
  - Installing composer/installers (v2.2.0): Extracting archive
  - Installing squizlabs/php_codesniffer (3.7.2): Extracting archive
  - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
  - Installing composer/pcre (3.1.4): Extracting archive
  - Installing symfony/polyfill-php80 (v1.29.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.29.0): Extracting archive
  - Installing composer/spdx-licenses (1.5.8): Extracting archive
  - Installing composer/semver (3.3.2): Extracting archive
  - Installing mediawiki/mediawiki-codesniffer (v42.0.0): Extracting archive
  - Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.29.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.29.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.29.0): Extracting archive
  - Installing symfony/string (v6.4.8): Extracting archive
  - Installing symfony/deprecation-contracts (v3.5.0): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing symfony/service-contracts (v3.5.0): Extracting archive
  - Installing symfony/polyfill-php73 (v1.29.0): Extracting archive
  - Installing symfony/console (v5.4.40): Extracting archive
  - Installing sabre/event (5.1.4): Extracting archive
  - Installing netresearch/jsonmapper (v4.4.1): Extracting archive
  - Installing microsoft/tolerant-php-parser (v0.1.2): Extracting archive
  - Installing webmozart/assert (1.11.0): Extracting archive
  - Installing phpstan/phpdoc-parser (1.29.1): Extracting archive
  - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
  - Installing doctrine/deprecations (1.1.3): Extracting archive
  - Installing phpdocumentor/type-resolver (1.8.2): Extracting archive
  - Installing phpdocumentor/reflection-docblock (5.4.1): Extracting archive
  - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive
  - Installing psr/log (2.0.0): Extracting archive
  - Installing composer/xdebug-handler (3.0.5): Extracting archive
  - Installing phan/phan (5.4.2): Extracting archive
  - Installing mediawiki/phan-taint-check-plugin (5.0.0): Extracting archive
  - Installing mediawiki/mediawiki-phan-config (0.13.0): Extracting archive
  - Installing mediawiki/minus-x (1.1.1): Extracting archive
  - Installing mustangostang/spyc (0.6.3): Extracting archive
  - Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive
  - Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive
  - Installing php-parallel-lint/php-parallel-lint (v1.3.2): Extracting archive
  - Installing slevomat/coding-standard (8.14.1): Extracting archive
  0/37 [>---------------------------]   0%
 20/37 [===============>------------]  54%
 35/37 [==========================>-]  94%
 37/37 [============================] 100%
6 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
17 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---
PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../slevomat/coding-standard

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "braces": {
      "name": "braces",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1097496,
          "name": "braces",
          "dependency": "braces",
          "title": "Uncontrolled resource consumption in braces",
          "url": "https://github.com/advisories/GHSA-grv7-fg5c-xmjg",
          "severity": "high",
          "cwe": [
            "CWE-1050"
          ],
          "cvss": {
            "score": 7.5,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
          },
          "range": "<3.0.3"
        }
      ],
      "effects": [],
      "range": "<3.0.3",
      "nodes": [
        "node_modules/braces"
      ],
      "fixAvailable": true
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 0,
      "moderate": 0,
      "high": 1,
      "critical": 0,
      "total": 1
    },
    "dependencies": {
      "prod": 1,
      "dev": 399,
      "optional": 0,
      "peer": 0,
      "peerOptional": 0,
      "total": 399
    }
  }
}

--- 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.23.6',
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@39.2.2',
npm WARN EBADENGINE   required: { node: '^14 || ^16 || ^17' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---
{
  "added": 399,
  "removed": 0,
  "changed": 0,
  "audited": 400,
  "funding": 71,
  "audit": {
    "auditReportVersion": 2,
    "vulnerabilities": {
      "braces": {
        "name": "braces",
        "severity": "high",
        "isDirect": false,
        "via": [
          {
            "source": 1097496,
            "name": "braces",
            "dependency": "braces",
            "title": "Uncontrolled resource consumption in braces",
            "url": "https://github.com/advisories/GHSA-grv7-fg5c-xmjg",
            "severity": "high",
            "cwe": [
              "CWE-1050"
            ],
            "cvss": {
              "score": 7.5,
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
            },
            "range": "<3.0.3"
          }
        ],
        "effects": [],
        "range": "<3.0.3",
        "nodes": [
          ""
        ],
        "fixAvailable": true
      }
    },
    "metadata": {
      "vulnerabilities": {
        "info": 0,
        "low": 0,
        "moderate": 0,
        "high": 1,
        "critical": 0,
        "total": 1
      },
      "dependencies": {
        "prod": 1,
        "dev": 399,
        "optional": 0,
        "peer": 0,
        "peerOptional": 0,
        "total": 399
      }
    }
  }
}

--- end ---
{"added": 399, "removed": 0, "changed": 0, "audited": 400, "funding": 71, "audit": {"auditReportVersion": 2, "vulnerabilities": {"braces": {"name": "braces", "severity": "high", "isDirect": false, "via": [{"source": 1097496, "name": "braces", "dependency": "braces", "title": "Uncontrolled resource consumption in braces", "url": "https://github.com/advisories/GHSA-grv7-fg5c-xmjg", "severity": "high", "cwe": ["CWE-1050"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<3.0.3"}], "effects": [], "range": "<3.0.3", "nodes": [""], "fixAvailable": true}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 0, "high": 1, "critical": 0, "total": 1}, "dependencies": {"prod": 1, "dev": 399, "optional": 0, "peer": 0, "peerOptional": 0, "total": 399}}}}
$ /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.23.6',
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@39.2.2',
npm WARN EBADENGINE   required: { node: '^14 || ^16 || ^17' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---

added 399 packages, and audited 400 packages in 4s

71 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

--- end ---
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json

--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stderr ---
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@es-joy/jsdoccomment@0.23.6',
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@39.2.2',
npm WARN EBADENGINE   required: { node: '^14 || ^16 || ^17' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---

added 399 packages, and audited 400 packages in 4s

71 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

--- end ---
$ /usr/bin/npm test
--- stdout ---

> test
> grunt test

Running "eslint:all" (eslint) task

/src/repo/i18n/api/he.json
  42:82   warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"תגי הודעה, כמו optional‏, ignored ו־fuzzy."'                                              security/detect-bidi-characters
  43:90   warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"מאפייני הודעה, כמו status‏, revision‏, last-translator. יכול להיות שונה בהודעות שונות."'  security/detect-bidi-characters
  43:101  warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"מאפייני הודעה, כמו status‏, revision‏, last-translator. יכול להיות שונה בהודעות שונות."'  security/detect-bidi-characters

/src/repo/i18n/core/fa.json
  343:115  warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"این گروه پیام‌ وضعیت گردش‌کار ترجمه را نشان می‌دهد.\nوضعیت‌ها در متغیر پیکربندی ‎$wgTranslateWorkflowStates تعریف شده‌اند."'  security/detect-bidi-characters
  430:39   warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"شما می‎توانید به بازبینی ترجمه‎های موجود کمک کنید"'                                                                           security/detect-bidi-characters
  430:63   warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"شما می‎توانید به بازبینی ترجمه‎های موجود کمک کنید"'                                                                           security/detect-bidi-characters

/src/repo/i18n/core/he.json
  341:128  warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"קבוצת ההודעות הזאת מציגה את המצבים האפשריים של זרימת העבודה של תרגום.\nהמצבים מוגדרים במשתנה ‎$wgTranslateWorkflowStates."'  security/detect-bidi-characters
  367:38   warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"‫התרגום שלך ל{{GRAMMAR:תחילית|$1}}‬"'                                                                                        security/detect-bidi-characters
  367:72   warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"‫התרגום שלך ל{{GRAMMAR:תחילית|$1}}‬"'                                                                                        security/detect-bidi-characters
  451:64   warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"שגיאת בעת פענוח JSON‏: $1"'                                                                                                  security/detect-bidi-characters

/src/repo/i18n/core/pnb.json
  27:31  warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"\"$1‏‎\" سودھو"'  security/detect-bidi-characters
  27:32  warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"\"$1‏‎\" سودھو"'  security/detect-bidi-characters

/src/repo/i18n/core/yi.json
  103:40   warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"יאָרן‎"'                                                                                                                                            security/detect-bidi-characters
  228:151  warning  Detected potential trojan source attack with unicode bidi introduced in this code: '"די גרופע הודעות ווייזט די איבערזעצונג ארבעטשטראם סטאטוסן. \nדי סטאטוסן ווערן דעפינירט אין דעם קאנפיגוראציע וואריאנט ‎$wgTranslateWorkflowStates."'  security/detect-bidi-characters

/src/repo/resources/js/ext.translate.editor.js
  631:6  warning  Selector extensions are not allowed  no-jquery/no-sizzle

/src/repo/resources/js/ext.translate.editor.shortcuts.js
  34:4  warning  Selector extensions are not allowed  no-jquery/no-sizzle

/src/repo/resources/js/ext.translate.groupselector.js
  399:19  warning  Found non-literal argument to RegExp Constructor  security/detect-non-literal-regexp

/src/repo/resources/js/ext.translate.messagetable.js
  276:25  warning  Selector extensions are not allowed               no-jquery/no-sizzle
  324:15  warning  Found non-literal argument to RegExp Constructor  security/detect-non-literal-regexp
  377:9   warning  Selector extensions are not allowed               no-jquery/no-sizzle
  391:16  warning  Positional selector extensions are not allowed    no-jquery/no-sizzle
  512:7   warning  Positional selector extensions are not allowed    no-jquery/no-sizzle

/src/repo/resources/js/ext.translate.parsers.js
  37:25  warning  Unsafe Regular Expression                         security/detect-unsafe-regex
  44:25  warning  Unsafe Regular Expression                         security/detect-unsafe-regex
  61:20  warning  Found non-literal argument to RegExp Constructor  security/detect-non-literal-regexp

/src/repo/resources/js/ext.translate.special.pagemigration.js
  267:23  warning  Unsafe Regular Expression  security/detect-unsafe-regex

/src/repo/resources/js/ext.translate.special.pagepreparation.js
   76:23  warning  Found non-literal argument to RegExp Constructor                  security/detect-non-literal-regexp
  124:27  warning  Found non-literal argument to RegExp Constructor                  security/detect-non-literal-regexp
  134:26  warning  Found non-literal argument to RegExp Constructor                  security/detect-non-literal-regexp
  140:28  warning  Found non-literal argument to RegExp Constructor                  security/detect-non-literal-regexp
  157:24  warning  Found non-literal argument to RegExp Constructor                  security/detect-non-literal-regexp
  167:27  warning  Unsafe Regular Expression (new RegExp)                            security/detect-unsafe-regex
  167:39  warning  Unsafe Regular Expression                                         security/detect-unsafe-regex
  174:25  warning  Found non-literal argument to RegExp Constructor                  security/detect-non-literal-regexp
  193:27  warning  Found non-literal argument to RegExp Constructor                  security/detect-non-literal-regexp
  198:19  warning  Found non-literal argument to RegExp Constructor                  security/detect-non-literal-regexp
  290:0   warning  There must be a newline after the description of the JSDoc block  jsdoc/newline-after-description
  305:0   warning  There must be a newline after the description of the JSDoc block  jsdoc/newline-after-description

/src/repo/resources/js/ext.translate.special.searchtranslations.js
  309:16  warning  Found non-literal argument to RegExp Constructor  security/detect-non-literal-regexp

/src/repo/resources/src/ext.translate.special.exporttranslations/index.js
  22:23  warning  Selector extensions are not allowed  no-jquery/no-sizzle
  37:27  warning  Selector extensions are not allowed  no-jquery/no-sizzle

/src/repo/resources/src/ext.translate.special.languagestats/index.js
   20:3   warning  Positional selector extensions are not allowed                                no-jquery/no-sizzle
   21:3   warning  Positional selector extensions are not allowed                                no-jquery/no-sizzle
  214:23  warning  Selector extensions are not allowed                                           no-jquery/no-sizzle
  242:27  warning  Selector extensions are not allowed                                           no-jquery/no-sizzle
  300:3   warning  ResizeObserver.observe() is not supported in Safari 11, iOS Safari 11.0-11.2  compat/compat
  300:3   warning  ResizeObserver is not supported in Safari 11                                  compat/compat

✖ 47 problems (0 errors, 47 warnings)
  0 errors and 2 warnings potentially fixable with the `--fix` option.


Running "banana:PageTranslation" (banana) task
>> 1 message directory checked.

Running "banana:Translate" (banana) task
>> 1 message directory checked.

Running "banana:TranslateApi" (banana) task
>> 1 message directory checked.

Running "banana:TranslateSandbox" (banana) task
>> 1 message directory checked.

Running "banana:TranslateSearch" (banana) task
>> 1 message directory checked.

Running "stylelint:all" (stylelint) task
>> Linted 33 files without errors

Done.

--- end ---
{"1097496": {"source": 1097496, "name": "braces", "dependency": "braces", "title": "Uncontrolled resource consumption in braces", "url": "https://github.com/advisories/GHSA-grv7-fg5c-xmjg", "severity": "high", "cwe": ["CWE-1050"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<3.0.3"}}
Upgrading n:braces from 3.0.2 -> 3.0.3
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json

--- end ---
build: Updating braces to 3.0.3

* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

$ git add .
--- stdout ---

--- end ---
$ git commit -F /tmp/tmpktq84cnl
--- stdout ---
[REL1_41 8f770da] build: Updating braces to 3.0.3
 1 file changed, 26 insertions(+), 20 deletions(-)

--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 8f770da5e70843cf3542dd524dcab0e7f3e3b1a0 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Fri, 14 Jun 2024 01:39:37 +0000
Subject: [PATCH] build: Updating braces to 3.0.3

* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I1392242aa96483809e2ce6c9591497968cd17d5a
---
 package-lock.json | 46 ++++++++++++++++++++++++++--------------------
 1 file changed, 26 insertions(+), 20 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 0aee2ca..36b5ace 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -503,12 +503,12 @@
 			}
 		},
 		"node_modules/braces": {
-			"version": "3.0.2",
-			"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
-			"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+			"version": "3.0.3",
+			"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+			"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
 			"dev": true,
 			"dependencies": {
-				"fill-range": "^7.0.1"
+				"fill-range": "^7.1.1"
 			},
 			"engines": {
 				"node": ">=8"
@@ -1766,9 +1766,9 @@
 			}
 		},
 		"node_modules/fill-range": {
-			"version": "7.0.1",
-			"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
-			"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+			"version": "7.1.1",
+			"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+			"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
 			"dev": true,
 			"dependencies": {
 				"to-regex-range": "^5.0.1"
@@ -4733,7 +4733,8 @@
 			"version": "2.1.1",
 			"resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.1.1.tgz",
 			"integrity": "sha512-jwx+WCqszn53YHOfvFMJJRd/B2GqkCBt+1MJSG6o5/s8+ytHMvDZXsJgUEWLk12UnLd7HYKac4BYU5i/Ron1Cw==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"@es-joy/jsdoccomment": {
 			"version": "0.23.6",
@@ -4902,7 +4903,8 @@
 			"version": "5.3.2",
 			"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
 			"integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"ajv": {
 			"version": "6.12.6",
@@ -5011,12 +5013,12 @@
 			}
 		},
 		"braces": {
-			"version": "3.0.2",
-			"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
-			"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+			"version": "3.0.3",
+			"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+			"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
 			"dev": true,
 			"requires": {
-				"fill-range": "^7.0.1"
+				"fill-range": "^7.1.1"
 			}
 		},
 		"browserslist": {
@@ -5634,7 +5636,8 @@
 			"version": "2.7.0",
 			"resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-2.7.0.tgz",
 			"integrity": "sha512-Aeg7dA6GTH1AcWLlBtWNzOU9efK5KpNi7b0EhBO0o0M+awyzguUUo8gF6hXGjQ9n5h8/uRtYv9zOqQkeC5CG0w==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"eslint-plugin-node": {
 			"version": "11.1.0",
@@ -5930,9 +5933,9 @@
 			}
 		},
 		"fill-range": {
-			"version": "7.0.1",
-			"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
-			"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+			"version": "7.1.1",
+			"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+			"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
 			"dev": true,
 			"requires": {
 				"to-regex-range": "^5.0.1"
@@ -7147,7 +7150,8 @@
 			"version": "6.0.0",
 			"resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-6.0.0.tgz",
 			"integrity": "sha512-FPX16mQLyEjLzEuuJtxA8X3ejDLNGGEG503d2YGZR5Ask1SpDN8KmZUMpzCvyalWRywAn1n1VOA5dcqfCLo5rg==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"postcss-media-query-parser": {
 			"version": "0.2.3",
@@ -7165,7 +7169,8 @@
 			"version": "6.0.0",
 			"resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz",
 			"integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"postcss-selector-parser": {
 			"version": "6.0.11",
@@ -7704,7 +7709,8 @@
 			"version": "9.0.0",
 			"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-9.0.0.tgz",
 			"integrity": "sha512-9YQSrJq4NvvRuTbzDsWX3rrFOzOlYBmZP+o513BJN/yfEmGSr0AxdvrWs0P/ilSpVV/wisamAHu5XSk8Rcf4CQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"stylelint-config-wikimedia": {
 			"version": "0.15.0",
-- 
2.39.2


--- end ---
Source code is licensed under the AGPL.