Skip to content
This repository was archived by the owner on Sep 23, 2023. It is now read-only.

Commit 51180ed

Browse files
edg2sMatmaRex
authored andcommitted
Update dependencies
1 parent c6eb277 commit 51180ed

File tree

5 files changed

+238
-193
lines changed

5 files changed

+238
-193
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"mediawiki/oauthclient": "^2.0",
44
"symfony/process": "^5.4",
55
"symfony/yaml": "^5.4",
6-
"oojs/oojs-ui": "^0.46",
6+
"oojs/oojs-ui": "^0.47",
77
"zolli/phabricator-php-api": "^2.0",
88
"sensiolabs/ansi-to-html": "^1.2"
99
},

composer.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/PatchSelectWidget.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ window.PatchSelectWidget.static.patchCache = {};
4343
window.PatchSelectWidget.prototype.getTagInfoFromInput = function ( value ) {
4444
value = value || this.input.getValue();
4545

46+
// eslint-disable-next-line security/detect-non-literal-regexp
4647
const gerritUrlPattern = new RegExp( pd.config.gerritUrl + '.*?/([0-9]+(?:/[0-9]+)?)/?$' );
4748

4849
value = value.trim();
@@ -103,6 +104,7 @@ window.PatchSelectWidget.prototype.createTagItemWidget = function () {
103104
item.setData( { input: patch } );
104105

105106
patchCache[ patch ] = patchCache[ patch ] || (
107+
// eslint-disable-next-line security/detect-unsafe-regex
106108
patch.match( /^(I[0-9a-f]+|[0-9]+(,[0-9]+)?)$/ ) ?
107109
$.get( 'api.php', { action: 'patchmeta', patch: patch } ) :
108110
$.Deferred().reject( 'Invalid patch number' ).promise()

0 commit comments

Comments
 (0)