single-file-cli 2.0.56 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- deno vendor "npm:single-file-core@1.5.20"
3
+ deno vendor "npm:single-file-core@1.5.21"
4
4
 
5
5
  echo "
6
6
  import { build } from 'npm:esbuild';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@single-file/single-file-cli",
3
- "version": "2.0.56",
3
+ "version": "2.0.57",
4
4
  "description": "SingleFile CLI",
5
5
  "nodeModulesDir": true,
6
6
  "exports": {
package/lib/cdp-client.js CHANGED
@@ -150,7 +150,11 @@ async function getPageData(options) {
150
150
  };
151
151
  }
152
152
  }
153
- await Fetch.continueRequest({ requestId });
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 });