vite-plugin-backend-html 0.1.0 → 0.2.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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -4
  2. package/package.json +4 -5
package/dist/index.mjs CHANGED
@@ -196,10 +196,7 @@ var BackendProxy = class {
196
196
  res.setHeader("location", result.location);
197
197
  res.end();
198
198
  return true;
199
- default: {
200
- const _exhaustive = result;
201
- throw new Error(`Unhandled result type: ${JSON.stringify(_exhaustive)}`);
202
- }
199
+ default: throw new Error(`Unhandled result type: ${JSON.stringify(result)}`);
203
200
  }
204
201
  }
205
202
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-backend-html",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Dieter Oberkofler",
@@ -46,15 +46,14 @@
46
46
  "@types/node": "^25.5.0",
47
47
  "@vitest/coverage-v8": "^4.1.0",
48
48
  "conventional-changelog": "^7.2.0",
49
- "conventional-changelog-angular": "^8.3.0",
50
- "conventional-changelog-cli": "^5.0.0",
49
+ "conventional-changelog-angular": "^8.3.1",
51
50
  "eslint-plugin-regexp": "3.1.0",
52
51
  "husky": "^9.1.7",
53
52
  "oxlint": "^1.56.0",
54
- "oxlint-tsgolint": "^0.17.0",
53
+ "oxlint-tsgolint": "^0.20.0",
55
54
  "prettier": "^3.8.1",
56
55
  "tsdown": "^0.21.4",
57
- "typescript": "^5.9.3",
56
+ "typescript": "^6.0.2",
58
57
  "vite": "^7.0.0 || ^8.0.0",
59
58
  "vitest": "^4.1.0"
60
59
  },