mediawiki/extensions/ContentStabilization: REL1_39 (log #1376431)

sourcepatches

This run took 24 seconds.

From 97d8b1ca868da96c2664a51855962ac73f657d4f Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 13 Jun 2024 04:51:50 +0000
Subject: [PATCH] build: Updating braces to 3.0.3

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

Change-Id: I90e2143551bb484c55e0bd4939c84d818d215b4b
---
 package-lock.json | 37 ++++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index d080c5c..49998e8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -428,12 +428,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"
@@ -941,9 +941,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"
@@ -3503,7 +3503,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",
@@ -3599,12 +3600,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"
 			}
 		},
 		"callsites": {
@@ -3812,13 +3813,15 @@
 			"version": "0.1.0",
 			"resolved": "https://registry.npmjs.org/eslint-plugin-mediawiki/-/eslint-plugin-mediawiki-0.1.0.tgz",
 			"integrity": "sha512-OiRH4axfR+TOFbw/7fKHakgleo0z9nXAiLzN7Bo1iqQNK9QTTK0v1MqQUfJXy4SfDQih7g1yHUDl80Ea1oinmQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"eslint-plugin-no-jquery": {
 			"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-qunit": {
 			"version": "4.3.0",
@@ -3998,9 +4001,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"
-- 
2.39.2

$ date
--- stdout ---
Thu Jun 13 04:51:34 UTC 2024

--- end ---
$ git clone file:///srv/git/mediawiki-extensions-ContentStabilization.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 ---
f4d30a8fa88c77824f7bc619cd114a13f28f4133 refs/heads/REL1_39

--- 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": 293,
      "optional": 0,
      "peer": 0,
      "peerOptional": 0,
      "total": 293
    }
  }
}

--- 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: 22 installs, 0 updates, 0 removals
  - Locking composer/installers (v2.2.0)
  - Locking composer/semver (3.3.2)
  - Locking composer/spdx-licenses (1.5.8)
  - Locking mediawiki/mediawiki-codesniffer (v41.0.0)
  - Locking mediawiki/minus-x (1.1.1)
  - Locking mwstake/mediawiki-component-events (3.0.1)
  - Locking mwstake/mediawiki-componentloader (1.0.0)
  - 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 psr/container (2.0.2)
  - 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)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 22 installs, 0 updates, 0 removals
    0 [>---------------------------]    0 [->--------------------------]
  - Installing composer/installers (v2.2.0): Extracting archive
  - Installing symfony/polyfill-php80 (v1.29.0): Extracting archive
  - Installing squizlabs/php_codesniffer (3.7.2): 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 (v41.0.0): 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 mediawiki/minus-x (1.1.1): Extracting archive
  - Installing mwstake/mediawiki-componentloader (1.0.0): Extracting archive
  - Installing mwstake/mediawiki-component-events (3.0.1): 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
  0/21 [>---------------------------]   0%
 20/21 [==========================>-]  95%
 21/21 [============================] 100%
4 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
14 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---

--- 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": 293,
      "optional": 0,
      "peer": 0,
      "peerOptional": 0,
      "total": 293
    }
  }
}

--- 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
--- stdout ---
{
  "added": 293,
  "removed": 0,
  "changed": 0,
  "audited": 294,
  "funding": 36,
  "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": 293,
        "optional": 0,
        "peer": 0,
        "peerOptional": 0,
        "total": 293
      }
    }
  }
}

--- end ---
{"added": 293, "removed": 0, "changed": 0, "audited": 294, "funding": 36, "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": 293, "optional": 0, "peer": 0, "peerOptional": 0, "total": 293}}}}
$ /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
--- stdout ---

added 293 packages, and audited 294 packages in 3s

36 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
--- stdout ---

added 293 packages, and audited 294 packages in 3s

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

found 0 vulnerabilities

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

> test
> grunt test

Running "eslint:target" (eslint) task

/src/repo/Gruntfile.js
   1:1   warning  'module' is not defined                                                                       no-undef
   5:2   warning  All 'var' declarations must be at the top of the function scope                               vars-on-top
  18:11  warning  'Object.assign' is restricted from being used. Unsupported method Object.assign requires ES6  no-restricted-properties

/src/repo/resources/ext.contentStabilization.alert.js
   4:16  warning  Avoid queries which search the entire DOM. Keep DOM nodes in memory where possible  no-jquery/no-global-selector
   9:3   warning  Combine this with the previous 'var' statement                                      one-var
   9:3   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
   9:13  warning  'OO' is not defined                                                                 no-undef
  11:2   warning  Mixed spaces and tabs                                                               no-mixed-spaces-and-tabs
  11:18  warning  'OO' is not defined                                                                 no-undef
  16:16  warning  'getPopupContent' was used before it was defined                                    no-use-before-define
  21:3   warning  Avoid queries which search the entire DOM. Keep DOM nodes in memory where possible  no-jquery/no-global-selector
  26:20  warning  'OO' is not defined                                                                 no-undef
  32:8   warning  'OO' is not defined                                                                 no-undef
  38:3   warning  Combine this with the previous 'var' statement                                      one-var
  38:3   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  39:9   warning  Combine this with the previous 'var' statement                                      one-var
  39:9   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  40:15  warning  Do not access Object.prototype method 'hasOwnProperty' from target object           no-prototype-builtins
  43:40  warning  'OO' is not defined                                                                 no-undef

/src/repo/resources/ext.contentStabilization.bootstrap.js
   7:10  warning  Unexpected dangling '_' in '_api'                                                   no-underscore-dangle
  13:10  warning  Unexpected dangling '_' in '_api'                                                   no-underscore-dangle
  19:10  warning  Unexpected dangling '_' in '_api'                                                   no-underscore-dangle
  23:11  warning  Unexpected dangling '_' in '_ajax'                                                  no-underscore-dangle
  23:11  warning  Unexpected dangling '_' in '_api'                                                   no-underscore-dangle
  26:11  warning  Unexpected dangling '_' in '_ajax'                                                  no-underscore-dangle
  26:11  warning  Unexpected dangling '_' in '_api'                                                   no-underscore-dangle
  29:11  warning  Unexpected dangling '_' in '_ajax'                                                  no-underscore-dangle
  29:11  warning  Unexpected dangling '_' in '_api'                                                   no-underscore-dangle
  34:4   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  40:4   warning  Unexpected dangling '_' in '_requests'                                              no-underscore-dangle
  40:4   warning  Unexpected dangling '_' in '_api'                                                   no-underscore-dangle
  47:11  warning  Unexpected dangling '_' in '_requests'                                              no-underscore-dangle
  47:11  warning  Unexpected dangling '_' in '_api'                                                   no-underscore-dangle
  47:51  warning  Do not access Object.prototype method 'hasOwnProperty' from target object           no-prototype-builtins
  48:7   warning  Unexpected dangling '_' in '_requests'                                              no-underscore-dangle
  48:7   warning  Unexpected dangling '_' in '_api'                                                   no-underscore-dangle
  52:14  warning  Unexpected dangling '_' in '_requests'                                              no-underscore-dangle
  52:14  warning  Unexpected dangling '_' in '_api'                                                   no-underscore-dangle
  55:14  warning  Unexpected dangling '_' in '_requests'                                              no-underscore-dangle
  74:92  warning  Missing space before function parentheses                                           space-before-function-paren
  77:4   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  80:19  warning  'OO' is not defined                                                                 no-undef
  81:4   warning  Avoid queries which search the entire DOM. Keep DOM nodes in memory where possible  no-jquery/no-global-selector

/src/repo/resources/ext.contentStabilization.enhancedHistory.js
   4:19  warning  Strings must use singlequote                          quotes
   6:19  warning  Identifier 'sp_state' is not in camel case            camelcase
  13:19  warning  Identifier 'sp_approver' is not in camel case         camelcase
  21:19  warning  Identifier 'sp_approve_ts' is not in camel case       camelcase
  28:19  warning  Identifier 'sp_approve_comment' is not in camel case  camelcase

/src/repo/resources/ext.contentStabilization.special.js
    2:13  warning  Avoid queries which search the entire DOM. Keep DOM nodes in memory where possible  no-jquery/no-global-selector
    6:2   warning  Combine this with the previous 'var' statement                                      one-var
    6:2   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
    6:18  warning  'OOJSPlus' is not defined                                                           no-undef
   11:4   warning  Identifier 'page_display_text' is not in camel case                                 camelcase
   35:4   warning  Identifier 'has_changed_inclusions' is not in camel case                            camelcase
   38:36  warning  'row' is defined but never used                                                     no-unused-vars
   42:4   warning  Identifier 'last_approver' is not in camel case                                     camelcase
   49:4   warning  Identifier 'last_stable_ts' is not in camel case                                    camelcase
   55:4   warning  Identifier 'last_comment' is not in camel case                                      camelcase
   60:14  warning  'OOJSPlus' is not defined                                                           no-undef
   63:5   warning  Identifier 'page_title' is not in camel case                                        camelcase
   68:30  warning  Missing space before function parentheses                                           space-before-function-paren
   70:17  warning  'OOJSPlus' is not defined                                                           no-undef
   71:1   warning  Expected indentation of 5 tabs but found 4                                          indent
   72:1   warning  Expected indentation of 5 tabs but found 4                                          indent
   73:1   warning  Expected indentation of 5 tabs but found 4                                          indent
   74:1   warning  Expected indentation of 6 tabs but found 5                                          indent
   74:6   warning  Identifier 'page_title' is not in camel case                                        camelcase
   75:1   warning  Expected indentation of 7 tabs but found 6                                          indent
   76:1   warning  Expected indentation of 6 tabs but found 5                                          indent
   77:1   warning  Expected indentation of 5 tabs but found 4                                          indent
   78:1   warning  Expected indentation of 4 tabs but found 3                                          indent
   79:31  warning  Missing space before function parentheses                                           space-before-function-paren
  114:5   warning  Combine this with the previous 'var' statement                                      one-var
  114:5   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  115:11  warning  Combine this with the previous 'var' statement                                      one-var
  115:11  warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  116:21  warning  Do not access Object.prototype method 'hasOwnProperty' from target object           no-prototype-builtins
  119:6   warning  Combine this with the previous 'var' statement                                      one-var
  119:6   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  119:17  warning  Operator '=' must be spaced                                                         space-infix-ops
  119:26  warning  A space is required after '['                                                       computed-property-spacing
  119:29  warning  A space is required before ']'                                                      computed-property-spacing
  131:38  warning  Multiple spaces found before ')'                                                    no-multi-spaces
  134:31  warning  A space is required after '['                                                       computed-property-spacing
  134:53  warning  A space is required before ']'                                                      computed-property-spacing
  152:22  warning  Missing space before function parentheses                                           space-before-function-paren

/src/repo/resources/pageassignments.addStabilizationColumn.js
   1:93  warning  'actions' is defined but never used                              no-unused-vars
  13:31  warning  'metaData' is defined but never used                             no-unused-vars
  13:41  warning  'record' is defined but never used                               no-unused-vars
  13:49  warning  'rowIndex' is defined but never used                             no-unused-vars
  13:59  warning  'colIndex' is defined but never used                             no-unused-vars
  13:69  warning  'store' is defined but never used                                no-unused-vars
  13:76  warning  'view' is defined but never used                                 no-unused-vars
  18:4   warning  All 'var' declarations must be at the top of the function scope  vars-on-top

/src/repo/resources/ui/ApproveDialog.js
   6:1   warning  'OO' is not defined                                                           no-undef
   6:61  warning  'OO' is not defined                                                           no-undef
  17:2   warning  All 'var' declarations must be at the top of the function scope               vars-on-top
  17:18  warning  'OO' is not defined                                                           no-undef
  20:21  warning  'OO' is not defined                                                           no-undef
  23:7   warning  'OO' is not defined                                                           no-undef
  24:7   warning  'OO' is not defined                                                           no-undef
  30:14  warning  'OO' is not defined                                                           no-undef
  37:1   warning  Expected indentation of 4 tabs but found 3                                    indent
  38:1   warning  Expected indentation of 5 tabs but found 4                                    indent
  39:1   warning  Expected indentation of 4 tabs but found 3                                    indent
  40:1   warning  Expected indentation of 4 tabs but found 3                                    indent
  41:1   warning  Expected indentation of 5 tabs but found 4                                    indent
  42:1   warning  Expected indentation of 5 tabs but found 4                                    indent
  42:21  warning  'OO' is not defined                                                           no-undef
  43:1   warning  Expected indentation of 6 tabs but found 5                                    indent
  44:1   warning  Expected indentation of 5 tabs but found 4                                    indent
  45:1   warning  Expected indentation of 4 tabs but found 3                                    indent
  50:14  warning  'OO' is not defined                                                           no-undef
  64:8   warning  Where possible, maintain application state in JS to avoid slower DOM queries  no-jquery/no-class-state

/src/repo/resources/ui/workflows/inspector/ApprovePageInspector.js
   2:1    warning  This line has a length of 111. Maximum allowed is 100  max-len
   4:80   warning  Missing space before function parentheses              space-before-function-paren
   5:1    warning  This line has a length of 110. Maximum allowed is 100  max-len
   8:1    warning  This line has a length of 134. Maximum allowed is 100  max-len
   8:1    warning  'OO' is not defined                                    no-undef
   8:88   warning  'workflows' is not defined                             no-undef
  10:1    warning  This line has a length of 108. Maximum allowed is 100  max-len
  10:105  warning  Missing space before function parentheses              space-before-function-paren
  14:1    warning  This line has a length of 102. Maximum allowed is 100  max-len
  14:99   warning  Missing space before function parentheses              space-before-function-paren
  15:8    warning  Multiple spaces found before '['                       no-multi-spaces
  40:1    warning  'workflows' is not defined                             no-undef

/src/repo/resources/ui/workflows/registerCustomElements.js
  1:1  warning  'workflows' is not defined  no-undef

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


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

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/tmpb4dq_5rs
--- stdout ---
[REL1_39 97d8b1c] build: Updating braces to 3.0.3
 1 file changed, 20 insertions(+), 17 deletions(-)

--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 97d8b1ca868da96c2664a51855962ac73f657d4f Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 13 Jun 2024 04:51:50 +0000
Subject: [PATCH] build: Updating braces to 3.0.3

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

Change-Id: I90e2143551bb484c55e0bd4939c84d818d215b4b
---
 package-lock.json | 37 ++++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index d080c5c..49998e8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -428,12 +428,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"
@@ -941,9 +941,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"
@@ -3503,7 +3503,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",
@@ -3599,12 +3600,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"
 			}
 		},
 		"callsites": {
@@ -3812,13 +3813,15 @@
 			"version": "0.1.0",
 			"resolved": "https://registry.npmjs.org/eslint-plugin-mediawiki/-/eslint-plugin-mediawiki-0.1.0.tgz",
 			"integrity": "sha512-OiRH4axfR+TOFbw/7fKHakgleo0z9nXAiLzN7Bo1iqQNK9QTTK0v1MqQUfJXy4SfDQih7g1yHUDl80Ea1oinmQ==",
-			"dev": true
+			"dev": true,
+			"requires": {}
 		},
 		"eslint-plugin-no-jquery": {
 			"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-qunit": {
 			"version": "4.3.0",
@@ -3998,9 +4001,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"
-- 
2.39.2


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