Skip to content

chore(deps): update all dependencies to the latest minor version - #12015

Merged
alumni merged 1 commit into
typeorm:v0.3from
alumni:chore/dependency-updates-v03
Feb 23, 2026
Merged

alumni merged 1 commit into
typeorm:v0.3from
alumni:chore/dependency-updates-v03

Conversation

@alumni

@alumni alumni commented Feb 20, 2026 •

Copy link
Copy Markdown
Collaborator

Description of change

Update all dependencies to latest minor.

Please wait to merge until GHSA-3ppc-4f35-3m26 gets backported to minimatch@9 - tracked in isaacs/minimatch#275. Once the fix for minimatch is released, we'll also update this PR so we can silence the security alert in the repo. Users of typeorm will need to handle the minimatch update in their own repo, since typeorm > glob@^10.5.0 > minimatch@^9.0.4. Either way, since the glob is usually not user input, nobody should be really affected.

Update: [email protected] was just released. The advisory is not yet updated, but that should follow soon.

Pull-Request Checklist

  • Code is up-to-date with the v0.3 branch
  • This pull request links relevant issues as Fixes #00000
  • There are new or updated tests validating the change (tests/**.test.ts)
  • Documentation has been updated to reflect this change (docs/docs/**.md)

@pkg-pr-new

pkg-pr-new Bot commented Feb 20, 2026 •

Copy link
Copy Markdown
  • typeorm-sql-js-example

    npm i https://pkg.pr.new/typeorm/typeorm@12015
    

commit: bcb8079

@coveralls

coveralls commented Feb 20, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 80.79% (+0.02%) from 80.766%
when pulling bcb8079 on alumni:chore/dependency-updates-v03
into 3d38303 on typeorm:v0.3.

@alumni
alumni force-pushed the chore/dependency-updates-v03 branch from 6740e23 to bcb8079 Compare February 22, 2026 17:23
@alumni
alumni marked this pull request as ready for review February 22, 2026 17:26
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

User description

Description of change

Update all dependencies to latest minor.

Please wait to merge until GHSA-3ppc-4f35-3m26 gets backported to minimatch@9 - tracked in isaacs/minimatch#275. Once the fix for minimatch is released, we'll also update this PR so we can silence the security alert in the repo. Users of typeorm will need to handle the minimatch update in their own repo, since typeorm > glob@^10.5.0 > minimatch@^9.0.4. Either way, since the glob is usually not user input, nobody should be really affected.

Update: [email protected] was just released. The advisory is not yet updated, but that should follow soon.

Pull-Request Checklist

  • Code is up-to-date with the v0.3 branch
  • This pull request links relevant issues as Fixes #00000
  • There are new or updated tests validating the change (tests/**.test.ts)
  • Documentation has been updated to reflect this change (docs/docs/**.md)

PR Type

Enhancement


Description

  • Update all dependencies to latest minor versions

  • Improve code documentation formatting in RelationJoinColumnBuilder

  • Update 16 dev and production dependencies across the stack


Diagram Walkthrough

flowchart LR
  A["Dependencies Update"] --> B["Production Dependencies"]
  A --> C["Dev Dependencies"]
  B --> D["dedent 1.7.1"]
  C --> E["@eslint/js 9.39.3"]
  C --> F["Database Drivers"]
  C --> G["Utilities"]
  F --> H["mssql, mysql2, pg"]
  G --> I["redis, sql.js, typescript-eslint"]
  J["Documentation"] --> K["RelationJoinColumnBuilder.ts"]
  K --> L["Enhanced JSDoc Comments"]
Loading

File Walkthrough

Relevant files
Dependencies
package.json
Bump all dependencies to latest minor versions                     

package.json

  • Updated dedent from ^1.7.0 to ^1.7.1
  • Updated dev dependencies: @eslint/js, @google-cloud/spanner,
    @sap/hana-client, eslint, eslint-plugin-jsdoc, globals
  • Updated database drivers: mssql, mysql2, pg, pg-query-stream
  • Updated utilities: pkg-pr-new, redis, sql.js, typescript-eslint
+15/-15 
Documentation
RelationJoinColumnBuilder.ts
Improve JSDoc formatting and code examples                             

src/metadata-builder/RelationJoinColumnBuilder.ts

  • Enhanced JSDoc comments with improved formatting and code block syntax
  • Wrapped decorator examples in backticks for better readability
  • Added code block markers around multi-line decorator examples
  • Improved spacing and structure of documentation comments
+11/-5   

@alumni
alumni requested review from gioboa and naorpeled February 22, 2026 17:27
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion                                                                                                                                    Impact
General
Remove unnecessary escape character in comment

Remove the unnecessary backslash from @JoinColumn within the JSDoc markdown
code block, as it is not needed for escaping and will be rendered literally.

src/metadata-builder/RelationJoinColumnBuilder.ts [36-41]

 * ```
-* \@JoinColumn([
+* @JoinColumn([
 *      { name: "category_title", referencedColumnName: "type" },
 *      { name: "category_title", referencedColumnName: "name" },
 * ])
 * ```
  • Apply / Chat
Suggestion importance[1-10]: 3

__

Why: The suggestion correctly identifies and fixes an unnecessary escape character in a JSDoc comment block that was added in the PR, improving the correctness of the code example.

Low
  • More

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider


Remediation recommended

1. Dev deps require newer Node 🐞 Bug ⛯ Reliability
Description
Several devDependency upgrades in this PR declare Node >=18 (or higher), but package.json still
advertises engines.node >=16.13.0. Contributors (or downstreams building from source) using Node
16 may be unable to run lint/tests due to runtime syntax/engine incompatibility in these dev tools.
Code

package.json[139]

+    "globals": "^17.3.0",
Evidence
package.json claims the project supports Node >=16.13.0, but the upgraded devDependencies pulled
in by this PR explicitly declare Node >=18 (or stricter) in package-lock.json (e.g., globals,
typescript-eslint, mssql, @google-cloud/spanner). That means common dev workflows
(lint/typecheck/tests) will not be compatible with Node 16 even though the engines field suggests it
should be.

package.json[139-143]
package-lock.json[7408-7416]
package-lock.json[15264-15278]
package-lock.json[10751-10769]
package-lock.json[1249-1256]
.nvmrc[1-1]
DEVELOPER.md[53-56]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
DevDependencies updated in this PR require Node >=18 (or stricter), but the repo still advertises `engines.node >=16.13.0`, which can mislead contributors and cause `npm run lint/test` failures on Node 16.

### Issue Context
- Keep runtime support for Node 16 if that is still a goal.
- This is primarily a *development tooling* requirement mismatch.

### Fix Focus Areas
- package.json[241-253]

### Suggested approach
- Keep `engines.node` as-is for package consumers.
- Add/extend `devEngines` to include a Node version requirement aligned with the dev toolchain (and `.nvmrc`), e.g. `>=20` or at least `>=18.18.0`.
- Optionally add a short note in DEVELOPER.md that Node 16 is runtime-supported but not sufficient for local development scripts.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@alumni
alumni merged commit 98c313e into typeorm:v0.3 Feb 23, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants