@polka-codes/runner 0.10.18 → 0.10.19
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/dist/index.js +5 -5
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -18781,9 +18781,9 @@ var INTERNALS3, isRequest = (object3) => {
|
|
|
18781
18781
|
if (request.compress && !headers.has("Accept-Encoding")) {
|
|
18782
18782
|
headers.set("Accept-Encoding", "gzip, deflate, br");
|
|
18783
18783
|
}
|
|
18784
|
-
let { agent
|
|
18785
|
-
if (typeof
|
|
18786
|
-
|
|
18784
|
+
let { agent } = request;
|
|
18785
|
+
if (typeof agent === "function") {
|
|
18786
|
+
agent = agent(parsedURL);
|
|
18787
18787
|
}
|
|
18788
18788
|
const search = getSearch(parsedURL);
|
|
18789
18789
|
const options = {
|
|
@@ -18791,7 +18791,7 @@ var INTERNALS3, isRequest = (object3) => {
|
|
|
18791
18791
|
method: request.method,
|
|
18792
18792
|
headers: headers[Symbol.for("nodejs.util.inspect.custom")](),
|
|
18793
18793
|
insecureHTTPParser: request.insecureHTTPParser,
|
|
18794
|
-
agent
|
|
18794
|
+
agent
|
|
18795
18795
|
};
|
|
18796
18796
|
return {
|
|
18797
18797
|
parsedURL,
|
|
@@ -43012,7 +43012,7 @@ var {
|
|
|
43012
43012
|
Help
|
|
43013
43013
|
} = import__.default;
|
|
43014
43014
|
// package.json
|
|
43015
|
-
var version = "0.10.
|
|
43015
|
+
var version = "0.10.19";
|
|
43016
43016
|
|
|
43017
43017
|
// src/runner.ts
|
|
43018
43018
|
import { execSync } from "node:child_process";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polka-codes/runner",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.19",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"author": "github@polka.codes",
|
|
6
6
|
"repository": {
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@ai-sdk/provider": "^3.0.8",
|
|
29
|
-
"@polka-codes/cli-shared": "^0.10.
|
|
30
|
-
"@polka-codes/core": "^0.10.
|
|
29
|
+
"@polka-codes/cli-shared": "^0.10.19",
|
|
30
|
+
"@polka-codes/core": "^0.10.19",
|
|
31
31
|
"commander": "^14.0.2",
|
|
32
32
|
"dotenv": "^17.3.1",
|
|
33
33
|
"ignore": "^7.0.5",
|