From d73defaaedcbeb2c0fa7541d3e8b6f86a141973a Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Thu, 20 Jun 2024 03:50:29 +0000 Subject: [PATCH] build: Updating npm dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- ...t.mw.NoCaptchaReCaptchaSaveErrorHandler.js | 2 +- .../ve.init.mw.TurnstileSaveErrorHandler.js | 2 +- .../ve.init.mw.HCaptchaSaveErrorHandler.js | 2 +- package-lock.json | 60 +++++++++---------- package.json | 6 +- 5 files changed, 36 insertions(+), 36 deletions(-) diff --git a/ReCaptchaNoCaptcha/resources/ve-confirmedit-reCaptchaNoCaptcha/ve.init.mw.NoCaptchaReCaptchaSaveErrorHandler.js b/ReCaptchaNoCaptcha/resources/ve-confirmedit-reCaptchaNoCaptcha/ve.init.mw.NoCaptchaReCaptchaSaveErrorHandler.js index aa79f8436..e4d658ba1 100644 --- a/ReCaptchaNoCaptcha/resources/ve-confirmedit-reCaptchaNoCaptcha/ve.init.mw.NoCaptchaReCaptchaSaveErrorHandler.js +++ b/ReCaptchaNoCaptcha/resources/ve-confirmedit-reCaptchaNoCaptcha/ve.init.mw.NoCaptchaReCaptchaSaveErrorHandler.js @@ -16,7 +16,7 @@ mw.loader.using( 'ext.visualEditor.targetLoader' ).then( () => { config = mw.config.get( 'wgConfirmEditConfig' ); scriptURL = new mw.Uri( config.reCaptchaScriptURL ); params = { onload: onLoadFn, render: 'explicit' }; - scriptURL.query = $.extend( scriptURL.query, params ); + scriptURL.query = Object.assign( scriptURL.query, params ); this.readyPromise = deferred.promise(); window[ onLoadFn ] = deferred.resolve; diff --git a/Turnstile/resources/ve-confirmedit-turnstile/ve.init.mw.TurnstileSaveErrorHandler.js b/Turnstile/resources/ve-confirmedit-turnstile/ve.init.mw.TurnstileSaveErrorHandler.js index 981be4581..12d1ce1f0 100644 --- a/Turnstile/resources/ve-confirmedit-turnstile/ve.init.mw.TurnstileSaveErrorHandler.js +++ b/Turnstile/resources/ve-confirmedit-turnstile/ve.init.mw.TurnstileSaveErrorHandler.js @@ -16,7 +16,7 @@ mw.loader.using( 'ext.visualEditor.targetLoader' ).then( () => { config = mw.config.get( 'wgConfirmEditConfig' ); scriptURL = new mw.Uri( config.turnstileScriptURL ); params = { onload: onLoadFn, render: 'explicit' }; - scriptURL.query = $.extend( scriptURL.query, params ); + scriptURL.query = Object.assign( scriptURL.query, params ); this.readyPromise = deferred.promise(); window[ onLoadFn ] = deferred.resolve; diff --git a/hCaptcha/resources/ve-confirmedit-hCaptcha/ve.init.mw.HCaptchaSaveErrorHandler.js b/hCaptcha/resources/ve-confirmedit-hCaptcha/ve.init.mw.HCaptchaSaveErrorHandler.js index 9c1f4ae0a..aeeba0333 100644 --- a/hCaptcha/resources/ve-confirmedit-hCaptcha/ve.init.mw.HCaptchaSaveErrorHandler.js +++ b/hCaptcha/resources/ve-confirmedit-hCaptcha/ve.init.mw.HCaptchaSaveErrorHandler.js @@ -14,7 +14,7 @@ mw.loader.using( 'ext.visualEditor.targetLoader' ).then( () => { deferred = $.Deferred(); scriptURL = new mw.Uri( require( './config.json' ).hCaptchaScriptURL ); params = { onload: onLoadFn, render: 'explicit' }; - scriptURL.query = $.extend( scriptURL.query, params ); + scriptURL.query = Object.assign( scriptURL.query, params ); this.readyPromise = deferred.promise(); window[ onLoadFn ] = deferred.resolve; diff --git a/package-lock.json b/package-lock.json index 35dd3052c..8c9a9bd2e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,12 +6,12 @@ "": { "name": "ConfirmEdit", "devDependencies": { - "eslint-config-wikimedia": "0.28.0", + "eslint-config-wikimedia": "0.28.2", "grunt": "1.6.1", "grunt-banana-checker": "0.13.0", "grunt-eslint": "24.3.0", - "grunt-stylelint": "0.20.0", - "stylelint-config-wikimedia": "0.17.1" + "grunt-stylelint": "0.20.1", + "stylelint-config-wikimedia": "0.17.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1459,9 +1459,9 @@ } }, "node_modules/eslint-config-wikimedia": { - "version": "0.28.0", - "resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.28.0.tgz", - "integrity": "sha512-qDkELhXoDvQP+kYYo5MilhvqJ4Agk78Pzu95K1l1h68xPEWagD4k/dvrgmVyKjcp5KyAnZr++7qChLiFhDdBDA==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.28.2.tgz", + "integrity": "sha512-5+rdnT7wH1gpKAO6tHYThg78eMhZMruJzvqku3Y5iaEY/A7kSKLFpA/vOj/snys9fKjDHC9BXmArQh+agkOoJQ==", "dev": true, "dependencies": { "browserslist-config-wikimedia": "^0.7.0", @@ -1474,7 +1474,7 @@ "eslint-plugin-mediawiki": "^0.7.0", "eslint-plugin-mocha": "^10.4.3", "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-security": "^1.7.1", "eslint-plugin-unicorn": "^53.0.0", @@ -1739,12 +1739,12 @@ } }, "node_modules/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==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-3.0.1.tgz", + "integrity": "sha512-GrzdjIxox/3x8hpSwpxiMuEQFipiJHTGiVsp0T1TI6GH+KVSbXa4z/56xTV1WiIe66u3iRgvCIipu9CRthecpQ==", "dev": true, "peerDependencies": { - "eslint": ">=2.3.0" + "eslint": ">=8.0.0" } }, "node_modules/eslint-plugin-qunit": { @@ -2698,9 +2698,9 @@ } }, "node_modules/grunt-stylelint": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.20.0.tgz", - "integrity": "sha512-TG17gIrP2//lNq5G0YOXFC55WjXOI5Ybib3XVlatEuZcATlo/FO7cfVMgAAxbO2k6f45LP/naS/3iJTod0dVjg==", + "version": "0.20.1", + "resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.20.1.tgz", + "integrity": "sha512-tDep9ceEerB+fK6CkzPBXu5qPM7RuwCRgfrtwugEyYYnxINreMZktqQU5eoTW+MhhFj81uWQQnxf+c4geyAmQg==", "dev": true, "dependencies": { "chalk": "^4.1.2" @@ -4459,9 +4459,9 @@ } }, "node_modules/stylelint-config-wikimedia": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/stylelint-config-wikimedia/-/stylelint-config-wikimedia-0.17.1.tgz", - "integrity": "sha512-wLgadkHgAkz9jLLOVjBETSU+P3fzHB+rbx4ajct6+w/sqtKd2N9DM77ufJXZXA+Ai0HHanU9ltAy9XzFEFkT2Q==", + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/stylelint-config-wikimedia/-/stylelint-config-wikimedia-0.17.2.tgz", + "integrity": "sha512-cc3PYhe1O/GTgsMOp+Ri3ru579YBbZ3Me0oU7xNb06n4iwyXYPz8qO5G4iQ13UH19UW2NIS8Tk0goPRrJ1RAfw==", "dev": true, "dependencies": { "@stylistic/stylelint-config": "1.0.1", @@ -6269,9 +6269,9 @@ } }, "eslint-config-wikimedia": { - "version": "0.28.0", - "resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.28.0.tgz", - "integrity": "sha512-qDkELhXoDvQP+kYYo5MilhvqJ4Agk78Pzu95K1l1h68xPEWagD4k/dvrgmVyKjcp5KyAnZr++7qChLiFhDdBDA==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.28.2.tgz", + "integrity": "sha512-5+rdnT7wH1gpKAO6tHYThg78eMhZMruJzvqku3Y5iaEY/A7kSKLFpA/vOj/snys9fKjDHC9BXmArQh+agkOoJQ==", "dev": true, "requires": { "browserslist-config-wikimedia": "^0.7.0", @@ -6284,7 +6284,7 @@ "eslint-plugin-mediawiki": "^0.7.0", "eslint-plugin-mocha": "^10.4.3", "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-security": "^1.7.1", "eslint-plugin-unicorn": "^53.0.0", @@ -6458,9 +6458,9 @@ } }, "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==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-3.0.1.tgz", + "integrity": "sha512-GrzdjIxox/3x8hpSwpxiMuEQFipiJHTGiVsp0T1TI6GH+KVSbXa4z/56xTV1WiIe66u3iRgvCIipu9CRthecpQ==", "dev": true, "requires": {} }, @@ -7115,9 +7115,9 @@ } }, "grunt-stylelint": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.20.0.tgz", - "integrity": "sha512-TG17gIrP2//lNq5G0YOXFC55WjXOI5Ybib3XVlatEuZcATlo/FO7cfVMgAAxbO2k6f45LP/naS/3iJTod0dVjg==", + "version": "0.20.1", + "resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.20.1.tgz", + "integrity": "sha512-tDep9ceEerB+fK6CkzPBXu5qPM7RuwCRgfrtwugEyYYnxINreMZktqQU5eoTW+MhhFj81uWQQnxf+c4geyAmQg==", "dev": true, "requires": { "chalk": "^4.1.2" @@ -8448,9 +8448,9 @@ "requires": {} }, "stylelint-config-wikimedia": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/stylelint-config-wikimedia/-/stylelint-config-wikimedia-0.17.1.tgz", - "integrity": "sha512-wLgadkHgAkz9jLLOVjBETSU+P3fzHB+rbx4ajct6+w/sqtKd2N9DM77ufJXZXA+Ai0HHanU9ltAy9XzFEFkT2Q==", + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/stylelint-config-wikimedia/-/stylelint-config-wikimedia-0.17.2.tgz", + "integrity": "sha512-cc3PYhe1O/GTgsMOp+Ri3ru579YBbZ3Me0oU7xNb06n4iwyXYPz8qO5G4iQ13UH19UW2NIS8Tk0goPRrJ1RAfw==", "dev": true, "requires": { "@stylistic/stylelint-config": "1.0.1", diff --git a/package.json b/package.json index 2ff0e43b7..675da00eb 100644 --- a/package.json +++ b/package.json @@ -5,11 +5,11 @@ "test": "grunt test" }, "devDependencies": { - "eslint-config-wikimedia": "0.28.0", + "eslint-config-wikimedia": "0.28.2", "grunt": "1.6.1", "grunt-banana-checker": "0.13.0", "grunt-eslint": "24.3.0", - "grunt-stylelint": "0.20.0", - "stylelint-config-wikimedia": "0.17.1" + "grunt-stylelint": "0.20.1", + "stylelint-config-wikimedia": "0.17.2" } }