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
xiaochao
ad5d85d27d
🐛 compatible with lower version chrome that does't support css rule conditionText
...
Co-authored-by: Kuitos <kuitos.lau@gmail.com>
2022-06-02 21:10:48 +08:00
Kuitos
81861b0b5d
🐛 fix version omit
2022-05-30 10:45:09 +08:00
Kuitos
9c77055535
🐛 fix the simulated head issues ( #2121 )
2022-05-29 23:06:23 +08:00
gongshun
a885c4ab8a
💚 fix build-error caused by ts check ( #2110 )
2022-05-27 11:19:41 +08:00
Kuitos
526a3f610c
🐛 simulate micro app head element for dynamic appending styles ( #2097 )
2022-05-23 12:18:22 +08:00
Zt448143356
7fa3eb28f3
🐛 CSS should not process duplicated in experimentalStyleIsolation ( #2075 )
2022-05-09 15:21:42 +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
ff93c6fd10
🐛 app instance id generator compatible with nested sandbox ( #1866 )
2021-12-10 16:22:45 +08:00
Kuitos
aa6d4afc27
🐛 init global name map for app instance ( #1860 )
2021-12-08 21:06:33 +08:00
Kuitos
b8571b2346
✨ use new unique instance name generator ( #1859 )
2021-12-08 20:36:42 +08:00
Chen Zhouji
07bfd9f38f
✨ add autoStart config to loadMicroApp ( #1854 )
2021-12-02 21:28:44 +08:00
duwonders
908264ccd0
✨ add some bom variables to white list and optimize runtime get trap in sandbox ( #1845 )
...
Co-authored-by: zexuan.dzx <zexuan.dzx@myxiaojin.cn>
2021-11-30 22:56:26 +08:00
Kuitos
4691c652ec
🗑 add warning for deprecated apis ( #1836 )
...
* 🗑 add warning for deprecated apis
* 💚 remove 12.x version in ci for compatible
2021-11-25 11:43:01 +08:00
叡山电车
e807cbcfb6
🐛 keep toString always return original value for function in sandbox ( #1785 )
...
* fix: correct toString for functions
* Update src/sandbox/common.ts
* Update src/sandbox/common.ts
* handle getter in toString descriptor
* toString function predict
Co-authored-by: Kuitos <kuitos.lau@gmail.com>
2021-11-04 17:19:36 +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
ab64a7047b
🎨 rename variable for code readability ( #1765 )
2021-10-15 14:03:04 +08:00
Kuitos
238a5f5ea5
✨ compatible with who have overwrite document.createElement function before ( #1733 )
2021-09-17 20:16:01 +08:00
Kuitos
cbad8c8d7d
🐛 compute container xpath at beginning to keep it consist around app running ( #1725 )
2021-09-16 16:15:33 +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
Kuitos
91a238875b
✨ support nest sandbox scenario ( #1722 )
2021-09-15 20:53:17 +08:00
Troy Li
ad7feadd29
✨ add internal getCurrentRunningApp api ( #1697 )
2021-09-09 17:59:53 +08:00
Kuitos
5aacbd5905
♿ ️ add version attribute on container dom to improve developer experience ( #1682 )
2021-08-30 21:30:30 +08:00
Kuitos
585d36d505
✨ auto downgrade configuration in unsupported environment for loadMicroApp api ( #1681 )
2021-08-30 20:08:18 +08:00
Kuitos
84486daa4b
🏷 upgrade typing to follow latest ts version ( #1675 )
2021-08-29 21:18:34 +08:00
衍良
a5f7426e53
🏁 use promise.catch to simulate promise.finally for compatible reason ( #1664 )
...
Co-authored-by: chemdemo <chemdemo@gmail.com>
2021-08-19 20:01:53 +08:00
Kuitos
b5d42fa6ae
⏪ revert document event hijacking ( #1658 )
2021-08-17 21:25:28 +08:00
Kuitos
85ae42adbc
✨ hijack document event listener and destroy it after unmount ( #1655 )
2021-08-16 23:17:56 +08:00
Kuitos
d7e96a02ae
⚡ ️reduce the invocation times with next tick in sandbox to make qiankun performance in control ( #1629 )
2021-08-04 13:05:32 +08:00
Kuitos
9e4274e3f8
🐛 keep the lifecycle execution order while multiple apps mounting on the same container parallelly ( #1625 )
2021-08-03 21:42:14 +08:00
Kuitos
44ccad92de
⚡ ️ fix the performance issue in sandbox ( #1626 )
2021-08-02 21:04:28 +08:00
Kuitos
1301e5b0af
🐛 function should return the same reference while it always bindable ( #1612 )
2021-07-29 10:21:44 +08:00
Kuitos
761287ac3b
🎨 optimize current proxy setting logic ( #1486 )
2021-07-27 21:14:42 +08:00
Kuitos
116f40a2cd
✨ loose sandbox support mutaion with defineProperty ( #1581 )
2021-07-19 17:32:02 +08:00
Troy Li
f00f2ca655
🎨 uniformed error message ( #1580 )
2021-07-19 15:45:08 +08:00
xinhailishi
a3d240ca47
🏁 fix shadow dom compatible issue ( #1530 )
2021-06-23 11:36:23 +08:00
Kuitos
d9810da3ef
✅ fix test case about window reference binding ( #1529 )
2021-06-22 21:12:28 +08:00
Kuitos
3880cd5078
✅ add window reference binding test ( #1524 )
2021-06-22 00:37:51 +08:00
xinhailishi
6de0ac9721
🏁 fix clearInterval compatible bug in ie10 and ie11 ( #1490 )
...
Co-authored-by: Kuitos <kuitos.lau@gmail.com>
2021-06-16 12:28:51 +08:00
lsdsjy
7ae60e3f7f
🐛 disable strictGlobal if sandbox was false ( #1492 )
2021-06-08 15:39:27 +08:00
Kuitos
c2a7590666
🐛 should not change currentScript if it not configurable ( #1470 )
2021-05-25 17:49:26 +08:00
Kuitos
08f810a28b
🐛 add getPrototypeOf trap in sandbox to keep the window instanceof Window returns true in microapp ( #1465 )
2021-05-25 11:50:04 +08:00
careyke
43e50f19e7
🎨 improve code ( #1459 )
2021-05-22 19:35:53 +08:00
Kuitos
538869f5b1
🐛 manual invoke single-spa start function for parcels and set urlRerouteOnly true as default ( #1414 )
2021-04-26 14:34:05 +08:00
Kuitos
60ce3982cc
🏁 fix that it might throw a TypeError about reassign a readonly property error meesage in Safari ( #1408 )
2021-04-23 17:13:54 +08:00
Kuitos
6953ba3d0b
🐛 constructable checking should not be cached if the function prototype function was added after first running ( #1381 )
2021-04-13 14:24:48 +08:00
Kuitos
0f3c195b4c
🚨 fix tsc error ( #1292 )
2021-03-01 18:41:42 +08:00
Kuitos
92bddae77c
✨ hijack accessing window object with globalThis keyword ( #1246 )
2021-02-01 14:41:08 +08:00
Kuitos
567f4771e2
🐛 fix the active sandbox count issue ( #1210 )
2021-01-15 15:35:22 +08:00
yangdan8
e0cc5164fe
🏷️ upgrade typing ( #1192 )
2021-01-07 12:30:54 +08:00
Haitao Lee
093dd97af3
🏁 upgrade compatibility of performance.getEntriesByName api ( #1173 )
...
Co-authored-by: 李海涛 <“liht@dustess.com”>
Co-authored-by: Kuitos <kuitos.lau@gmail.com>
2020-12-24 15:47:31 +08:00
Kuitos
4f79b9744d
👷 add yarn build to ci ( #1180 )
2020-12-24 15:21:58 +08:00
gongshun
1c1c1aa075
🐛 make sure singular is always false by default while using loadMicroApp ( #1168 )
...
Co-authored-by: gongshun <gongshun@gridsum.com>
2020-12-24 12:59:52 +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
2b63bcde91
🐛 sync getOwnPropertyDescriptor trap logic of legacy sandbox from proxy sandbox ( #1156 )
2020-12-14 22:52:12 +08:00
Kuitos
107484d71b
🏁 compatible with old browser ( #1136 )
2020-12-08 20:06:14 +08:00
Kuitos
a023a5c9b7
⚡ ️ avoid duplicate value check to improve performance ( #1134 )
2020-12-08 14:40:10 +08:00
Kuitos
fbbd6f1722
🐛 use Function.prototype.bind instead to avoid conflict while value has own bind function ( #1133 )
2020-12-08 14:34:45 +08:00
Kuitos
dc8792c1ad
👽 fix typescript typing error ( #1120 )
2020-12-03 18:43:20 +08:00
Kuitos
f70027cb47
👽 fix typescript typing error ( #1096 )
2020-11-24 22:15:54 +08:00
Hydrogen
d12c05807d
🐛 add proxy getOwnPropertyDescriptor in legacySandbox ( #1074 )
2020-11-16 14:26:05 +08:00
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