mediawiki/services/parsoid: main (log #550987)

sourcepatches

This run took 89 seconds.

From e31bfb0bbacfc73b5f81fc146f932f3e1c7bc283 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 2 Dec 2021 19:50:26 +0000
Subject: [PATCH] [DNM] there are no updates

Change-Id: I82929ae2b3f7cd5cb79ada188bbcfb3f9421397e
---
 .eslintrc.json |  35 +++++++++--------
 composer.json  |  21 +++++-----
 package.json   | 102 ++++++++++++++++++++++++-------------------------
 3 files changed, 82 insertions(+), 76 deletions(-)

diff --git a/.eslintrc.json b/.eslintrc.json
index 7225f3d..afd9cc3 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,4 +1,5 @@
 {
+	"root": true,
 	"extends": [
 		"wikimedia/server",
 		"wikimedia/jsdoc"
@@ -7,18 +8,27 @@
 		"ecmaVersion": 2017
 	},
 	"rules": {
-		"indent": ["error", "tab", {
-			"SwitchCase": 1,
-			"MemberExpression": "off",
-			"CallExpression": { "arguments": "off" },
-			"flatTernaryExpressions": true
-		}],
-		"one-var": ["error", { "initialized": "never" }],
-
+		"indent": [
+			"error",
+			"tab",
+			{
+				"SwitchCase": 1,
+				"MemberExpression": "off",
+				"CallExpression": {
+					"arguments": "off"
+				},
+				"flatTernaryExpressions": true
+			}
+		],
+		"one-var": [
+			"error",
+			{
+				"initialized": "never"
+			}
+		],
 		"no-restricted-properties": "off",
 		"no-restricted-syntax": "off",
 		"node/no-deprecated-api": "off",
-
 		"array-bracket-spacing": "off",
 		"arrow-parens": "off",
 		"camelcase": "off",
@@ -41,7 +51,6 @@
 		"quotes": "off",
 		"space-before-function-paren": "off",
 		"space-in-parens": "off",
-
 		"consistent-this": "off",
 		"default-case": "off",
 		"eol-last": "off",
@@ -55,10 +64,8 @@
 		"strict": "off",
 		"vars-on-top": "off",
 		"wrap-iife": "off",
-
 		"prefer-arrow-callback": "off",
 		"prefer-template": "off",
-
 		"no-console": "off",
 		"no-control-regex": "off",
 		"no-invalid-this": "off",
@@ -72,11 +79,8 @@
 		"no-useless-concat": "off",
 		"no-useless-escape": "off",
 		"no-var": "off",
-
 		"no-buffer-constructor": "warn",
-
 		"no-process-exit": "off",
-
 		"jsdoc/check-alignment": "off",
 		"jsdoc/check-param-names": "off",
 		"jsdoc/check-tag-names": "off",
@@ -88,7 +92,6 @@
 		"jsdoc/require-returns": "off",
 		"jsdoc/require-returns-check": "off",
 		"no-shadow": "off",
-
 		"node/no-missing-require": "off"
 	},
 	"overrides": [
diff --git a/composer.json b/composer.json
index 7ee516f..76989e6 100644
--- a/composer.json
+++ b/composer.json
@@ -41,23 +41,25 @@
 		"ext-json": "*"
 	},
 	"require-dev": {
-		"php-parallel-lint/php-console-highlighter": "0.5.0",
-		"php-parallel-lint/php-parallel-lint": "1.3.1",
-		"monolog/monolog": "^2.2.0",
+		"composer/composer": "^2.1.9",
+		"ext-curl": "*",
 		"mediawiki/mediawiki-codesniffer": "38.0.0",
 		"mediawiki/mediawiki-phan-config": "0.11.0",
 		"mediawiki/minus-x": "1.1.1",
+		"monolog/monolog": "^2.2.0",
+		"ockcyp/covers-validator": "1.3.3",
+		"php-parallel-lint/php-console-highlighter": "0.5.0",
+		"php-parallel-lint/php-parallel-lint": "1.3.1",
 		"phpunit/phpunit": "^8.5",
 		"sebastian/diff": "^3.0.2",
 		"wikimedia/alea": "^0.9.3",
 		"wikimedia/langconv": "^0.4.2",
-		"wikimedia/testing-access-wrapper": "~1.0",
-		"ext-curl": "*",
-		"ockcyp/covers-validator": "1.3.3",
-		"composer/composer": "^2.1.9"
+		"wikimedia/testing-access-wrapper": "~1.0"
 	},
 	"autoload": {
-		"files": [ "DomImpl.php" ],
+		"files": [
+			"DomImpl.php"
+		],
 		"psr-4": {
 			"Wikimedia\\Parsoid\\": "src"
 		}
@@ -96,7 +98,8 @@
 		"parserTests-ucs2": "php bin/parserTests.php --wt2html --wt2wt --html2wt --html2html --selser true --quiet --knownFailures true --offsetType ucs2",
 		"phpunit": "phpunit",
 		"toolcheck": "bin/toolcheck.php.sh",
-		"nodeNameCheck": "bin/nodenamecheck.sh"
+		"nodeNameCheck": "bin/nodenamecheck.sh",
+		"phpcs": "phpcs -sp --cache"
 	},
 	"config": {
 		"process-timeout": 0,
diff --git a/package.json b/package.json
index 2e68355..e5e9417 100644
--- a/package.json
+++ b/package.json
@@ -1,53 +1,53 @@
 {
-  "name": "parsoid",
-  "description": "A bidirectional runtime wikitext parser. Converts back and forth between wikitext and HTML/XML DOM with RDFa.",
-  "version": "0.11.0",
-  "license": "GPL-2.0+",
-  "dependencies": {
-    "babybird": "0.0.1",
-    "connect-busboy": "^0.0.2",
-    "core-js": "^2.5.6",
-    "domino": "^2.1.0",
-    "entities": "^1.1.1",
-    "express": "^4.16.3",
-    "js-yaml": "^3.13.1",
-    "pn": "^1.1.0",
-    "prfun": "^2.1.5",
-    "request": "^2.87.0",
-    "semver": "^6.1.0",
-    "service-runner": "git+https://github.com/wikimedia/service-runner.git#yarg",
-    "simplediff": "^0.1.1",
-    "wikimedia-langconv": "^0.1.0",
-    "wikipeg": "^2.0.6",
-    "yargs": "^16.2.0"
-  },
-  "devDependencies": {
-    "api-testing": "^1.2.0",
-    "chai": "^4.1.2",
-    "colors": "^1.2.4",
-    "eslint": "^7.32.0",
-    "eslint-config-wikimedia": "^0.20.0",
-    "mocha": "git+https://github.com/arlolra/mocha.git#fix-ansi-regex",
-    "nock": "^9.2.5"
-  },
-  "scripts": {
-    "eslint": "eslint --cache --ext .js,.json .",
-    "eslint-fix": "eslint --cache --ext .js,.json --fix .",
-    "regen-php-tokenizer": "bin/inspectTokenizer.js --source --php -o src/Wt2Html/Grammar.php",
-    "regen-php-tokenizer-trace": "bin/inspectTokenizer.js --source --php -o src/Wt2Html/Grammar.php --trace",
-    "regen-php-tests-tokenizer": "node_modules/wikipeg/bin/wikipeg --php --class-name Grammar src/ParserTests/Grammar.pegphp src/ParserTests/Grammar.php",
-    "api-testing": "mocha tests/api-testing",
-    "test": "npm run eslint"
-  },
-  "repository": {
-    "type": "git",
-    "url": "https://github.com/wikimedia/parsoid.git"
-  },
-  "deploy": {
-    "target": "debian",
-    "node": "6.9.1",
-    "dependencies": {
-      "_all": []
-    }
-  }
+	"name": "parsoid",
+	"description": "A bidirectional runtime wikitext parser. Converts back and forth between wikitext and HTML/XML DOM with RDFa.",
+	"version": "0.11.0",
+	"license": "GPL-2.0+",
+	"dependencies": {
+		"babybird": "0.0.1",
+		"connect-busboy": "^0.0.2",
+		"core-js": "^2.5.6",
+		"domino": "^2.1.0",
+		"entities": "^1.1.1",
+		"express": "^4.16.3",
+		"js-yaml": "^3.13.1",
+		"pn": "^1.1.0",
+		"prfun": "^2.1.5",
+		"request": "^2.87.0",
+		"semver": "^6.1.0",
+		"service-runner": "git+https://github.com/wikimedia/service-runner.git#yarg",
+		"simplediff": "^0.1.1",
+		"wikimedia-langconv": "^0.1.0",
+		"wikipeg": "^2.0.6",
+		"yargs": "^16.2.0"
+	},
+	"devDependencies": {
+		"api-testing": "^1.2.0",
+		"chai": "^4.1.2",
+		"colors": "^1.2.4",
+		"eslint": "^7.32.0",
+		"eslint-config-wikimedia": "^0.20.0",
+		"mocha": "git+https://github.com/arlolra/mocha.git#fix-ansi-regex",
+		"nock": "^9.2.5"
+	},
+	"scripts": {
+		"eslint": "eslint --cache --ext .js,.json .",
+		"eslint-fix": "eslint --cache --ext .js,.json --fix .",
+		"regen-php-tokenizer": "bin/inspectTokenizer.js --source --php -o src/Wt2Html/Grammar.php",
+		"regen-php-tokenizer-trace": "bin/inspectTokenizer.js --source --php -o src/Wt2Html/Grammar.php --trace",
+		"regen-php-tests-tokenizer": "node_modules/wikipeg/bin/wikipeg --php --class-name Grammar src/ParserTests/Grammar.pegphp src/ParserTests/Grammar.php",
+		"api-testing": "mocha tests/api-testing",
+		"test": "npm run eslint"
+	},
+	"repository": {
+		"type": "git",
+		"url": "https://github.com/wikimedia/parsoid.git"
+	},
+	"deploy": {
+		"target": "debian",
+		"node": "6.9.1",
+		"dependencies": {
+			"_all": []
+		}
+	}
 }
-- 
2.20.1

**purged**
Source code is licensed under the AGPL.