@boxes-dev/dvb 1.0.89 → 1.0.90

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/bin/dvb.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="550f3873-763e-54d2-8082-9d77b412ba37")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cfdc4475-1f7e-537b-98a2-129bda9805ad")}catch(e){}}();
4
4
 
5
5
  var __create = Object.create;
6
6
  var __defProp = Object.defineProperty;
@@ -88688,8 +88688,8 @@ var init_otel = __esm({
88688
88688
  return trimmed && trimmed.length > 0 ? trimmed : void 0;
88689
88689
  };
88690
88690
  readBuildMetadata = () => {
88691
- const rawPackageVersion = "1.0.89";
88692
- const rawGitSha = "8737e28cd7c80b1b0067f4ea9edf3337ece474c9";
88691
+ const rawPackageVersion = "1.0.90";
88692
+ const rawGitSha = "43fa944eeb52737c6d762dd78bf1c6e188053cb5";
88693
88693
  const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
88694
88694
  const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
88695
88695
  return { packageVersion, gitSha };
@@ -120679,9 +120679,9 @@ var init_sentry = __esm({
120679
120679
  sentryEnabled = false;
120680
120680
  uncaughtExceptionMonitorInstalled = false;
120681
120681
  readBuildMetadata2 = () => {
120682
- const rawPackageVersion = "1.0.89";
120683
- const rawGitSha = "8737e28cd7c80b1b0067f4ea9edf3337ece474c9";
120684
- const rawSentryRelease = "boxes-dev-dvb@1.0.89+8737e28cd7c80b1b0067f4ea9edf3337ece474c9";
120682
+ const rawPackageVersion = "1.0.90";
120683
+ const rawGitSha = "43fa944eeb52737c6d762dd78bf1c6e188053cb5";
120684
+ const rawSentryRelease = "boxes-dev-dvb@1.0.90+43fa944eeb52737c6d762dd78bf1c6e188053cb5";
120685
120685
  const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
120686
120686
  const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
120687
120687
  const sentryRelease = typeof rawSentryRelease === "string" ? rawSentryRelease : void 0;
@@ -200865,9 +200865,24 @@ var init_connect2 = __esm({
200865
200865
  // shell have stdin redirected to /dev/null, so direct stty calls are
200866
200866
  // no-ops there. Target /dev/tty explicitly.
200867
200867
  'tty_device="/dev/tty"',
200868
+ "leader_pid=$$",
200869
+ "cleanup_done=0",
200870
+ "tty_intr_guard_pid=",
200871
+ `cleanup() {
200872
+ if [ "$cleanup_done" = "1" ]; then
200873
+ return
200874
+ fi
200875
+ cleanup_done=1
200876
+ if [ -n "$tty_intr_guard_pid" ]; then
200877
+ kill "$tty_intr_guard_pid" 2>/dev/null || true
200878
+ fi
200879
+ if [ -n "$orig_intr" ] && [ "$orig_intr" != "<undef>" ]; then
200880
+ stty intr "$orig_intr" <"$tty_device" 2>/dev/null || true
200881
+ fi
200882
+ }`,
200868
200883
  `orig_intr="$(stty -a <"$tty_device" 2>/dev/null | sed -n 's/.*intr = \\([^;]*\\);.*/\\1/p')"`,
200869
200884
  `(
200870
- while :; do
200885
+ while kill -0 "$leader_pid" 2>/dev/null; do
200871
200886
  state="$(stty -a <"$tty_device" 2>/dev/null || true)"
200872
200887
  if [ -z "$state" ]; then
200873
200888
  sleep 0.2
@@ -200884,10 +200899,21 @@ var init_connect2 = __esm({
200884
200899
  fi
200885
200900
  sleep 0.2
200886
200901
  done
200902
+ if [ -n "$orig_intr" ] && [ "$orig_intr" != "<undef>" ]; then
200903
+ stty intr "$orig_intr" <"$tty_device" 2>/dev/null || true
200904
+ fi
200887
200905
  ) &
200888
200906
  tty_intr_guard_pid=$!
200889
- trap 'kill "$tty_intr_guard_pid" 2>/dev/null || true; if [ -n "$orig_intr" ] && [ "$orig_intr" != "<undef>" ]; then stty intr "$orig_intr" <"$tty_device" 2>/dev/null || true; fi' EXIT`,
200890
- "exec bash -il || exec sh -i"
200907
+ trap cleanup EXIT
200908
+ if command -v bash >/dev/null 2>&1; then
200909
+ bash -il
200910
+ shell_status=$?
200911
+ else
200912
+ sh -i
200913
+ shell_status=$?
200914
+ fi
200915
+ cleanup
200916
+ exit "$shell_status"`
200891
200917
  ].join("; ");
200892
200918
  parseEnvSize = (value) => {
200893
200919
  if (!value) return void 0;
@@ -220300,4 +220326,4 @@ smol-toml/dist/index.js:
220300
220326
  */
220301
220327
  //# sourceMappingURL=dvb.cjs.map
220302
220328
 
220303
- //# debugId=550f3873-763e-54d2-8082-9d77b412ba37
220329
+ //# debugId=cfdc4475-1f7e-537b-98a2-129bda9805ad