@react-router/cloudflare
Advanced tools
Comparing version
/** | ||
* @react-router/cloudflare v0.0.0-nightly-311e971e9-20240918 | ||
* @react-router/cloudflare v0.0.0-nightly-31a9ad847-20241023 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @react-router/cloudflare v0.0.0-nightly-311e971e9-20240918 | ||
* @react-router/cloudflare v0.0.0-nightly-31a9ad847-20241023 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @react-router/cloudflare v0.0.0-nightly-311e971e9-20240918 | ||
* @react-router/cloudflare v0.0.0-nightly-31a9ad847-20241023 | ||
* | ||
@@ -17,2 +17,10 @@ * Copyright (c) Remix Software Inc. | ||
/** | ||
* A function that returns the value to use as `context` in route `loader` and | ||
* `action` functions. | ||
* | ||
* You can think of this as an escape hatch that allows you to pass | ||
* environment/platform-specific values through to your loader/action. | ||
*/ | ||
function createRequestHandler({ | ||
@@ -62,2 +70,3 @@ build, | ||
let response; | ||
// https://github.com/cloudflare/wrangler2/issues/117 | ||
@@ -64,0 +73,0 @@ context.request.headers.delete("if-none-match"); |
{ | ||
"name": "@react-router/cloudflare", | ||
"version": "0.0.0-nightly-311e971e9-20240918", | ||
"version": "0.0.0-nightly-31a9ad847-20241023", | ||
"description": "Cloudflare platform abstractions for React Router", | ||
@@ -26,3 +26,3 @@ "bugs": { | ||
"typescript": "^5.1.0", | ||
"react-router": "0.0.0-nightly-311e971e9-20240918" | ||
"react-router": "0.0.0-nightly-31a9ad847-20241023" | ||
}, | ||
@@ -32,3 +32,3 @@ "peerDependencies": { | ||
"typescript": "^5.1.0", | ||
"react-router": "^0.0.0-nightly-311e971e9-20240918" | ||
"react-router": "^0.0.0-nightly-31a9ad847-20241023" | ||
}, | ||
@@ -41,3 +41,3 @@ "peerDependenciesMeta": { | ||
"engines": { | ||
"node": ">=18.0.0" | ||
"node": ">=20.0.0" | ||
}, | ||
@@ -44,0 +44,0 @@ "files": [ |
@@ -1,2 +0,2 @@ | ||
# React Router Cloudflare | ||
# @react-router/cloudflare | ||
@@ -3,0 +3,0 @@ Cloudflare platform abstractions for [React Router.](https://reactrouter.com) |
10552
2.48%224
3.23%