BREAKING CHANGE(servertools.Server.addTypedSocket): Deprecate Server.addTypedSocket and upgrade typedsocket to v4; make addTypedSocket a no-op and log a deprecation warning. Bump tsbundle devDependency.

This commit is contained in:
2025-12-03 09:41:56 +00:00
parent c6792396df
commit 8b4c5918e9
5 changed files with 165 additions and 94 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 2025-12-03 - 6.0.0 - BREAKING CHANGE(servertools.Server.addTypedSocket)
Deprecate Server.addTypedSocket and upgrade typedsocket to v4; make addTypedSocket a no-op and log a deprecation warning. Bump tsbundle devDependency.
- Upgrade dependency @api.global/typedsocket to ^4.0.0. TypedSocket v4 no longer supports attaching to an existing Express server.
- Deprecate servertools.Server.addTypedSocket(): the method is now a no-op and emits a console.warn directing users to use TypedServer with SmartServe integration for WebSocket support.
- Bump devDependency @git.zone/tsbundle to ^2.6.3.
- Breaking change: any consumer code that relied on addTypedSocket to attach a WebSocket server to an existing Express instance will need to migrate to the new SmartServe/TypedServer integration.
## 2025-12-02 - 5.0.0 - BREAKING CHANGE(devtools)
Switch /reloadcheck endpoint from GET to POST in DevToolsController

View File

@@ -60,7 +60,7 @@
"dependencies": {
"@api.global/typedrequest": "^3.1.10",
"@api.global/typedrequest-interfaces": "^3.0.19",
"@api.global/typedsocket": "^3.1.1",
"@api.global/typedsocket": "^4.0.0",
"@cloudflare/workers-types": "^4.20251202.0",
"@design.estate/dees-comms": "^1.0.27",
"@push.rocks/lik": "^6.2.2",
@@ -100,7 +100,7 @@
},
"devDependencies": {
"@git.zone/tsbuild": "^3.1.2",
"@git.zone/tsbundle": "^2.6.2",
"@git.zone/tsbundle": "^2.6.3",
"@git.zone/tsrun": "^2.0.0",
"@git.zone/tstest": "^3.1.3",
"@types/node": "^24.10.1"

232
pnpm-lock.yaml generated
View File

@@ -15,8 +15,8 @@ importers:
specifier: ^3.0.19
version: 3.0.19
'@api.global/typedsocket':
specifier: ^3.1.1
version: 3.1.1(@push.rocks/smartserve@1.1.0)
specifier: ^4.0.0
version: 4.0.0(@push.rocks/smartserve@1.1.0)
'@cloudflare/workers-types':
specifier: ^4.20251202.0
version: 4.20251202.0
@@ -130,8 +130,8 @@ importers:
specifier: ^3.1.2
version: 3.1.2
'@git.zone/tsbundle':
specifier: ^2.6.2
version: 2.6.2
specifier: ^2.6.3
version: 2.6.3
'@git.zone/tsrun':
specifier: ^2.0.0
version: 2.0.0
@@ -164,6 +164,14 @@ packages:
'@push.rocks/smartserve':
optional: true
'@api.global/typedsocket@4.0.0':
resolution: {integrity: sha512-3JQdLcBRcb2Ch/kknISqivHCV8qxEd8/calu95rUoG1/FbQUdKtRNTS9j7pox91oHG7PGW2kXQbMkRx7Ir6F7Q==}
peerDependencies:
'@push.rocks/smartserve': '>=1.0.0'
peerDependenciesMeta:
'@push.rocks/smartserve':
optional: true
'@aws-crypto/crc32@5.2.0':
resolution: {integrity: sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg==}
engines: {node: '>=16.0.0'}
@@ -896,8 +904,8 @@ packages:
resolution: {integrity: sha512-K0u840Qo0WEhvcpAtktvdBX6KEXjelU32o820WzcK7dMA7dd2YV+mPOEYfbmWLcdtFJkrjkigQq5fpLhTN4oKQ==}
hasBin: true
'@git.zone/tsbundle@2.6.2':
resolution: {integrity: sha512-wj32zHpvbDUdStEjJ9RCqffmafqlopWSROSRBQDgpJ8hnMAO3ftWkTWWfGdTGh2p2pALfPqgSFzwxCd4RJG8aQ==}
'@git.zone/tsbundle@2.6.3':
resolution: {integrity: sha512-YD1qMYA/4eOuF57V0ccR+xo6ww1+QOYFA2K5gBPFBDNh9VdfvWxxDhOUybja8lT9PVMoli8PHG5WA5tKJkdXIQ==}
hasBin: true
'@git.zone/tspublish@1.10.3':
@@ -940,23 +948,23 @@ packages:
'@mixmark-io/domino@2.2.0':
resolution: {integrity: sha512-Y28PR25bHXUg88kCV7nivXrP2Nj2RueZ3/l/jdx6J9f8J4nsEGcgX0Qe6lt7Pa+J79+kPiJU3LguR6O/6zrLOw==}
'@module-federation/error-codes@0.21.4':
resolution: {integrity: sha512-ClpL5MereWNXh+EgDjz7w4RrC1JlisQTvXDa1gLxpviHafzNDfdViVmuhi9xXVuj+EYo8KU70Y999KHhk9424Q==}
'@module-federation/error-codes@0.21.6':
resolution: {integrity: sha512-MLJUCQ05KnoVl8xd6xs9a5g2/8U+eWmVxg7xiBMeR0+7OjdWUbHwcwgVFatRIwSZvFgKHfWEiI7wsU1q1XbTRQ==}
'@module-federation/runtime-core@0.21.4':
resolution: {integrity: sha512-SGpmoOLGNxZofpTOk6Lxb2ewaoz5wMi93AFYuuJB04HTVcngEK+baNeUZ2D/xewrqNIJoMY6f5maUjVfIIBPUA==}
'@module-federation/runtime-core@0.21.6':
resolution: {integrity: sha512-5Hd1Y5qp5lU/aTiK66lidMlM/4ji2gr3EXAtJdreJzkY+bKcI5+21GRcliZ4RAkICmvdxQU5PHPL71XmNc7Lsw==}
'@module-federation/runtime-tools@0.21.4':
resolution: {integrity: sha512-RzFKaL0DIjSmkn76KZRfzfB6dD07cvID84950jlNQgdyoQFUGkqD80L6rIpVCJTY/R7LzR3aQjHnoqmq4JPo3w==}
'@module-federation/runtime-tools@0.21.6':
resolution: {integrity: sha512-fnP+ZOZTFeBGiTAnxve+axGmiYn2D60h86nUISXjXClK3LUY1krUfPgf6MaD4YDJ4i51OGXZWPekeMe16pkd8Q==}
'@module-federation/runtime@0.21.4':
resolution: {integrity: sha512-wgvGqryurVEvkicufJmTG0ZehynCeNLklv8kIk5BLIsWYSddZAE+xe4xov1kgH5fIJQAoQNkRauFFjVNlHoAkA==}
'@module-federation/runtime@0.21.6':
resolution: {integrity: sha512-+caXwaQqwTNh+CQqyb4mZmXq7iEemRDrTZQGD+zyeH454JAYnJ3s/3oDFizdH6245pk+NiqDyOOkHzzFQorKhQ==}
'@module-federation/sdk@0.21.4':
resolution: {integrity: sha512-tzvhOh/oAfX++6zCDDxuvioHY4Jurf8vcfoCbKFxusjmyKr32GPbwFDazUP+OPhYCc3dvaa9oWU6X/qpUBLfJw==}
'@module-federation/sdk@0.21.6':
resolution: {integrity: sha512-x6hARETb8iqHVhEsQBysuWpznNZViUh84qV2yE7AD+g7uIzHKiYdoWqj10posbo5XKf/147qgWDzKZoKoEP2dw==}
'@module-federation/webpack-bundler-runtime@0.21.4':
resolution: {integrity: sha512-dusmR3uPnQh9u9ChQo3M+GLOuGFthfvnh7WitF/a1eoeTfRmXqnMFsXtZCUK+f/uXf+64874Zj/bhAgbBcVHZA==}
'@module-federation/webpack-bundler-runtime@0.21.6':
resolution: {integrity: sha512-7zIp3LrcWbhGuFDTUMLJ2FJvcwjlddqhWGxi/MW3ur1a+HaO8v5tF2nl+vElKmbG1DFLU/52l3PElVcWf/YcsQ==}
'@mongodb-js/saslprep@1.3.2':
resolution: {integrity: sha512-QgA5AySqB27cGTXBFmnpifAi7HxoGUeezwo6p9dI03MuDB6Pp33zgclqVb6oVK3j6I9Vesg0+oojW2XxB59SGg==}
@@ -964,6 +972,9 @@ packages:
'@napi-rs/wasm-runtime@1.0.7':
resolution: {integrity: sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==}
'@napi-rs/wasm-runtime@1.1.0':
resolution: {integrity: sha512-Fq6DJW+Bb5jaWE69/qOE0D1TUN9+6uWhCeZpdnSBk14pjLcCWR7Q8n49PTSPHazM37JqrsdpEthXy2xn6jWWiA==}
'@oxc-project/types@0.99.0':
resolution: {integrity: sha512-LLDEhXB7g1m5J+woRSgfKsFPS3LhR9xRhTeIoEBm5WrkwMxn6eZ0Ld0c0K5eHB57ChZX6I3uSmmLjZ8pcjlRcw==}
@@ -1223,6 +1234,9 @@ packages:
'@push.rocks/smartsocket@2.1.0':
resolution: {integrity: sha512-etOGyfiDFQz/1WJnD3jFL2N7ykujTjiudAz6qZTz82xE5oabKuKX+Cn8SdM9dOwzyWmBUKbUdll8QhovAXjn+g==}
'@push.rocks/smartsocket@3.0.0':
resolution: {integrity: sha512-8pUbOybNBwXF+D9VsuC+3LjD+r9uRzcgcwFRcpic6WGVqW0c5hI8D8YwKDHkL11XJJD7yNRJnsoIc618EVUvuQ==}
'@push.rocks/smartspawn@3.0.3':
resolution: {integrity: sha512-DyrGPV69wwOiJgKkyruk5hS3UEGZ99xFAqBE9O2nM8VXCRLbbty3xt1Ug5Z092ZZmJYaaGMSnMw3ijyZJFCT0Q==}
@@ -1402,60 +1416,60 @@ packages:
'@rolldown/pluginutils@1.0.0-beta.52':
resolution: {integrity: sha512-/L0htLJZbaZFL1g9OHOblTxbCYIGefErJjtYOwgl9ZqNx27P3L0SDfjhhHIss32gu5NWgnxuT2a2Hnnv6QGHKA==}
'@rspack/binding-darwin-arm64@1.6.5':
resolution: {integrity: sha512-DaAJTlaenqZIqFqIYcitn0SzjJ7WpC9234JpiSDZdRyXii9qJJiToVwxSPY/CmkrP0201+aC4pzN4tI9T0Ummw==}
'@rspack/binding-darwin-arm64@1.6.6':
resolution: {integrity: sha512-vGVDP0rlWa2w/gLba/sncVfkCah0HmhdmK5vGj/7sSX0iViwQneA2xjxDHyCNSQrvfq9GJmj4Kmdq/9tGh0KuA==}
cpu: [arm64]
os: [darwin]
'@rspack/binding-darwin-x64@1.6.5':
resolution: {integrity: sha512-fPVfp7W/GMbHayb5hbefiMI30JxlsqPexOItHGtufHmTCrNne1aHmApspyUZIUUxG36oDRHuGPnfh+IQbHR6+g==}
'@rspack/binding-darwin-x64@1.6.6':
resolution: {integrity: sha512-IcdEG2kOmbPPO70Zl7gDnowDjK7d7C1hWew2vU7dPltr2t1JalRIMnS051lhiur0ULkSxV3cW1zXqv0Oi8AnOg==}
cpu: [x64]
os: [darwin]
'@rspack/binding-linux-arm64-gnu@1.6.5':
resolution: {integrity: sha512-K68YDoV2e4s+nlrKZxgF0HehiiRwOAGgZFUwJNRMZ7MUrTGMNlPTJlM+bNdaCjDb6GFxBVFcNwIa1sU+0tF1zg==}
'@rspack/binding-linux-arm64-gnu@1.6.6':
resolution: {integrity: sha512-rIguCCtlTcwoFlwheDiUgdImk27spuCRn43zGJogARpM/ZYRFKIuSwFDGUtJT2g0TSLUAHUhWAUqC36NwvrbMQ==}
cpu: [arm64]
os: [linux]
'@rspack/binding-linux-arm64-musl@1.6.5':
resolution: {integrity: sha512-JPtxFBOq7RRmBIwpdGIStf8iyCILehDsjQtEB0Kkhtm7TsAkVGwtC41GLcNuPxcQBKqNDmD8cy3yLYhXadH2CQ==}
'@rspack/binding-linux-arm64-musl@1.6.6':
resolution: {integrity: sha512-x6X6Gr0fUw6qrJGxZt3Rb6oIX+jd9pdcyp0VbtofcLaqGVQbzustYsYnuLATPOys0q4J/4kWnmEhkjLJHwkhpQ==}
cpu: [arm64]
os: [linux]
'@rspack/binding-linux-x64-gnu@1.6.5':
resolution: {integrity: sha512-oh4ZNo2HtizZ/E6UK3BEONu20h8VVBw9GAXuWmo1u22cJSihzg+WfRNCMjRDil82LqSsyAgBwnU+dEjEYGKyAA==}
'@rspack/binding-linux-x64-gnu@1.6.6':
resolution: {integrity: sha512-gSlVdASszWHosQKn+nzYOInBijdQboUnmNMGgW9/PijVg3433IvQjzviUuJFno8CMGgrACV9yw+ZFDuK0J57VA==}
cpu: [x64]
os: [linux]
'@rspack/binding-linux-x64-musl@1.6.5':
resolution: {integrity: sha512-8Xebp5bvPJqjifpkFEAX5nUvoU2JvbMU3gwAkEovRRuvooCXnVT2tqkUBjkR3AhivAGgAxAr9hRzUUz/6QWt3Q==}
'@rspack/binding-linux-x64-musl@1.6.6':
resolution: {integrity: sha512-TZaqVkh7memsTK/hxkOBrbpdzbmBUMea1YnYt++7QjMgco1kWFvAQ+YhAWtIaOaEg8s6C07Lt0Zp8izM2Dja0g==}
cpu: [x64]
os: [linux]
'@rspack/binding-wasm32-wasi@1.6.5':
resolution: {integrity: sha512-oINZNqzTxM+9dSUOjAORodHXYoJYzXvpaHI2U6ecEmoWaBCs+x3V3Po8DhpNFBwotB+jGlcoVhEHjpg5uaO6pw==}
'@rspack/binding-wasm32-wasi@1.6.6':
resolution: {integrity: sha512-W4mWdlLnYrbUaktyHOGNfATblxMTbgF7CBfDw8PhbDtjd2l8e/TnaHgIDkwITHXAOMEF/QEKfo9FtusbcQJNKw==}
cpu: [wasm32]
'@rspack/binding-win32-arm64-msvc@1.6.5':
resolution: {integrity: sha512-UUmep2ayuZxWPdrzkrzAFxVgYUWTB82pa9bkAGyeDO9SNkz8vTpdtbDaTvAzjFb8Pn+ErktDEDBKT57FLjxwxQ==}
'@rspack/binding-win32-arm64-msvc@1.6.6':
resolution: {integrity: sha512-cw5OgxqoDwjoZlk0L3vGEwcjPZsOVFYLwr2ssiC05rsTbhBwxj8coLpAJdvUvbf6C2TTmCB7iPe2sPq1KWD37g==}
cpu: [arm64]
os: [win32]
'@rspack/binding-win32-ia32-msvc@1.6.5':
resolution: {integrity: sha512-7nx+mMimpmCMstcW7nsyToXy5TK7N+YGPu2W/oioX7qv9ZCuJGTddjzLS84wN8DVrNIirg4mcxpBsmOQMZeHQA==}
'@rspack/binding-win32-ia32-msvc@1.6.6':
resolution: {integrity: sha512-M4ruR+VZ59iy+mPjy6FQPT27cOgeytf3wFBrt7e0suKeNLYGxrNyI9YhgpCTY++SMJsAMgRLGDHoI3ZgWulw1Q==}
cpu: [ia32]
os: [win32]
'@rspack/binding-win32-x64-msvc@1.6.5':
resolution: {integrity: sha512-pzO7rYFu6f6stgSccolZHiXGTTwKrIGHHNV1ALY1xPRmQEdbHcbMwadeaG99JL2lRLve9iNI+Z9Pr3oDVRN46g==}
'@rspack/binding-win32-x64-msvc@1.6.6':
resolution: {integrity: sha512-q5QTvdhPUh+CA93cQG5zWKRIHMIWPzw+ftFDEwBw52zYdvNAoLniqD8o5Mi8CT0pndhulXgR5aw0Sjd3eMah+A==}
cpu: [x64]
os: [win32]
'@rspack/binding@1.6.5':
resolution: {integrity: sha512-FzYsr5vdjaVQIlDTxZFlISOQGxl/4grpF2BeiNy60Fpw9eeADeXk55DVacbXPqpiz7Doj6cyhEyMszQOvihrqQ==}
'@rspack/binding@1.6.6':
resolution: {integrity: sha512-noiV+qhyBTVpvG2M4bnOwKk2Ynl6G47Wf7wpCjPCFr87qr3txNwTTnhkEJEU59yj+VvIhbRD2rf5+9TLoT0Wxg==}
'@rspack/core@1.6.5':
resolution: {integrity: sha512-AqaOMA6MTNhqMYYwrhvPA+2uS662SkAi8Rb7B/IFOzh/Z5ooyczL4lUX+qyhAO3ymn50iwM4jikQCf9XfBiaQA==}
'@rspack/core@1.6.6':
resolution: {integrity: sha512-2mR+2YBydlgZ7Q0Rpd6bCC3MBnV9TS0x857K0zIhbDj4BQOqaWVy1n7fx/B3MrS8TR0QCuzKfyDAjNz+XTyJVQ==}
engines: {node: '>=18.12.0'}
peerDependencies:
'@swc/helpers': '>=0.5.1'
@@ -3949,8 +3963,10 @@ snapshots:
transitivePeerDependencies:
- '@nuxt/kit'
- '@push.rocks/smartserve'
- bufferutil
- react
- supports-color
- utf-8-validate
- vue
'@api.global/typedsocket@3.1.1(@push.rocks/smartserve@1.1.0)':
@@ -3960,7 +3976,7 @@ snapshots:
'@push.rocks/isohash': 2.0.1
'@push.rocks/smartjson': 5.2.0
'@push.rocks/smartrx': 3.0.10
'@push.rocks/smartsocket': 2.1.0(@push.rocks/smartserve@1.1.0)
'@push.rocks/smartsocket': 2.1.0
'@push.rocks/smartstring': 4.1.0
'@push.rocks/smarturl': 3.1.0
optionalDependencies:
@@ -3973,6 +3989,22 @@ snapshots:
- utf-8-validate
- vue
'@api.global/typedsocket@4.0.0(@push.rocks/smartserve@1.1.0)':
dependencies:
'@api.global/typedrequest': 3.1.10
'@api.global/typedrequest-interfaces': 3.0.19
'@push.rocks/isohash': 2.0.1
'@push.rocks/smartjson': 5.2.0
'@push.rocks/smartrx': 3.0.10
'@push.rocks/smartsocket': 3.0.0
'@push.rocks/smartstring': 4.1.0
'@push.rocks/smarturl': 3.1.0
optionalDependencies:
'@push.rocks/smartserve': 1.1.0
transitivePeerDependencies:
- bufferutil
- utf-8-validate
'@aws-crypto/crc32@5.2.0':
dependencies:
'@aws-crypto/util': 5.2.0
@@ -5509,7 +5541,7 @@ snapshots:
- supports-color
- vue
'@git.zone/tsbundle@2.6.2':
'@git.zone/tsbundle@2.6.3':
dependencies:
'@push.rocks/early': 4.0.4
'@push.rocks/smartcli': 4.0.19
@@ -5520,7 +5552,7 @@ snapshots:
'@push.rocks/smartpath': 6.0.0
'@push.rocks/smartpromise': 4.2.3
'@push.rocks/smartspawn': 3.0.3
'@rspack/core': 1.6.5
'@rspack/core': 1.6.6
'@types/html-minifier': 4.0.6
esbuild: 0.27.0
html-minifier: 4.0.0
@@ -5559,7 +5591,7 @@ snapshots:
'@git.zone/tstest@3.1.3(@aws-sdk/credential-providers@3.787.0)(@push.rocks/smartserve@1.1.0)(socks@2.8.7)(typescript@5.9.3)':
dependencies:
'@api.global/typedserver': 3.0.80(@push.rocks/smartserve@1.1.0)
'@git.zone/tsbundle': 2.6.2
'@git.zone/tsbundle': 2.6.3
'@git.zone/tsrun': 2.0.0
'@push.rocks/consolecolor': 2.0.3
'@push.rocks/qenv': 6.1.3
@@ -5634,30 +5666,30 @@ snapshots:
'@mixmark-io/domino@2.2.0': {}
'@module-federation/error-codes@0.21.4': {}
'@module-federation/error-codes@0.21.6': {}
'@module-federation/runtime-core@0.21.4':
'@module-federation/runtime-core@0.21.6':
dependencies:
'@module-federation/error-codes': 0.21.4
'@module-federation/sdk': 0.21.4
'@module-federation/error-codes': 0.21.6
'@module-federation/sdk': 0.21.6
'@module-federation/runtime-tools@0.21.4':
'@module-federation/runtime-tools@0.21.6':
dependencies:
'@module-federation/runtime': 0.21.4
'@module-federation/webpack-bundler-runtime': 0.21.4
'@module-federation/runtime': 0.21.6
'@module-federation/webpack-bundler-runtime': 0.21.6
'@module-federation/runtime@0.21.4':
'@module-federation/runtime@0.21.6':
dependencies:
'@module-federation/error-codes': 0.21.4
'@module-federation/runtime-core': 0.21.4
'@module-federation/sdk': 0.21.4
'@module-federation/error-codes': 0.21.6
'@module-federation/runtime-core': 0.21.6
'@module-federation/sdk': 0.21.6
'@module-federation/sdk@0.21.4': {}
'@module-federation/sdk@0.21.6': {}
'@module-federation/webpack-bundler-runtime@0.21.4':
'@module-federation/webpack-bundler-runtime@0.21.6':
dependencies:
'@module-federation/runtime': 0.21.4
'@module-federation/sdk': 0.21.4
'@module-federation/runtime': 0.21.6
'@module-federation/sdk': 0.21.6
'@mongodb-js/saslprep@1.3.2':
dependencies:
@@ -5670,6 +5702,13 @@ snapshots:
'@tybys/wasm-util': 0.10.1
optional: true
'@napi-rs/wasm-runtime@1.1.0':
dependencies:
'@emnapi/core': 1.7.1
'@emnapi/runtime': 1.7.1
'@tybys/wasm-util': 0.10.1
optional: true
'@oxc-project/types@0.99.0': {}
'@pdf-lib/standard-fonts@1.0.0':
@@ -6381,7 +6420,7 @@ snapshots:
'@push.rocks/webrequest': 4.0.1
'@tsclass/tsclass': 9.3.0
'@push.rocks/smartsocket@2.1.0(@push.rocks/smartserve@1.1.0)':
'@push.rocks/smartsocket@2.1.0':
dependencies:
'@api.global/typedrequest-interfaces': 3.0.19
'@api.global/typedserver': 3.0.80(@push.rocks/smartserve@1.1.0)
@@ -6400,13 +6439,30 @@ snapshots:
socket.io-client: 4.8.1
transitivePeerDependencies:
- '@nuxt/kit'
- '@push.rocks/smartserve'
- bufferutil
- react
- supports-color
- utf-8-validate
- vue
'@push.rocks/smartsocket@3.0.0':
dependencies:
'@api.global/typedrequest-interfaces': 3.0.19
'@push.rocks/isohash': 2.0.1
'@push.rocks/isounique': 1.0.5
'@push.rocks/lik': 6.2.2
'@push.rocks/smartdelay': 3.0.5
'@push.rocks/smartenv': 6.0.0
'@push.rocks/smartjson': 5.2.0
'@push.rocks/smartlog': 3.1.10
'@push.rocks/smartpromise': 4.2.3
'@push.rocks/smartrx': 3.0.10
'@push.rocks/smarttime': 4.1.1
ws: 8.18.3
transitivePeerDependencies:
- bufferutil
- utf-8-validate
'@push.rocks/smartspawn@3.0.3':
dependencies:
'@push.rocks/smartpromise': 4.2.3
@@ -6628,7 +6684,7 @@ snapshots:
'@rolldown/binding-wasm32-wasi@1.0.0-beta.52':
dependencies:
'@napi-rs/wasm-runtime': 1.0.7
'@napi-rs/wasm-runtime': 1.1.0
optional: true
'@rolldown/binding-win32-arm64-msvc@1.0.0-beta.52':
@@ -6642,55 +6698,55 @@ snapshots:
'@rolldown/pluginutils@1.0.0-beta.52': {}
'@rspack/binding-darwin-arm64@1.6.5':
'@rspack/binding-darwin-arm64@1.6.6':
optional: true
'@rspack/binding-darwin-x64@1.6.5':
'@rspack/binding-darwin-x64@1.6.6':
optional: true
'@rspack/binding-linux-arm64-gnu@1.6.5':
'@rspack/binding-linux-arm64-gnu@1.6.6':
optional: true
'@rspack/binding-linux-arm64-musl@1.6.5':
'@rspack/binding-linux-arm64-musl@1.6.6':
optional: true
'@rspack/binding-linux-x64-gnu@1.6.5':
'@rspack/binding-linux-x64-gnu@1.6.6':
optional: true
'@rspack/binding-linux-x64-musl@1.6.5':
'@rspack/binding-linux-x64-musl@1.6.6':
optional: true
'@rspack/binding-wasm32-wasi@1.6.5':
'@rspack/binding-wasm32-wasi@1.6.6':
dependencies:
'@napi-rs/wasm-runtime': 1.0.7
optional: true
'@rspack/binding-win32-arm64-msvc@1.6.5':
'@rspack/binding-win32-arm64-msvc@1.6.6':
optional: true
'@rspack/binding-win32-ia32-msvc@1.6.5':
'@rspack/binding-win32-ia32-msvc@1.6.6':
optional: true
'@rspack/binding-win32-x64-msvc@1.6.5':
'@rspack/binding-win32-x64-msvc@1.6.6':
optional: true
'@rspack/binding@1.6.5':
'@rspack/binding@1.6.6':
optionalDependencies:
'@rspack/binding-darwin-arm64': 1.6.5
'@rspack/binding-darwin-x64': 1.6.5
'@rspack/binding-linux-arm64-gnu': 1.6.5
'@rspack/binding-linux-arm64-musl': 1.6.5
'@rspack/binding-linux-x64-gnu': 1.6.5
'@rspack/binding-linux-x64-musl': 1.6.5
'@rspack/binding-wasm32-wasi': 1.6.5
'@rspack/binding-win32-arm64-msvc': 1.6.5
'@rspack/binding-win32-ia32-msvc': 1.6.5
'@rspack/binding-win32-x64-msvc': 1.6.5
'@rspack/binding-darwin-arm64': 1.6.6
'@rspack/binding-darwin-x64': 1.6.6
'@rspack/binding-linux-arm64-gnu': 1.6.6
'@rspack/binding-linux-arm64-musl': 1.6.6
'@rspack/binding-linux-x64-gnu': 1.6.6
'@rspack/binding-linux-x64-musl': 1.6.6
'@rspack/binding-wasm32-wasi': 1.6.6
'@rspack/binding-win32-arm64-msvc': 1.6.6
'@rspack/binding-win32-ia32-msvc': 1.6.6
'@rspack/binding-win32-x64-msvc': 1.6.6
'@rspack/core@1.6.5':
'@rspack/core@1.6.6':
dependencies:
'@module-federation/runtime-tools': 0.21.4
'@rspack/binding': 1.6.5
'@module-federation/runtime-tools': 0.21.6
'@rspack/binding': 1.6.6
'@rspack/lite-tapable': 1.1.0
'@rspack/lite-tapable@1.1.0': {}

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@api.global/typedserver',
version: '5.0.0',
version: '6.0.0',
description: 'A TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.'
}

View File

@@ -53,10 +53,17 @@ export class Server {
this.addRoute('/typedrequest', new HandlerTypedRouter(typedrouter));
}
/**
* @deprecated This method is deprecated. Use TypedServer with SmartServe integration instead.
* TypedSocket v4 no longer supports attaching to an existing Express server.
*/
public addTypedSocket(typedrouter: plugins.typedrequest.TypedRouter): void {
this.executeAfterStartFunctions.push(async () => {
plugins.typedsocket.TypedSocket.createServer(typedrouter, this);
});
console.warn(
'[DEPRECATED] servertools.Server.addTypedSocket() is deprecated and has no effect. ' +
'Use TypedServer with SmartServe integration for WebSocket support.'
);
// TypedSocket v4 creates its own server, which would conflict with Express.
// This method is now a no-op for backward compatibility.
}
public addRoute(routeStringArg: string, handlerArg?: Handler) {