Commit Graph

29 Commits

Author SHA1 Message Date
Kuitos
bac5e2ac69
🐛window variable should in with lexical scope while speedy mode enabled (#2390) 2023-02-10 11:34:09 +08:00
pshu
68d0e12bdb
🐛 delete defineProperty to recover doc.currentScript (#2372) 2023-01-12 17:31:07 +08:00
Kuitos
743473ae51
enable speedy sandbox mode by default (#2320) 2022-10-30 19:37:58 +08:00
Kuitos
7f517264bb
️ add speedy mode for sandbox to improve performance (#2271) 2022-09-18 22:28:46 +08:00
Kuitos
a5a0273a11
🐛 fix the counter issue while multiple apps mounting concurrently (#2250) 2022-08-26 14:23:03 +08:00
Kuitos
1be899052d
🐛 dynamic head script should be append to qiankun head (#2181) 2022-07-12 16:14:43 +08:00
Kuitos
c73265db50
🐛 use shadow root element to query qiankun head directlly (#2148) 2022-06-16 00:16:14 +08:00
Kuitos
1faa094eb3
🐛 avoid accidentally deleted for dynamic stylesheet (#2147) 2022-06-15 23:46:02 +08:00
Kuitos
9c77055535 🐛 fix the simulated head issues (#2121) 2022-05-29 23:06:23 +08:00
Kuitos
526a3f610c 🐛 simulate micro app head element for dynamic appending styles (#2097) 2022-05-23 12:18:22 +08:00
Kuitos
82f29a8604 filter inexecutable script for dynamic import scenario (#2011) 2022-03-25 12:17:49 +08:00
Cheese
94376f6141 🐛 could pass undefined to Node.contains() (#1863) 2021-12-10 21:09:54 +08:00
Kuitos
df24f02e92 🐛 avoid illegal invocation error while using some dom api in nest sandbox (#1768) 2021-10-15 16:55:32 +08:00
Kuitos
238a5f5ea5 compatible with who have overwrite document.createElement function before (#1733) 2021-09-17 20:16:01 +08:00
Kuitos
c4b604228a remove global way for recording current running sandbox to fix nested scenario (#1723)
*  remove global way for recording current running sandbox to support parallel multiple instance

* export internal getCurrentRunningApp API

Co-authored-by: tli4 <a@tianyi.li>
2021-09-15 22:54:44 +08:00
Troy Li
ad7feadd29 add internal getCurrentRunningApp api (#1697) 2021-09-09 17:59:53 +08:00
Kuitos
c2a7590666 🐛 should not change currentScript if it not configurable (#1470) 2021-05-25 17:49:26 +08:00
Kuitos
aa84eaa289 🚨 upgrade to follow eslint new rules (#1179) 2020-12-24 12:25:36 +08:00
zzzz
253fcf18da 🐛 keep the order of cssRules for styled-component rebuilding (#1161)
Co-authored-by: Zack Zeng <yizhzeng@amazon.com>
2020-12-17 18:40:37 +08:00
Kuitos
dc8792c1ad 👽 fix typescript typing error (#1120) 2020-12-03 18:43:20 +08:00
Kuitos
006536dc19 🐛 dynamicStyleElement array should not be clear after remount (#1054) 2020-11-05 20:07:48 +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
971b13bc31 add internal force cache config (#1018) 2020-10-22 20:14:16 +08:00
Kuitos
80ea734084 🐛 manual invoke dynamic link load event (#1007) 2020-10-20 14:09:16 +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
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