@depup/mysql2 3.24.4-depup.0 → 3.24.5-depup.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 +4 -3
- package/changes.json +6 -2
- package/lib/connection_config.js +4 -1
- package/package.json +9 -5
package/README.md
CHANGED
|
@@ -13,16 +13,17 @@ npm install @depup/mysql2
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [mysql2](https://www.npmjs.com/package/mysql2) @ 3.24.
|
|
17
|
-
| Processed | 2026-09-
|
|
16
|
+
| Original | [mysql2](https://www.npmjs.com/package/mysql2) @ 3.24.5 |
|
|
17
|
+
| Processed | 2026-09-30 |
|
|
18
18
|
| Smoke test | passed |
|
|
19
|
-
| Deps updated |
|
|
19
|
+
| Deps updated | 2 |
|
|
20
20
|
|
|
21
21
|
## Dependency Changes
|
|
22
22
|
|
|
23
23
|
| Dependency | From | To |
|
|
24
24
|
|------------|------|-----|
|
|
25
25
|
| lru.min | ^1.1.4 | ^1.1.5 |
|
|
26
|
+
| sql-escaper | ^1.5.1 | ^1.5.2 |
|
|
26
27
|
|
|
27
28
|
---
|
|
28
29
|
|
package/changes.json
CHANGED
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
"lru.min": {
|
|
4
4
|
"from": "^1.1.4",
|
|
5
5
|
"to": "^1.1.5"
|
|
6
|
+
},
|
|
7
|
+
"sql-escaper": {
|
|
8
|
+
"from": "^1.5.1",
|
|
9
|
+
"to": "^1.5.2"
|
|
6
10
|
}
|
|
7
11
|
},
|
|
8
|
-
"timestamp": "2026-09-
|
|
9
|
-
"totalUpdated":
|
|
12
|
+
"timestamp": "2026-09-30T00:38:49.657Z",
|
|
13
|
+
"totalUpdated": 2
|
|
10
14
|
}
|
package/lib/connection_config.js
CHANGED
|
@@ -333,8 +333,11 @@ class ConnectionConfig {
|
|
|
333
333
|
|
|
334
334
|
static parseUrl(url) {
|
|
335
335
|
const parsedUrl = new URL(url);
|
|
336
|
+
const { hostname } = parsedUrl;
|
|
336
337
|
const options = {
|
|
337
|
-
host: decodeURIComponent(
|
|
338
|
+
host: decodeURIComponent(
|
|
339
|
+
hostname.startsWith('[') ? hostname.slice(1, -1) : hostname
|
|
340
|
+
),
|
|
338
341
|
port: parseInt(parsedUrl.port, 10),
|
|
339
342
|
database: decodeURIComponent(parsedUrl.pathname.slice(1)),
|
|
340
343
|
user: decodeURIComponent(parsedUrl.username),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/mysql2",
|
|
3
|
-
"version": "3.24.
|
|
3
|
+
"version": "3.24.5-depup.0",
|
|
4
4
|
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS (with updated dependencies)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"typings": "typings/mysql/index",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"long": "^5.3.2",
|
|
73
73
|
"lru.min": "^1.1.5",
|
|
74
74
|
"named-placeholders": "^1.1.6",
|
|
75
|
-
"sql-escaper": "^1.5.
|
|
75
|
+
"sql-escaper": "^1.5.2"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"@types/node": ">= 8"
|
|
@@ -101,12 +101,16 @@
|
|
|
101
101
|
"lru.min": {
|
|
102
102
|
"from": "^1.1.4",
|
|
103
103
|
"to": "^1.1.5"
|
|
104
|
+
},
|
|
105
|
+
"sql-escaper": {
|
|
106
|
+
"from": "^1.5.1",
|
|
107
|
+
"to": "^1.5.2"
|
|
104
108
|
}
|
|
105
109
|
},
|
|
106
|
-
"depsUpdated":
|
|
110
|
+
"depsUpdated": 2,
|
|
107
111
|
"originalPackage": "mysql2",
|
|
108
|
-
"originalVersion": "3.24.
|
|
109
|
-
"processedAt": "2026-09-
|
|
112
|
+
"originalVersion": "3.24.5",
|
|
113
|
+
"processedAt": "2026-09-30T00:38:54.260Z",
|
|
110
114
|
"smokeTest": "passed"
|
|
111
115
|
}
|
|
112
116
|
}
|