@koda-sl/baker-cli 0.196.0-dev.6d2f498f5 → 0.198.0-dev.6d2f498f5
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/{chunk-SSDYBIZB.js → chunk-CVJCXDWD.js} +7 -3
- package/dist/chunk-CVJCXDWD.js.map +1 -0
- package/dist/{chunk-F6OHDJIX.js → chunk-MVCCSWDE.js} +1 -1
- package/dist/{chunk-YUTDQ4PV.js → chunk-RN2XKQIJ.js} +2 -2
- package/dist/{chunk-G3O4HRYR.js → chunk-UBTH7NPV.js} +3 -3
- package/dist/{chunk-34J26VIJ.js → chunk-XVF27TBY.js} +4 -4
- package/dist/{chunk-OB26WXHZ.js → chunk-ZBS53HJF.js} +3 -3
- package/dist/cli.js +131 -40
- package/dist/cli.js.map +1 -1
- package/dist/client-YOLAMGIA.js +15 -0
- package/dist/engine/index.js +3 -3
- package/dist/{env-GV4VDT5W.js → env-6PUX5HJY.js} +2 -2
- package/dist/{output-PXTEFDVX.js → output-VRWY3V6Y.js} +5 -5
- package/dist/{shared-AR6VAAIE.js → shared-T2HONXTH.js} +6 -6
- package/package.json +1 -1
- package/dist/chunk-SSDYBIZB.js.map +0 -1
- package/dist/client-LTDQPQ7T.js +0 -15
- /package/dist/{chunk-F6OHDJIX.js.map → chunk-MVCCSWDE.js.map} +0 -0
- /package/dist/{chunk-YUTDQ4PV.js.map → chunk-RN2XKQIJ.js.map} +0 -0
- /package/dist/{chunk-G3O4HRYR.js.map → chunk-UBTH7NPV.js.map} +0 -0
- /package/dist/{chunk-34J26VIJ.js.map → chunk-XVF27TBY.js.map} +0 -0
- /package/dist/{chunk-OB26WXHZ.js.map → chunk-ZBS53HJF.js.map} +0 -0
- /package/dist/{client-LTDQPQ7T.js.map → client-YOLAMGIA.js.map} +0 -0
- /package/dist/{env-GV4VDT5W.js.map → env-6PUX5HJY.js.map} +0 -0
- /package/dist/{output-PXTEFDVX.js.map → output-VRWY3V6Y.js.map} +0 -0
- /package/dist/{shared-AR6VAAIE.js.map → shared-T2HONXTH.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
debugLogHttp,
|
|
3
3
|
readBodyForLog
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RN2XKQIJ.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__toESM,
|
|
@@ -10,8 +10,9 @@ import {
|
|
|
10
10
|
isChallengeBody,
|
|
11
11
|
isProxyFailure,
|
|
12
12
|
plannedRoutes,
|
|
13
|
+
refuseNonPublicUrl,
|
|
13
14
|
shouldEscalate
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MVCCSWDE.js";
|
|
15
16
|
|
|
16
17
|
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/index.js
|
|
17
18
|
var require_safe_stable_stringify = __commonJS({
|
|
@@ -5099,6 +5100,9 @@ var ExternalFetchError = class extends Error {
|
|
|
5099
5100
|
}
|
|
5100
5101
|
};
|
|
5101
5102
|
async function fetchExternal(url, options = {}) {
|
|
5103
|
+
if (refuseNonPublicUrl(url) !== null) {
|
|
5104
|
+
throw new ExternalFetchError("That address is not reachable from the public web, so there is nothing to read.", false);
|
|
5105
|
+
}
|
|
5102
5106
|
const result = await fetchWithEscalation(
|
|
5103
5107
|
url,
|
|
5104
5108
|
{ headers: { ...BROWSER_HEADERS, ...options.headers } },
|
|
@@ -8650,4 +8654,4 @@ export {
|
|
|
8650
8654
|
defaultRegistry,
|
|
8651
8655
|
createEngineFromEnv
|
|
8652
8656
|
};
|
|
8653
|
-
//# sourceMappingURL=chunk-
|
|
8657
|
+
//# sourceMappingURL=chunk-CVJCXDWD.js.map
|