@react-router/cloudflare 0.0.0-nightly-13df3cec9-20241016 → 0.0.0-nightly-66613c0c6-20241018

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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/cloudflare v0.0.0-nightly-13df3cec9-20241016
2
+ * @react-router/cloudflare v0.0.0-nightly-66613c0c6-20241018
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/cloudflare v0.0.0-nightly-13df3cec9-20241016
2
+ * @react-router/cloudflare v0.0.0-nightly-66613c0c6-20241018
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/worker.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/cloudflare v0.0.0-nightly-13df3cec9-20241016
2
+ * @react-router/cloudflare v0.0.0-nightly-66613c0c6-20241018
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -14,6 +14,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
14
14
 
15
15
  var reactRouter = require('react-router');
16
16
 
17
+ /**
18
+ * A function that returns the value to use as `context` in route `loader` and
19
+ * `action` functions.
20
+ *
21
+ * You can think of this as an escape hatch that allows you to pass
22
+ * environment/platform-specific values through to your loader/action.
23
+ */
24
+
17
25
  function createRequestHandler({
18
26
  build,
19
27
  mode,
@@ -58,6 +66,7 @@ function createPagesFunctionHandler({
58
66
  });
59
67
  let handleFetch = async context => {
60
68
  let response;
69
+
61
70
  // https://github.com/cloudflare/wrangler2/issues/117
62
71
  context.request.headers.delete("if-none-match");
63
72
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-router/cloudflare",
3
- "version": "0.0.0-nightly-13df3cec9-20241016",
3
+ "version": "0.0.0-nightly-66613c0c6-20241018",
4
4
  "description": "Cloudflare platform abstractions for React Router",
5
5
  "bugs": {
6
6
  "url": "https://github.com/remix-run/react-router/issues"
@@ -23,12 +23,12 @@
23
23
  "devDependencies": {
24
24
  "@cloudflare/workers-types": "^4.20230518.0",
25
25
  "typescript": "^5.1.0",
26
- "react-router": "0.0.0-nightly-13df3cec9-20241016"
26
+ "react-router": "0.0.0-nightly-66613c0c6-20241018"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@cloudflare/workers-types": "^4.0.0",
30
30
  "typescript": "^5.1.0",
31
- "react-router": "^0.0.0-nightly-13df3cec9-20241016"
31
+ "react-router": "^0.0.0-nightly-66613c0c6-20241018"
32
32
  },
33
33
  "peerDependenciesMeta": {
34
34
  "typescript": {