
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@phase2/outline-include
Advanced tools
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
allowScripts | allow-scripts | boolean | false | Allows included scripts to be executed. You must ensure the content you're including is trusted, otherwise this option can lead to XSS vulnerabilities in your app! |
mode | mode | "cors" | "no-cors" | "same-origin" | "cors" | The fetch mode to use. |
src | src | string | The location of the HTML file to include. WARNING: Be sure you trust the content you are including as it will be executed as code and can result in XSS attacks. |
| Method | Type |
|---|---|
executeScript | (script: HTMLScriptElement): void |
handleSrcChange | (): Promise<void> |
| Event | Type | Description |
|---|---|---|
outline-error | { status: number } | Emitted when the included file fails to load due to an error. |
outline-load | Emitted when the included file is loaded. |
FAQs
The Outline Components for the include component
We found that @phase2/outline-include demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.