@depup/typeorm 0.3.28-depup.0 → 0.3.28-depup.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +25 -223
  2. package/changes.json +30 -0
  3. package/package.json +71 -33
package/README.md CHANGED
@@ -1,234 +1,36 @@
1
- <div align="center">
2
- <a href="http://typeorm.io/">
3
- <picture>
4
- <source media="(prefers-color-scheme: dark)" srcset="https://github.com/typeorm/typeorm/raw/master/resources/typeorm-logo-colored-light.png">
5
- <source media="(prefers-color-scheme: light)" srcset="https://github.com/typeorm/typeorm/raw/master/resources/typeorm-logo-colored-dark.png">
6
- <img height="80" width="auto" alt="TypeORM Logo" src="https://github.com/typeorm/typeorm/raw/master/resources/typeorm-logo-colored-dark.png">
7
- </picture>
8
- </a>
9
- <br>
10
- <br>
11
- <a href="https://www.npmjs.com/package/typeorm"><img src="https://img.shields.io/npm/v/typeorm" alt="NPM Version"/></a>
12
- <a href="https://www.npmjs.com/package/typeorm"><img src="https://img.shields.io/npm/dm/typeorm" alt="NPM Downloads"/></a>
13
- <a href="https://github.com/typeorm/typeorm/actions/workflows/tests.yml?query=branch%3Amaster"><img src="https://github.com/typeorm/typeorm/actions/workflows/tests.yml/badge.svg?branch=master" alt="Commit Validation"/></a>
14
- <a href="https://coveralls.io/github/typeorm/typeorm?branch=master"><img src="https://coveralls.io/repos/github/typeorm/typeorm/badge.svg?branch=master" alt="Coverage Status"/></a>
15
- <a href=""><img src="https://img.shields.io/badge/License-MIT-teal.svg" alt="MIT License"/></a>
16
- <br>
17
- <br>
18
- </div>
1
+ # @depup/typeorm
19
2
 
20
- TypeORM is an [ORM](https://en.wikipedia.org/wiki/Object-relational_mapping)
21
- that can run in Node.js, Browser, Cordova, Ionic, React Native, NativeScript, Expo, and Electron platforms
22
- and can be used with TypeScript and JavaScript (ES2021).
23
- Its goal is to always support the latest JavaScript features and provide additional features
24
- that help you to develop any kind of application that uses databases - from
25
- small applications with a few tables to large-scale enterprise applications
26
- with multiple databases.
3
+ > Dependency-bumped version of [typeorm](https://www.npmjs.com/package/typeorm)
27
4
 
28
- TypeORM supports more databases than any other JS/TS ORM: [Google Spanner](./docs/docs/drivers/google-spanner.md), [Microsoft SqlServer](./docs/docs/drivers/microsoft-sqlserver.md), [MySQL/MariaDB](./docs/docs/drivers/mysql.md), [MongoDB](./docs/docs/drivers/mongodb.md), [Oracle](./docs/docs/drivers/oracle.md), [Postgres](./docs/docs/drivers/postgres.md), [SAP HANA](./docs/docs/drivers/sap.md) and [SQLite](./docs/docs/drivers/sqlite.md), as well we derived databases and different drivers.
5
+ Generated by [DepUp](https://github.com/depup/npm) -- all production
6
+ dependencies bumped to latest versions.
29
7
 
30
- TypeORM supports both [Active Record](./docs/docs/guides/1-active-record-data-mapper.md#what-is-the-active-record-pattern) and [Data Mapper](./docs/docs/guides/1-active-record-data-mapper.md#what-is-the-data-mapper-pattern) patterns, unlike all other JavaScript ORMs currently in existence, which means you can write high-quality, loosely coupled, scalable, maintainable applications in the most productive way.
8
+ ## Installation
31
9
 
32
- TypeORM is highly influenced by other ORMs, such as [Hibernate](http://hibernate.org/orm/),
33
- [Doctrine](http://www.doctrine-project.org/) and [Entity Framework](https://www.asp.net/entity-framework).
34
-
35
- ## Features
36
-
37
- - Supports both [DataMapper](./docs/docs/guides/1-active-record-data-mapper.md#what-is-the-data-mapper-pattern) and [ActiveRecord](./docs/docs/guides/1-active-record-data-mapper.md#what-is-the-active-record-pattern) (your choice).
38
- - Entities and columns.
39
- - Database-specific column types.
40
- - Entity manager.
41
- - Repositories and custom repositories.
42
- - Clean object-relational model.
43
- - Associations (relations).
44
- - Eager and lazy relations.
45
- - Unidirectional, bidirectional, and self-referenced relations.
46
- - Supports multiple inheritance patterns.
47
- - Cascades.
48
- - Indices.
49
- - Transactions.
50
- - Migrations and automatic migrations generation.
51
- - Connection pooling.
52
- - Replication.
53
- - Using multiple database instances.
54
- - Working with multiple database types.
55
- - Cross-database and cross-schema queries.
56
- - Elegant-syntax, flexible and powerful QueryBuilder.
57
- - Left and inner joins.
58
- - Proper pagination for queries using joins.
59
- - Query caching.
60
- - Streaming raw results.
61
- - Logging.
62
- - Listeners and subscribers (hooks).
63
- - Supports closure table pattern.
64
- - Schema declaration in models or separate configuration files.
65
- - Supports MySQL / MariaDB / Postgres / CockroachDB / SQLite / Microsoft SQL Server / Oracle / SAP Hana / sql.js.
66
- - Supports MongoDB NoSQL database.
67
- - Works in Node.js / Browser / Ionic / Cordova / React Native / NativeScript / Expo / Electron platforms.
68
- - TypeScript and JavaScript support.
69
- - ESM and CommonJS support.
70
- - Produced code is performant, flexible, clean, and maintainable.
71
- - Follows all possible best practices.
72
- - CLI.
73
-
74
- And more...
75
-
76
- With TypeORM, your models look like this:
77
-
78
- ```javascript
79
- import { Entity, PrimaryGeneratedColumn, Column } from "typeorm"
80
-
81
- @Entity()
82
- export class User {
83
- @PrimaryGeneratedColumn()
84
- id: number
85
-
86
- @Column()
87
- firstName: string
88
-
89
- @Column()
90
- lastName: string
91
-
92
- @Column()
93
- age: number
94
- }
95
- ```
96
-
97
- And your domain logic looks like this:
98
-
99
- ```javascript
100
- const userRepository = MyDataSource.getRepository(User)
101
-
102
- const user = new User()
103
- user.firstName = "Timber"
104
- user.lastName = "Saw"
105
- user.age = 25
106
- await userRepository.save(user)
107
-
108
- const allUsers = await userRepository.find()
109
- const firstUser = await userRepository.findOneBy({
110
- id: 1,
111
- }) // find by id
112
- const timber = await userRepository.findOneBy({
113
- firstName: "Timber",
114
- lastName: "Saw",
115
- }) // find by firstName and lastName
116
-
117
- await userRepository.remove(timber)
118
- ```
119
-
120
- Alternatively, if you prefer to use the `ActiveRecord` implementation, you can use it as well:
121
-
122
- ```javascript
123
- import { Entity, PrimaryGeneratedColumn, Column, BaseEntity } from "typeorm"
124
-
125
- @Entity()
126
- export class User extends BaseEntity {
127
- @PrimaryGeneratedColumn()
128
- id: number
129
-
130
- @Column()
131
- firstName: string
132
-
133
- @Column()
134
- lastName: string
135
-
136
- @Column()
137
- age: number
138
- }
139
- ```
140
-
141
- And your domain logic will look this way:
142
-
143
- ```javascript
144
- const user = new User()
145
- user.firstName = "Timber"
146
- user.lastName = "Saw"
147
- user.age = 25
148
- await user.save()
149
-
150
- const allUsers = await User.find()
151
- const firstUser = await User.findOneBy({
152
- id: 1,
153
- })
154
- const timber = await User.findOneBy({
155
- firstName: "Timber",
156
- lastName: "Saw",
157
- })
158
-
159
- await timber.remove()
10
+ ```bash
11
+ npm install @depup/typeorm
160
12
  ```
161
13
 
162
- ## Samples
163
-
164
- Take a look at the samples in [sample](https://github.com/typeorm/typeorm/tree/master/sample) for examples of usage.
165
-
166
- There are a few repositories that you can clone and start with:
167
-
168
- - [Example how to use TypeORM with TypeScript](https://github.com/typeorm/typescript-example)
169
- - [Example how to use TypeORM with JavaScript](https://github.com/typeorm/javascript-example)
170
- - [Example how to use TypeORM with JavaScript and Babel](https://github.com/typeorm/babel-example)
171
- - [Example how to use TypeORM with TypeScript and SystemJS in Browser](https://github.com/typeorm/browser-example)
172
- - [Example how to use TypeORM with TypeScript and React in Browser](https://github.com/ItayGarin/typeorm-react-swc)
173
- - [Example how to use Express and TypeORM](https://github.com/typeorm/typescript-express-example)
174
- - [Example how to use Koa and TypeORM](https://github.com/typeorm/typescript-koa-example)
175
- - [Example how to use TypeORM with MongoDB](https://github.com/typeorm/mongo-typescript-example)
176
- - [Example how to use TypeORM in a Cordova app](https://github.com/typeorm/cordova-example)
177
- - [Example how to use TypeORM with an Ionic app](https://github.com/typeorm/ionic-example)
178
- - [Example how to use TypeORM with React Native](https://github.com/typeorm/react-native-example)
179
- - [Example how to use TypeORM with Nativescript-Vue](https://github.com/typeorm/nativescript-vue-typeorm-sample)
180
- - [Example how to use TypeORM with Nativescript-Angular](https://github.com/betov18x/nativescript-angular-typeorm-example)
181
- - [Example how to use TypeORM with Electron using JavaScript](https://github.com/typeorm/electron-javascript-example)
182
- - [Example how to use TypeORM with Electron using TypeScript](https://github.com/typeorm/electron-typescript-example)
183
-
184
- ## Extensions
185
-
186
- There are several extensions that simplify working with TypeORM and integrating it with other modules:
187
-
188
- - [TypeORM integration](https://github.com/typeorm/typeorm-typedi-extensions) with [TypeDI](https://github.com/pleerock/typedi)
189
- - [TypeORM integration](https://github.com/typeorm/typeorm-routing-controllers-extensions) with [routing-controllers](https://github.com/pleerock/routing-controllers)
190
- - Models generation from the existing database - [typeorm-model-generator](https://github.com/Kononnable/typeorm-model-generator)
191
- - Fixtures loader - [typeorm-fixtures-cli](https://github.com/RobinCK/typeorm-fixtures)
192
- - ER Diagram generator - [typeorm-uml](https://github.com/eugene-manuilov/typeorm-uml/)
193
- - another ER Diagram generator - [erdia](https://www.npmjs.com/package/erdia/)
194
- - Create, drop and seed database - [typeorm-extension](https://github.com/tada5hi/typeorm-extension)
195
- - Automatically update `data-source.ts` after generating migrations/entities - [typeorm-codebase-sync](https://www.npmjs.com/package/typeorm-codebase-sync)
196
- - Easy manipulation of `relations` objects - [typeorm-relations](https://npmjs.com/package/typeorm-relations)
197
- - Automatically generate `relations` based on a GraphQL query - [typeorm-relations-graphql](https://npmjs.com/package/typeorm-relations-graphql)
198
- - Generate TypeORM entities from Valibot schemas - [piying-orm](https://github.com/piying-org/piying-orm)
199
-
200
- ## Contributing
201
-
202
- Learn about contribution [here](https://github.com/typeorm/typeorm/blob/master/CONTRIBUTING.md) and how to set up your development environment [here](https://github.com/typeorm/typeorm/blob/master/DEVELOPER.md).
203
-
204
- This project exists thanks to all the people who contribute:
205
-
206
- <a href="https://github.com/typeorm/typeorm/graphs/contributors"><img src="https://opencollective.com/typeorm/contributors.svg?width=890&showBtn=false" /></a>
207
-
208
- ## Sponsors
209
-
210
- Open source is hard and time-consuming. If you want to invest in TypeORM's future, you can become a sponsor and allow our core team to spend more time on TypeORM's improvements and new features.
211
-
212
- ### Champion
213
-
214
- Become a champion sponsor and get premium technical support from our core contributors. [Become a champion](https://opencollective.com/typeorm)
215
-
216
- <a href="https://opencollective.com/typeorm" target="_blank"><img src="https://opencollective.com/typeorm/tiers/gold-sponsor.svg?avatarHeight=36"></a>
217
-
218
- ### Supporter
219
-
220
- Support TypeORM's development with a monthly contribution. [Become a supporter](https://opencollective.com/typeorm)
221
-
222
- <a href="https://opencollective.com/typeorm" target="_blank"><img src="https://opencollective.com/typeorm/tiers/love.svg?avatarHeight=36"></a>
223
-
224
- ### Community
14
+ | Field | Value |
15
+ |-------|-------|
16
+ | Original | [typeorm](https://www.npmjs.com/package/typeorm) @ 0.3.28 |
17
+ | Processed | 2026-03-15 |
18
+ | Smoke test | passed |
19
+ | Deps updated | 6 |
225
20
 
226
- Join our community of supporters and help sustain TypeORM. [Become a community supporter](https://opencollective.com/typeorm)
21
+ ## Dependency Changes
227
22
 
228
- <a href="https://opencollective.com/typeorm" target="_blank"><img src="https://opencollective.com/typeorm/tiers/like.svg?avatarHeight=36"></a>
23
+ | Dependency | From | To |
24
+ |------------|------|-----|
25
+ | dayjs | ^1.11.19 | ^1.11.20 |
26
+ | dedent | ^1.7.0 | ^1.7.2 |
27
+ | dotenv | ^16.6.1 | ^17.3.1 |
28
+ | glob | ^10.5.0 | ^13.0.6 |
29
+ | uuid | ^11.1.0 | ^13.0.0 |
30
+ | yargs | ^17.7.2 | ^18.0.0 |
229
31
 
230
- ### Sponsor
32
+ ---
231
33
 
232
- Make a one-time or recurring contribution of your choice. [Become a sponsor](https://opencollective.com/typeorm)
34
+ Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/typeorm
233
35
 
234
- <a href="https://opencollective.com/typeorm" target="_blank"><img src="https://opencollective.com/typeorm/tiers/sponsor.svg?avatarHeight=36"></a>
36
+ License inherited from the original package.
package/changes.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "bumped": {
3
+ "dayjs": {
4
+ "from": "^1.11.19",
5
+ "to": "^1.11.20"
6
+ },
7
+ "dedent": {
8
+ "from": "^1.7.0",
9
+ "to": "^1.7.2"
10
+ },
11
+ "dotenv": {
12
+ "from": "^16.6.1",
13
+ "to": "^17.3.1"
14
+ },
15
+ "glob": {
16
+ "from": "^10.5.0",
17
+ "to": "^13.0.6"
18
+ },
19
+ "uuid": {
20
+ "from": "^11.1.0",
21
+ "to": "^13.0.0"
22
+ },
23
+ "yargs": {
24
+ "from": "^17.7.2",
25
+ "to": "^18.0.0"
26
+ }
27
+ },
28
+ "timestamp": "2026-03-15T00:45:51.637Z",
29
+ "totalUpdated": 6
30
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depup/typeorm",
3
- "version": "0.3.28-depup.0",
4
- "description": "Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.",
3
+ "version": "0.3.28-depup.37",
4
+ "description": "[DepUp] Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.",
5
5
  "homepage": "https://typeorm.io",
6
6
  "bugs": {
7
7
  "url": "https://github.com/typeorm/typeorm/issues"
@@ -86,7 +86,6 @@
86
86
  "pack": "gulp pack",
87
87
  "package": "gulp package",
88
88
  "pre-commit": "lint-staged",
89
- "prepare": "is-ci || husky",
90
89
  "publish:preview": "pkg-pr-new publish './build/package' --template='./sample/playground'",
91
90
  "test": "npm run compile && npm run test:fast --",
92
91
  "test:ci": "mocha --bail",
@@ -99,11 +98,11 @@
99
98
  "ansis": "^4.2.0",
100
99
  "app-root-path": "^3.1.0",
101
100
  "buffer": "^6.0.3",
102
- "dayjs": "^1.11.19",
101
+ "dayjs": "^1.11.20",
103
102
  "debug": "^4.4.3",
104
- "dedent": "^1.7.1",
105
- "dotenv": "^17.2.3",
106
- "glob": "^13.0.0",
103
+ "dedent": "^1.7.2",
104
+ "dotenv": "^17.3.1",
105
+ "glob": "^13.0.6",
107
106
  "reflect-metadata": "^0.2.2",
108
107
  "sha.js": "^2.4.12",
109
108
  "sql-highlight": "^6.1.0",
@@ -112,31 +111,31 @@
112
111
  "yargs": "^18.0.0"
113
112
  },
114
113
  "devDependencies": {
115
- "@eslint/js": "^9.39.2",
116
- "@google-cloud/spanner": "^8.4.0",
117
- "@sap/hana-client": "^2.27.19",
114
+ "@eslint/js": "^9.39.1",
115
+ "@google-cloud/spanner": "^8.3.1",
116
+ "@sap/hana-client": "^2.26.26",
118
117
  "@tsconfig/node16": "^16.1.8",
119
- "@types/chai": "^5.2.3",
120
- "@types/chai-as-promised": "^8.0.2",
118
+ "@types/chai": "^4.3.20",
119
+ "@types/chai-as-promised": "^7.1.8",
121
120
  "@types/debug": "^4.1.12",
122
121
  "@types/gulp-rename": "^2.0.7",
123
122
  "@types/gulp-sourcemaps": "^0.0.38",
124
123
  "@types/mocha": "^10.0.10",
125
- "@types/node": "^25.0.7",
124
+ "@types/node": "^16.18.126",
126
125
  "@types/sha.js": "^2.4.4",
127
- "@types/sinon": "^21.0.0",
128
- "@types/sinon-chai": "^4.0.0",
126
+ "@types/sinon": "^10.0.20",
127
+ "@types/sinon-chai": "^3.2.12",
129
128
  "@types/source-map-support": "^0.5.10",
130
129
  "@types/yargs": "^17.0.35",
131
- "better-sqlite3": "^12.6.0",
130
+ "better-sqlite3": "^8.7.0",
132
131
  "c8": "^10.1.3",
133
- "chai": "^6.2.2",
134
- "chai-as-promised": "^8.0.2",
132
+ "chai": "^4.5.0",
133
+ "chai-as-promised": "^7.1.2",
135
134
  "class-transformer": "^0.5.1",
136
- "eslint": "^9.39.2",
137
- "eslint-plugin-jsdoc": "^62.0.0",
138
- "globals": "^17.0.0",
139
- "gulp": "^5.0.1",
135
+ "eslint": "^9.39.1",
136
+ "eslint-plugin-jsdoc": "^61.4.1",
137
+ "globals": "^16.5.0",
138
+ "gulp": "^4.0.2",
140
139
  "gulp-rename": "^2.1.0",
141
140
  "gulp-replace": "^1.1.4",
142
141
  "gulp-shell": "^0.8.0",
@@ -147,27 +146,27 @@
147
146
  "is-ci": "^4.1.0",
148
147
  "lint-staged": "^16.2.7",
149
148
  "mocha": "^11.7.5",
150
- "mongodb": "^7.0.0",
151
- "mssql": "^12.2.0",
149
+ "mongodb": "^6.21.0",
150
+ "mssql": "^12.1.1",
152
151
  "mysql": "^2.18.1",
153
- "mysql2": "^3.16.0",
152
+ "mysql2": "^3.15.3",
154
153
  "oracledb": "^6.10.0",
155
154
  "pg": "^8.16.3",
156
155
  "pg-query-stream": "^4.10.3",
157
- "pkg-pr-new": "^0.0.62",
158
- "prettier": "^3.7.4",
156
+ "pkg-pr-new": "^0.0.60",
157
+ "prettier": "^2.8.8",
159
158
  "redis": "^5.10.0",
160
- "rimraf": "^6.1.2",
161
- "sinon": "^21.0.1",
162
- "sinon-chai": "^4.0.1",
163
- "sort-package-json": "^3.6.0",
159
+ "rimraf": "^5.0.10",
160
+ "sinon": "^16.1.3",
161
+ "sinon-chai": "^3.7.0",
162
+ "sort-package-json": "^2.15.1",
164
163
  "source-map-support": "^0.5.21",
165
164
  "sql.js": "^1.13.0",
166
165
  "sqlite3": "^5.1.7",
167
166
  "standard-changelog": "^7.0.1",
168
167
  "ts-node": "^10.9.2",
169
168
  "typescript": "^5.9.3",
170
- "typescript-eslint": "^8.53.0"
169
+ "typescript-eslint": "^8.48.0"
171
170
  },
172
171
  "peerDependencies": {
173
172
  "@google-cloud/spanner": "^5.18.0 || ^6.0.0 || ^7.0.0 || ^8.0.0",
@@ -278,5 +277,44 @@
278
277
  "sqlite-orm",
279
278
  "sql-server",
280
279
  "sql-server-orm"
281
- ]
280
+ ],
281
+ "keywords": [
282
+ "depup",
283
+ "dependency-bumped",
284
+ "updated-deps",
285
+ "typeorm"
286
+ ],
287
+ "depup": {
288
+ "changes": {
289
+ "dayjs": {
290
+ "from": "^1.11.19",
291
+ "to": "^1.11.20"
292
+ },
293
+ "dedent": {
294
+ "from": "^1.7.0",
295
+ "to": "^1.7.2"
296
+ },
297
+ "dotenv": {
298
+ "from": "^16.6.1",
299
+ "to": "^17.3.1"
300
+ },
301
+ "glob": {
302
+ "from": "^10.5.0",
303
+ "to": "^13.0.6"
304
+ },
305
+ "uuid": {
306
+ "from": "^11.1.0",
307
+ "to": "^13.0.0"
308
+ },
309
+ "yargs": {
310
+ "from": "^17.7.2",
311
+ "to": "^18.0.0"
312
+ }
313
+ },
314
+ "depsUpdated": 6,
315
+ "originalPackage": "typeorm",
316
+ "originalVersion": "0.3.28",
317
+ "processedAt": "2026-03-15T00:46:06.725Z",
318
+ "smokeTest": "passed"
319
+ }
282
320
  }