1.1.4 • Published 2 years ago

@ice/sandbox v1.1.4

Weekly downloads
130
License
MIT
Repository
github
Last release
2 years ago

@ice/sandbox

icestark sandbox solution. icestark docs.

NPM version Package Quality build status Test coverage NPM downloads David deps

Installation

$ npm install @ice/sandbox --save

Usage

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

MIT

1.1.5-0

2 years ago

1.1.4

2 years ago

1.1.4-0

2 years ago

1.2.0-1

2 years ago

1.2.0-0

2 years ago

1.1.3

3 years ago

1.1.2-0

3 years ago

1.1.1

3 years ago

1.1.1-0

3 years ago

1.1.0

3 years ago

1.1.0-1

3 years ago

1.1.0-0

3 years ago

1.0.6

4 years ago

1.0.6-0

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.4-0

4 years ago

1.0.3

4 years ago

1.0.3-2

4 years ago

1.0.3-1

4 years ago

1.0.3-0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago