@allurereport/static-server 3.0.0-beta.17 → 3.0.0-beta.19

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/index.js CHANGED
@@ -68,7 +68,7 @@ export const serve = async (options) => {
68
68
  });
69
69
  return;
70
70
  }
71
- let fsPath = join(pathToServe, pathname.replace(/\?.*$/, ""));
71
+ let fsPath = join(pathToServe, decodeURI(pathname));
72
72
  let stats;
73
73
  try {
74
74
  stats = await stat(fsPath);
package/dist/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ALLURE_LIVE_RELOAD_HASH_STORAGE_KEY } from "@allurereport/web-commons";
1
+ const ALLURE_LIVE_RELOAD_HASH_STORAGE_KEY = "__allure_report_live_reload_hash__";
2
2
  export const EXTENSIONS_BY_TYPE = {
3
3
  "application/andrew-inset": ".ez",
4
4
  "application/applixware": ".aw",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allurereport/static-server",
3
- "version": "3.0.0-beta.17",
3
+ "version": "3.0.0-beta.19",
4
4
  "description": "Minimalistic web-server for serving static files",
5
5
  "keywords": [
6
6
  "allure",
@@ -32,8 +32,7 @@
32
32
  "test:e2e": "playwright test"
33
33
  },
34
34
  "dependencies": {
35
- "@allurereport/directory-watcher": "3.0.0-beta.17",
36
- "@allurereport/web-commons": "3.0.0-beta.17",
35
+ "@allurereport/directory-watcher": "3.0.0-beta.19",
37
36
  "open": "^10.1.0"
38
37
  },
39
38
  "devDependencies": {
@@ -45,9 +44,9 @@
45
44
  "@typescript-eslint/parser": "^8.0.0",
46
45
  "@vitest/runner": "^2.1.9",
47
46
  "@vitest/snapshot": "^2.1.9",
48
- "allure-js-commons": "^3.3.0",
49
- "allure-playwright": "^3.3.0",
50
- "allure-vitest": "^3.3.0",
47
+ "allure-js-commons": "^3.3.3",
48
+ "allure-playwright": "^3.3.3",
49
+ "allure-vitest": "^3.3.3",
51
50
  "axios": "^1.9.0",
52
51
  "eslint": "^8.57.0",
53
52
  "eslint-config-prettier": "^9.1.0",