build: Updating npm dependencies

* eslint-config-wikimedia: 0.28.0 → 0.28.2
* grunt-stylelint: 0.20.0 → 0.20.1
* stylelint-config-wikimedia: 0.17.1 → 0.17.2

Change-Id: I03344db83adbac4fee93c7672dcac1d2d51d3873
This commit is contained in:
libraryupgrader 2024-06-20 03:50:29 +00:00
parent 9a9abf245c
commit d73defaaed
5 changed files with 36 additions and 36 deletions

View file

@ -16,7 +16,7 @@ mw.loader.using( 'ext.visualEditor.targetLoader' ).then( () => {
config = mw.config.get( 'wgConfirmEditConfig' ); config = mw.config.get( 'wgConfirmEditConfig' );
scriptURL = new mw.Uri( config.reCaptchaScriptURL ); scriptURL = new mw.Uri( config.reCaptchaScriptURL );
params = { onload: onLoadFn, render: 'explicit' }; params = { onload: onLoadFn, render: 'explicit' };
scriptURL.query = $.extend( scriptURL.query, params ); scriptURL.query = Object.assign( scriptURL.query, params );
this.readyPromise = deferred.promise(); this.readyPromise = deferred.promise();
window[ onLoadFn ] = deferred.resolve; window[ onLoadFn ] = deferred.resolve;

View file

@ -16,7 +16,7 @@ mw.loader.using( 'ext.visualEditor.targetLoader' ).then( () => {
config = mw.config.get( 'wgConfirmEditConfig' ); config = mw.config.get( 'wgConfirmEditConfig' );
scriptURL = new mw.Uri( config.turnstileScriptURL ); scriptURL = new mw.Uri( config.turnstileScriptURL );
params = { onload: onLoadFn, render: 'explicit' }; params = { onload: onLoadFn, render: 'explicit' };
scriptURL.query = $.extend( scriptURL.query, params ); scriptURL.query = Object.assign( scriptURL.query, params );
this.readyPromise = deferred.promise(); this.readyPromise = deferred.promise();
window[ onLoadFn ] = deferred.resolve; window[ onLoadFn ] = deferred.resolve;

View file

@ -14,7 +14,7 @@ mw.loader.using( 'ext.visualEditor.targetLoader' ).then( () => {
deferred = $.Deferred(); deferred = $.Deferred();
scriptURL = new mw.Uri( require( './config.json' ).hCaptchaScriptURL ); scriptURL = new mw.Uri( require( './config.json' ).hCaptchaScriptURL );
params = { onload: onLoadFn, render: 'explicit' }; params = { onload: onLoadFn, render: 'explicit' };
scriptURL.query = $.extend( scriptURL.query, params ); scriptURL.query = Object.assign( scriptURL.query, params );
this.readyPromise = deferred.promise(); this.readyPromise = deferred.promise();
window[ onLoadFn ] = deferred.resolve; window[ onLoadFn ] = deferred.resolve;

60
package-lock.json generated
View file

@ -6,12 +6,12 @@
"": { "": {
"name": "ConfirmEdit", "name": "ConfirmEdit",
"devDependencies": { "devDependencies": {
"eslint-config-wikimedia": "0.28.0", "eslint-config-wikimedia": "0.28.2",
"grunt": "1.6.1", "grunt": "1.6.1",
"grunt-banana-checker": "0.13.0", "grunt-banana-checker": "0.13.0",
"grunt-eslint": "24.3.0", "grunt-eslint": "24.3.0",
"grunt-stylelint": "0.20.0", "grunt-stylelint": "0.20.1",
"stylelint-config-wikimedia": "0.17.1" "stylelint-config-wikimedia": "0.17.2"
} }
}, },
"node_modules/@aashutoshrathi/word-wrap": { "node_modules/@aashutoshrathi/word-wrap": {
@ -1459,9 +1459,9 @@
} }
}, },
"node_modules/eslint-config-wikimedia": { "node_modules/eslint-config-wikimedia": {
"version": "0.28.0", "version": "0.28.2",
"resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.28.0.tgz", "resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.28.2.tgz",
"integrity": "sha512-qDkELhXoDvQP+kYYo5MilhvqJ4Agk78Pzu95K1l1h68xPEWagD4k/dvrgmVyKjcp5KyAnZr++7qChLiFhDdBDA==", "integrity": "sha512-5+rdnT7wH1gpKAO6tHYThg78eMhZMruJzvqku3Y5iaEY/A7kSKLFpA/vOj/snys9fKjDHC9BXmArQh+agkOoJQ==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"browserslist-config-wikimedia": "^0.7.0", "browserslist-config-wikimedia": "^0.7.0",
@ -1474,7 +1474,7 @@
"eslint-plugin-mediawiki": "^0.7.0", "eslint-plugin-mediawiki": "^0.7.0",
"eslint-plugin-mocha": "^10.4.3", "eslint-plugin-mocha": "^10.4.3",
"eslint-plugin-n": "^17.7.0", "eslint-plugin-n": "^17.7.0",
"eslint-plugin-no-jquery": "^2.7.0", "eslint-plugin-no-jquery": "^3.0.1",
"eslint-plugin-qunit": "^8.1.1", "eslint-plugin-qunit": "^8.1.1",
"eslint-plugin-security": "^1.7.1", "eslint-plugin-security": "^1.7.1",
"eslint-plugin-unicorn": "^53.0.0", "eslint-plugin-unicorn": "^53.0.0",
@ -1739,12 +1739,12 @@
} }
}, },
"node_modules/eslint-plugin-no-jquery": { "node_modules/eslint-plugin-no-jquery": {
"version": "2.7.0", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-2.7.0.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-3.0.1.tgz",
"integrity": "sha512-Aeg7dA6GTH1AcWLlBtWNzOU9efK5KpNi7b0EhBO0o0M+awyzguUUo8gF6hXGjQ9n5h8/uRtYv9zOqQkeC5CG0w==", "integrity": "sha512-GrzdjIxox/3x8hpSwpxiMuEQFipiJHTGiVsp0T1TI6GH+KVSbXa4z/56xTV1WiIe66u3iRgvCIipu9CRthecpQ==",
"dev": true, "dev": true,
"peerDependencies": { "peerDependencies": {
"eslint": ">=2.3.0" "eslint": ">=8.0.0"
} }
}, },
"node_modules/eslint-plugin-qunit": { "node_modules/eslint-plugin-qunit": {
@ -2698,9 +2698,9 @@
} }
}, },
"node_modules/grunt-stylelint": { "node_modules/grunt-stylelint": {
"version": "0.20.0", "version": "0.20.1",
"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.20.0.tgz", "resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.20.1.tgz",
"integrity": "sha512-TG17gIrP2//lNq5G0YOXFC55WjXOI5Ybib3XVlatEuZcATlo/FO7cfVMgAAxbO2k6f45LP/naS/3iJTod0dVjg==", "integrity": "sha512-tDep9ceEerB+fK6CkzPBXu5qPM7RuwCRgfrtwugEyYYnxINreMZktqQU5eoTW+MhhFj81uWQQnxf+c4geyAmQg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"chalk": "^4.1.2" "chalk": "^4.1.2"
@ -4459,9 +4459,9 @@
} }
}, },
"node_modules/stylelint-config-wikimedia": { "node_modules/stylelint-config-wikimedia": {
"version": "0.17.1", "version": "0.17.2",
"resolved": "https://registry.npmjs.org/stylelint-config-wikimedia/-/stylelint-config-wikimedia-0.17.1.tgz", "resolved": "https://registry.npmjs.org/stylelint-config-wikimedia/-/stylelint-config-wikimedia-0.17.2.tgz",
"integrity": "sha512-wLgadkHgAkz9jLLOVjBETSU+P3fzHB+rbx4ajct6+w/sqtKd2N9DM77ufJXZXA+Ai0HHanU9ltAy9XzFEFkT2Q==", "integrity": "sha512-cc3PYhe1O/GTgsMOp+Ri3ru579YBbZ3Me0oU7xNb06n4iwyXYPz8qO5G4iQ13UH19UW2NIS8Tk0goPRrJ1RAfw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@stylistic/stylelint-config": "1.0.1", "@stylistic/stylelint-config": "1.0.1",
@ -6269,9 +6269,9 @@
} }
}, },
"eslint-config-wikimedia": { "eslint-config-wikimedia": {
"version": "0.28.0", "version": "0.28.2",
"resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.28.0.tgz", "resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.28.2.tgz",
"integrity": "sha512-qDkELhXoDvQP+kYYo5MilhvqJ4Agk78Pzu95K1l1h68xPEWagD4k/dvrgmVyKjcp5KyAnZr++7qChLiFhDdBDA==", "integrity": "sha512-5+rdnT7wH1gpKAO6tHYThg78eMhZMruJzvqku3Y5iaEY/A7kSKLFpA/vOj/snys9fKjDHC9BXmArQh+agkOoJQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"browserslist-config-wikimedia": "^0.7.0", "browserslist-config-wikimedia": "^0.7.0",
@ -6284,7 +6284,7 @@
"eslint-plugin-mediawiki": "^0.7.0", "eslint-plugin-mediawiki": "^0.7.0",
"eslint-plugin-mocha": "^10.4.3", "eslint-plugin-mocha": "^10.4.3",
"eslint-plugin-n": "^17.7.0", "eslint-plugin-n": "^17.7.0",
"eslint-plugin-no-jquery": "^2.7.0", "eslint-plugin-no-jquery": "^3.0.1",
"eslint-plugin-qunit": "^8.1.1", "eslint-plugin-qunit": "^8.1.1",
"eslint-plugin-security": "^1.7.1", "eslint-plugin-security": "^1.7.1",
"eslint-plugin-unicorn": "^53.0.0", "eslint-plugin-unicorn": "^53.0.0",
@ -6458,9 +6458,9 @@
} }
}, },
"eslint-plugin-no-jquery": { "eslint-plugin-no-jquery": {
"version": "2.7.0", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-2.7.0.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-3.0.1.tgz",
"integrity": "sha512-Aeg7dA6GTH1AcWLlBtWNzOU9efK5KpNi7b0EhBO0o0M+awyzguUUo8gF6hXGjQ9n5h8/uRtYv9zOqQkeC5CG0w==", "integrity": "sha512-GrzdjIxox/3x8hpSwpxiMuEQFipiJHTGiVsp0T1TI6GH+KVSbXa4z/56xTV1WiIe66u3iRgvCIipu9CRthecpQ==",
"dev": true, "dev": true,
"requires": {} "requires": {}
}, },
@ -7115,9 +7115,9 @@
} }
}, },
"grunt-stylelint": { "grunt-stylelint": {
"version": "0.20.0", "version": "0.20.1",
"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.20.0.tgz", "resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.20.1.tgz",
"integrity": "sha512-TG17gIrP2//lNq5G0YOXFC55WjXOI5Ybib3XVlatEuZcATlo/FO7cfVMgAAxbO2k6f45LP/naS/3iJTod0dVjg==", "integrity": "sha512-tDep9ceEerB+fK6CkzPBXu5qPM7RuwCRgfrtwugEyYYnxINreMZktqQU5eoTW+MhhFj81uWQQnxf+c4geyAmQg==",
"dev": true, "dev": true,
"requires": { "requires": {
"chalk": "^4.1.2" "chalk": "^4.1.2"
@ -8448,9 +8448,9 @@
"requires": {} "requires": {}
}, },
"stylelint-config-wikimedia": { "stylelint-config-wikimedia": {
"version": "0.17.1", "version": "0.17.2",
"resolved": "https://registry.npmjs.org/stylelint-config-wikimedia/-/stylelint-config-wikimedia-0.17.1.tgz", "resolved": "https://registry.npmjs.org/stylelint-config-wikimedia/-/stylelint-config-wikimedia-0.17.2.tgz",
"integrity": "sha512-wLgadkHgAkz9jLLOVjBETSU+P3fzHB+rbx4ajct6+w/sqtKd2N9DM77ufJXZXA+Ai0HHanU9ltAy9XzFEFkT2Q==", "integrity": "sha512-cc3PYhe1O/GTgsMOp+Ri3ru579YBbZ3Me0oU7xNb06n4iwyXYPz8qO5G4iQ13UH19UW2NIS8Tk0goPRrJ1RAfw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@stylistic/stylelint-config": "1.0.1", "@stylistic/stylelint-config": "1.0.1",

View file

@ -5,11 +5,11 @@
"test": "grunt test" "test": "grunt test"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-wikimedia": "0.28.0", "eslint-config-wikimedia": "0.28.2",
"grunt": "1.6.1", "grunt": "1.6.1",
"grunt-banana-checker": "0.13.0", "grunt-banana-checker": "0.13.0",
"grunt-eslint": "24.3.0", "grunt-eslint": "24.3.0",
"grunt-stylelint": "0.20.0", "grunt-stylelint": "0.20.1",
"stylelint-config-wikimedia": "0.17.1" "stylelint-config-wikimedia": "0.17.2"
} }
} }