Skip to content

Update dependencies and refactor components with authentication enhancements - #86

Open
HolimaX wants to merge 2 commits into
masterfrom
release/release-3-3
Open

HolimaX wants to merge 2 commits into
masterfrom
release/release-3-3

Conversation

@HolimaX

@HolimaX HolimaX commented Sep 8, 2026 •

Copy link
Copy Markdown
Owner

This PR:

  • Updates project dependencies to the latest compatible versions and resolves transitive vulnerabilities.
  • Refactors multiple UI components for consistency, improved performance, and smaller bundle size.
  • Adds authentication enhancements:
  • Adds New login/refresh token flow and session handling.
  • Adds Role-based access controls for protected routes and components.
  • Improves error handling and user-facing auth error messages.
  • Migrates shared utilities and hooks to a central auth module to reduce duplication.
  • Improves test coverage for authentication flows and key components.
  • Adds documentation and migration notes for environment variables and configuration changes.
  • Implements Minor performance optimizations and cleanup across the codebase.

Ecosystem Compatibility set:

Communication channels:

  • Google Groups
  • GitHub Releases
  • Postman Announcements
  • Firebase
  • Keybase

HolimaX and others added 2 commits December 7, 2022 18:40
* Bump merge-deep from 3.0.2 to 3.0.3 (#44)

Bumps [merge-deep](https://github.com/jonschlinkert/merge-deep) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/jonschlinkert/merge-deep/releases)
- [Commits](jonschlinkert/merge-deep@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: merge-deep
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump url-parse from 1.4.7 to 1.5.3 (#49)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.4.7...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ws from 5.2.2 to 5.2.3 (#48)

Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@5.2.2...5.2.3)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Bump color-string from 1.5.3 to 1.6.0 (#47)

Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.3 to 1.6.0.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Qix-/color-string/commits/1.6.0)

---
updated-dependencies:
- dependency-name: color-string
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Bump tmpl from 1.0.4 to 1.0.5 (#46)

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Bump path-parse from 1.0.6 to 1.0.7 (#45)

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Bump ssri from 6.0.1 to 6.0.2 (#38)

Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](npm/ssri@v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dns-packet from 1.3.1 to 1.3.4 (#43)

Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](mafintosh/dns-packet@v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Bump follow-redirects from 1.8.1 to 1.14.7 (#50)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.8.1 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.8.1...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Create CODE_OF_CONDUCT.md

* Bump url-parse from 1.5.3 to 1.5.7 (#54)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump follow-redirects from 1.14.7 to 1.14.8 (#53)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Bump hosted-git-info from 2.8.4 to 2.8.9 (#42)

Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.4 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](npm/hosted-git-info@v2.8.4...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Bump handlebars from 4.7.6 to 4.7.7 (#40)

Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](handlebars-lang/handlebars.js@v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Bump y18n from 3.2.1 to 3.2.2 (#37)

Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Bump elliptic from 6.5.3 to 6.5.4 (#36)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](indutny/elliptic@v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Update config.yml

* Update config.yml

* Bump url-parse from 1.5.7 to 1.5.10 (#55)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump node-sass from 4.13.1 to 7.0.0 (#52)

Bumps [node-sass](https://github.com/sass/node-sass) from 4.13.1 to 7.0.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](sass/node-sass@v4.13.1...v7.0.0)

---
updated-dependencies:
- dependency-name: node-sass
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Updated config.yml

* Updated config.yml

* Revert "Bump node-sass from 4.13.1 to 7.0.0 (#52)" (#58)

This reverts commit 7fa49ae.

* #DEV-2 - Updating dependencies

* Add .circleci/config.yml (#62)

* Update Release-1 - Step 4 (#18)

* Create README.md

* Update README.md

* #DEV-1 #8 Adding OKTA Support for Auth and Adding UI elements for Cloud Dashboard

* #EDU-1.0.0 #8 CircleCI fix try 11

* Re-locating files to enable easy implementation of rss feeds

* Update README.md (#24)

* Adds GitHub Actions badge

* #DEV-1 - Adding additional info and env variable for automation

* #EDU-1 - Updating NPM packaging configuration; Adding Node global variable configuration for package dependency support; Updating VSCode project name; Attempting to re-fix CircleCI breakage

* Initial setup of platform integration and cleanup - Step 1 (#14)

* Adding comments, TODOs, tf plan variable for task, QA stage and unit test reference

* Adding comments and QA shared library versioning parametrization

* Adding initial Native Code/JNI support

* Adding generic function calls for JNI C/Cpp comm standard

* #EDU-1 #8 Syncing currently used Python SO module name

Co-authored-by: Linards <hx@inbox.lv>

* Update Feature/c-so-integration - Step 2 (#17)

* Update README.md

* Create README.md

* Update README.md

* Update Jenkinsfile (#16)

* Adding additional handling for GitHubs registry with dummy credentials

* Update main.tf (#15)

* Adding better handling for terraform states

* Feature/adding reactjs robots sitemap support (#51)

* #DEV-2 - Adding SOE capabilities
* Updated config.yml
* #DEV-2 - Updating dependencies

* Delete package-lock.json

* Feature/adding dynamic integration resolution (#60)

* Update README.md

* #DEV-1 - initial commit for dynamic integration resolution logic

* Update manifest.json

* #DEV-2 - Updating dependencies

* #DEV-2 - Updating dependencies and adding fix for missing prop check

* #EDU-1.0.0 - Add initial logic for exported method and REST API support for PII data handling via dynamic graph rendering

* #EDU-1.0.0 - Rename merge conflicted package.json

Co-authored-by: Linards Liepins <hx@inbox.lv>

* Deleting lock files to workaround merge conflicts

* Delete yarn.lock

* #CICD-1 - Adding QA for MD and YAML files (#76)

* Bugfix/release 1 business1.0.0 marketing1.0.5 techncial0.2.6 final 34 (#72)

* #DEV-1 - Bugfixes to PCD loading

* #DEV-1 - Adding reAptcha integration, AdSense integration, ToC and PP/CP Consent popup, Fixing local configuration, Reducing techdebt by minor cleanups

* #DEV-1 - Typo fix

* #CICD-1 - Adding QA for MD and YAML files

* #CICD-1 - Adjusting build to use npm ci

* #DEV-1 - Adding initial support for EC2 and EKS Terraform provisioning

* #DEV-1 - Adding initial README for terraform

* #CICD-1 - Updating CodeQL version

* #CICD-1 - Syntax and semantics cleanup

* #DEV-1 - NPM Audit fixes

* #DEV-1 #CICD-1 - Adding support for OpenGraph, Fixing branding in Profile, Adjusting API request syntax and Updating dependencies

* Merge branch 'release/release-3-3' for PR #79

* Documentation update

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* #DEV-2 - Added support for Service Tags, WebManifest Protocol Handlers and HealthyMe Android App by HealthDash, Added automated MAN generation on Linux, AWS S3 to fallback to CD or Demo resources, Added AWS Secret Manager support for .env storage

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* #CICD-1 - CircleCI build fix attempt #1

* Updated config.yml

* Updated config.yml

* Updated config.yml

* #CICD-1 - CircleCI build fix attempt #2

* #CICD-1 - CircleCI build fix attempt #3

* #CICD-1 - CircleCI build fix attempt #4

* #CICD-1 - CircleCI build fix attempt #5

* #CICD-1 - CircleCI build fix attempt #6

* #CICD-1 - CircleCI build fix attempt #7

* Fix build: add --legacy-peer-deps to npm install (#83)

* Fix npm install ERESOLVE peer dependency conflict

react-router@7.15.0 requires react>=18 but project uses react@16.14.0.
Add --legacy-peer-deps to npm i --save to bypass strict peer resolution.

* Add Node.js 18.x to CI workflow matrix

Signed-off-by: Linards <33150232+HolimaX@users.noreply.github.com>

---------

Signed-off-by: Linards <33150232+HolimaX@users.noreply.github.com>
Co-authored-by: circleci-app[bot] <127350680+circleci-app[bot]@users.noreply.github.com>
Co-authored-by: Linards <33150232+HolimaX@users.noreply.github.com>

* Fix build: force ajv@8 to resolve MODULE_NOT_FOUND error (#84)

ajv-keywords@5 (used by react-scripts@5/webpack5) requires
ajv@8's codegen API (ajv/dist/compile/codegen), but --legacy-peer-deps
allows ajv@6 to be installed, causing the build to fail with
"Cannot find module 'ajv/dist/compile/codegen'".

Add an explicit `npm install ajv@^8.12.0` step after the main
install to ensure the correct version is present.

Co-authored-by: circleci-app[bot] <127350680+circleci-app[bot]@users.noreply.github.com>

* #DEV-2 - feat: update package version and dependencies, enhance authentication flow

- Bump version to 0.1.14 and update versionName to 14 in package.json
- Add new configuration options for ads and Google Analytics
- Upgrade dependencies including Okta SDK and FontAwesome
- Refactor authentication components to use withOktaAuth HOC
- Implement Google Analytics event tracking for login and registration attempts
- Add warning for missing Okta configuration in App component
- Improve user experience with enhanced registration and login forms
- Introduce CI workflow for linting and testing on push and pull requests

* fix: pin react-adsense to ^0.1.0 (^0.1.3 does not exist on npm) (#85)

The latest published version of react-adsense is 0.1.0; version 0.1.3
was never released, causing ETARGET errors during npm install.
Downgrade the version constraint to resolve the install failure.

AI-Generated: true

Co-authored-by: circleci-app[bot] <127350680+circleci-app[bot]@users.noreply.github.com>

* #DEV-2 - Refactor components to functional components with hooks; integrate Okta authentication and Google Analytics

- Converted `Favourites`, `Home`, `Navbar`, `Search`, `User`, and `Navigation` components from class-based to functional components using React hooks.
- Implemented `useOktaAuth` for authentication handling in `Navbar`, `Home`, and `User` components.
- Added Google Analytics tracking for page views in `Favourites`, `Home`, `Navbar`, and `User` components.
- Enhanced `Search` component to handle searches for both beers and platform apps.
- Updated Redux state management in `beerReducer` to handle errors and search queries.
- Added tests for `Navbar` and `Search` components to ensure proper rendering and functionality.
- Improved sitemap generation script to include only relevant routes and handle errors gracefully.
- Updated `index.js` to use `createRoot` from React 18 and refactored routing logic for better clarity.

---------

Signed-off-by: Linards <33150232+HolimaX@users.noreply.github.com>
Co-authored-by: circleci-app[bot] <127350680+circleci-app[bot]@users.noreply.github.com>
@HolimaX HolimaX self-assigned this Sep 8, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant