Compare commits

..

4 Commits

Author SHA1 Message Date
jkunz 8622ee78d1 v5.0.2
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:46:03 +00:00
jkunz c08e8b9132 fix(core-node): update agentkeepalive import usage and align package metadata with smartconfig 2026-05-01 16:46:03 +00:00
jkunz 980675ea05 v5.0.1
Default (tags) / security (push) Successful in 4s
Default (tags) / test (push) Failing after 48s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2025-11-17 14:37:09 +00:00
jkunz 15819d8a23 fix(test): Enable --logfile in test script and bump @git.zone/tstest to ^2.8.2 2025-11-17 14:37:08 +00:00
9 changed files with 122 additions and 23 deletions
+49
View File
@@ -0,0 +1,49 @@
{
"@git.zone/npmts": {
"coverageTreshold": 50
},
"@ship.zone/szci": {
"npmGlobalTools": [],
"npmRegistryUrl": "registry.npmjs.org"
},
"@git.zone/cli": {
"projectType": "npm",
"module": {
"githost": "code.foss.global",
"gitscope": "push.rocks",
"gitrepo": "smartrequest",
"shortDescription": "modern HTTP request utilities",
"description": "A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.",
"npmPackagename": "@push.rocks/smartrequest",
"license": "MIT",
"keywords": [
"HTTP",
"HTTPS",
"request library",
"form data",
"file uploads",
"JSON",
"binary data",
"streams",
"keepAlive",
"TypeScript",
"modern web requests",
"drop-in replacement",
"Bun",
"Deno",
"Node.js",
"unix sockets"
]
},
"release": {
"registries": [
"https://verdaccio.lossless.digital",
"https://registry.npmjs.org"
],
"accessLevel": "public"
}
},
"@git.zone/tsdoc": {
"legal": "\n## License and Legal Information\n\nThis repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository. \n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or if you require further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n"
}
}
+14
View File
@@ -1,5 +1,19 @@
# Changelog # Changelog
## 2026-05-01 - 5.0.2 - fix(core-node)
update agentkeepalive import usage and align package metadata with smartconfig
- Switches the Node plugin integration to use the default agentkeepalive export and map HttpAgent/HttpsAgent from it.
- Adds .smartconfig.json and includes it together with the license file in the published package.
- Updates npmextra.json to the new scoped configuration keys and expands project release metadata and keywords.
- Adjusts package metadata to include the author email address.
## 2025-11-17 - 5.0.1 - fix(test)
Enable --logfile in test script and bump @git.zone/tstest to ^2.8.2
- Update npm script: add --logfile flag to the test command to produce test logs
- Bump devDependency @git.zone/tstest from ^2.8.1 to ^2.8.2
## 2025-11-17 - 5.0.0 - BREAKING CHANGE(client/streaming) ## 2025-11-17 - 5.0.0 - BREAKING CHANGE(client/streaming)
Unify streaming APIs: remove raw()/streamNode() and standardize on web ReadableStream across runtimes Unify streaming APIs: remove raw()/streamNode() and standardize on web ReadableStream across runtimes
Generated
+5 -5
View File
@@ -3,7 +3,7 @@
"specifiers": { "specifiers": {
"npm:@git.zone/tsbuild@^3.1.0": "3.1.0", "npm:@git.zone/tsbuild@^3.1.0": "3.1.0",
"npm:@git.zone/tsrun@2": "2.0.0", "npm:@git.zone/tsrun@2": "2.0.0",
"npm:@git.zone/tstest@^2.8.1": "2.8.1", "npm:@git.zone/tstest@^2.8.2": "2.8.2",
"npm:@push.rocks/smartenv@6": "6.0.0", "npm:@push.rocks/smartenv@6": "6.0.0",
"npm:@push.rocks/smartpath@6": "6.0.0", "npm:@push.rocks/smartpath@6": "6.0.0",
"npm:@push.rocks/smartpromise@^4.0.4": "4.2.3", "npm:@push.rocks/smartpromise@^4.0.4": "4.2.3",
@@ -999,8 +999,8 @@
"bin": true, "bin": true,
"tarball": "https://verdaccio.lossless.digital/@git.zone/tsrun/-/tsrun-2.0.0.tgz" "tarball": "https://verdaccio.lossless.digital/@git.zone/tsrun/-/tsrun-2.0.0.tgz"
}, },
"@git.zone/tstest@2.8.1": { "@git.zone/tstest@2.8.2": {
"integrity": "sha512-0Sct9XsbrmAQgKNoW/jBNPMLllKVI+W6/aVkj9DEguiEnysmxLb3xRyoay06lxTGSBe5dA5uNULrdycdQ9slgQ==", "integrity": "sha512-qIZFor1mT4+Xth24jbqZtrh2B2Vz2n27OVY1R22zEg4TgFldjEUVwIKz27axqK1HUA1PIw0mYn+vOgd+yMWO4w==",
"dependencies": [ "dependencies": [
"@api.global/typedserver", "@api.global/typedserver",
"@git.zone/tsbundle", "@git.zone/tsbundle",
@@ -1029,7 +1029,7 @@
"ws@8.18.3" "ws@8.18.3"
], ],
"bin": true, "bin": true,
"tarball": "https://verdaccio.lossless.digital/@git.zone/tstest/-/tstest-2.8.1.tgz" "tarball": "https://verdaccio.lossless.digital/@git.zone/tstest/-/tstest-2.8.2.tgz"
}, },
"@happy-dom/global-registrator@15.11.7": { "@happy-dom/global-registrator@15.11.7": {
"integrity": "sha512-mfOoUlIw8VBiJYPrl5RZfMzkXC/z7gbSpi2ecycrj/gRWLq2CMV+Q+0G+JPjeOmuNFgg0skEIzkVFzVYFP6URw==", "integrity": "sha512-mfOoUlIw8VBiJYPrl5RZfMzkXC/z7gbSpi2ecycrj/gRWLq2CMV+Q+0G+JPjeOmuNFgg0skEIzkVFzVYFP6URw==",
@@ -7193,7 +7193,7 @@
"dependencies": [ "dependencies": [
"npm:@git.zone/tsbuild@^3.1.0", "npm:@git.zone/tsbuild@^3.1.0",
"npm:@git.zone/tsrun@2", "npm:@git.zone/tsrun@2",
"npm:@git.zone/tstest@^2.8.1", "npm:@git.zone/tstest@^2.8.2",
"npm:@push.rocks/smartenv@6", "npm:@push.rocks/smartenv@6",
"npm:@push.rocks/smartpath@6", "npm:@push.rocks/smartpath@6",
"npm:@push.rocks/smartpromise@^4.0.4", "npm:@push.rocks/smartpromise@^4.0.4",
+19
View File
@@ -0,0 +1,19 @@
Copyright (c) 2026 Task Venture Capital GmbH <hello@task.vc>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+18 -6
View File
@@ -1,17 +1,18 @@
{ {
"npmts": { "@git.zone/npmts": {
"coverageTreshold": 50 "coverageTreshold": 50
}, },
"npmci": { "@ship.zone/szci": {
"npmGlobalTools": [], "npmGlobalTools": [],
"npmAccessLevel": "public" "npmRegistryUrl": "registry.npmjs.org"
}, },
"gitzone": { "@git.zone/cli": {
"projectType": "npm", "projectType": "npm",
"module": { "module": {
"githost": "code.foss.global", "githost": "code.foss.global",
"gitscope": "push.rocks", "gitscope": "push.rocks",
"gitrepo": "smartrequest", "gitrepo": "smartrequest",
"shortDescription": "modern HTTP request utilities",
"description": "A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.", "description": "A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.",
"npmPackagename": "@push.rocks/smartrequest", "npmPackagename": "@push.rocks/smartrequest",
"license": "MIT", "license": "MIT",
@@ -27,11 +28,22 @@
"keepAlive", "keepAlive",
"TypeScript", "TypeScript",
"modern web requests", "modern web requests",
"drop-in replacement" "drop-in replacement",
"Bun",
"Deno",
"Node.js",
"unix sockets"
] ]
},
"release": {
"registries": [
"https://verdaccio.lossless.digital",
"https://registry.npmjs.org"
],
"accessLevel": "public"
} }
}, },
"tsdoc": { "@git.zone/tsdoc": {
"legal": "\n## License and Legal Information\n\nThis repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository. \n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or if you require further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n" "legal": "\n## License and Legal Information\n\nThis repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository. \n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or if you require further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n"
} }
} }
+6 -4
View File
@@ -1,6 +1,6 @@
{ {
"name": "@push.rocks/smartrequest", "name": "@push.rocks/smartrequest",
"version": "5.0.0", "version": "5.0.2",
"private": false, "private": false,
"description": "A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.", "description": "A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.",
"exports": { "exports": {
@@ -12,7 +12,7 @@
}, },
"type": "module", "type": "module",
"scripts": { "scripts": {
"test": "(tstest test/ --verbose --timeout 120)", "test": "(tstest test/ --verbose --timeout 120 --logfile)",
"build": "(tsbuild --web)", "build": "(tsbuild --web)",
"buildDocs": "tsdoc" "buildDocs": "tsdoc"
}, },
@@ -38,7 +38,7 @@
"Node.js", "Node.js",
"unix sockets" "unix sockets"
], ],
"author": "Task Venture Capital GmbH", "author": "Task Venture Capital GmbH <hello@task.vc>",
"license": "MIT", "license": "MIT",
"bugs": { "bugs": {
"url": "https://code.foss.global/push.rocks/smartrequest/issues" "url": "https://code.foss.global/push.rocks/smartrequest/issues"
@@ -55,7 +55,7 @@
"devDependencies": { "devDependencies": {
"@git.zone/tsbuild": "^3.1.0", "@git.zone/tsbuild": "^3.1.0",
"@git.zone/tsrun": "^2.0.0", "@git.zone/tsrun": "^2.0.0",
"@git.zone/tstest": "^2.8.1", "@git.zone/tstest": "^2.8.2",
"@types/node": "^22.9.0" "@types/node": "^22.9.0"
}, },
"files": [ "files": [
@@ -67,6 +67,8 @@
"dist_ts_web/**/*", "dist_ts_web/**/*",
"assets/**/*", "assets/**/*",
"cli.js", "cli.js",
".smartconfig.json",
"license",
"npmextra.json", "npmextra.json",
"readme.md" "readme.md"
], ],
+5 -5
View File
@@ -34,8 +34,8 @@ importers:
specifier: ^2.0.0 specifier: ^2.0.0
version: 2.0.0 version: 2.0.0
'@git.zone/tstest': '@git.zone/tstest':
specifier: ^2.8.1 specifier: ^2.8.2
version: 2.8.1(@aws-sdk/credential-providers@3.864.0)(socks@2.8.7)(typescript@5.9.3) version: 2.8.2(@aws-sdk/credential-providers@3.864.0)(socks@2.8.7)(typescript@5.9.3)
'@types/node': '@types/node':
specifier: ^22.9.0 specifier: ^22.9.0
version: 22.14.0 version: 22.14.0
@@ -534,8 +534,8 @@ packages:
resolution: {integrity: sha512-yA6zCjL+kn7xfZe6sL/m4K+zYqgkznG/pF6++i/E17iwzpG6dHmW+VZmYldHe86sW4DcLMvqM6CxM+KlgaEpKw==} resolution: {integrity: sha512-yA6zCjL+kn7xfZe6sL/m4K+zYqgkznG/pF6++i/E17iwzpG6dHmW+VZmYldHe86sW4DcLMvqM6CxM+KlgaEpKw==}
hasBin: true hasBin: true
'@git.zone/tstest@2.8.1': '@git.zone/tstest@2.8.2':
resolution: {integrity: sha512-0Sct9XsbrmAQgKNoW/jBNPMLllKVI+W6/aVkj9DEguiEnysmxLb3xRyoay06lxTGSBe5dA5uNULrdycdQ9slgQ==} resolution: {integrity: sha512-qIZFor1mT4+Xth24jbqZtrh2B2Vz2n27OVY1R22zEg4TgFldjEUVwIKz27axqK1HUA1PIw0mYn+vOgd+yMWO4w==}
hasBin: true hasBin: true
'@happy-dom/global-registrator@15.11.7': '@happy-dom/global-registrator@15.11.7':
@@ -4853,7 +4853,7 @@ snapshots:
'@push.rocks/smartshell': 3.3.0 '@push.rocks/smartshell': 3.3.0
tsx: 4.20.6 tsx: 4.20.6
'@git.zone/tstest@2.8.1(@aws-sdk/credential-providers@3.864.0)(socks@2.8.7)(typescript@5.9.3)': '@git.zone/tstest@2.8.2(@aws-sdk/credential-providers@3.864.0)(socks@2.8.7)(typescript@5.9.3)':
dependencies: dependencies:
'@api.global/typedserver': 3.0.79 '@api.global/typedserver': 3.0.79
'@git.zone/tsbundle': 2.5.2 '@git.zone/tsbundle': 2.5.2
+1 -1
View File
@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartrequest', name: '@push.rocks/smartrequest',
version: '5.0.0', version: '5.0.2',
description: 'A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.' description: 'A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.'
} }
+5 -2
View File
@@ -14,8 +14,11 @@ import * as smarturl from '@push.rocks/smarturl';
export { smartpromise, smarturl }; export { smartpromise, smarturl };
// third party scope // third party scope
import { HttpAgent, HttpsAgent } from 'agentkeepalive'; import AgentKeepAlive from 'agentkeepalive';
const agentkeepalive = { HttpAgent, HttpsAgent }; const agentkeepalive = {
HttpAgent: AgentKeepAlive.HttpAgent,
HttpsAgent: AgentKeepAlive.HttpsAgent,
};
import formData from 'form-data'; import formData from 'form-data';
export { agentkeepalive, formData }; export { agentkeepalive, formData };