single-file-cli 2.0.55 → 2.0.57
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/build.sh +1 -1
- package/compile.sh +4 -0
- package/deno.json +1 -1
- package/lib/cdp-client.js +5 -1
- package/lib/single-file-bundle.js +1 -1
- package/lib/version.js +1 -1
- package/options.js +3 -0
- package/package.json +1 -1
- package/single-file-launcher.js +9 -0
package/build.sh
CHANGED
package/compile.sh
CHANGED
|
@@ -10,4 +10,8 @@ deno compile --allow-read --allow-write --allow-net --allow-env --allow-run --ex
|
|
|
10
10
|
deno compile --allow-read --allow-write --allow-net --allow-env --allow-run --ext=js --output=./dist/single-file-aarch64-linux --target=aarch64-unknown-linux-gnu ./single-file
|
|
11
11
|
deno compile --allow-read --allow-write --allow-net --allow-env --allow-run --ext=js --output=./dist/single-file.exe --target=x86_64-pc-windows-msvc ./single-file
|
|
12
12
|
|
|
13
|
+
dev_id=$(security find-identity -p codesigning -v | grep "Apple Development" | awk '{print $2}')
|
|
14
|
+
codesign -f -s $dev_id ./dist/single-file-aarch64-apple-darwin
|
|
15
|
+
codesign -f -s $dev_id ./dist/single-file-x86_64-apple-darwin
|
|
16
|
+
|
|
13
17
|
mv ./package.json.copy ./package.json
|
package/deno.json
CHANGED
package/lib/cdp-client.js
CHANGED
|
@@ -150,7 +150,11 @@ async function getPageData(options) {
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
try {
|
|
154
|
+
await Fetch.continueRequest({ requestId });
|
|
155
|
+
} catch (error) {
|
|
156
|
+
// ignored
|
|
157
|
+
}
|
|
154
158
|
});
|
|
155
159
|
if (options.httpHeaders && options.httpHeaders.length) {
|
|
156
160
|
await Network.setExtraHTTPHeaders({ headers: options.httpHeaders });
|