@react-router/fs-routes 0.0.0-experimental-b588f7e → 0.0.0-experimental-23decd7bc

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,20 @@
1
1
  # `@react-router/fs-routes`
2
2
 
3
+ ## 7.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Use `replaceAll` for normalising windows file system slashes. ([#13738](https://github.com/remix-run/react-router/pull/13738))
8
+ - Updated dependencies:
9
+ - `@react-router/dev@7.6.3`
10
+
11
+ ## 7.6.2
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies:
16
+ - `@react-router/dev@7.6.2`
17
+
3
18
  ## 7.6.1
4
19
 
5
20
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/fs-routes v0.0.0-experimental-b588f7e
2
+ * @react-router/fs-routes v0.0.0-experimental-23decd7bc
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -38,11 +38,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
38
38
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
39
39
 
40
40
  // index.ts
41
- var react_router_fs_routes_exports = {};
42
- __export(react_router_fs_routes_exports, {
41
+ var index_exports = {};
42
+ __export(index_exports, {
43
43
  flatRoutes: () => flatRoutes2
44
44
  });
45
- module.exports = __toCommonJS(react_router_fs_routes_exports);
45
+ module.exports = __toCommonJS(index_exports);
46
46
  var import_node_fs2 = __toESM(require("fs"));
47
47
  var import_node_path3 = __toESM(require("path"));
48
48
  var import_routes = require("@react-router/dev/routes");
@@ -85,7 +85,7 @@ var import_minimatch = require("minimatch");
85
85
  // normalizeSlashes.ts
86
86
  var import_node_path = __toESM(require("path"));
87
87
  function normalizeSlashes(file) {
88
- return file.split(import_node_path.default.win32.sep).join("/");
88
+ return file.replaceAll(import_node_path.default.win32.sep, "/");
89
89
  }
90
90
 
91
91
  // flatRoutes.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-router/fs-routes",
3
- "version": "0.0.0-experimental-b588f7e",
3
+ "version": "0.0.0-experimental-23decd7bc",
4
4
  "description": "File system routing conventions for React Router, for use within routes.ts",
5
5
  "bugs": {
6
6
  "url": "https://github.com/remix-run/react-router/issues"
@@ -40,11 +40,11 @@
40
40
  "tsup": "^8.3.0",
41
41
  "typescript": "^5.1.6",
42
42
  "wireit": "0.14.9",
43
- "@react-router/dev": "0.0.0-experimental-b588f7e"
43
+ "@react-router/dev": "0.0.0-experimental-23decd7bc"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "typescript": "^5.1.0",
47
- "@react-router/dev": "^0.0.0-experimental-b588f7e"
47
+ "@react-router/dev": "^0.0.0-experimental-23decd7bc"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "typescript": {