1.1.4 • Published 3 years ago
@ice/sandbox v1.1.4
@ice/sandbox
icestark sandbox solution. icestark docs.
Installation
$ npm install @ice/sandbox --saveUsage
import Sandbox from '@ice/sandbox';
const sandbox = new Sandbox();
// execute scripts in sandbox
sandbox.execScriptInSandbox('window.a = 1;console.log(window.a);');
// clear side effects added by sandbox, such as addEventListener, setInterval
sandbox.clear();Inspiration
@ice/sandbox is inspired by tc39/proposal-realms, realms-shim and qiankun sandbox.
Contributors
Feel free to report any questions as an issue, we'd love to have your helping hand on icestark.
If you're interested in icestark, see CONTRIBUTING.md for more information to learn how to get started.
License
1.1.5-0
3 years ago
1.1.4
4 years ago
1.1.4-0
4 years ago
1.2.0-1
4 years ago
1.2.0-0
4 years ago
1.1.3
4 years ago
1.1.2-0
4 years ago
1.1.1
5 years ago
1.1.1-0
5 years ago
1.1.0
5 years ago
1.1.0-1
5 years ago
1.1.0-0
5 years ago
1.0.6
5 years ago
1.0.6-0
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.4-0
5 years ago
1.0.3
5 years ago
1.0.3-2
6 years ago
1.0.3-1
6 years ago
1.0.3-0
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago