Skip to content

Conversation

akanchhaS
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade typeorm from 0.2.24 to 0.3.26.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 691 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Prototype Pollution
SNYK-JS-TYPEORM-590152
63 Mature
medium severity Prototype Pollution
SNYK-JS-XML2JS-5414874
63 Proof of Concept
medium severity Prototype Pollution
SNYK-JS-HIGHLIGHTJS-1045326
63 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-HIGHLIGHTJS-1048676
63 No Known Exploit
Release notes
Package name: typeorm
  • 0.3.26 - 2025-08-18

    Notes:

    • When using MySQL, TypeORM now connects using stringifyObjects: true, in order to avoid a potential security vulnerability
      in the mysql/mysql2 client libraries. You can revert to the old behavior by setting connectionOptions.extra.stringifyObjects = false.
    • When using SAP HANA, TypeORM now uses the built-in pool from the @ sap/hana-client library. The deprecated hdb-pool
      is no longer necessary and can be removed. See https://typeorm.io/docs/drivers/sap/#data-source-options for the new pool options.

    What's Changed

    New Contributors

    Full Changelog: 0.3.25...0.3.26

  • 0.3.26-dev.f351757 - 2025-07-09
  • 0.3.26-dev.f2d2236 - 2025-06-21
  • 0.3.26-dev.ec26eae - 2025-08-14
  • 0.3.26-dev.d57fe3b - 2025-07-20
  • 0.3.26-dev.d1e3950 - 2025-08-16
  • 0.3.26-dev.bdb8326 - 2025-06-19
  • 0.3.26-dev.aebc7eb - 2025-07-01
  • 0.3.26-dev.abf8863 - 2025-06-21
  • 0.3.26-dev.a4c9dd8 - 2025-07-06
  • 0.3.26-dev.8097d1a - 2025-07-29
  • 0.3.26-dev.70057de - 2025-06-21
  • 0.3.26-dev.6e9f20d - 2025-08-05
  • 0.3.26-dev.66ee307 - 2025-07-04
  • 0.3.26-dev.5904ac3 - 2025-06-23
  • 0.3.26-dev.3c26cf1 - 2025-07-08
  • 0.3.26-dev.23fcde2 - 2025-07-28
  • 0.3.26-dev.1ea3a5e - 2025-07-03
  • 0.3.26-dev.1bcf055 - 2025-06-19
  • 0.3.26-dev.17cf837 - 2025-08-01
  • 0.3.26-dev.1737e97 - 2025-07-08
  • 0.3.26-dev.0b767e8 - 2025-08-16
  • 0.3.26-dev.01dddfe - 2025-06-22
  • 0.3.26-dev.1698313 - 2025-08-16
  • 0.3.25 - 2025-06-19

    What's Changed

    New Contributors

    Full Changelog: 0.3.24...0.3.25

  • 0.3.25-dev.eb3093d - 2025-06-05
  • 0.3.25-dev.ead4f98 - 2025-06-18
  • 0.3.25-dev.ce23d46 - 2025-06-16
  • 0.3.25-dev.b1e93f7 - 2025-06-18
  • 0.3.25-dev.af9ecc0 - 2025-06-17
  • 0.3.25-dev.a9c16ee - 2025-06-05
  • 0.3.25-dev.930eefd - 2025-06-06
  • 0.3.25-dev.86f12c9 - 2025-06-10
  • 0.3.25-dev.65d5a00 - 2025-06-05
  • 0.3.25-dev.63a3b9a - 2025-06-17
  • 0.3.25-dev.61753b1 - 2025-06-05
  • 0.3.25-dev.5003aaa - 2025-05-21
  • 0.3.25-dev.4b0ffee - 2025-06-06
  • 0.3.25-dev.42e7cbe - 2025-06-17
  • 0.3.25-dev.42913b9 - 2025-06-11
  • 0.3.25-dev.413f0a6 - 2025-06-05
  • 0.3.25-dev.2bfa300 - 2025-06-04
  • 0.3.25-dev.24c3e38 - 2025-06-05
  • 0.3.25-dev.12a71e4 - 2025-05-14
  • 0.3.25-dev.07d7913 - 2025-06-04
  • 0.3.25-dev.03faa78 - 2025-06-14
  • 0.3.24 - 2025-05-14

    What's Changed

    New Contributors

    Full Changelog: 0.3.23...0.3.24

  • 0.3.24-dev.e9eaf79 - 2025-05-13
  • 0.3.24-dev.d325d9e - 2025-05-14
  • 0.3.24-dev.c464ff8 - 2025-05-09
  • 0.3.24-dev.b8dbca5 - 2025-05-14
  • 0.3.24-dev.a6b61f7 - 2025-05-13
  • 0.3.24-dev.a213bbd - 2025-05-09
  • 0.3.24-dev.9f889b3 - 2025-05-13
  • 0.3.24-dev.80e9b30 - 2025-05-07
  • 0.3.24-dev.6d1c4f0 - 2025-05-12
  • 0.3.24-dev.39a6562 - 2025-05-12
  • 0.3.24-dev.15de733 - 2025-05-11
  • 0.3.24-dev.144634d - 2025-05-13
  • 0.3.24-dev.1198dc2 - 2025-05-12
  • 0.3.24-dev.2168441 - 2025-05-11
  • 0.3.23 - 2025-05-07

    ⚠️ Note on a breaking change

    This release includes a technically breaking change (from this PR) in the behaviour of the delete and update methods of the EntityManager and Repository APIs, when an empty object is supplied as the criteria:

    await repository.delete({})
    await repository.update({}, { foo: 'bar' })
    • Old behaviour was to delete or update all rows in the table
    • New behaviour is to throw an error: Empty criteria(s) are not allowed for the delete/update method.

    Why?

    This behaviour was not documented and is considered dangerous as it can allow a badly-formed object (e.g. with an undefined id) to inadvertently delete or update the whole table.

    When the intention actually was to delete or update all rows, such queries can be rewritten using the QueryBuilder API:

    await repository.createQueryBuilder().delete().execute()
    // executes: DELETE FROM table_name
    await repository.createQueryBuilder().update().set({ foo: 'bar' }).execute()
    // executes: UPDATE table_name SET foo = 'bar'

    An alternative method for deleting all rows is to use:

    await repository.clear()
    // executes: TRUNCATE TABLE table_name

    What's Changed

Snyk has created this PR to upgrade typeorm from 0.2.24 to 0.3.26.

See this package in npm:
typeorm

See this project in Snyk:
https://app.snyk.io/org/panda-co/project/ebfb2282-581e-4b1b-afb0-8a0e07b1b540?utm_source=github&utm_medium=referral&page=upgrade-pr
@akanchhaS
Copy link
Owner Author

akanchhaS commented Sep 15, 2025

Snyk checks have failed. 1 issues have been found so far.

Icon Severity Issues
Critical 0
High 0
Medium 1
Low 0

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. 1 issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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.

2 participants