Socket
Socket
Sign inDemoInstall

@satumjs/async-override

Package Overview
Dependencies
5
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2-rc.0 to 0.1.2

2

package.json
{
"name": "@satumjs/async-override",
"version": "0.1.2-rc.0",
"version": "0.1.2",
"description": "override async for sandbox",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -17,3 +17,3 @@ # @satumjs/async-override

fetch?: typeof fetch,
): () => Promise<Response | undefined>
): (req: string | RequestInfo, options?: RequestInit) => Promise<Response | undefined>

@@ -31,3 +31,3 @@ // 改写 ajax 类

fakeWinName?: string, // window 对象上 沙箱的 property
): () => HTMLElement | null
): (tagName: keyof HTMLElementTagNameMap, options?: ElementCreationOptions) => HTMLElement | null
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc