From f6a7878aa4380a34ecfcd8da1e58f7605fabeef8 Mon Sep 17 00:00:00 2001 From: ADmad Date: Sat, 7 Jan 2023 18:45:52 +0530 Subject: [PATCH 01/12] Don't override user provided "data-url". Closes #310 --- src/Listener/ViewSearchListener.php | 18 +++-- tests/Fixture/BlogsFixture.php | 25 +++++++ .../Listener/ViewSearchListenerTest.php | 73 +++++++++++++++++++ 3 files changed, 108 insertions(+), 8 deletions(-) create mode 100644 tests/Fixture/BlogsFixture.php create mode 100644 tests/TestCase/Listener/ViewSearchListenerTest.php diff --git a/src/Listener/ViewSearchListener.php b/src/Listener/ViewSearchListener.php index b53270c..e46ba0e 100644 --- a/src/Listener/ViewSearchListener.php +++ b/src/Listener/ViewSearchListener.php @@ -153,18 +153,20 @@ public function fields(): array ]; } - $urlArgs = []; - - $fieldKeys = $input['fields'] ?? ['id' => $field, 'value' => $field]; - if (is_array($fieldKeys)) { - foreach ($fieldKeys as $key => $val) { - $urlArgs[$key] = $val; + if (!isset($input['data-url'])) { + $urlArgs = []; + + $fieldKeys = $input['fields'] ?? ['id' => $field, 'value' => $field]; + if (is_array($fieldKeys)) { + foreach ($fieldKeys as $key => $val) { + $urlArgs[$key] = $val; + } } + + $input['data-url'] = Router::url(['action' => 'lookup', '_ext' => 'json', '?' => $urlArgs]); } unset($input['fields']); - $url = array_merge(['action' => 'lookup', '_ext' => 'json'], ['?' => $urlArgs]); - $input['data-url'] = Router::url($url); $fields[$field] = $input; } diff --git a/tests/Fixture/BlogsFixture.php b/tests/Fixture/BlogsFixture.php new file mode 100644 index 0000000..4a677fb --- /dev/null +++ b/tests/Fixture/BlogsFixture.php @@ -0,0 +1,25 @@ + ['type' => 'integer'], + 'is_active' => ['type' => 'boolean', 'default' => true, 'null' => false], + 'name' => ['type' => 'string', 'length' => 255, 'null' => false], + 'body' => ['type' => 'text', 'null' => false], + '_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]], + ]; + + public $records = [ + ['name' => '1st post', 'body' => '1st post body'], + ['name' => '2nd post', 'body' => '2nd post body'], + ['name' => '3rd post', 'body' => '3rd post body'], + ['name' => '4th post', 'body' => '4th post body'], + ['name' => '5th post', 'body' => '5th post body'], + ]; +} diff --git a/tests/TestCase/Listener/ViewSearchListenerTest.php b/tests/TestCase/Listener/ViewSearchListenerTest.php new file mode 100644 index 0000000..696cd72 --- /dev/null +++ b/tests/TestCase/Listener/ViewSearchListenerTest.php @@ -0,0 +1,73 @@ +setRouteClass(DashedRoute::class); + $routesBuilder->connect('/{controller}/{action}/*', []) + ->setExtensions(['json']); + + $request = new ServerRequest([ + 'url' => '/blogs/index', + 'params' => ['controller' => 'Blogs', 'action' => 'index', 'plugin' => null, '_ext' => null], + ]); + + $this->controller = new Controller($request, null, 'Blogs'); + + $this->listener = new ViewSearchListener($this->controller); + + Router::setRequest($request); + } + + public function testFields() + { + $this->listener->setConfig(['fields' => ['category_id']]); + + $fields = $this->listener->fields(); + $expected = [ + 'category_id' => [ + 'required' => false, + 'type' => 'select', + 'value' => null, + 'class' => 'autocomplete', + 'data-url' => '/blogs/lookup.json?id=category_id&value=category_id', + ], + ]; + $this->assertEquals($expected, $fields); + + $this->listener->setConfig([ + 'fields' => ['category_id' => ['data-url' => '/custom']], + ], null, true); + + $fields = $this->listener->fields(); + $expected['category_id']['data-url'] = '/custom'; + $this->assertEquals($expected, $fields); + } +} From a15b853f029dffa9bb83e8245376a57364189974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Turek?= Date: Thu, 12 Jan 2023 14:50:58 +0100 Subject: [PATCH 02/12] Replaced TableSchemaInterface with SchemaInterface Compatibility with non-table models --- src/View/Helper/CrudViewHelper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/View/Helper/CrudViewHelper.php b/src/View/Helper/CrudViewHelper.php index 62e0142..3dafdc5 100644 --- a/src/View/Helper/CrudViewHelper.php +++ b/src/View/Helper/CrudViewHelper.php @@ -3,8 +3,8 @@ namespace CrudView\View\Helper; -use Cake\Database\Schema\TableSchemaInterface; use Cake\Datasource\EntityInterface; +use Cake\Datasource\SchemaInterface; use Cake\Utility\Inflector; use Cake\Utility\Text; use Cake\View\Helper; @@ -388,9 +388,9 @@ public function currentModel(): string /** * Get model schema. * - * @return \Cake\Database\Schema\TableSchemaInterface + * @return \Cake\Datasource\SchemaInterface */ - public function schema(): TableSchemaInterface + public function schema(): SchemaInterface { return $this->getViewVar('modelSchema'); } From 7679f808cbf2ea08fef75ee66679c1363b2ae0c8 Mon Sep 17 00:00:00 2001 From: ADmad Date: Sun, 12 Mar 2023 18:28:41 +0530 Subject: [PATCH 03/12] Fix build status badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3623ba6..ed46da4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://img.shields.io/github/workflow/status/FriendsOfCake/crud-view/CI/master?style=flat-square)](https://github.com/FriendsOfCake/crud-view/actions?query=workflow%3ACI+branch%3Amaster) +[![Build Status]([https://img.shields.io/github/workflow/status/FriendsOfCake/crud-view/CI/master?style=flat-square](https://img.shields.io/github/actions/workflow/status/FriendsOfCake/crud-view/ci.yml?branch=master&style=flat-square))](https://github.com/FriendsOfCake/crud-view/actions?query=workflow%3ACI+branch%3Amaster) [![Total Downloads](https://img.shields.io/packagist/dt/FriendsOfCake/crud-view.svg?style=flat-square)](https://packagist.org/packages/FriendsOfCake/crud-view) [![Latest Stable Version](https://img.shields.io/packagist/v/friendsofcake/crud-view.svg?style=flat-square)](https://packagist.org/packages/FriendsOfCake/crud-view) [![Documentation Status](https://readthedocs.org/projects/crud-view/badge/?version=latest&style=flat-square)](https://readthedocs.org/projects/crud-view/?badge=latest) From c9b0fe27f7b4d9975799f40fa20f1a25e127e4f0 Mon Sep 17 00:00:00 2001 From: ADmad Date: Sun, 12 Mar 2023 18:29:11 +0530 Subject: [PATCH 04/12] fix build status badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ed46da4..ac045d4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status]([https://img.shields.io/github/workflow/status/FriendsOfCake/crud-view/CI/master?style=flat-square](https://img.shields.io/github/actions/workflow/status/FriendsOfCake/crud-view/ci.yml?branch=master&style=flat-square))](https://github.com/FriendsOfCake/crud-view/actions?query=workflow%3ACI+branch%3Amaster) +[![Build Status]([https://img.shields.io/github/workflow/status/FriendsOfCake/crud-view/CI/master?style=flat-square)](https://img.shields.io/github/actions/workflow/status/FriendsOfCake/crud-view/ci.yml?branch=master&style=flat-square))](https://github.com/FriendsOfCake/crud-view/actions?query=workflow%3ACI+branch%3Amaster) [![Total Downloads](https://img.shields.io/packagist/dt/FriendsOfCake/crud-view.svg?style=flat-square)](https://packagist.org/packages/FriendsOfCake/crud-view) [![Latest Stable Version](https://img.shields.io/packagist/v/friendsofcake/crud-view.svg?style=flat-square)](https://packagist.org/packages/FriendsOfCake/crud-view) [![Documentation Status](https://readthedocs.org/projects/crud-view/badge/?version=latest&style=flat-square)](https://readthedocs.org/projects/crud-view/?badge=latest) From e7929a23c0c8d62d0303dab50d29f1fde96b7d57 Mon Sep 17 00:00:00 2001 From: ADmad Date: Sun, 12 Mar 2023 18:30:05 +0530 Subject: [PATCH 05/12] fix build status badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ac045d4..580444f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status]([https://img.shields.io/github/workflow/status/FriendsOfCake/crud-view/CI/master?style=flat-square)](https://img.shields.io/github/actions/workflow/status/FriendsOfCake/crud-view/ci.yml?branch=master&style=flat-square))](https://github.com/FriendsOfCake/crud-view/actions?query=workflow%3ACI+branch%3Amaster) +[![Build Status](https://img.shields.io/github/actions/workflow/status/FriendsOfCake/crud-view/ci.yml?branch=master&style=flat-square)](https://github.com/FriendsOfCake/crud-view/actions?query=workflow%3ACI+branch%3Amaster) [![Total Downloads](https://img.shields.io/packagist/dt/FriendsOfCake/crud-view.svg?style=flat-square)](https://packagist.org/packages/FriendsOfCake/crud-view) [![Latest Stable Version](https://img.shields.io/packagist/v/friendsofcake/crud-view.svg?style=flat-square)](https://packagist.org/packages/FriendsOfCake/crud-view) [![Documentation Status](https://readthedocs.org/projects/crud-view/badge/?version=latest&style=flat-square)](https://readthedocs.org/projects/crud-view/?badge=latest) From f257000fde8379034e138777d3d711b460151dca Mon Sep 17 00:00:00 2001 From: Bernat Arlandis Date: Sun, 16 Apr 2023 23:49:08 +0200 Subject: [PATCH 06/12] Fix using default relations --- src/Listener/ViewListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Listener/ViewListener.php b/src/Listener/ViewListener.php index b457cc1..98f6301 100644 --- a/src/Listener/ViewListener.php +++ b/src/Listener/ViewListener.php @@ -68,7 +68,7 @@ public function beforePaginate(EventInterface $event): void } if (!$event->getSubject()->query->getContain()) { - $event->getSubject()->query->contain($this->_getRelatedModels(['manyToOne', 'oneToOne'])); + $event->getSubject()->query->contain($this->_getRelatedModels(['belongsTo', 'hasOne'])); } } From 58daeba3c5223cf2405ff280148ed6fb40fabcae Mon Sep 17 00:00:00 2001 From: ADmad Date: Mon, 17 Apr 2023 19:00:40 +0530 Subject: [PATCH 07/12] Update CI workflow --- .github/workflows/ci.yml | 27 ++++++++++++--------------- psalm.xml | 3 +++ src/Listener/ViewSearchListener.php | 1 + src/View/Widget/DateTimeWidget.php | 1 + 4 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36d3dbc..26fc712 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,18 +4,18 @@ on: [push, pull_request] jobs: testsuite: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: - prefer-lowest: [''] - php-version: ['7.4', '8.0', '8.1'] + php-version: ['7.4', '8.0', '8.1', '8.2'] + dependencies: ['highest'] include: - php-version: '7.2' - prefer-lowest: 'prefer-lowest' + dependencies: 'lowest' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -25,12 +25,9 @@ jobs: coverage: pcov - name: Composer install - run: | - if ${{ matrix.prefer-lowest == 'prefer-lowest' }}; then - composer update --prefer-lowest --prefer-stable - else - composer install - fi + uses: ramsey/composer-install@v2 + with: + dependency-versions: ${{ matrix.dependencies }} - name: Run PHPUnit run: | @@ -42,14 +39,14 @@ jobs: - name: Code Coverage Report if: matrix.php-version == '7.4' - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 cs-stan: name: Coding Standard & Static Analysis - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -57,7 +54,7 @@ jobs: php-version: '7.4' extensions: mbstring, intl coverage: none - tools: vimeo/psalm:4, phpstan:1.9 + tools: vimeo/psalm:5.9, phpstan:1.10 - name: Composer Install run: composer require --dev cakephp/cakephp-codesniffer:^4.1 diff --git a/psalm.xml b/psalm.xml index fa13ae4..d38a0ae 100644 --- a/psalm.xml +++ b/psalm.xml @@ -5,6 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://getpsalm.org/schema/config" xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" + findUnusedBaselineEntry="true" + findUnusedCode="false" + > diff --git a/src/Listener/ViewSearchListener.php b/src/Listener/ViewSearchListener.php index e46ba0e..4efca6d 100644 --- a/src/Listener/ViewSearchListener.php +++ b/src/Listener/ViewSearchListener.php @@ -134,6 +134,7 @@ public function fields(): array $input['class'] = 'autocomplete'; } + /** @psalm-suppress PossiblyUndefinedArrayOffset */ if ( !empty($input['class']) && strpos($input['class'], 'autocomplete') !== false diff --git a/src/View/Widget/DateTimeWidget.php b/src/View/Widget/DateTimeWidget.php index db8958b..6046507 100644 --- a/src/View/Widget/DateTimeWidget.php +++ b/src/View/Widget/DateTimeWidget.php @@ -110,6 +110,7 @@ public function render(array $data, ContextInterface $context): string $clearIcon = $this->clearIcon; $toggleIcon = $this->calendarIcon; + /** @psalm-suppress PossiblyUndefinedArrayOffset */ if (isset($datetimePicker['iconClass'])) { $toggleIcon = $datetimePicker['iconClass']; unset($datetimePicker['iconClass']); From ea225ca8fa56929b455f2dba2afae89fd24120f9 Mon Sep 17 00:00:00 2001 From: ADmad Date: Mon, 17 Apr 2023 18:37:44 +0530 Subject: [PATCH 08/12] Add empty option by default for search form selects. Closes #316 --- src/Listener/ViewSearchListener.php | 7 +++- tests/Fixture/BlogsFixture.php | 11 ++--- .../Listener/ViewSearchListenerTest.php | 42 ++++++++++++++++--- 3 files changed, 49 insertions(+), 11 deletions(-) diff --git a/src/Listener/ViewSearchListener.php b/src/Listener/ViewSearchListener.php index 4efca6d..1575e65 100644 --- a/src/Listener/ViewSearchListener.php +++ b/src/Listener/ViewSearchListener.php @@ -115,10 +115,15 @@ public function fields(): array $input['value'] = $request->getQuery($field); if (empty($input['options']) && $schema->getColumnType($field) === 'boolean') { - $input['options'] = ['No', 'Yes']; + $input['options'] = [__d('crud', 'No'), __d('crud', 'Yes')]; $input['type'] = 'select'; } + /** @psalm-suppress PossiblyUndefinedArrayOffset */ + if ($input['type'] === 'select') { + $input += ['empty' => true]; + } + if (!empty($input['options'])) { $input['empty'] = true; if (empty($input['class']) && !$config['select2']) { diff --git a/tests/Fixture/BlogsFixture.php b/tests/Fixture/BlogsFixture.php index 4a677fb..fa6da5e 100644 --- a/tests/Fixture/BlogsFixture.php +++ b/tests/Fixture/BlogsFixture.php @@ -12,14 +12,15 @@ class BlogsFixture extends TestFixture 'is_active' => ['type' => 'boolean', 'default' => true, 'null' => false], 'name' => ['type' => 'string', 'length' => 255, 'null' => false], 'body' => ['type' => 'text', 'null' => false], + 'user_id' => ['type' => 'integer'], '_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]], ]; public $records = [ - ['name' => '1st post', 'body' => '1st post body'], - ['name' => '2nd post', 'body' => '2nd post body'], - ['name' => '3rd post', 'body' => '3rd post body'], - ['name' => '4th post', 'body' => '4th post body'], - ['name' => '5th post', 'body' => '5th post body'], + ['name' => '1st post', 'body' => '1st post body', 'user_id' => 1], + ['name' => '2nd post', 'body' => '2nd post body', 'user_id' => 1], + ['name' => '3rd post', 'body' => '3rd post body', 'user_id' => 1], + ['name' => '4th post', 'body' => '4th post body', 'user_id' => 1], + ['name' => '5th post', 'body' => '5th post body', 'user_id' => 1], ]; } diff --git a/tests/TestCase/Listener/ViewSearchListenerTest.php b/tests/TestCase/Listener/ViewSearchListenerTest.php index 696cd72..8b3c905 100644 --- a/tests/TestCase/Listener/ViewSearchListenerTest.php +++ b/tests/TestCase/Listener/ViewSearchListenerTest.php @@ -48,26 +48,58 @@ public function setUp(): void public function testFields() { - $this->listener->setConfig(['fields' => ['category_id']]); + $this->listener->setConfig(['fields' => [ + 'name', + 'is_active', + 'user_id', + 'custom_select' => ['empty' => false, 'type' => 'select'], + ]]); $fields = $this->listener->fields(); $expected = [ - 'category_id' => [ + 'name' => [ 'required' => false, 'type' => 'select', 'value' => null, 'class' => 'autocomplete', - 'data-url' => '/blogs/lookup.json?id=category_id&value=category_id', + 'data-url' => '/blogs/lookup.json?id=name&value=name', + 'data-input-type' => 'text', + 'data-tags' => 'true', + 'data-allow-clear' => 'true', + 'data-placeholder' => '', + ], + 'is_active' => [ + 'required' => false, + 'type' => 'select', + 'value' => null, + 'empty' => true, + 'options' => ['No', 'Yes'], + ], + 'user_id' => [ + 'required' => false, + 'type' => 'select', + 'empty' => true, + 'value' => null, + 'class' => 'autocomplete', + 'data-url' => '/blogs/lookup.json?id=user_id&value=user_id', + ], + 'custom_select' => [ + 'required' => false, + 'type' => 'select', + 'empty' => false, + 'value' => null, + 'class' => 'autocomplete', + 'data-url' => '/blogs/lookup.json?id=custom_select&value=custom_select', ], ]; $this->assertEquals($expected, $fields); $this->listener->setConfig([ - 'fields' => ['category_id' => ['data-url' => '/custom']], + 'fields' => ['name' => ['data-url' => '/custom']], ], null, true); $fields = $this->listener->fields(); - $expected['category_id']['data-url'] = '/custom'; + $expected['name']['data-url'] = '/custom'; $this->assertEquals($expected, $fields); } } From 9918ca23632eabe1bcafedbb265693002b9fa4e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 May 2023 22:28:03 +0000 Subject: [PATCH 09/12] Bump requests from 2.22.0 to 2.31.0 in /docs Bumps [requests](https://github.com/psf/requests) from 2.22.0 to 2.31.0. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.22.0...v2.31.0) --- updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index e9f5e9f..6cb4701 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -12,7 +12,7 @@ packaging==19.2 Pygments==2.7.4 pyparsing==2.4.5 pytz==2019.3 -requests==2.22.0 +requests==2.31.0 six==1.13.0 snowballstemmer==2.0.0 Sphinx==2.2.1 From e6f29527ba03eacb27a83ff025c15e6675bf9062 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Jul 2023 13:10:46 +0000 Subject: [PATCH 10/12] Bump pygments from 2.7.4 to 2.15.0 in /docs Bumps [pygments](https://github.com/pygments/pygments) from 2.7.4 to 2.15.0. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](https://github.com/pygments/pygments/compare/2.7.4...2.15.0) --- updated-dependencies: - dependency-name: pygments dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 6cb4701..9d3b109 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -9,7 +9,7 @@ imagesize==1.1.0 Jinja2==2.11.3 MarkupSafe==1.1.1 packaging==19.2 -Pygments==2.7.4 +Pygments==2.15.0 pyparsing==2.4.5 pytz==2019.3 requests==2.31.0 From b0e59f80978f1e7376f0047898520604d97b0972 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Jul 2023 20:40:50 +0000 Subject: [PATCH 11/12] Bump certifi from 2022.12.7 to 2023.7.22 in /docs Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.12.7 to 2023.7.22. - [Commits](https://github.com/certifi/python-certifi/compare/2022.12.07...2023.07.22) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 6cb4701..526c856 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,7 +1,7 @@ alabaster==0.7.12 Babel==2.9.1 cakephp-theme==1.1.3 -certifi==2022.12.7 +certifi==2023.7.22 chardet==3.0.4 docutils==0.15.2 idna==2.8 From 83ee0629894311797643db0d5614cfbfad910495 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 04:37:55 +0000 Subject: [PATCH 12/12] Bump urllib3 from 1.26.5 to 1.26.17 in /docs Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.5 to 1.26.17. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.5...1.26.17) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 0179603..8b7a7d8 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -24,4 +24,4 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-phpdomain==0.6.2 sphinxcontrib-qthelp==1.0.2 sphinxcontrib-serializinghtml==1.1.3 -urllib3==1.26.5 +urllib3==1.26.17