react-router-dom 0.0.0-experimental-114cf0b7 → 0.0.0-experimental-e7ce8959

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # `react-router-dom`
2
2
 
3
+ ## 6.21.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix `NavLink` `isPending` when a `basename` is used ([#11195](https://github.com/remix-run/react-router/pull/11195))
8
+ - Remove leftover `unstable_` prefix from `Blocker`/`BlockerFunction` types ([#11187](https://github.com/remix-run/react-router/pull/11187))
9
+ - Updated dependencies:
10
+ - `react-router@6.21.3`
11
+
3
12
  ## 6.21.2
4
13
 
5
14
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v0.0.0-experimental-114cf0b7
2
+ * React Router DOM v0.0.0-experimental-e7ce8959
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v0.0.0-experimental-114cf0b7
2
+ * React Router DOM v0.0.0-experimental-e7ce8959
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v0.0.0-experimental-114cf0b7
2
+ * React Router DOM v0.0.0-experimental-e7ce8959
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v0.0.0-experimental-114cf0b7
2
+ * React Router DOM v0.0.0-experimental-e7ce8959
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/server.js CHANGED
@@ -286,10 +286,6 @@ function createHref(to) {
286
286
  }
287
287
  function encodeLocation(to) {
288
288
  let href = typeof to === "string" ? to : reactRouterDom.createPath(to);
289
- // Treating this as a full URL will strip any trailing spaces so we need to
290
- // pre-encode them since they might be part of a matching splat param from
291
- // an ancestor route
292
- href = href.replace(/ $/, "%20");
293
289
  let encoded = ABSOLUTE_URL_REGEX.test(href) ? new URL(href) : new URL(href, "http://localhost");
294
290
  return {
295
291
  pathname: encoded.pathname,
package/dist/server.mjs CHANGED
@@ -263,10 +263,6 @@ function createHref(to) {
263
263
  }
264
264
  function encodeLocation(to) {
265
265
  let href = typeof to === "string" ? to : createPath(to);
266
- // Treating this as a full URL will strip any trailing spaces so we need to
267
- // pre-encode them since they might be part of a matching splat param from
268
- // an ancestor route
269
- href = href.replace(/ $/, "%20");
270
266
  let encoded = ABSOLUTE_URL_REGEX.test(href) ? new URL(href) : new URL(href, "http://localhost");
271
267
  return {
272
268
  pathname: encoded.pathname,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v0.0.0-experimental-114cf0b7
2
+ * React Router DOM v0.0.0-experimental-e7ce8959
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v0.0.0-experimental-114cf0b7
2
+ * React Router DOM v0.0.0-experimental-e7ce8959
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-router-dom",
3
- "version": "0.0.0-experimental-114cf0b7",
3
+ "version": "0.0.0-experimental-e7ce8959",
4
4
  "description": "Declarative routing for React web applications",
5
5
  "keywords": [
6
6
  "react",
@@ -23,8 +23,8 @@
23
23
  "module": "./dist/index.js",
24
24
  "types": "./dist/index.d.ts",
25
25
  "dependencies": {
26
- "@remix-run/router": "0.0.0-experimental-114cf0b7",
27
- "react-router": "0.0.0-experimental-114cf0b7"
26
+ "@remix-run/router": "0.0.0-experimental-e7ce8959",
27
+ "react-router": "0.0.0-experimental-e7ce8959"
28
28
  },
29
29
  "devDependencies": {
30
30
  "react": "^18.2.0",
package/server.js CHANGED
@@ -286,10 +286,6 @@ function createHref(to) {
286
286
  }
287
287
  function encodeLocation(to) {
288
288
  let href = typeof to === "string" ? to : reactRouterDom.createPath(to);
289
- // Treating this as a full URL will strip any trailing spaces so we need to
290
- // pre-encode them since they might be part of a matching splat param from
291
- // an ancestor route
292
- href = href.replace(/ $/, "%20");
293
289
  let encoded = ABSOLUTE_URL_REGEX.test(href) ? new URL(href) : new URL(href, "http://localhost");
294
290
  return {
295
291
  pathname: encoded.pathname,
package/server.mjs CHANGED
@@ -263,10 +263,6 @@ function createHref(to) {
263
263
  }
264
264
  function encodeLocation(to) {
265
265
  let href = typeof to === "string" ? to : createPath(to);
266
- // Treating this as a full URL will strip any trailing spaces so we need to
267
- // pre-encode them since they might be part of a matching splat param from
268
- // an ancestor route
269
- href = href.replace(/ $/, "%20");
270
266
  let encoded = ABSOLUTE_URL_REGEX.test(href) ? new URL(href) : new URL(href, "http://localhost");
271
267
  return {
272
268
  pathname: encoded.pathname,