nitropack-nightly 2.13.0-20260107-221335-d463e948 → 2.13.0-20260108-221550-28efb73e

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
- const version = "2.13.0-20260107-221335-d463e948";
1
+ const version = "2.13.0-20260108-221550-28efb73e";
2
2
 
3
3
  const compatibilityChanges = [
4
4
  {
@@ -47,6 +47,7 @@ export class $DurableObject extends DurableObject {
47
47
  }
48
48
  }
49
49
  fetch(request) {
50
+ globalThis.__env__ = this.env;
50
51
  if (import.meta._websocket && request.headers.get("upgrade") === "websocket") {
51
52
  return ws.handleDurableUpgrade(this, request);
52
53
  }
@@ -67,11 +68,13 @@ export class $DurableObject extends DurableObject {
67
68
  );
68
69
  }
69
70
  async webSocketMessage(client, message) {
71
+ globalThis.__env__ = this.env;
70
72
  if (import.meta._websocket) {
71
73
  return ws.handleDurableMessage(this, client, message);
72
74
  }
73
75
  }
74
76
  async webSocketClose(client, code, reason, wasClean) {
77
+ globalThis.__env__ = this.env;
75
78
  if (import.meta._websocket) {
76
79
  return ws.handleDurableClose(this, client, code, reason, wasClean);
77
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitropack-nightly",
3
- "version": "2.13.0-20260107-221335-d463e948",
3
+ "version": "2.13.0-20260108-221550-28efb73e",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "repository": "nitrojs/nitro",
6
6
  "license": "MIT",
@@ -105,7 +105,7 @@
105
105
  "@rollup/plugin-node-resolve": "^16.0.3",
106
106
  "@rollup/plugin-replace": "^6.0.3",
107
107
  "@rollup/plugin-terser": "^0.4.4",
108
- "@vercel/nft": "^1.1.1",
108
+ "@vercel/nft": "^1.2.0",
109
109
  "archiver": "^7.0.1",
110
110
  "c12": "^3.3.3",
111
111
  "chokidar": "^5.0.0",
@@ -129,7 +129,7 @@
129
129
  "h3": "^1.15.4",
130
130
  "hookable": "^5.5.3",
131
131
  "httpxy": "^0.1.7",
132
- "ioredis": "^5.9.0",
132
+ "ioredis": "^5.9.1",
133
133
  "jiti": "^2.6.1",
134
134
  "klona": "^2.0.6",
135
135
  "knitwork": "^1.3.0",
@@ -171,11 +171,11 @@
171
171
  "devDependencies": {
172
172
  "@azure/functions": "^3.5.1",
173
173
  "@azure/static-web-apps-cli": "^2.0.7",
174
- "@cloudflare/workers-types": "^4.20260103.0",
174
+ "@cloudflare/workers-types": "^4.20260108.0",
175
175
  "@deno/types": "^0.0.1",
176
176
  "@netlify/edge-functions": "^3.0.3",
177
177
  "@netlify/functions": "^5.1.2",
178
- "@scalar/api-reference": "^1.40.9",
178
+ "@scalar/api-reference": "^1.43.1",
179
179
  "@types/archiver": "^7.0.0",
180
180
  "@types/aws-lambda": "^8.10.159",
181
181
  "@types/estree": "^1.0.8",
@@ -196,14 +196,14 @@
196
196
  "firebase-admin": "^13.6.0",
197
197
  "firebase-functions": "^7.0.2",
198
198
  "get-port-please": "^3.2.0",
199
- "miniflare": "^4.20251217.0",
199
+ "miniflare": "^4.20260107.0",
200
200
  "ohash-v1": "npm:ohash@^1.1.6",
201
201
  "prettier": "^3.7.4",
202
202
  "typescript": "^5.9.3",
203
203
  "unbuild": "^3.6.1",
204
204
  "undici": "^7.18.2",
205
205
  "vitest": "^4.0.16",
206
- "wrangler": "^4.54.0",
206
+ "wrangler": "^4.58.0",
207
207
  "xml2js": "^0.6.2"
208
208
  },
209
209
  "peerDependencies": {