From faf23a2fa30d760717d8e6f031e84bf6d94cff29 Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Thu, 20 Jun 2024 03:20:15 +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 The following rules are failing and were disabled: * modules: * es-x/no-object-assign * grunt-stylelint: 0.20.0 → 0.20.1 * stylelint-config-wikimedia: 0.17.1 → 0.17.2 Change-Id: Ic603e46d510db344805408a972355249455a177e --- modules/.eslintrc.json | 3 +- modules/jquery.codeEditor.js | 4 +-- package-lock.json | 60 ++++++++++++++++++------------------ package.json | 6 ++-- 4 files changed, 37 insertions(+), 36 deletions(-) diff --git a/modules/.eslintrc.json b/modules/.eslintrc.json index 67326f6c..60d8f2d8 100644 --- a/modules/.eslintrc.json +++ b/modules/.eslintrc.json @@ -7,6 +7,7 @@ ], "rules": { "max-len": "off", - "no-jquery/no-extend": "warn" + "no-jquery/no-extend": "warn", + "es-x/no-object-assign": "warn" } } diff --git a/modules/jquery.codeEditor.js b/modules/jquery.codeEditor.js index 7d799c22..753cc5bd 100644 --- a/modules/jquery.codeEditor.js +++ b/modules/jquery.codeEditor.js @@ -58,7 +58,7 @@ * * This is also where we can attach some extra information to the events. */ - context.evt = $.extend( context.evt, { + context.evt = Object.assign( context.evt, { keydown: returnFalse, change: returnFalse, delayedChange: returnFalse, @@ -99,7 +99,7 @@ /** * Internally used functions */ - context.fn = $.extend( context.fn, { + context.fn = Object.assign( context.fn, { isCodeEditorActive: function () { return context.codeEditorActive; }, diff --git a/package-lock.json b/package-lock.json index a23587f7..c42a5ddb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,15 +9,15 @@ "version": "0.0.0", "devDependencies": { "ace-builds": "1.32.7", - "eslint-config-wikimedia": "0.28.0", + "eslint-config-wikimedia": "0.28.2", "grunt": "1.6.1", "grunt-banana-checker": "0.13.0", "grunt-contrib-clean": "2.0.1", "grunt-contrib-copy": "1.0.0", "grunt-eslint": "24.3.0", "grunt-exec": "3.0.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": { @@ -1408,9 +1408,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", @@ -1423,7 +1423,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", @@ -1626,12 +1626,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": { @@ -2591,9 +2591,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" @@ -4472,9 +4472,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", @@ -6148,9 +6148,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", @@ -6163,7 +6163,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", @@ -6298,9 +6298,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": {} }, @@ -7044,9 +7044,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" @@ -8439,9 +8439,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 7004d88a..36b59eda 100644 --- a/package.json +++ b/package.json @@ -8,14 +8,14 @@ }, "devDependencies": { "ace-builds": "1.32.7", - "eslint-config-wikimedia": "0.28.0", + "eslint-config-wikimedia": "0.28.2", "grunt": "1.6.1", "grunt-banana-checker": "0.13.0", "grunt-contrib-clean": "2.0.1", "grunt-contrib-copy": "1.0.0", "grunt-eslint": "24.3.0", "grunt-exec": "3.0.0", - "grunt-stylelint": "0.20.0", - "stylelint-config-wikimedia": "0.17.1" + "grunt-stylelint": "0.20.1", + "stylelint-config-wikimedia": "0.17.2" } }