From be7443f0f63c89e758af4c35c7501ccde5b7ee68 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 13 Jun 2024 04:56:09 +0000
Subject: [PATCH] build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg
Change-Id: I80b6e39d84498c575ce7f754f7e76f25542b0e16
---
package-lock.json | 43 ++++++++++++++++++++++++-------------------
1 file changed, 24 insertions(+), 19 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 52c31b5..446831d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -380,12 +380,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"
@@ -1713,9 +1713,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"
@@ -4252,7 +4252,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",
@@ -4337,12 +4338,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": {
@@ -5036,7 +5037,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",
@@ -5334,9 +5336,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"
@@ -6141,7 +6143,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",
@@ -6159,7 +6162,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.10",
@@ -6744,7 +6748,8 @@
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-7.0.0.tgz",
"integrity": "sha512-yGn84Bf/q41J4luis1AZ95gj0EQwRX8lWmGmBwkwBNSkpGSpl66XcPTulxGa/Z91aPoNGuIGBmFkcM1MejMo9Q==",
- "dev": true
+ "dev": true,
+ "requires": {}
},
"stylelint-config-wikimedia": {
"version": "0.13.0",
--
2.39.2
$ date
--- stdout ---
Thu Jun 13 04:54:42 UTC 2024
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-ContentTranslation.git repo --depth=1 -b REL1_40
--- 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_40
--- stdout ---
15c18c2fdda1ba1c70eabd9178fd71aa8dda1e21 refs/heads/REL1_40
--- 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": 358,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 358
}
}
}
--- 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: 38 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 doctrine/deprecations (1.1.3)
- Locking felixfbecker/advanced-json-rpc (v3.2.1)
- Locking firebase/php-jwt (v5.5.1)
- Locking mediawiki/mediawiki-codesniffer (v41.0.0)
- Locking mediawiki/mediawiki-phan-config (0.12.0)
- Locking mediawiki/minus-x (1.1.1)
- Locking mediawiki/phan-taint-check-plugin (4.0.0)
- Locking microsoft/tolerant-php-parser (v0.1.1)
- Locking netresearch/jsonmapper (v4.4.1)
- Locking phan/phan (5.4.1)
- 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 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: 38 installs, 0 updates, 0 removals
0 [>---------------------------] 0 [->--------------------------]
- Installing composer/installers (v2.2.0): Extracting archive
- Installing composer/pcre (3.1.4): Extracting archive
- Installing firebase/php-jwt (v5.5.1): 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 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.1): 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.1): Extracting archive
- Installing mediawiki/phan-taint-check-plugin (4.0.0): Extracting archive
- Installing mediawiki/mediawiki-phan-config (0.12.0): Extracting archive
- Installing mediawiki/minus-x (1.1.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/37 [>---------------------------] 0%
18/37 [=============>--------------] 48%
36/37 [===========================>] 97%
37/37 [============================] 100%
4 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
16 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": 358,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 358
}
}
}
--- 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": 358,
"removed": 0,
"changed": 0,
"audited": 359,
"funding": 57,
"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": 358,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 358
}
}
}
}
--- end ---
{"added": 358, "removed": 0, "changed": 0, "audited": 359, "funding": 57, "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": 358, "optional": 0, "peer": 0, "peerOptional": 0, "total": 358}}}}
$ /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 }
--- stdout ---
added 358 packages, and audited 359 packages in 3s
57 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.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 358 packages, and audited 359 packages in 4s
57 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
--- end ---
$ /usr/bin/npm test
--- stderr ---
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated iltorb@2.4.5: The zlib module provides APIs for brotli compression/decompression starting with Node.js v10.16.0, please use it over iltorb
PASS src/utils/publishHelper.test.js
PASS src/store/modules/suggestions/suggestions.test.js
PASS src/store/modules/translator/tests/actions/publishTranslation.test.js
PASS src/store/modules/translator/tests/actions/saveTranslation.test.js
PASS src/components/SXTranslationConfirmer/useActionPanel.test.js
PASS src/components/SXSentenceSelector/tests/SubSection.test.js
PASS src/utils/getInitialLanguagePair.test.js
PASS src/wiki/cx/models/subSection.test.js
PASS src/components/SXPublisher/SXPublisherReviewInfo.test.js
PASS src/store/modules/translator/tests/actions/validateMT.test.js
PASS src/components/SXSentenceSelector/tests/ProposedTranslationCard.test.js
PASS src/utils/segmentedContentConverter.test.js
PASS src/store/modules/application/tests/actions/getCXServerToken.test.js
PASS src/components/SXSentenceSelector/tests/ProposedTranslationActionButtons.test.js
PASS src/lib/mediawiki.ui/components/MWButton/MWButton.test.js
PASS src/components/SXArticleSearch/SearchResultsCard.test.js
PASS src/components/SXPublisher/useEditTranslation.test.js
PASS src/components/SXArticleSearch/SXArticleSearch.test.js
PASS src/store/modules/mediawiki/actions.test.js
PASS src/components/SXSectionSelector/SXSectionSelectorSectionList.test.js
PASS src/components/SXArticleSearch/ArticleSuggestionsCard.test.js
PASS src/components/SXSentenceSelector/tests/ProposedTranslationHeader.test.js
PASS src/lib/mediawiki.ui/components/MWSelect/MWSelect.test.js
PASS src/utils/mtHelper.test.js
PASS src/utils/debounce.test.js
PASS src/components/SXSectionSelector/SXSectionSelectorSectionListPresent.test.js
PASS src/components/SXArticleSearch/useSuggestedSourceLanguages.test.js
PASS src/lib/mediawiki.ui/components/MWInput/MWInput.test.js
PASS src/components/SXContentComparator/SXContentComparatorHeaderNavigation.test.js
PASS src/components/SXTranslationConfirmer/SXTranslationConfirmerActionPanel.test.js
PASS src/components/SXArticleSearch/SXSearchArticleSuggestion.test.js
PASS src/plugins/eventlogging/index.test.js
PASS src/utils/mtValidator.test.js
PASS src/lib/mediawiki.ui/components/MWExpandableContent/MWExpandableContent.test.js
PASS src/components/SXSentenceSelector/tests/SXSentenceSelector.test.js
PASS src/components/SXSentenceSelector/tests/SXSentenceSelectorContentHeader.test.js
PASS src/lib/mediawiki.ui/components/MWButtonGroup/MWButtonGroup.test.js
PASS src/components/SXTranslationConfirmer/SXTranslationConfirmerArticleInformation.test.js
PASS src/lib/mediawiki.ui/components/MWIcon/MWIcon.test.js
PASS src/lib/mediawiki.ui/components/MWRadioGroup/MWRadioGroup.test.js
PASS src/lib/mediawiki.ui/components/MWMessage/MWMessage.test.js
PASS src/lib/mediawiki.ui/components/MWCircularProgressBar/MWCircleProgressBar.test.js
PASS src/components/SXSectionSelector/SXSectionSelectorViewArticleItem.test.js
PASS src/lib/mediawiki.ui/components/MWThumbnail/MWThumbnail.test.js
PASS src/lib/mediawiki.ui/components/MWRadioGroup/MWRadio.test.js
PASS src/lib/mediawiki.ui/components/MWCard/MWcard.test.js
PASS src/lib/mediawiki.ui/components/MWBottomNavigation/MWBottomNavigation.test.js
PASS src/components/SXSentenceSelector/tests/RetryMtCard.test.js
PASS src/wiki/cx/models/sectionSuggestion.test.js
PASS src/utils/mediawikiHelper.test.js
PASS src/lib/mediawiki.ui/components/MWDialog/MWDialog.test.js
Test Suites: 51 passed, 51 total
Tests: 135 passed, 135 total
Snapshots: 36 passed, 36 total
Time: 9.764 s
Ran all test suites.
--- stdout ---
> test
> npm run test:cx2 && npm run test:cx3
> test:cx2
> npm -s run lint
Checked 1 message directory.
/src/repo/modules/base/mw.cx.SiteMapper.js
143:12 warning URL is not supported in IE 11 compat/compat
/src/repo/modules/dashboard/mw.cx.DashboardList.js
127:7 warning 'language' is already declared in the upper scope on line 122 column 13 no-shadow
/src/repo/modules/dashboard/mw.cx.SuggestionList.js
141:10 warning 'list' is already declared in the upper scope on line 120 column 57 no-shadow
/src/repo/modules/entrypoints/ext.cx.entrypoints.mffrequentlanguages.js
148:0 warning The type 'LanguageSearcher' is undefined jsdoc/no-undefined-types
/src/repo/modules/entrypoints/ext.cx.entrypoints.newbytranslation.js
177:35 warning navigator.languages() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
/src/repo/modules/entrypoints/ext.cx.entrypoints.newbytranslation.mobile.js
10:35 warning navigator.languages() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
38:10 warning fetch is not supported in Safari 9.1, IE 11 compat/compat
/src/repo/modules/entrypoints/ext.cx.entrypoints.recentedit/RecentEditEntrypointInvitation.vue
8:7 warning Don't use 'v-text' vue/no-v-text
32:6 warning Don't use 'v-text' vue/no-v-text
61:7 warning Don't use 'v-text' vue/no-v-text
66:6 warning Don't use 'v-text' vue/no-v-text
/src/repo/modules/entrypoints/ext.cx.entrypoints.recentedit/index.js
36:10 warning fetch is not supported in Safari 9.1, IE 11 compat/compat
/src/repo/modules/entrypoints/ext.cx.entrypoints.recenttranslation/RecentTranslationEntrypointDialog.vue
7:10 warning Don't use 'v-text' vue/no-v-text
16:6 warning Don't use 'v-text' vue/no-v-text
22:6 warning Don't use 'v-text' vue/no-v-text
33:7 warning Don't use 'v-text' vue/no-v-text
37:12 warning Don't use 'v-text' vue/no-v-text
38:11 warning Don't use 'v-text' vue/no-v-text
41:12 warning Don't use 'v-text' vue/no-v-text
42:11 warning Don't use 'v-text' vue/no-v-text
46:12 warning Don't use 'v-text' vue/no-v-text
47:11 warning Don't use 'v-text' vue/no-v-text
54:13 warning Don't use 'v-text' vue/no-v-text
61:8 warning Don't use 'v-text' vue/no-v-text
75:7 warning Don't use 'v-text' vue/no-v-text
80:13 warning Don't use 'v-text' vue/no-v-text
84:7 warning Don't use 'v-text' vue/no-v-text
176:4 warning fetch is not supported in Safari 9.1, IE 11 compat/compat
180:7 warning Promise.reject() is not supported in IE 11 compat/compat
180:7 warning ES2015 'Promise' class is forbidden es/no-promise
/src/repo/modules/entrypoints/ext.cx.entrypoints.uls.relevantlanguages/CxUlsEntrypoint.vue
30:6 warning Don't use 'v-text' vue/no-v-text
40:5 warning Don't use 'v-text' vue/no-v-text
68:7 warning Don't use 'v-text' vue/no-v-text
/src/repo/modules/publish/ext.cx.wikibase.link.js
30:11 warning ES2015 'Promise' class is forbidden es/no-promise
43:10 warning Promise.resolve() is not supported in IE 11 compat/compat
43:10 warning ES2015 'Promise' class is forbidden es/no-promise
/src/repo/modules/stats/ext.cx.stats.js
617:55 warning 'data' is already declared in the upper scope on line 612 column 7 no-shadow
629:55 warning 'data' is already declared in the upper scope on line 612 column 7 no-shadow
641:49 warning 'data' is already declared in the upper scope on line 612 column 7 no-shadow
662:58 warning 'data' is already declared in the upper scope on line 657 column 7 no-shadow
674:58 warning 'data' is already declared in the upper scope on line 657 column 7 no-shadow
686:52 warning 'data' is already declared in the upper scope on line 657 column 7 no-shadow
698:55 warning 'data' is already declared in the upper scope on line 657 column 7 no-shadow
718:55 warning 'data' is already declared in the upper scope on line 714 column 7 no-shadow
727:55 warning 'data' is already declared in the upper scope on line 714 column 7 no-shadow
736:49 warning 'data' is already declared in the upper scope on line 714 column 7 no-shadow
757:58 warning 'data' is already declared in the upper scope on line 752 column 12 no-shadow
766:58 warning 'data' is already declared in the upper scope on line 752 column 12 no-shadow
775:52 warning 'data' is already declared in the upper scope on line 752 column 12 no-shadow
784:55 warning 'data' is already declared in the upper scope on line 752 column 12 no-shadow
/src/repo/modules/ui/mw.cx.ui.ArticleColumn.js
17:0 warning Duplicate @param "config.sectionTitle" jsdoc/check-param-names
/src/repo/modules/ui/mw.cx.ui.SourceColumn.js
6:0 warning @param path declaration ("config.siteMapper") appears before any real parameter jsdoc/check-param-names
/src/repo/modules/ui/widgets/mw.cx.ui.PageSelectorWidget.js
219:31 warning 'pages' is already declared in the upper scope on line 184 column 71 no-shadow
✖ 53 problems (0 errors, 53 warnings)
> test:cx3
> cd app && npm run test
> cx3@0.2.0+20230206 test
> npm install && npm -s run test:bundle && npm run lint && npm run test:unit
added 898 packages, and audited 899 packages in 31s
71 packages are looking for funding
run `npm fund` for details
13 vulnerabilities (9 moderate, 3 high, 1 critical)
To address all issues, run:
npm audit fix
Run `npm audit` for details.
There are no staged changes to the dist folder in this change.
> cx3@0.2.0+20230206 lint
> eslint .
/src/repo/app/src/store/modules/suggestions/actions.js
60:11 warning Delete `··` prettier/prettier
61:1 warning Delete `··` prettier/prettier
/src/repo/app/src/wiki/mw/api/page.js
47:34 warning Replace `·...nMap,·[normalization.to]:·normalization.from` with `⏎········...nMap,⏎········[normalization.to]:·normalization.from,⏎·····` prettier/prettier
55:21 warning Replace `·normalizationMap[page.title]·||·redirectMap[page.title]·||·null` with `⏎········normalizationMap[page.title]·||·redirectMap[page.title]·||·null;` prettier/prettier
57:24 warning Insert `·` prettier/prettier
✖ 5 problems (0 errors, 5 warnings)
0 errors and 5 warnings potentially fixable with the `--fix` option.
> cx3@0.2.0+20230206 test:unit
> jest -c config/jest/jest.config.js
--- 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/tmpn9_wufj5
--- stderr ---
Checked 1 message directory.
/src/repo/modules/base/mw.cx.SiteMapper.js
143:12 warning URL is not supported in IE 11 compat/compat
/src/repo/modules/dashboard/mw.cx.DashboardList.js
127:7 warning 'language' is already declared in the upper scope on line 122 column 13 no-shadow
/src/repo/modules/dashboard/mw.cx.SuggestionList.js
141:10 warning 'list' is already declared in the upper scope on line 120 column 57 no-shadow
/src/repo/modules/entrypoints/ext.cx.entrypoints.mffrequentlanguages.js
148:0 warning The type 'LanguageSearcher' is undefined jsdoc/no-undefined-types
/src/repo/modules/entrypoints/ext.cx.entrypoints.newbytranslation.js
177:35 warning navigator.languages() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
/src/repo/modules/entrypoints/ext.cx.entrypoints.newbytranslation.mobile.js
10:35 warning navigator.languages() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11 compat/compat
38:10 warning fetch is not supported in Safari 9.1, IE 11 compat/compat
/src/repo/modules/entrypoints/ext.cx.entrypoints.recentedit/RecentEditEntrypointInvitation.vue
8:7 warning Don't use 'v-text' vue/no-v-text
32:6 warning Don't use 'v-text' vue/no-v-text
61:7 warning Don't use 'v-text' vue/no-v-text
66:6 warning Don't use 'v-text' vue/no-v-text
/src/repo/modules/entrypoints/ext.cx.entrypoints.recentedit/index.js
36:10 warning fetch is not supported in Safari 9.1, IE 11 compat/compat
/src/repo/modules/entrypoints/ext.cx.entrypoints.recenttranslation/RecentTranslationEntrypointDialog.vue
7:10 warning Don't use 'v-text' vue/no-v-text
16:6 warning Don't use 'v-text' vue/no-v-text
22:6 warning Don't use 'v-text' vue/no-v-text
33:7 warning Don't use 'v-text' vue/no-v-text
37:12 warning Don't use 'v-text' vue/no-v-text
38:11 warning Don't use 'v-text' vue/no-v-text
41:12 warning Don't use 'v-text' vue/no-v-text
42:11 warning Don't use 'v-text' vue/no-v-text
46:12 warning Don't use 'v-text' vue/no-v-text
47:11 warning Don't use 'v-text' vue/no-v-text
54:13 warning Don't use 'v-text' vue/no-v-text
61:8 warning Don't use 'v-text' vue/no-v-text
75:7 warning Don't use 'v-text' vue/no-v-text
80:13 warning Don't use 'v-text' vue/no-v-text
84:7 warning Don't use 'v-text' vue/no-v-text
176:4 warning fetch is not supported in Safari 9.1, IE 11 compat/compat
180:7 warning Promise.reject() is not supported in IE 11 compat/compat
180:7 warning ES2015 'Promise' class is forbidden es/no-promise
/src/repo/modules/entrypoints/ext.cx.entrypoints.uls.relevantlanguages/CxUlsEntrypoint.vue
30:6 warning Don't use 'v-text' vue/no-v-text
40:5 warning Don't use 'v-text' vue/no-v-text
68:7 warning Don't use 'v-text' vue/no-v-text
/src/repo/modules/publish/ext.cx.wikibase.link.js
30:11 warning ES2015 'Promise' class is forbidden es/no-promise
43:10 warning Promise.resolve() is not supported in IE 11 compat/compat
43:10 warning ES2015 'Promise' class is forbidden es/no-promise
/src/repo/modules/stats/ext.cx.stats.js
617:55 warning 'data' is already declared in the upper scope on line 612 column 7 no-shadow
629:55 warning 'data' is already declared in the upper scope on line 612 column 7 no-shadow
641:49 warning 'data' is already declared in the upper scope on line 612 column 7 no-shadow
662:58 warning 'data' is already declared in the upper scope on line 657 column 7 no-shadow
674:58 warning 'data' is already declared in the upper scope on line 657 column 7 no-shadow
686:52 warning 'data' is already declared in the upper scope on line 657 column 7 no-shadow
698:55 warning 'data' is already declared in the upper scope on line 657 column 7 no-shadow
718:55 warning 'data' is already declared in the upper scope on line 714 column 7 no-shadow
727:55 warning 'data' is already declared in the upper scope on line 714 column 7 no-shadow
736:49 warning 'data' is already declared in the upper scope on line 714 column 7 no-shadow
757:58 warning 'data' is already declared in the upper scope on line 752 column 12 no-shadow
766:58 warning 'data' is already declared in the upper scope on line 752 column 12 no-shadow
775:52 warning 'data' is already declared in the upper scope on line 752 column 12 no-shadow
784:55 warning 'data' is already declared in the upper scope on line 752 column 12 no-shadow
/src/repo/modules/ui/mw.cx.ui.ArticleColumn.js
17:0 warning Duplicate @param "config.sectionTitle" jsdoc/check-param-names
/src/repo/modules/ui/mw.cx.ui.SourceColumn.js
6:0 warning @param path declaration ("config.siteMapper") appears before any real parameter jsdoc/check-param-names
/src/repo/modules/ui/widgets/mw.cx.ui.PageSelectorWidget.js
219:31 warning 'pages' is already declared in the upper scope on line 184 column 71 no-shadow
✖ 53 problems (0 errors, 53 warnings)
--- stdout ---
[REL1_40 be7443f] build: Updating braces to 3.0.3
1 file changed, 24 insertions(+), 19 deletions(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From be7443f0f63c89e758af4c35c7501ccde5b7ee68 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 13 Jun 2024 04:56:09 +0000
Subject: [PATCH] build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg
Change-Id: I80b6e39d84498c575ce7f754f7e76f25542b0e16
---
package-lock.json | 43 ++++++++++++++++++++++++-------------------
1 file changed, 24 insertions(+), 19 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 52c31b5..446831d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -380,12 +380,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"
@@ -1713,9 +1713,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"
@@ -4252,7 +4252,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",
@@ -4337,12 +4338,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": {
@@ -5036,7 +5037,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",
@@ -5334,9 +5336,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"
@@ -6141,7 +6143,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",
@@ -6159,7 +6162,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.10",
@@ -6744,7 +6748,8 @@
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-7.0.0.tgz",
"integrity": "sha512-yGn84Bf/q41J4luis1AZ95gj0EQwRX8lWmGmBwkwBNSkpGSpl66XcPTulxGa/Z91aPoNGuIGBmFkcM1MejMo9Q==",
- "dev": true
+ "dev": true,
+ "requires": {}
},
"stylelint-config-wikimedia": {
"version": "0.13.0",
--
2.39.2
--- end ---