Commit Graph

136 Commits

Author SHA1 Message Date
gongshun
69b6d54e0b 🐛 fix uniq function bug with edge (#1065)
Co-authored-by: gongshun <gongshun@gridsum.com>
2020-11-11 12:31:49 +08:00
Kuitos
72d3a40599 add qiankun runtime variable (#1057) 2020-11-06 21:09:39 +08:00
Kuitos
44726a22b6 record latest set property to use to fallback in some incompatible scenario (#1056) 2020-11-06 19:46:17 +08:00
Kuitos
3c40e1b9ad 🐛 keep the iteration order after reassign a non-enumerable value (#1055) 2020-11-06 18:29:16 +08:00
Kuitos
006536dc19 🐛 dynamicStyleElement array should not be clear after remount (#1054) 2020-11-05 20:07:48 +08:00
Kuitos
3b98d6d708 🐛 fix nullish bug in proxy sandbox (#1053) 2020-11-05 17:37:04 +08:00
Kuitos
3fa008be96 hijack dynamic document appending in evalling code (#1052) 2020-11-05 17:03:05 +08:00
bloody-ux
798f3437b9 🐛 fix the issue we can't detect document.createElement while qiankun run in another sandbox while may rewrite document(#1046) 2020-11-05 15:37:26 +08:00
Kuitos
36c5d44d61 🐛 fix the document.body returns undefined if we load qiankun in head script (#1045) 2020-11-03 16:03:10 +08:00
Kuitos
e0cc86019b 🐛 should use the new element reference while in cache scenario (#1021) 2020-10-23 17:44:29 +08:00
Kuitos
971b13bc31 add internal force cache config (#1018) 2020-10-22 20:14:16 +08:00
gongshun
917c4f0cf3 🏁 ie does not support document.contains (#1016)
Co-authored-by: gongshun <gongshun@gridsum.com>
2020-10-22 14:50:30 +08:00
Kuitos
80ea734084 🐛 manual invoke dynamic link load event (#1007) 2020-10-20 14:09:16 +08:00
Kuitos
9e5b9da2ee 🐛 re-process the internal style in element after app remount (#1006) 2020-10-20 11:06:15 +08:00
Kuitos
66c94a66f3 experimentalStyleIsolation support dynamic link style appending (#1005)
*  experimentalStyleIsolation support dynamic link style appending

* 🎨 rename function name
2020-10-19 18:55:23 +08:00
Kuitos
96ebf72bf0 🎨 format code (#1003) 2020-10-15 23:23:49 +08:00
Kuitos
8ede338a52 ️ use weakmap to instead symbol (#1002) 2020-10-15 20:57:51 +08:00
Kuitos
157cba7a44 support for react hot load (#999) 2020-10-15 20:46:48 +08:00
Kuitos
d537790f7d split dynamic append patcher for loose and strict sandbox (#995)
*  split dynamic append patcher for proxy and non-proxy sandbox

*  change useLooseSandbox to sandbox.loose configuration

*  improve warning message for non-proxy environment
2020-10-14 14:26:58 +08:00
Kuitos
d97bf55d20 support to pass a new container reference for remounting (#992) 2020-10-12 22:41:50 +08:00
Kuitos
d2e2e760d6 🐛 xpath return undefined while the dom have not append to document yet (#991) 2020-10-12 18:27:08 +08:00
Kuitos
1446c6b212 ️ optimize sandbox performance (#978) 2020-10-12 15:20:33 +08:00
Kuitos
efe5d2bf87 ️ cache for loadMicroApp (#986) 2020-10-12 09:50:04 +08:00
Kuitos
f127251884 ♻️ refactor some variable name (#987) 2020-10-10 21:53:05 +08:00
Kuitos
0564c00236 🐛 just prefetch the apps which not loaded, rather than the loading or loaded error ones (#980) 2020-10-10 15:51:32 +08:00
Kuitos
2319edf022 🐛 copy function prototype if it had while we create a new function using bind (#977) 2020-10-09 19:52:40 +08:00
Kuitos
0a0bdaa9be 🐛 fix the exception while removing a dynamic appending script in a micro app (#975)
* 🐛 fix the exception while removing a dynamic appending script in a micro app

* ️ use weakmap instead
2020-10-09 17:56:41 +08:00
cloudstone
613f6d2ddc 🐛 use lodash forEach instead to traverse NodeList for compatible reason (#965)
Co-authored-by: 陈师东 <chensd@servyou.com.cn>
2020-09-30 00:28:41 +08:00
Kuitos
b0f5a73f87 🐛 lazy added non-configurable props should be reported as configurable to avoid TypeError (#953) 2020-09-24 21:17:40 +08:00
Kuitos
55513f0e3a 🐛 lazy init ScopedCSS to support referenced by html head script block (#923) 2020-09-11 18:41:19 +08:00
壹十八画生
447454f97c 🐛 set the event target during dynamic script onload/onerror events (#914)
Co-authored-by: wangzongxu <wangzongxu@vipkid.com.cn>
Co-authored-by: Kuitos <kuitos.lau@gmail.com>
2020-09-09 10:49:21 +08:00
Kuitos
843b92c342 🐛 fix dynamic append script with excludeAssetsFilter issue (#900) 2020-08-27 16:13:28 +08:00
Kuitos
cbaad7ed2d 🐛 identify host app dynamic creation (#897) 2020-08-26 11:32:46 +08:00
Kuitos
7a538cce9f simulate document currentScript while dynamic loading (#899) 2020-08-26 11:32:24 +08:00
howel52
c07e9536d6 🐛 fix regex syntax (#889) 2020-08-24 21:40:45 +08:00
Kuitos
a889c992b9 revert UIEvent patch (#885) 2020-08-21 15:07:24 +08:00