Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This pull request primarily updates dependencies and refactors the cache helper for permissions to improve clarity and maintainability. It upgrades several packages to their latest versions, and renames the generic
cache.jstopermission-cache.jsthroughout the codebase, updating all relevant imports and references. Additionally, test files and identifiers have been renamed to align with this change.Dependency Upgrades:
package.jsonandnpm-shrinkwrap.json, includingexpress-rate-limit(8.5.1),graphql(16.14.0),sinon(22.0.0), and several others for improved security and compatibility.Permission Cache Refactor:
Renamed
src/helpers/cache.jstosrc/helpers/permission-cache.js, and updated all imports in service, resolver, and test files to use the new module name.Changed the exported class from
CachetoPermissionCachein the new helper file for better specificity.Testing Updates:
tests/unit-test/cache.test.jstotests/unit-test/permission-cache.test.jsand updated test identifiers to match the new naming convention.These changes help clarify the purpose of the permission cache, improve code consistency, and keep dependencies up to date.