@ulpi/browse 1.0.4 → 1.0.5

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/bin/browse CHANGED
@@ -1,5 +1,12 @@
1
1
  #!/bin/sh
2
- SCRIPT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
2
+ # Resolve symlinks to find the actual package directory
3
+ SELF="$0"
4
+ while [ -L "$SELF" ]; do
5
+ DIR="$(cd "$(dirname "$SELF")" && pwd)"
6
+ SELF="$(readlink "$SELF")"
7
+ case "$SELF" in /*) ;; *) SELF="$DIR/$SELF" ;; esac
8
+ done
9
+ SCRIPT_DIR="$(cd "$(dirname "$SELF")/.." && pwd)"
3
10
  CLI="$SCRIPT_DIR/dist/browse.cjs"
4
11
  if command -v bun >/dev/null 2>&1; then
5
12
  exec bun "$CLI" "$@"
package/dist/browse.cjs CHANGED
@@ -124,7 +124,7 @@ var require_package = __commonJS({
124
124
  "package.json"(exports2, module2) {
125
125
  module2.exports = {
126
126
  name: "@ulpi/browse",
127
- version: "1.0.4",
127
+ version: "1.0.5",
128
128
  repository: {
129
129
  type: "git",
130
130
  url: "https://github.com/ulpi-io/browse"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulpi/browse",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/ulpi-io/browse"