Open
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
1237ec7 to
3208740
Compare
3208740 to
00d7a3f
Compare
00d7a3f to
0c1a432
Compare
f4a02da to
5e2b813
Compare
- Upgrade various dependencies in package.json and package-lock.json, including form-data, query-string, ramda, chai, mocha, and others. - Modify husky pre-commit and pre-push scripts to remove unnecessary shell script lines. - Refactor ramda imports in multiple files to use specific functions instead of importing the entire library.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Introduced to document API definitions and client method mappings. - Updated to include coverage directory. - Enhanced and with new dependencies for coverage reporting. - Added unit tests for beneficiaries, consent history, pay links, and recurring payments. - Refactored test scripts to include coverage options for unit and integration tests.
- Added .nvmrc file to specify Node.js version v20. - Updated package.json and package-lock.json to require Node.js version >= 20.20.0. - Enhanced husky pre-push script to run tests across multiple Node.js versions. - Refactored TypeScript configuration for improved clarity and added ts-node options. - Made minor adjustments to documentation comments for consistency.
5e2b813 to
dda54b9
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
- Updated version to 7.0.0, dropping support for Node.js 18; now requires Node.js >= 20.20.0. - Enhanced gateway behavior for URL rewriting and added support for new API features. - Updated documentation to reflect changes and added upgrade notes for users transitioning from 6.x.
dda54b9 to
873ece2
Compare
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.
Description
This PR updates dependencies, migrates to ESLint 9 and TypeScript 5, adds the standard financial statements API and endpoint coverage docs, and expands tests.
Dependency upgrades
Husky
Code and API changes
Documentation
Tests
Other
Screenshots, Recordings
N/A – dependency, config, and test changes only; no UI or runtime behaviour changes that need screenshots or recordings.
Note
Medium Risk
Medium risk due to the Node runtime requirement jump and broad dependency/tooling upgrades, plus new API surface and stronger test gating that may affect CI and consumers.
Overview
Updates the library to a new major release (
7.0.0) that bumps the Node engine to>= 20.20.0, upgrades key deps (notablyjosev6, TypeScript 5, ESLint 9), and adjusts examples accordingly (e.g., switchingjoseusage to dynamicimport()and refactoring Ramda usage to named imports).Modernizes tooling by removing
.eslintrc.jsonin favor ofeslint.config.js, expanding ignore files (.gitignore,.npmignore), adding.nvmrc, and tightening Husky hooks: pre-commit now runslint,build, andtest:unit, while pre-push runs the fullnpm testsuite across multiple Node versions whennvmis available.Adds/records API surface and verification artifacts: introduces
ENDPOINT_COVERAGE.md, documents the release inCHANGELOG.md, and includes new client endpoints such asgetStandardFinancialStatements/getStandardFinancialStatementplus unauthenticatedlistLegacyConnections, with accompanying expanded unit/integration tests and coverage scripts enforcing 90% thresholds.Written by Cursor Bugbot for commit 873ece2. This will update automatically on new commits. Configure here.