@push.rocks/smartproxy 23.1.3 → 23.1.4

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/changelog.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-02-12 - 23.1.4 - fix(tests)
4
+ make tests more robust and bump small dependencies
5
+
6
+ - Bump dependencies: @push.rocks/smartrust ^1.2.1 and minimatch ^10.2.0
7
+ - Replace hardcoded ports with named constants (ECHO_PORT, PROXY_PORT, PROXY_PORT_1/2) to avoid collisions between tests
8
+ - Add server 'error' handlers and reject listen promises on server errors to prevent silent hangs
9
+ - Reduce test timeouts and intervals (shorter test durations, more frequent pings) to speed up test runs
10
+ - Ensure proxy is stopped between tests and remove forced process.exit; export tap.start() consistently
11
+ - Adjust assertions to match the new shorter ping/response counts
12
+
3
13
  ## 2026-02-12 - 23.1.3 - fix(rustproxy)
4
14
  install default rustls crypto provider early; detect and skip raw fast-path for HTTP connections and return proper HTTP 502 when no route matches
5
15
 
File without changes
File without changes
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartproxy',
6
- version: '23.1.3',
6
+ version: '23.1.4',
7
7
  description: 'A powerful proxy package with unified route-based configuration for high traffic management. Features include SSL/TLS support, flexible routing patterns, WebSocket handling, advanced security options, and automatic ACME certificate management.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHFQQUFxUDtDQUNuUSxDQUFBIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@push.rocks/smartproxy",
3
- "version": "23.1.3",
3
+ "version": "23.1.4",
4
4
  "private": false,
5
5
  "description": "A powerful proxy package with unified route-based configuration for high traffic management. Features include SSL/TLS support, flexible routing patterns, WebSocket handling, advanced security options, and automatic ACME certificate management.",
6
6
  "main": "dist_ts/index.js",
@@ -8,6 +8,12 @@
8
8
  "type": "module",
9
9
  "author": "Lossless GmbH",
10
10
  "license": "MIT",
11
+ "scripts": {
12
+ "test": "(tstest test/**/test*.ts --verbose --timeout 60 --logfile)",
13
+ "build": "(tsbuild tsfolders --allowimplicitany) && (tsrust)",
14
+ "format": "(gitzone format)",
15
+ "buildDocs": "tsdoc"
16
+ },
11
17
  "devDependencies": {
12
18
  "@git.zone/tsbuild": "^4.1.2",
13
19
  "@git.zone/tsrun": "^2.0.1",
@@ -28,14 +34,14 @@
28
34
  "@push.rocks/smartnetwork": "^4.4.0",
29
35
  "@push.rocks/smartpromise": "^4.2.3",
30
36
  "@push.rocks/smartrequest": "^5.0.1",
31
- "@push.rocks/smartrust": "^1.2.0",
37
+ "@push.rocks/smartrust": "^1.2.1",
32
38
  "@push.rocks/smartrx": "^3.0.10",
33
39
  "@push.rocks/smartstring": "^4.1.0",
34
40
  "@push.rocks/taskbuffer": "^4.2.0",
35
41
  "@tsclass/tsclass": "^9.3.0",
36
42
  "@types/minimatch": "^6.0.0",
37
43
  "@types/ws": "^8.18.1",
38
- "minimatch": "^10.1.2",
44
+ "minimatch": "^10.2.0",
39
45
  "pretty-ms": "^9.3.0",
40
46
  "ws": "^8.19.0"
41
47
  },
@@ -80,10 +86,13 @@
80
86
  "bugs": {
81
87
  "url": "https://code.foss.global/push.rocks/smartproxy/issues"
82
88
  },
83
- "scripts": {
84
- "test": "(tstest test/**/test*.ts --verbose --timeout 60 --logfile)",
85
- "build": "(tsbuild tsfolders --allowimplicitany) && (tsrust)",
86
- "format": "(gitzone format)",
87
- "buildDocs": "tsdoc"
88
- }
89
- }
89
+ "pnpm": {
90
+ "overrides": {},
91
+ "onlyBuiltDependencies": [
92
+ "esbuild",
93
+ "mongodb-memory-server",
94
+ "puppeteer"
95
+ ]
96
+ },
97
+ "packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
98
+ }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartproxy',
6
- version: '23.1.3',
6
+ version: '23.1.4',
7
7
  description: 'A powerful proxy package with unified route-based configuration for high traffic management. Features include SSL/TLS support, flexible routing patterns, WebSocket handling, advanced security options, and automatic ACME certificate management.'
8
8
  }