Kuitos
bd617f70ac
🚚 rename data-sandbox-configuration to data-sandbox-cfg ( #2382 )
2023-01-31 15:14:26 +08:00
Kuitos
141d86807c
✨ enabled speedy mode by default ( #2373 )
2023-01-12 18:57:59 +08:00
pshu
68d0e12bdb
🐛 delete defineProperty to recover doc.currentScript ( #2372 )
2023-01-12 17:31:07 +08:00
Kuitos
4baec4502b
⏪ revert default enabled speedy mode ( #2321 )
2022-10-30 19:44:00 +08:00
Kuitos
743473ae51
✨ enable speedy sandbox mode by default ( #2320 )
2022-10-30 19:37:58 +08:00
李凤宝(Ted)
6544b17f9b
🐛 proxy sandboxshould not delete untouched globals ( #2310 )
2022-10-20 10:55:40 +08:00
Kuitos
9df1bf9c83
🐛 should keep the property writable while it only have setter accessor ( #2302 )
2022-10-13 21:37:43 +08:00
Kuitos
b5ad5a4e43
♻️ refactor the global whitelist recovery logic and fix the unit test ( #2291 )
2022-10-07 16:42:53 +08:00
李凤宝(Ted)
c14ae3f083
🐛 prevent sandbox from deleting an existed whitelisted global variable, should restore it instead ( #2287 )
2022-10-05 16:22:29 +08:00
Kuitos
e5a175caa4
✨ import global variables from https://github.com/sindresorhus/globals/blob/main/globals.json ( #2288 )
2022-10-05 15:50:57 +08:00
tangxiaomian
7d0116c322
✅ add getContainerXPath test ( #2132 )
...
Co-authored-by: Kuitos <kuitos.lau@gmail.com>
2022-09-26 22:10:28 +08:00
Kuitos
73a507f891
🐛 frozen property must be returned its actual value rather than bound value ( #2285 )
2022-09-26 21:59:24 +08:00
Kuitos
9a343b4074
🐛 isPropertyReadonly support accessor assert ( #2284 )
2022-09-26 20:57:39 +08:00
xioozq
0aaf55a77f
🐛 proxy sandbox should not overwrite read-only fields. ( #2123 )
2022-09-26 20:22:20 +08:00
Kuitos
7f517264bb
⚡ ️ add speedy mode for sandbox to improve performance ( #2271 )
2022-09-18 22:28:46 +08:00
Kuitos
e9e492ba8e
🏷 bring back Navigator.connection type to fix tsc error temporary
2022-08-26 14:51:30 +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
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