typeorm 0.3.23-dev.56f1898 → 0.3.23-dev.673f065

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.
@@ -1,54 +1,59 @@
1
+ /**
2
+ * Position object.
3
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.1
4
+ */
5
+ export type Position = number[];
1
6
  /**
2
7
  * Point geometry object.
3
- * https://tools.ietf.org/html/rfc7946#section-3.1.2
8
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.2
4
9
  */
5
10
  export type Point = {
6
11
  type: "Point";
7
- coordinates: number[];
12
+ coordinates: Position;
8
13
  };
9
14
  /**
10
15
  * LineString geometry object.
11
- * https://tools.ietf.org/html/rfc7946#section-3.1.4
16
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.4
12
17
  */
13
18
  export type LineString = {
14
19
  type: "LineString";
15
- coordinates: number[][];
20
+ coordinates: Position[];
16
21
  };
17
22
  /**
18
23
  * Polygon geometry object.
19
- * https://tools.ietf.org/html/rfc7946#section-3.1.6
24
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.6
20
25
  */
21
26
  export type Polygon = {
22
27
  type: "Polygon";
23
- coordinates: number[][][];
28
+ coordinates: Position[][];
24
29
  };
25
30
  /**
26
31
  * MultiPoint geometry object.
27
- * https://tools.ietf.org/html/rfc7946#section-3.1.3
32
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.3
28
33
  */
29
34
  export type MultiPoint = {
30
35
  type: "MultiPoint";
31
- coordinates: number[][];
36
+ coordinates: Position[];
32
37
  };
33
38
  /**
34
39
  * MultiLineString geometry object.
35
- * https://tools.ietf.org/html/rfc7946#section-3.1.5
40
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.5
36
41
  */
37
42
  export type MultiLineString = {
38
43
  type: "MultiLineString";
39
- coordinates: number[][][];
44
+ coordinates: Position[][];
40
45
  };
41
46
  /**
42
47
  * MultiPolygon geometry object.
43
- * https://tools.ietf.org/html/rfc7946#section-3.1.7
48
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.7
44
49
  */
45
50
  export type MultiPolygon = {
46
51
  type: "MultiPolygon";
47
- coordinates: number[][][][];
52
+ coordinates: Position[][][];
48
53
  };
49
54
  /**
50
55
  * Geometry Collection
51
- * https://tools.ietf.org/html/rfc7946#section-3.1.8
56
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.8
52
57
  */
53
58
  export type GeometryCollection = {
54
59
  type: "GeometryCollection";
@@ -61,7 +66,7 @@ export type Geometry = Point | LineString | Polygon | MultiPoint | MultiLineStri
61
66
  export type Geography = Geometry;
62
67
  /**
63
68
  * A feature object which contains a geometry and associated properties.
64
- * https://tools.ietf.org/html/rfc7946#section-3.2
69
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.2
65
70
  */
66
71
  export type Feature = {
67
72
  type: "Feature";
@@ -74,7 +79,7 @@ export type Feature = {
74
79
  };
75
80
  /**
76
81
  * A collection of feature objects.
77
- * https://tools.ietf.org/html/rfc7946#section-3.3
82
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.3
78
83
  */
79
84
  export type FeatureCollection = {
80
85
  type: "FeatureCollection";
@@ -1 +1 @@
1
- {"version":3,"sources":["../browser/src/driver/types/GeoJsonTypes.ts"],"names":[],"mappings":"","file":"GeoJsonTypes.js","sourcesContent":["/**\n * Point geometry object.\n * https://tools.ietf.org/html/rfc7946#section-3.1.2\n */\nexport type Point = {\n type: \"Point\"\n coordinates: number[]\n}\n\n/**\n * LineString geometry object.\n * https://tools.ietf.org/html/rfc7946#section-3.1.4\n */\nexport type LineString = {\n type: \"LineString\"\n coordinates: number[][]\n}\n\n/**\n * Polygon geometry object.\n * https://tools.ietf.org/html/rfc7946#section-3.1.6\n */\nexport type Polygon = {\n type: \"Polygon\"\n coordinates: number[][][]\n}\n\n/**\n * MultiPoint geometry object.\n * https://tools.ietf.org/html/rfc7946#section-3.1.3\n */\nexport type MultiPoint = {\n type: \"MultiPoint\"\n coordinates: number[][]\n}\n\n/**\n * MultiLineString geometry object.\n * https://tools.ietf.org/html/rfc7946#section-3.1.5\n */\nexport type MultiLineString = {\n type: \"MultiLineString\"\n coordinates: number[][][]\n}\n\n/**\n * MultiPolygon geometry object.\n * https://tools.ietf.org/html/rfc7946#section-3.1.7\n */\nexport type MultiPolygon = {\n type: \"MultiPolygon\"\n coordinates: number[][][][]\n}\n\n/**\n * Geometry Collection\n * https://tools.ietf.org/html/rfc7946#section-3.1.8\n */\nexport type GeometryCollection = {\n type: \"GeometryCollection\"\n geometries: (\n | Point\n | LineString\n | Polygon\n | MultiPoint\n | MultiLineString\n | MultiPolygon\n )[]\n}\n\n/**\n * Union of Geometry objects.\n */\nexport type Geometry =\n | Point\n | LineString\n | Polygon\n | MultiPoint\n | MultiLineString\n | MultiPolygon\n | GeometryCollection\nexport type Geography = Geometry\n\n/**\n * A feature object which contains a geometry and associated properties.\n * https://tools.ietf.org/html/rfc7946#section-3.2\n */\nexport type Feature = {\n type: \"Feature\"\n geometry: Geometry\n id?: string | number\n bbox?: number[]\n properties: { [name: string]: any } | null\n}\n\n/**\n * A collection of feature objects.\n * https://tools.ietf.org/html/rfc7946#section-3.3\n */\nexport type FeatureCollection = {\n type: \"FeatureCollection\"\n bbox?: number[]\n features: Feature[]\n}\n\n/**\n * Union of GeoJSON objects.\n */\nexport type GeoJSON = Geometry | Feature | FeatureCollection\n"],"sourceRoot":"../.."}
1
+ {"version":3,"sources":["../browser/src/driver/types/GeoJsonTypes.ts"],"names":[],"mappings":"","file":"GeoJsonTypes.js","sourcesContent":["/**\n * Position object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.1\n */\nexport type Position = number[]\n\n/**\n * Point geometry object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.2\n */\nexport type Point = {\n type: \"Point\"\n coordinates: Position\n}\n\n/**\n * LineString geometry object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.4\n */\nexport type LineString = {\n type: \"LineString\"\n coordinates: Position[]\n}\n\n/**\n * Polygon geometry object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.6\n */\nexport type Polygon = {\n type: \"Polygon\"\n coordinates: Position[][]\n}\n\n/**\n * MultiPoint geometry object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.3\n */\nexport type MultiPoint = {\n type: \"MultiPoint\"\n coordinates: Position[]\n}\n\n/**\n * MultiLineString geometry object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.5\n */\nexport type MultiLineString = {\n type: \"MultiLineString\"\n coordinates: Position[][]\n}\n\n/**\n * MultiPolygon geometry object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.7\n */\nexport type MultiPolygon = {\n type: \"MultiPolygon\"\n coordinates: Position[][][]\n}\n\n/**\n * Geometry Collection\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.8\n */\nexport type GeometryCollection = {\n type: \"GeometryCollection\"\n geometries: (\n | Point\n | LineString\n | Polygon\n | MultiPoint\n | MultiLineString\n | MultiPolygon\n )[]\n}\n\n/**\n * Union of Geometry objects.\n */\nexport type Geometry =\n | Point\n | LineString\n | Polygon\n | MultiPoint\n | MultiLineString\n | MultiPolygon\n | GeometryCollection\nexport type Geography = Geometry\n\n/**\n * A feature object which contains a geometry and associated properties.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.2\n */\nexport type Feature = {\n type: \"Feature\"\n geometry: Geometry\n id?: string | number\n bbox?: number[]\n properties: { [name: string]: any } | null\n}\n\n/**\n * A collection of feature objects.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.3\n */\nexport type FeatureCollection = {\n type: \"FeatureCollection\"\n bbox?: number[]\n features: Feature[]\n}\n\n/**\n * Union of GeoJSON objects.\n */\nexport type GeoJSON = Geometry | Feature | FeatureCollection\n"],"sourceRoot":"../.."}
@@ -1,54 +1,59 @@
1
+ /**
2
+ * Position object.
3
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.1
4
+ */
5
+ export type Position = number[];
1
6
  /**
2
7
  * Point geometry object.
3
- * https://tools.ietf.org/html/rfc7946#section-3.1.2
8
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.2
4
9
  */
5
10
  export type Point = {
6
11
  type: "Point";
7
- coordinates: number[];
12
+ coordinates: Position;
8
13
  };
9
14
  /**
10
15
  * LineString geometry object.
11
- * https://tools.ietf.org/html/rfc7946#section-3.1.4
16
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.4
12
17
  */
13
18
  export type LineString = {
14
19
  type: "LineString";
15
- coordinates: number[][];
20
+ coordinates: Position[];
16
21
  };
17
22
  /**
18
23
  * Polygon geometry object.
19
- * https://tools.ietf.org/html/rfc7946#section-3.1.6
24
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.6
20
25
  */
21
26
  export type Polygon = {
22
27
  type: "Polygon";
23
- coordinates: number[][][];
28
+ coordinates: Position[][];
24
29
  };
25
30
  /**
26
31
  * MultiPoint geometry object.
27
- * https://tools.ietf.org/html/rfc7946#section-3.1.3
32
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.3
28
33
  */
29
34
  export type MultiPoint = {
30
35
  type: "MultiPoint";
31
- coordinates: number[][];
36
+ coordinates: Position[];
32
37
  };
33
38
  /**
34
39
  * MultiLineString geometry object.
35
- * https://tools.ietf.org/html/rfc7946#section-3.1.5
40
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.5
36
41
  */
37
42
  export type MultiLineString = {
38
43
  type: "MultiLineString";
39
- coordinates: number[][][];
44
+ coordinates: Position[][];
40
45
  };
41
46
  /**
42
47
  * MultiPolygon geometry object.
43
- * https://tools.ietf.org/html/rfc7946#section-3.1.7
48
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.7
44
49
  */
45
50
  export type MultiPolygon = {
46
51
  type: "MultiPolygon";
47
- coordinates: number[][][][];
52
+ coordinates: Position[][][];
48
53
  };
49
54
  /**
50
55
  * Geometry Collection
51
- * https://tools.ietf.org/html/rfc7946#section-3.1.8
56
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.8
52
57
  */
53
58
  export type GeometryCollection = {
54
59
  type: "GeometryCollection";
@@ -61,7 +66,7 @@ export type Geometry = Point | LineString | Polygon | MultiPoint | MultiLineStri
61
66
  export type Geography = Geometry;
62
67
  /**
63
68
  * A feature object which contains a geometry and associated properties.
64
- * https://tools.ietf.org/html/rfc7946#section-3.2
69
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.2
65
70
  */
66
71
  export type Feature = {
67
72
  type: "Feature";
@@ -74,7 +79,7 @@ export type Feature = {
74
79
  };
75
80
  /**
76
81
  * A collection of feature objects.
77
- * https://tools.ietf.org/html/rfc7946#section-3.3
82
+ * https://datatracker.ietf.org/doc/html/rfc7946#section-3.3
78
83
  */
79
84
  export type FeatureCollection = {
80
85
  type: "FeatureCollection";
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/driver/types/GeoJsonTypes.ts"],"names":[],"mappings":"","file":"GeoJsonTypes.js","sourcesContent":["/**\n * Point geometry object.\n * https://tools.ietf.org/html/rfc7946#section-3.1.2\n */\nexport type Point = {\n type: \"Point\"\n coordinates: number[]\n}\n\n/**\n * LineString geometry object.\n * https://tools.ietf.org/html/rfc7946#section-3.1.4\n */\nexport type LineString = {\n type: \"LineString\"\n coordinates: number[][]\n}\n\n/**\n * Polygon geometry object.\n * https://tools.ietf.org/html/rfc7946#section-3.1.6\n */\nexport type Polygon = {\n type: \"Polygon\"\n coordinates: number[][][]\n}\n\n/**\n * MultiPoint geometry object.\n * https://tools.ietf.org/html/rfc7946#section-3.1.3\n */\nexport type MultiPoint = {\n type: \"MultiPoint\"\n coordinates: number[][]\n}\n\n/**\n * MultiLineString geometry object.\n * https://tools.ietf.org/html/rfc7946#section-3.1.5\n */\nexport type MultiLineString = {\n type: \"MultiLineString\"\n coordinates: number[][][]\n}\n\n/**\n * MultiPolygon geometry object.\n * https://tools.ietf.org/html/rfc7946#section-3.1.7\n */\nexport type MultiPolygon = {\n type: \"MultiPolygon\"\n coordinates: number[][][][]\n}\n\n/**\n * Geometry Collection\n * https://tools.ietf.org/html/rfc7946#section-3.1.8\n */\nexport type GeometryCollection = {\n type: \"GeometryCollection\"\n geometries: (\n | Point\n | LineString\n | Polygon\n | MultiPoint\n | MultiLineString\n | MultiPolygon\n )[]\n}\n\n/**\n * Union of Geometry objects.\n */\nexport type Geometry =\n | Point\n | LineString\n | Polygon\n | MultiPoint\n | MultiLineString\n | MultiPolygon\n | GeometryCollection\nexport type Geography = Geometry\n\n/**\n * A feature object which contains a geometry and associated properties.\n * https://tools.ietf.org/html/rfc7946#section-3.2\n */\nexport type Feature = {\n type: \"Feature\"\n geometry: Geometry\n id?: string | number\n bbox?: number[]\n properties: { [name: string]: any } | null\n}\n\n/**\n * A collection of feature objects.\n * https://tools.ietf.org/html/rfc7946#section-3.3\n */\nexport type FeatureCollection = {\n type: \"FeatureCollection\"\n bbox?: number[]\n features: Feature[]\n}\n\n/**\n * Union of GeoJSON objects.\n */\nexport type GeoJSON = Geometry | Feature | FeatureCollection\n"],"sourceRoot":"../.."}
1
+ {"version":3,"sources":["../../src/driver/types/GeoJsonTypes.ts"],"names":[],"mappings":"","file":"GeoJsonTypes.js","sourcesContent":["/**\n * Position object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.1\n */\nexport type Position = number[]\n\n/**\n * Point geometry object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.2\n */\nexport type Point = {\n type: \"Point\"\n coordinates: Position\n}\n\n/**\n * LineString geometry object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.4\n */\nexport type LineString = {\n type: \"LineString\"\n coordinates: Position[]\n}\n\n/**\n * Polygon geometry object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.6\n */\nexport type Polygon = {\n type: \"Polygon\"\n coordinates: Position[][]\n}\n\n/**\n * MultiPoint geometry object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.3\n */\nexport type MultiPoint = {\n type: \"MultiPoint\"\n coordinates: Position[]\n}\n\n/**\n * MultiLineString geometry object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.5\n */\nexport type MultiLineString = {\n type: \"MultiLineString\"\n coordinates: Position[][]\n}\n\n/**\n * MultiPolygon geometry object.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.7\n */\nexport type MultiPolygon = {\n type: \"MultiPolygon\"\n coordinates: Position[][][]\n}\n\n/**\n * Geometry Collection\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.8\n */\nexport type GeometryCollection = {\n type: \"GeometryCollection\"\n geometries: (\n | Point\n | LineString\n | Polygon\n | MultiPoint\n | MultiLineString\n | MultiPolygon\n )[]\n}\n\n/**\n * Union of Geometry objects.\n */\nexport type Geometry =\n | Point\n | LineString\n | Polygon\n | MultiPoint\n | MultiLineString\n | MultiPolygon\n | GeometryCollection\nexport type Geography = Geometry\n\n/**\n * A feature object which contains a geometry and associated properties.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.2\n */\nexport type Feature = {\n type: \"Feature\"\n geometry: Geometry\n id?: string | number\n bbox?: number[]\n properties: { [name: string]: any } | null\n}\n\n/**\n * A collection of feature objects.\n * https://datatracker.ietf.org/doc/html/rfc7946#section-3.3\n */\nexport type FeatureCollection = {\n type: \"FeatureCollection\"\n bbox?: number[]\n features: Feature[]\n}\n\n/**\n * Union of GeoJSON objects.\n */\nexport type GeoJSON = Geometry | Feature | FeatureCollection\n"],"sourceRoot":"../.."}
package/package.json CHANGED
@@ -1 +1 @@
1
- { "name": "typeorm", "version": "0.3.23-dev.56f1898", "private": false, "description": "Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.", "homepage": "https://typeorm.io", "bugs": { "url": "https://github.com/typeorm/typeorm/issues" }, "repository": { "type": "git", "url": "https://github.com/typeorm/typeorm.git" }, "funding": "https://opencollective.com/typeorm", "license": "MIT", "author": { "name": "Umed Khudoiberdiev", "email": "pleerock.me@gmail.com" }, "exports": { ".": { "types": "./index.d.ts", "node": { "import": "./index.mjs", "require": "./index.js", "types": "./index.d.ts" }, "browser": { "require": "./index.js", "import": "./browser/index.js", "default": "./index.js" } }, "./browser": { "types": "./index.d.ts", "default": "./browser/index.js" }, "./*.js": "./*.js", "./*": { "require": "./*.js", "import": "./*" } }, "main": "./index.js", "module": "./index.mjs", "browser": { "./browser/connection/ConnectionOptionsReader.js": "./browser/platform/BrowserConnectionOptionsReaderDummy.js", "./browser/connection/options-reader/ConnectionOptionsXmlReader.js": "./browser/platform/BrowserConnectionOptionsReaderDummy.js", "./browser/connection/options-reader/ConnectionOptionsYmlReader.js": "./browser/platform/BrowserConnectionOptionsReaderDummy.js", "./browser/driver/aurora-data-api/AuroraDataApiDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/better-sqlite3/BetterSqlite3Driver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/cockroachdb/CockroachDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/mongodb/MongoDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/mongodb/MongoQueryRunner.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/mongodb/bson.typings.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/mongodb/typings.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/mysql/MysqlDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/oracle/OracleDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/postgres/PostgresDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/sap/SapDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/sqlite/SqliteDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/sqlserver/SqlServerDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/entity-manager/MongoEntityManager.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/logger/FileLogger.js": "./browser/platform/BrowserFileLoggerDummy.js", "./browser/platform/PlatformTools.js": "./browser/platform/BrowserPlatformTools.js", "./browser/repository/MongoRepository.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/util/DirectoryExportedClassesLoader.js": "./browser/platform/BrowserDirectoryExportedClassesLoader.js", "./index.js": "./browser/index.js", "./index.mjs": "./browser/index.js" }, "types": "./index.d.ts", "bin": { "typeorm": "./cli.js", "typeorm-ts-node-commonjs": "./cli-ts-node-commonjs.js", "typeorm-ts-node-esm": "./cli-ts-node-esm.js" }, "scripts": { "changelog": "standard-changelog", "compile": "rimraf ./build && tsc", "format": "prettier --cache --write \"./**/*.ts\"", "format:ci": "prettier --check \"./**/*.ts\"", "lint": "eslint .", "pack": "gulp pack", "package": "gulp package", "test": "npm run compile && npm run test:fast --", "test:ci": "mocha --bail", "test:fast": "mocha", "watch": "tsc --watch" }, "dependencies": { "@sqltools/formatter": "^1.2.5", "ansis": "^3.17.0", "app-root-path": "^3.1.0", "buffer": "^6.0.3", "dayjs": "^1.11.13", "debug": "^4.4.0", "dotenv": "^16.4.7", "glob": "^10.4.5", "sha.js": "^2.4.11", "sql-highlight": "^6.0.0", "tslib": "^2.8.1", "uuid": "^11.1.0", "yargs": "^17.7.2" }, "devDependencies": { "@eslint/js": "^9.22.0", "@sap/hana-client": "^2.24.21", "@tsconfig/node16": "^16.1.3", "@types/chai": "^4.3.20", "@types/chai-as-promised": "^7.1.8", "@types/debug": "^4.1.12", "@types/gulp-rename": "^2.0.6", "@types/gulp-sourcemaps": "^0.0.38", "@types/mocha": "^10.0.10", "@types/node": "^16.18.126", "@types/sha.js": "^2.4.4", "@types/sinon": "^10.0.20", "@types/sinon-chai": "^4.0.0", "@types/source-map-support": "^0.5.10", "@types/yargs": "^17.0.33", "better-sqlite3": "^8.7.0", "chai": "^4.5.0", "chai-as-promised": "^7.1.2", "class-transformer": "^0.5.1", "eslint": "^9.22.0", "globals": "^16.0.0", "gulp": "^4.0.2", "gulp-rename": "^2.0.0", "gulp-replace": "^1.1.4", "gulp-shell": "^0.8.0", "gulp-sourcemaps": "^3.0.0", "gulp-typescript": "^6.0.0-alpha.1", "gulpclass": "^0.2.0", "hdb-pool": "^0.1.6", "mocha": "^10.8.2", "mongodb": "^6.15.0", "mssql": "^11.0.1", "mysql": "^2.18.1", "mysql2": "^3.14.0", "nyc": "^17.1.0", "oracledb": "^6.8.0", "pg": "^8.14.1", "pg-query-stream": "^4.8.1", "prettier": "^2.8.8", "redis": "^4.7.0", "remap-istanbul": "^0.13.0", "rimraf": "^5.0.10", "sinon": "^15.2.0", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", "sql.js": "^1.13.0", "sqlite3": "^5.1.7", "standard-changelog": "^6.0.0", "ts-node": "^10.9.2", "typescript": "^5.8.2", "typescript-eslint": "^8.27.0" }, "peerDependencies": { "@google-cloud/spanner": "^5.18.0 || ^6.0.0 || ^7.0.0", "@sap/hana-client": "^2.12.25", "better-sqlite3": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0", "hdb-pool": "^0.1.6", "ioredis": "^5.0.4", "mongodb": "^5.8.0 || ^6.0.0", "mssql": "^9.1.1 || ^10.0.1 || ^11.0.1", "mysql2": "^2.2.5 || ^3.0.1", "oracledb": "^6.3.0", "pg": "^8.5.1", "pg-native": "^3.0.0", "pg-query-stream": "^4.0.0", "redis": "^3.1.1 || ^4.0.0", "reflect-metadata": "^0.1.14 || ^0.2.0", "sql.js": "^1.4.0", "sqlite3": "^5.0.3", "ts-node": "^10.7.0", "typeorm-aurora-data-api-driver": "^2.0.0 || ^3.0.0" }, "peerDependenciesMeta": { "@google-cloud/spanner": { "optional": true }, "@sap/hana-client": { "optional": true }, "better-sqlite3": { "optional": true }, "hdb-pool": { "optional": true }, "ioredis": { "optional": true }, "mongodb": { "optional": true }, "mssql": { "optional": true }, "mysql2": { "optional": true }, "oracledb": { "optional": true }, "pg": { "optional": true }, "pg-native": { "optional": true }, "pg-query-stream": { "optional": true }, "redis": { "optional": true }, "sql.js": { "optional": true }, "sqlite3": { "optional": true }, "ts-node": { "optional": true }, "typeorm-aurora-data-api-driver": { "optional": true } }, "engines": { "node": ">=16.13.0" }, "collective": { "type": "opencollective", "url": "https://opencollective.com/typeorm", "logo": "https://opencollective.com/opencollective/logo.txt" }, "readmeFilename": "README.md", "tags": [ "orm", "typescript", "typescript-orm", "mariadb", "mariadb-orm", "mysql", "mysql-orm", "oracle", "oracle-orm", "postgresql", "postgresql-orm", "sap-hana", "sap-hana-orm", "spanner", "cloud-spanner", "cloud-spanner-orm", "sqlite", "sqlite-orm", "sql-server", "sql-server-orm" ] }
1
+ { "name": "typeorm", "version": "0.3.23-dev.673f065", "private": false, "description": "Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.", "homepage": "https://typeorm.io", "bugs": { "url": "https://github.com/typeorm/typeorm/issues" }, "repository": { "type": "git", "url": "https://github.com/typeorm/typeorm.git" }, "funding": "https://opencollective.com/typeorm", "license": "MIT", "author": { "name": "Umed Khudoiberdiev", "email": "pleerock.me@gmail.com" }, "exports": { ".": { "types": "./index.d.ts", "node": { "import": "./index.mjs", "require": "./index.js", "types": "./index.d.ts" }, "browser": { "require": "./index.js", "import": "./browser/index.js", "default": "./index.js" } }, "./browser": { "types": "./index.d.ts", "default": "./browser/index.js" }, "./*.js": "./*.js", "./*": { "require": "./*.js", "import": "./*" } }, "main": "./index.js", "module": "./index.mjs", "browser": { "./browser/connection/ConnectionOptionsReader.js": "./browser/platform/BrowserConnectionOptionsReaderDummy.js", "./browser/connection/options-reader/ConnectionOptionsXmlReader.js": "./browser/platform/BrowserConnectionOptionsReaderDummy.js", "./browser/connection/options-reader/ConnectionOptionsYmlReader.js": "./browser/platform/BrowserConnectionOptionsReaderDummy.js", "./browser/driver/aurora-data-api/AuroraDataApiDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/better-sqlite3/BetterSqlite3Driver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/cockroachdb/CockroachDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/mongodb/MongoDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/mongodb/MongoQueryRunner.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/mongodb/bson.typings.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/mongodb/typings.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/mysql/MysqlDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/oracle/OracleDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/postgres/PostgresDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/sap/SapDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/sqlite/SqliteDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/driver/sqlserver/SqlServerDriver.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/entity-manager/MongoEntityManager.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/logger/FileLogger.js": "./browser/platform/BrowserFileLoggerDummy.js", "./browser/platform/PlatformTools.js": "./browser/platform/BrowserPlatformTools.js", "./browser/repository/MongoRepository.js": "./browser/platform/BrowserDisabledDriversDummy.js", "./browser/util/DirectoryExportedClassesLoader.js": "./browser/platform/BrowserDirectoryExportedClassesLoader.js", "./index.js": "./browser/index.js", "./index.mjs": "./browser/index.js" }, "types": "./index.d.ts", "bin": { "typeorm": "./cli.js", "typeorm-ts-node-commonjs": "./cli-ts-node-commonjs.js", "typeorm-ts-node-esm": "./cli-ts-node-esm.js" }, "scripts": { "changelog": "standard-changelog", "compile": "rimraf ./build && tsc", "format": "prettier --cache --write \"./**/*.ts\"", "format:ci": "prettier --check \"./**/*.ts\"", "lint": "eslint .", "pack": "gulp pack", "package": "gulp package", "test": "npm run compile && npm run test:fast --", "test:ci": "mocha --bail", "test:fast": "mocha", "watch": "tsc --watch" }, "dependencies": { "@sqltools/formatter": "^1.2.5", "ansis": "^3.17.0", "app-root-path": "^3.1.0", "buffer": "^6.0.3", "dayjs": "^1.11.13", "debug": "^4.4.0", "dotenv": "^16.4.7", "glob": "^10.4.5", "sha.js": "^2.4.11", "sql-highlight": "^6.0.0", "tslib": "^2.8.1", "uuid": "^11.1.0", "yargs": "^17.7.2" }, "devDependencies": { "@eslint/js": "^9.22.0", "@sap/hana-client": "^2.24.21", "@tsconfig/node16": "^16.1.3", "@types/chai": "^4.3.20", "@types/chai-as-promised": "^7.1.8", "@types/debug": "^4.1.12", "@types/gulp-rename": "^2.0.6", "@types/gulp-sourcemaps": "^0.0.38", "@types/mocha": "^10.0.10", "@types/node": "^16.18.126", "@types/sha.js": "^2.4.4", "@types/sinon": "^10.0.20", "@types/sinon-chai": "^4.0.0", "@types/source-map-support": "^0.5.10", "@types/yargs": "^17.0.33", "better-sqlite3": "^8.7.0", "chai": "^4.5.0", "chai-as-promised": "^7.1.2", "class-transformer": "^0.5.1", "eslint": "^9.22.0", "globals": "^16.0.0", "gulp": "^4.0.2", "gulp-rename": "^2.0.0", "gulp-replace": "^1.1.4", "gulp-shell": "^0.8.0", "gulp-sourcemaps": "^3.0.0", "gulp-typescript": "^6.0.0-alpha.1", "gulpclass": "^0.2.0", "hdb-pool": "^0.1.6", "mocha": "^10.8.2", "mongodb": "^6.15.0", "mssql": "^11.0.1", "mysql": "^2.18.1", "mysql2": "^3.14.0", "nyc": "^17.1.0", "oracledb": "^6.8.0", "pg": "^8.14.1", "pg-query-stream": "^4.8.1", "prettier": "^2.8.8", "redis": "^4.7.0", "remap-istanbul": "^0.13.0", "rimraf": "^5.0.10", "sinon": "^15.2.0", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", "sql.js": "^1.13.0", "sqlite3": "^5.1.7", "standard-changelog": "^6.0.0", "ts-node": "^10.9.2", "typescript": "^5.8.2", "typescript-eslint": "^8.27.0" }, "peerDependencies": { "@google-cloud/spanner": "^5.18.0 || ^6.0.0 || ^7.0.0", "@sap/hana-client": "^2.12.25", "better-sqlite3": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0", "hdb-pool": "^0.1.6", "ioredis": "^5.0.4", "mongodb": "^5.8.0 || ^6.0.0", "mssql": "^9.1.1 || ^10.0.1 || ^11.0.1", "mysql2": "^2.2.5 || ^3.0.1", "oracledb": "^6.3.0", "pg": "^8.5.1", "pg-native": "^3.0.0", "pg-query-stream": "^4.0.0", "redis": "^3.1.1 || ^4.0.0", "reflect-metadata": "^0.1.14 || ^0.2.0", "sql.js": "^1.4.0", "sqlite3": "^5.0.3", "ts-node": "^10.7.0", "typeorm-aurora-data-api-driver": "^2.0.0 || ^3.0.0" }, "peerDependenciesMeta": { "@google-cloud/spanner": { "optional": true }, "@sap/hana-client": { "optional": true }, "better-sqlite3": { "optional": true }, "hdb-pool": { "optional": true }, "ioredis": { "optional": true }, "mongodb": { "optional": true }, "mssql": { "optional": true }, "mysql2": { "optional": true }, "oracledb": { "optional": true }, "pg": { "optional": true }, "pg-native": { "optional": true }, "pg-query-stream": { "optional": true }, "redis": { "optional": true }, "sql.js": { "optional": true }, "sqlite3": { "optional": true }, "ts-node": { "optional": true }, "typeorm-aurora-data-api-driver": { "optional": true } }, "engines": { "node": ">=16.13.0" }, "collective": { "type": "opencollective", "url": "https://opencollective.com/typeorm", "logo": "https://opencollective.com/opencollective/logo.txt" }, "readmeFilename": "README.md", "tags": [ "orm", "typescript", "typescript-orm", "mariadb", "mariadb-orm", "mysql", "mysql-orm", "oracle", "oracle-orm", "postgresql", "postgresql-orm", "sap-hana", "sap-hana-orm", "spanner", "cloud-spanner", "cloud-spanner-orm", "sqlite", "sqlite-orm", "sql-server", "sql-server-orm" ] }