orange-orm 4.7.1 → 4.7.3-beta.0

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.
package/README.md CHANGED
@@ -2053,10 +2053,8 @@ async function updateRow() {
2053
2053
 
2054
2054
  output:
2055
2055
  ```bash
2056
- BEGIN
2057
2056
  select _order.id as s_order0,_order.orderDate as s_order1,_order.customerId as s_order2 from _order _order where _order.id=2 order by _order.id limit 1
2058
2057
  select orderLine.id as sorderLine0,orderLine.orderId as sorderLine1,orderLine.product as sorderLine2,orderLine.amount as sorderLine3 from orderLine orderLine where orderLine.orderId in (2) order by orderLine.id
2059
- COMMIT
2060
2058
  BEGIN
2061
2059
  select _order.id as s_order0,_order.orderDate as s_order1,_order.customerId as s_order2 from _order _order where _order.id=2 order by _order.id limit 1
2062
2060
  INSERT INTO orderLine (orderId,product,amount) VALUES (2,?,300)
package/dist/index.mjs CHANGED
@@ -7,7 +7,6 @@ import * as axios from 'axios';
7
7
  import * as _default from 'rfdc/default';
8
8
  import * as ajv from 'ajv';
9
9
  import * as onChange from '@lroal/on-change';
10
- import * as url from 'url';
11
10
  import * as connectionString from '@tediousjs/connection-string';
12
11
 
13
12
  function getDefaultExportFromCjs (x) {
@@ -15115,8 +15114,6 @@ function requireEnd$8 () {
15115
15114
  return end$8;
15116
15115
  }
15117
15116
 
15118
- var require$$3 = /*@__PURE__*/getDefaultExportFromNamespaceIfPresent(url);
15119
-
15120
15117
  /* eslint-disable no-prototype-builtins */
15121
15118
 
15122
15119
  var newPgPool_1$1;
@@ -15130,7 +15127,6 @@ function requireNewPgPool$1 () {
15130
15127
  const log = requireLog();
15131
15128
  const defaults = requirePoolDefaults();
15132
15129
  const genericPool = requireGenericPool();
15133
- const { URL } = require$$3;
15134
15130
  let SQL;
15135
15131
 
15136
15132
  function newPgPool(connectionString, poolOptions = {}) {
package/docs/changelog.md CHANGED
@@ -1,4 +1,6 @@
1
1
  ## Changelog
2
+ __4.7.2__
3
+ Updated dependencies
2
4
  __4.7.1__
3
5
  Bugfix: Error when using bun and sqlite: Cannot find package 'Database'. See [#127](https://github.com/alfateam/issues/127)
4
6
  __4.7.0__
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orange-orm",
3
- "version": "4.7.1",
3
+ "version": "4.7.3-beta.0",
4
4
  "main": "./src/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "browser": "./dist/index.browser.mjs",
@@ -68,25 +68,24 @@
68
68
  "@types/express": "^4.17.13",
69
69
  "@types/oracledb": "^6.0.4",
70
70
  "@types/tedious": "^4.0.14",
71
- "ajv": "^6.10.2",
71
+ "ajv": "^8.17.1",
72
72
  "axios": "^1.6.2",
73
73
  "fast-json-patch": "^3.1.1",
74
74
  "findup-sync": "^5.0.0",
75
- "glob": "^10.3.4",
76
- "module-definition": "^4.0.0",
75
+ "glob": "^10.3.4 || ^11.0.2",
76
+ "module-definition": "^4.0.0 || ^5.0.0 || || ^6.0.0",
77
77
  "rfdc": "^1.2.0",
78
- "uuid": "^8.3.2"
78
+ "uuid": "^8.3.2 || ^9.0.0 || ^10.0.0 || ^11.1.0"
79
79
  },
80
80
  "peerDependencies": {
81
+ "@electric-sql/pglite": "^0.3.0",
81
82
  "msnodesqlv8": "^4.1.0",
82
83
  "mysql2": "^2.2.5 || ^3.9.4",
83
84
  "oracledb": "^6.3.0",
84
85
  "pg": "^8.5.1",
85
- "pg-native": "^3.0.0",
86
86
  "pg-query-stream": "^3.3.2",
87
87
  "sqlite3": "^5.0.2",
88
- "tedious": "^15.1.2 || ^16.0.0 || ^18.1.0",
89
- "@electric-sql/pglite": "^0.3.0"
88
+ "tedious": "^15.1.2 || ^16.0.0 || ^18.1.0 || || ^19.0.0"
90
89
  },
91
90
  "peerDependenciesMeta": {
92
91
  "pg": {
@@ -139,7 +138,7 @@
139
138
  "pg-query-stream": "^3.3.2",
140
139
  "rollup": "^2.52.7",
141
140
  "sqlite3": "^5.0.2",
142
- "tedious": "^18.2.0",
141
+ "tedious": "^19.0.0",
143
142
  "typescript": "^5.4.5",
144
143
  "vitest": "^0.34.6"
145
144
  },
@@ -4,7 +4,6 @@
4
4
  const log = require('../../table/log');
5
5
  const defaults = require('../../poolDefaults');
6
6
  const genericPool = require('../../generic-pool');
7
- const { URL } = require('url');
8
7
  let SQL;
9
8
 
10
9
  function newPgPool(connectionString, poolOptions = {}) {