@alicloud/alfa-react 1.5.1 → 1.5.2
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/es/createApplication.js +2 -1
- package/es/version.js +1 -1
- package/lib/createApplication.js +2 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/types/version.d.ts +1 -1
package/es/createApplication.js
CHANGED
|
@@ -55,6 +55,7 @@ var stripBasename = function stripBasename(path, basename) {
|
|
|
55
55
|
*/
|
|
56
56
|
export default function createApplication(loader) {
|
|
57
57
|
return function Application(props) {
|
|
58
|
+
var _window$history;
|
|
58
59
|
var name = props.name,
|
|
59
60
|
version = props.version,
|
|
60
61
|
manifest = props.manifest,
|
|
@@ -102,7 +103,7 @@ export default function createApplication(loader) {
|
|
|
102
103
|
// if (customProps.__innerStamp) console.warn('Please do not use __innerStamp which used in internal.');
|
|
103
104
|
// 更新标记,保证每次更新都会更新
|
|
104
105
|
customProps.__innerStamp = (+new Date()).toString(36);
|
|
105
|
-
customProps.__historyState = history.state;
|
|
106
|
+
customProps.__historyState = (_window$history = window.history) === null || _window$history === void 0 ? void 0 : _window$history.state;
|
|
106
107
|
if (customProps.path) customProps.path = addLeftSlash(customProps.path);
|
|
107
108
|
|
|
108
109
|
// 受控模式锁定一些参数
|
package/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export var version = '1.5.
|
|
1
|
+
export var version = '1.5.2';
|
package/lib/createApplication.js
CHANGED
|
@@ -65,6 +65,7 @@ var stripBasename = function stripBasename(path, basename) {
|
|
|
65
65
|
*/
|
|
66
66
|
function createApplication(loader) {
|
|
67
67
|
return function Application(props) {
|
|
68
|
+
var _window$history;
|
|
68
69
|
var name = props.name,
|
|
69
70
|
version = props.version,
|
|
70
71
|
manifest = props.manifest,
|
|
@@ -112,7 +113,7 @@ function createApplication(loader) {
|
|
|
112
113
|
// if (customProps.__innerStamp) console.warn('Please do not use __innerStamp which used in internal.');
|
|
113
114
|
// 更新标记,保证每次更新都会更新
|
|
114
115
|
customProps.__innerStamp = (+new Date()).toString(36);
|
|
115
|
-
customProps.__historyState = history.state;
|
|
116
|
+
customProps.__historyState = (_window$history = window.history) === null || _window$history === void 0 ? void 0 : _window$history.state;
|
|
116
117
|
if (customProps.path) customProps.path = addLeftSlash(customProps.path);
|
|
117
118
|
|
|
118
119
|
// 受控模式锁定一些参数
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
package/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.5.
|
|
1
|
+
export declare const version = "1.5.2";
|