Compare commits

..

2 Commits

Author SHA1 Message Date
jkunz 735440fd11 v5.0.3
Default (tags) / security (push) Failing after 1s
Default (tags) / test (push) Failing after 1s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2026-05-01 16:49:59 +00:00
jkunz 47bd335f4f fix(core_node): support agentkeepalive default export fallback and bump dependency to ^4.6.0 2026-05-01 16:49:59 +00:00
6 changed files with 50 additions and 56 deletions
+6
View File
@@ -1,5 +1,11 @@
# Changelog
## 2026-05-01 - 5.0.3 - fix(core_node)
support agentkeepalive default export fallback and bump dependency to ^4.6.0
- Adds a fallback to use the default agentkeepalive export when HttpAgent is not exposed directly.
- Updates agentkeepalive from ^4.5.0 to ^4.6.0 to align with the compatibility fix.
## 2026-05-01 - 5.0.2 - fix(core-node)
update agentkeepalive import usage and align package metadata with smartconfig
Generated
+30 -50
View File
@@ -9,7 +9,7 @@
"npm:@push.rocks/smartpromise@^4.0.4": "4.2.3",
"npm:@push.rocks/smarturl@^3.1.0": "3.1.0",
"npm:@types/node@^22.9.0": "22.18.13",
"npm:agentkeepalive@^4.5.0": "4.6.0",
"npm:agentkeepalive@^4.6.0": "4.6.0",
"npm:form-data@^4.0.5": "4.0.5"
},
"npm": {
@@ -1324,7 +1324,7 @@
"@pnpm/network.ca-file@1.0.2": {
"integrity": "sha512-YcPQ8a0jwYU9bTdJDpXjMi7Brhkr1mXsXrUJvjqM2mQDgkRiz8jFaQGOdaLxgjtUfQgZhKy/O3cG/YwmgKaxLA==",
"dependencies": [
"graceful-fs@4.2.10"
"graceful-fs"
],
"tarball": "https://verdaccio.lossless.digital/@pnpm/network.ca-file/-/network.ca-file-1.0.2.tgz"
},
@@ -1507,6 +1507,7 @@
"chokidar",
"picomatch"
],
"deprecated": true,
"tarball": "https://verdaccio.lossless.digital/@push.rocks/smartchok/-/smartchok-1.1.1.tgz"
},
"@push.rocks/smartcli@4.0.19": {
@@ -1925,6 +1926,7 @@
"@types/s3rver",
"s3rver"
],
"deprecated": true,
"tarball": "https://verdaccio.lossless.digital/@push.rocks/smarts3/-/smarts3-2.2.6.tgz"
},
"@push.rocks/smartshell@3.3.0": {
@@ -2941,7 +2943,7 @@
"@types/bn.js@5.2.0": {
"integrity": "sha512-DLbJ1BPqxvQhIGbeu8VbUC1DiAiahHtAYvA0ZEAa4P31F7IaArc8z3C3BRQdWX4mtLQuABG4yzp76ZrS02Ui1Q==",
"dependencies": [
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/bn.js/-/bn.js-5.2.0.tgz"
},
@@ -2949,7 +2951,7 @@
"integrity": "sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==",
"dependencies": [
"@types/connect",
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/body-parser/-/body-parser-1.19.6.tgz"
},
@@ -2960,7 +2962,7 @@
"@types/clean-css@4.2.11": {
"integrity": "sha512-Y8n81lQVTAfP2TOdtJJEsCoYl1AnOkqDqMvXb9/7pfgZZ7r8YrEyurrAvAoAjHOGXKRybay+5CsExqIH6liccw==",
"dependencies": [
"@types/node@24.2.0",
"@types/node",
"source-map"
],
"tarball": "https://verdaccio.lossless.digital/@types/clean-css/-/clean-css-4.2.11.tgz"
@@ -2968,14 +2970,14 @@
"@types/connect@3.4.38": {
"integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==",
"dependencies": [
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/connect/-/connect-3.4.38.tgz"
},
"@types/cors@2.8.19": {
"integrity": "sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==",
"dependencies": [
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/cors/-/cors-2.8.19.tgz"
},
@@ -2989,7 +2991,7 @@
"@types/dns-packet@5.6.5": {
"integrity": "sha512-qXOC7XLOEe43ehtWJCMnQXvgcIpv6rPmQ1jXT98Ad8A3TB1Ue50jsCbSSSyuazScEuZ/Q026vHbrOTVkmwA+7Q==",
"dependencies": [
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/dns-packet/-/dns-packet-5.6.5.tgz"
},
@@ -3003,10 +3005,10 @@
"@types/express-serve-static-core@5.1.0": {
"integrity": "sha512-jnHMsrd0Mwa9Cf4IdOzbz543y4XJepXrbia2T4b6+spXC2We3t1y6K44D3mR8XMFSXMCf3/l7rCgddfx7UNVBA==",
"dependencies": [
"@types/node@24.2.0",
"@types/node",
"@types/qs",
"@types/range-parser",
"@types/send@1.2.1"
"@types/send"
],
"tarball": "https://verdaccio.lossless.digital/@types/express-serve-static-core/-/express-serve-static-core-5.1.0.tgz"
},
@@ -3023,7 +3025,7 @@
"integrity": "sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==",
"dependencies": [
"@types/jsonfile",
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/fs-extra/-/fs-extra-11.0.4.tgz"
},
@@ -3062,7 +3064,7 @@
"@types/jsonfile@6.1.4": {
"integrity": "sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==",
"dependencies": [
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/jsonfile/-/jsonfile-6.1.4.tgz"
},
@@ -3092,24 +3094,17 @@
"@types/node-forge@1.3.14": {
"integrity": "sha512-mhVF2BnD4BO+jtOp7z1CdzaK4mbuK0LLQYAvdOLqHTavxFNq4zA1EmYkpnFjP8HOUzedfQkRnp0E2ulSAYSzAw==",
"dependencies": [
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/node-forge/-/node-forge-1.3.14.tgz"
},
"@types/node@22.18.13": {
"integrity": "sha512-Bo45YKIjnmFtv6I1TuC8AaHBbqXtIo+Om5fE4QiU1Tj8QR/qt+8O3BAtOimG5IFmwaWiPmB3Mv3jtYzBA4Us2A==",
"dependencies": [
"undici-types@6.21.0"
"undici-types"
],
"tarball": "https://verdaccio.lossless.digital/@types/node/-/node-22.18.13.tgz"
},
"@types/node@24.2.0": {
"integrity": "sha512-3xyG3pMCq3oYCNg7/ZP+E1ooTaGB4cG8JWRsqqOYQdbWNY4zbaV0Ennrd7stjiJEFZCaybcIgpTjJWHRfBSIDw==",
"dependencies": [
"undici-types@7.10.0"
],
"tarball": "https://verdaccio.lossless.digital/@types/node/-/node-24.2.0.tgz"
},
"@types/ping@0.4.4": {
"integrity": "sha512-ifvo6w2f5eJYlXm+HiVx67iJe8WZp87sfa683nlqED5Vnt9Z93onkokNoWqOG21EaE8fMxyKPobE+mkPEyxsdw==",
"tarball": "https://verdaccio.lossless.digital/@types/ping/-/ping-0.4.4.tgz"
@@ -3133,7 +3128,7 @@
"@types/s3rver@3.7.4": {
"integrity": "sha512-CMCmdNszxS2FsIznWvBMVCl6fpvr5ueaFCaY0iSoH7Ud5maGcLghukpDvsXBnIcp92cv2HeVnVqI1p8yPcab9Q==",
"dependencies": [
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/s3rver/-/s3rver-3.7.4.tgz"
},
@@ -3145,23 +3140,16 @@
"integrity": "sha512-Uqt8rPBE8SY0RK8JB1EzVOIZ32uqy8HwdxCnoCOsYrvnswqmFZ/k+9Ikidlk/ImhsdvBsloHbAlewb2IEBV/Og==",
"dependencies": [
"@types/mime",
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/send/-/send-0.17.6.tgz"
},
"@types/send@1.2.1": {
"integrity": "sha512-arsCikDvlU99zl1g69TcAB3mzZPpxgw0UQnaHeC1Nwb015xp8bknZv5rIfri9xTOcMuaVgvabfIRA7PSZVuZIQ==",
"dependencies": [
"@types/node@24.2.0"
],
"tarball": "https://verdaccio.lossless.digital/@types/send/-/send-1.2.1.tgz"
},
"@types/serve-static@1.15.10": {
"integrity": "sha512-tRs1dB+g8Itk72rlSI2ZrW6vZg0YrLI81iQSTkMmOqnqCaNr/8Ek4VwWcN5vZgCYWbg/JJSGBlUaYGAOP73qBw==",
"dependencies": [
"@types/http-errors",
"@types/node@24.2.0",
"@types/send@0.17.6"
"@types/node",
"@types/send"
],
"tarball": "https://verdaccio.lossless.digital/@types/serve-static/-/serve-static-1.15.10.tgz"
},
@@ -3172,14 +3160,14 @@
"@types/tar-stream@3.1.4": {
"integrity": "sha512-921gW0+g29mCJX0fRvqeHzBlE/XclDaAG0Ousy1LCghsOhvaKacDeRGEVzQP9IPfKn8Vysy7FEXAIxycpc/CMg==",
"dependencies": [
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/tar-stream/-/tar-stream-3.1.4.tgz"
},
"@types/through2@2.0.41": {
"integrity": "sha512-ryQ0tidWkb1O1JuYvWKyMLYEtOWDqF5mHerJzKz/gQpoAaJq2l/dsMPBF0B5BNVT34rbARYJ5/tsZwLfUi2kwQ==",
"dependencies": [
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/through2/-/through2-2.0.41.tgz"
},
@@ -3228,14 +3216,14 @@
"@types/ws@8.18.1": {
"integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==",
"dependencies": [
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/ws/-/ws-8.18.1.tgz"
},
"@types/yauzl@2.10.3": {
"integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==",
"dependencies": [
"@types/node@24.2.0"
"@types/node"
],
"tarball": "https://verdaccio.lossless.digital/@types/yauzl/-/yauzl-2.10.3.tgz"
},
@@ -4008,7 +3996,7 @@
"integrity": "sha512-ZCkIjSYNDyGn0R6ewHDtXgns/Zre/NT6Agvq1/WobF7JXgFff4SeDroKiCO3fNJreU9YG429Sc81o4w5ok/W5g==",
"dependencies": [
"@types/cors",
"@types/node@24.2.0",
"@types/node",
"accepts@1.3.8",
"base64id",
"cookie",
@@ -4391,7 +4379,7 @@
"fs-extra@11.3.2": {
"integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==",
"dependencies": [
"graceful-fs@4.2.11",
"graceful-fs",
"jsonfile@6.2.0",
"universalify@2.0.1"
],
@@ -4400,7 +4388,7 @@
"fs-extra@8.1.0": {
"integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
"dependencies": [
"graceful-fs@4.2.11",
"graceful-fs",
"jsonfile@4.0.0",
"universalify@0.1.2"
],
@@ -4537,10 +4525,6 @@
"integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==",
"tarball": "https://verdaccio.lossless.digital/graceful-fs/-/graceful-fs-4.2.10.tgz"
},
"graceful-fs@4.2.11": {
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
"tarball": "https://verdaccio.lossless.digital/graceful-fs/-/graceful-fs-4.2.11.tgz"
},
"happy-dom@15.11.7": {
"integrity": "sha512-KyrFvnl+J9US63TEzwoiJOQzZBJY7KgBushJA8X61DMbNsH+2ONkDuLDnCnwUiPTF42tLoEmrPyoqbenVA5zrg==",
"dependencies": [
@@ -4916,7 +4900,7 @@
"jsonfile@4.0.0": {
"integrity": "8771aae0799b64076b76640fca058f9c10e33ecb",
"optionalDependencies": [
"graceful-fs@4.2.11"
"graceful-fs"
],
"tarball": "https://verdaccio.lossless.digital/jsonfile/-/jsonfile-4.0.0.tgz"
},
@@ -4926,7 +4910,7 @@
"universalify@2.0.1"
],
"optionalDependencies": [
"graceful-fs@4.2.11"
"graceful-fs"
],
"tarball": "https://verdaccio.lossless.digital/jsonfile/-/jsonfile-6.2.0.tgz"
},
@@ -6916,10 +6900,6 @@
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
"tarball": "https://verdaccio.lossless.digital/undici-types/-/undici-types-6.21.0.tgz"
},
"undici-types@7.10.0": {
"integrity": "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==",
"tarball": "https://verdaccio.lossless.digital/undici-types/-/undici-types-7.10.0.tgz"
},
"unified@11.0.5": {
"integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==",
"dependencies": [
@@ -7199,7 +7179,7 @@
"npm:@push.rocks/smartpromise@^4.0.4",
"npm:@push.rocks/smarturl@^3.1.0",
"npm:@types/node@^22.9.0",
"npm:agentkeepalive@^4.5.0",
"npm:agentkeepalive@^4.6.0",
"npm:form-data@^4.0.5"
]
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@push.rocks/smartrequest",
"version": "5.0.2",
"version": "5.0.3",
"private": false,
"description": "A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.",
"exports": {
@@ -49,7 +49,7 @@
"@push.rocks/smartpath": "^6.0.0",
"@push.rocks/smartpromise": "^4.0.4",
"@push.rocks/smarturl": "^3.1.0",
"agentkeepalive": "^4.5.0",
"agentkeepalive": "^4.6.0",
"form-data": "^4.0.5"
},
"devDependencies": {
+10 -2
View File
@@ -21,7 +21,7 @@ importers:
specifier: ^3.1.0
version: 3.1.0
agentkeepalive:
specifier: ^4.5.0
specifier: ^4.6.0
version: 4.6.0
form-data:
specifier: ^4.0.5
@@ -959,24 +959,28 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@rolldown/binding-linux-arm64-musl@1.0.0-beta.50':
resolution: {integrity: sha512-L0zRdH2oDPkmB+wvuTl+dJbXCsx62SkqcEqdM+79LOcB+PxbAxxjzHU14BuZIQdXcAVDzfpMfaHWzZuwhhBTcw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
libc: [musl]
'@rolldown/binding-linux-x64-gnu@1.0.0-beta.50':
resolution: {integrity: sha512-gyoI8o/TGpQd3OzkJnh1M2kxy1Bisg8qJ5Gci0sXm9yLFzEXIFdtc4EAzepxGvrT2ri99ar5rdsmNG0zP0SbIg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
libc: [glibc]
'@rolldown/binding-linux-x64-musl@1.0.0-beta.50':
resolution: {integrity: sha512-zti8A7M+xFDpKlghpcCAzyOi+e5nfUl3QhU023ce5NCgUxRG5zGP2GR9LTydQ1rnIPwZUVBWd4o7NjZDaQxaXA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
libc: [musl]
'@rolldown/binding-openharmony-arm64@1.0.0-beta.50':
resolution: {integrity: sha512-eZUssog7qljrrRU9Mi0eqYEPm3Ch0UwB+qlWPMKSUXHNqhm3TvDZarJQdTevGEfu3EHAXJvBIe0YFYr0TPVaMA==}
@@ -1024,21 +1028,25 @@ packages:
resolution: {integrity: sha512-uid2GjLzRnYNzNuTTS/hUZdYO6bNATWfaeuhGBU8RWrRgB+clJwhZskSwhfVrvmyTXYbHI95CJIPt4TbZ1FRTg==}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@rspack/binding-linux-arm64-musl@1.6.3':
resolution: {integrity: sha512-ZJqqyEARBAnv9Gj3+0/PGIw87r8Vg0ZEKiRT9u5tPKK01dptF+xGv4xywAlahOeFUik4Dni5aHixbarStzN9Cw==}
cpu: [arm64]
os: [linux]
libc: [musl]
'@rspack/binding-linux-x64-gnu@1.6.3':
resolution: {integrity: sha512-/W8/X3CBGVY7plii5eUzyIEyCKiYx1lqrSVuD1HLlVHvzC4H2Kpk0EwvY2gUhnQRLU0Ym77Sh4PRd1ZOOzP4LQ==}
cpu: [x64]
os: [linux]
libc: [glibc]
'@rspack/binding-linux-x64-musl@1.6.3':
resolution: {integrity: sha512-h0Q3aM0fkRCd330DfRGZ9O3nk/rfRyXRX4dEIoLcLAq34VOmp3HZUP7rEy7feiJbuU4Atcvd0MD7U6RLwa1umQ==}
cpu: [x64]
os: [linux]
libc: [musl]
'@rspack/binding-wasm32-wasi@1.6.3':
resolution: {integrity: sha512-XLCDe+b52kAajlHutsyfh9o+uKQvgis+rLFb3XIJ9FfCcL8opTWVyeGLNHBUBn7cGPXGEYWd0EU9CZJrjV+iVw==}
@@ -2336,7 +2344,7 @@ packages:
engines: {node: '>= 14'}
humanize-ms@1.2.1:
resolution: {integrity: sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=}
resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==}
humanize-number@0.0.2:
resolution: {integrity: sha1-EcCvakcWQ2M1iFiASPF5lUFInBg=}
+1 -1
View File
@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartrequest',
version: '5.0.2',
version: '5.0.3',
description: 'A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.'
}
+1 -1
View File
@@ -16,7 +16,7 @@ export { smartpromise, smarturl };
// third party scope
import AgentKeepAlive from 'agentkeepalive';
const agentkeepalive = {
HttpAgent: AgentKeepAlive.HttpAgent,
HttpAgent: AgentKeepAlive.HttpAgent ?? AgentKeepAlive,
HttpsAgent: AgentKeepAlive.HttpsAgent,
};
import formData from 'form-data';