@cfworker/web 5.0.5 → 5.0.6

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,3 @@
1
- export { escape as htmlEncode } from 'html-escaper';
2
1
  export * from './accepts.js';
3
2
  export * from './application.js';
4
3
  export * from './context.js';
@@ -14,8 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- var html_escaper_1 = require("html-escaper");
18
- Object.defineProperty(exports, "htmlEncode", { enumerable: true, get: function () { return html_escaper_1.escape; } });
19
17
  __exportStar(require("./accepts.js"), exports);
20
18
  __exportStar(require("./application.js"), exports);
21
19
  __exportStar(require("./context.js"), exports);
@@ -1,4 +1,3 @@
1
- export { escape as htmlEncode } from 'html-escaper';
2
1
  export * from './accepts.js';
3
2
  export * from './application.js';
4
3
  export * from './context.js';
package/dist/esm/index.js CHANGED
@@ -1,4 +1,3 @@
1
- export { escape as htmlEncode } from 'html-escaper';
2
1
  export * from './accepts.js';
3
2
  export * from './application.js';
4
3
  export * from './context.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cfworker/web",
3
- "version": "5.0.5",
3
+ "version": "5.0.6",
4
4
  "description": "Web framework for Cloudflare Workers and service workers, inspired by Koa and fastify",
5
5
  "keywords": [
6
6
  "middleware",
@@ -45,25 +45,24 @@
45
45
  "test": "node ../../test.mjs"
46
46
  },
47
47
  "dependencies": {
48
- "@cfworker/json-schema": "^4.0.3",
49
- "@types/html-escaper": "^3.0.2",
48
+ "@cfworker/json-schema": "^4.1.1",
50
49
  "@types/statuses": "^2.0.5",
51
50
  "cookie": "^1.0.2",
52
51
  "html-escaper": "^3.0.3",
53
52
  "negotiator": "^1.0.0",
54
53
  "path-to-regexp": "7.1.0",
55
- "secure-json-parse": "^3.0.1",
54
+ "secure-json-parse": "^3.0.2",
56
55
  "statuses": "^2.0.1"
57
56
  },
58
57
  "devDependencies": {
59
58
  "@types/chai": "^5.0.1",
60
59
  "@types/mocha": "^10.0.10",
61
60
  "chai": "^5.1.2",
62
- "esbuild": "^0.24.0",
61
+ "esbuild": "^0.24.2",
63
62
  "jsonpointer": "^5.0.1",
64
- "mocha": "^11.0.1",
65
- "typescript": "^5.7.2",
66
- "wrangler": "^3.95.0"
63
+ "mocha": "^11.1.0",
64
+ "typescript": "^5.7.3",
65
+ "wrangler": "^3.107.2"
67
66
  },
68
67
  "tshy": {
69
68
  "exports": {