tmux-weblink 2.2.9 → 2.2.10

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.
@@ -1 +1 @@
1
- import e from"node:path";import{homedir as n}from"node:os";function u(t){if(!t)return!1;const o=t.trim().toLowerCase();return o==="1"||o==="true"||o==="yes"}function i(){const t=process.env.TMUX_WEB_MODE?.trim().toLowerCase();return t==="development"||t==="dev"||u(process.env.TMUX_WEB_DEV)?!0:process.env.NODE_ENV==="development"||process.env.npm_lifecycle_event==="dev"}function s(){return i()?e.join(n(),".dev",".tmux-web"):e.join(n(),".tmux-web")}function r(){return i()?e.join(n(),".dev",".config"):e.join(n(),".config")}function f(){return e.join(r(),"tmux-web","settings.json")}function m(){return e.join(r(),"tmux-web","theme.json")}function a(){return e.join(r(),"tmux-web","federation.json")}function d(){return e.join(s(),"uploads")}export{r as getConfigRoot,s as getDataRoot,a as getFederationPath,f as getSettingsPath,m as getThemePath,d as getUploadsRoot};
1
+ import e from"node:path";import{homedir as n}from"node:os";function s(t){if(!t)return!1;const o=t.trim().toLowerCase();return o==="1"||o==="true"||o==="yes"}function i(){const t=process.env.TMUX_WEB_MODE?.trim().toLowerCase();return t==="development"||t==="dev"||s(process.env.TMUX_WEB_DEV)?!0:process.env.NODE_ENV==="development"||process.env.npm_lifecycle_event==="dev"}function u(){return process.env.TMUX_WEB_DATA_DIR?process.env.TMUX_WEB_DATA_DIR:i()?e.join(n(),".dev",".tmux-web"):e.join(n(),".tmux-web")}function r(){return i()?e.join(n(),".dev",".config"):e.join(n(),".config")}function f(){return e.join(r(),"tmux-web","settings.json")}function m(){return e.join(r(),"tmux-web","theme.json")}function a(){return e.join(r(),"tmux-web","federation.json")}function d(){return e.join(u(),"uploads")}export{r as getConfigRoot,u as getDataRoot,a as getFederationPath,f as getSettingsPath,m as getThemePath,d as getUploadsRoot};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tmux-weblink",
3
- "version": "2.2.9",
3
+ "version": "2.2.10",
4
4
  "description": "Access your tmux sessions from the browser. A continuation of tmux-web and persalink.",
5
5
  "type": "module",
6
6
  "bin": {