@next-core/brick-kit 2.103.2 → 2.103.3
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
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.103.3](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.2...@next-core/brick-kit@2.103.3) (2022-01-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fix history push in standalone apps ([65219cf](https://github.com/easyops-cn/next-core/commit/65219cf133d2166ca9b3c612ff1a81be71bb069b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.103.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.1...@next-core/brick-kit@2.103.2) (2022-01-13)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @next-core/brick-kit
|
package/dist/index.bundle.js
CHANGED
|
@@ -3127,12 +3127,12 @@
|
|
|
3127
3127
|
var pathIsString = typeof path === "string";
|
|
3128
3128
|
|
|
3129
3129
|
if (pathIsString) {
|
|
3130
|
-
pathname = path;
|
|
3130
|
+
pathname = history$1.parsePath(path).pathname;
|
|
3131
3131
|
} else {
|
|
3132
3132
|
pathname = path.pathname;
|
|
3133
3133
|
}
|
|
3134
3134
|
|
|
3135
|
-
if (_internalApiHasMatchedApp(pathname)) {
|
|
3135
|
+
if (pathname === "" || _internalApiHasMatchedApp(pathname)) {
|
|
3136
3136
|
return (method === "push" ? originalPush : originalReplace)(path, state);
|
|
3137
3137
|
} // Going to outside apps.
|
|
3138
3138
|
|