@tanstack/router-devtools 0.0.1-beta.143 → 0.0.1-beta.145
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/build/cjs/Explorer.js.map +1 -1
- package/build/cjs/devtools.js +25 -25
- package/build/cjs/devtools.js.map +1 -1
- package/build/cjs/styledComponents.js.map +1 -1
- package/build/cjs/theme.js.map +1 -1
- package/build/cjs/useLocalStorage.js.map +1 -1
- package/build/cjs/useMediaQuery.js.map +1 -1
- package/build/cjs/utils.js.map +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +170 -126
- package/build/types/devtools.d.ts +1 -1
- package/build/types/utils.d.ts +1 -1
- package/build/umd/index.development.js +22 -11
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +17 -5
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -2
- package/src/devtools.tsx +1 -1
- package/src/utils.ts +1 -1
|
@@ -52,16 +52,6 @@
|
|
|
52
52
|
return _extends.apply(this, arguments);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
var prefix = 'Invariant failed';
|
|
56
|
-
function invariant(condition, message) {
|
|
57
|
-
if (condition) {
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
var provided = typeof message === 'function' ? message() : message;
|
|
61
|
-
var value = provided ? "".concat(prefix, ": ").concat(provided) : prefix;
|
|
62
|
-
throw new Error(value);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
55
|
/**
|
|
66
56
|
* @tanstack/react-store/src/index.tsx
|
|
67
57
|
*
|
|
@@ -96,8 +86,18 @@
|
|
|
96
86
|
return true;
|
|
97
87
|
}
|
|
98
88
|
|
|
89
|
+
var prefix = 'Invariant failed';
|
|
90
|
+
function invariant(condition, message) {
|
|
91
|
+
if (condition) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
var provided = typeof message === 'function' ? message() : message;
|
|
95
|
+
var value = provided ? "".concat(prefix, ": ").concat(provided) : prefix;
|
|
96
|
+
throw new Error(value);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
99
|
/**
|
|
100
|
-
* @tanstack/router/src/index.ts
|
|
100
|
+
* @tanstack/router-core/src/index.ts
|
|
101
101
|
*
|
|
102
102
|
* Copyright (c) TanStack
|
|
103
103
|
*
|
|
@@ -115,6 +115,17 @@
|
|
|
115
115
|
function trimPath(path) {
|
|
116
116
|
return trimPathRight(trimPathLeft(path));
|
|
117
117
|
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @tanstack/react-router/src/index.tsx
|
|
121
|
+
*
|
|
122
|
+
* Copyright (c) TanStack
|
|
123
|
+
*
|
|
124
|
+
* This source code is licensed under the MIT license found in the
|
|
125
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
126
|
+
*
|
|
127
|
+
* @license MIT
|
|
128
|
+
*/
|
|
118
129
|
const routerContext = /*#__PURE__*/React__namespace.createContext(null);
|
|
119
130
|
|
|
120
131
|
const getItem = key => {
|