hfs 3.0.0-beta1 → 3.0.0

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,4 +1,4 @@
1
- import{c as UF,g as gF}from"./index-vzFVsCiL.js";function RF(sF,xF){for(var eF=0;eF<xF.length;eF++){const tF=xF[eF];if(typeof tF!="string"&&!Array.isArray(tF)){for(const w in tF)if(w!=="default"&&!(w in sF)){const lF=Object.getOwnPropertyDescriptor(tF,w);lF&&Object.defineProperty(sF,w,lF.get?lF:{enumerable:!0,get:()=>tF[w]})}}}return Object.freeze(Object.defineProperty(sF,Symbol.toStringTag,{value:"Module"}))}var yF={exports:{}};/*
1
+ import{c as UF,g as gF}from"./index-3UA68e4M.js";function RF(sF,xF){for(var eF=0;eF<xF.length;eF++){const tF=xF[eF];if(typeof tF!="string"&&!Array.isArray(tF)){for(const w in tF)if(w!=="default"&&!(w in sF)){const lF=Object.getOwnPropertyDescriptor(tF,w);lF&&Object.defineProperty(sF,w,lF.get?lF:{enumerable:!0,get:()=>tF[w]})}}}return Object.freeze(Object.defineProperty(sF,Symbol.toStringTag,{value:"Module"}))}var yF={exports:{}};/*
2
2
  * [js-sha512]{@link https://github.com/emn178/js-sha512}
3
3
  *
4
4
  * @version 0.8.0
package/admin/index.html CHANGED
@@ -7,7 +7,7 @@
7
7
  <link rel="icon" type="image/svg+xml" href="/hfs-logo-icon.svg" />
8
8
  <link href="../frontend/fontello.css" rel="stylesheet" />
9
9
  <link href="../frontend/fontello.woff2" rel="prefetch" />
10
- <script type="module" crossorigin src="/assets/index-vzFVsCiL.js"></script>
10
+ <script type="module" crossorigin src="/assets/index-3UA68e4M.js"></script>
11
11
  <link rel="stylesheet" crossorigin href="/assets/index-Byv1_NxP.css">
12
12
  </head>
13
13
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hfs",
3
- "version": "3.0.0-beta1",
3
+ "version": "3.0.0",
4
4
  "description": "HTTP File Server",
5
5
  "keywords": ["file server", "http server"],
6
6
  "homepage": "https://rejetto.com/hfs",
@@ -10,6 +10,7 @@
10
10
  "scripts": {
11
11
  "watch-server": "cross-env DEV=1 nodemon --ignore tests/ --watch src -e ts,tsx --exec tsx src",
12
12
  "watch-server-proxied": "cross-env FRONTEND_PROXY=3005 ADMIN_PROXY=3006 npm run watch-server",
13
+ "watch-server-full": "npm run start --workspace=frontend & npm run start --workspace=admin & cross-env FRONTEND_PROXY=3005 ADMIN_PROXY=3006 npm run watch-server",
13
14
  "start-frontend": "npm run start --workspace=frontend",
14
15
  "start-admin": "npm run start --workspace=admin",
15
16
  "build-all": "npm audit --omit=dev --audit-level=moderate && rm -rf dist && npm i && npm run build-server && npm run test-with-server && (npm run build-frontend & npm run build-admin) && echo COMPLETED",
package/src/const.js CHANGED
@@ -64,7 +64,7 @@ exports.DEV = process.env.DEV ? 'DEV' : '';
64
64
  exports.ORIGINAL_CWD = process.cwd();
65
65
  exports.HFS_STARTED = new Date();
66
66
  const PKG_PATH = (0, path_1.join)(__dirname, '..', 'package.json');
67
- exports.BUILD_TIMESTAMP = "2025-12-13T10:19:48.387Z";
67
+ exports.BUILD_TIMESTAMP = "2025-12-20T13:52:28.021Z";
68
68
  const pkg = JSON.parse(fs.readFileSync(PKG_PATH, 'utf8'));
69
69
  exports.VERSION = pkg.version;
70
70
  exports.RUNNING_BETA = exports.VERSION.includes('-');