From 62bf86879e02525c01694891653860a529504c2f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 29 Apr 2025 19:52:19 +0000 Subject: [PATCH 1/2] Bump eslint-plugin-promise from 6.1.1 to 7.2.1 Bumps [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) from 6.1.1 to 7.2.1. - [Release notes](https://github.com/eslint-community/eslint-plugin-promise/releases) - [Changelog](https://github.com/eslint-community/eslint-plugin-promise/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint-community/eslint-plugin-promise/compare/v6.1.1...v7.2.1) --- updated-dependencies: - dependency-name: eslint-plugin-promise dependency-version: 7.2.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 29 +++++++++++++++++++---------- package.json | 2 +- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5a7e624..86efb16 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "eslint-config-standard": "^17.0", "eslint-plugin-import": "^2.27", "eslint-plugin-node": "^11.1", - "eslint-plugin-promise": "^6.1", + "eslint-plugin-promise": "^7.2", "eslint-plugin-standard": "^5.0", "node-sass": "^8.0", "webpack": "^5.77", @@ -1759,15 +1759,22 @@ } }, "node_modules/eslint-plugin-promise": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-6.1.1.tgz", - "integrity": "sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-7.2.1.tgz", + "integrity": "sha512-SWKjd+EuvWkYaS+uN2csvj0KoP43YTu7+phKQ5v+xw6+A0gutVX2yqCeCkC3uLCJFiPfR2dD8Es5L7yUsmvEaA==", "dev": true, + "license": "ISC", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0" + }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" + "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0" } }, "node_modules/eslint-plugin-standard": { @@ -6601,11 +6608,13 @@ } }, "eslint-plugin-promise": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-6.1.1.tgz", - "integrity": "sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-7.2.1.tgz", + "integrity": "sha512-SWKjd+EuvWkYaS+uN2csvj0KoP43YTu7+phKQ5v+xw6+A0gutVX2yqCeCkC3uLCJFiPfR2dD8Es5L7yUsmvEaA==", "dev": true, - "requires": {} + "requires": { + "@eslint-community/eslint-utils": "^4.4.0" + } }, "eslint-plugin-standard": { "version": "5.0.0", diff --git a/package.json b/package.json index 105c1a9..f532b6d 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "eslint-config-standard": "^17.0", "eslint-plugin-import": "^2.27", "eslint-plugin-node": "^11.1", - "eslint-plugin-promise": "^6.1", + "eslint-plugin-promise": "^7.2", "eslint-plugin-standard": "^5.0", "node-sass": "^8.0", "webpack": "^5.77", From e49d1004af8a8f1a7c778dbccd46f915612320bf Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Tue, 29 Apr 2025 19:52:26 +0000 Subject: [PATCH 2/2] Apply fixes from StyleCI --- bin/clear-config-cache.php | 1 + src/App/Handler/ClassHandler.php | 2 +- src/App/Handler/LabelHandler.php | 2 +- src/App/Handler/LayerHandler.php | 2 +- src/App/Handler/MapFileHandler.php | 2 +- src/App/Handler/MapHandler.php | 2 +- src/App/Handler/OpenHandler.php | 2 +- src/App/Handler/StyleHandler.php | 2 +- 8 files changed, 8 insertions(+), 7 deletions(-) diff --git a/bin/clear-config-cache.php b/bin/clear-config-cache.php index bc0cdc9..46aef2d 100644 --- a/bin/clear-config-cache.php +++ b/bin/clear-config-cache.php @@ -1,4 +1,5 @@ router = $router; diff --git a/src/App/Handler/LabelHandler.php b/src/App/Handler/LabelHandler.php index e0bec98..4e04ac6 100644 --- a/src/App/Handler/LabelHandler.php +++ b/src/App/Handler/LabelHandler.php @@ -24,7 +24,7 @@ class LabelHandler implements RequestHandlerInterface public function __construct( Router\RouterInterface $router, - Template\TemplateRendererInterface $template = null, + ?Template\TemplateRendererInterface $template = null, string $containerName ) { $this->router = $router; diff --git a/src/App/Handler/LayerHandler.php b/src/App/Handler/LayerHandler.php index 6c263ff..87a4532 100644 --- a/src/App/Handler/LayerHandler.php +++ b/src/App/Handler/LayerHandler.php @@ -24,7 +24,7 @@ class LayerHandler implements RequestHandlerInterface public function __construct( Router\RouterInterface $router, - Template\TemplateRendererInterface $template = null, + ?Template\TemplateRendererInterface $template = null, string $containerName ) { $this->router = $router; diff --git a/src/App/Handler/MapFileHandler.php b/src/App/Handler/MapFileHandler.php index b50cd55..317d523 100644 --- a/src/App/Handler/MapFileHandler.php +++ b/src/App/Handler/MapFileHandler.php @@ -22,7 +22,7 @@ class MapFileHandler implements RequestHandlerInterface public function __construct( Router\RouterInterface $router, - Template\TemplateRendererInterface $template = null, + ?Template\TemplateRendererInterface $template = null, string $containerName ) { $this->router = $router; diff --git a/src/App/Handler/MapHandler.php b/src/App/Handler/MapHandler.php index b15963f..791c57c 100644 --- a/src/App/Handler/MapHandler.php +++ b/src/App/Handler/MapHandler.php @@ -23,7 +23,7 @@ class MapHandler implements RequestHandlerInterface public function __construct( Router\RouterInterface $router, - Template\TemplateRendererInterface $template = null, + ?Template\TemplateRendererInterface $template = null, string $containerName ) { $this->router = $router; diff --git a/src/App/Handler/OpenHandler.php b/src/App/Handler/OpenHandler.php index 39cd2c4..7bfd2f5 100644 --- a/src/App/Handler/OpenHandler.php +++ b/src/App/Handler/OpenHandler.php @@ -25,7 +25,7 @@ class OpenHandler implements RequestHandlerInterface public function __construct( Router\RouterInterface $router, - Template\TemplateRendererInterface $template = null, + ?Template\TemplateRendererInterface $template = null, string $containerName ) { $this->router = $router; diff --git a/src/App/Handler/StyleHandler.php b/src/App/Handler/StyleHandler.php index 0681c91..9fa944d 100644 --- a/src/App/Handler/StyleHandler.php +++ b/src/App/Handler/StyleHandler.php @@ -24,7 +24,7 @@ class StyleHandler implements RequestHandlerInterface public function __construct( Router\RouterInterface $router, - Template\TemplateRendererInterface $template = null, + ?Template\TemplateRendererInterface $template = null, string $containerName ) { $this->router = $router;