@xylabs/threads
Advanced tools
Comparing version 4.3.0 to 4.3.1
{ | ||
"name": "@xylabs/threads", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"description": "Web workers & worker threads as simple as a function call", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -21,3 +21,11 @@ /* eslint-disable import-x/no-internal-modules */ | ||
interface WorkerGlobalScope { | ||
addEventListener(eventName: string, listener: (event: Event) => void): void | ||
postMessage(message: any, transferables?: any[]): void | ||
removeEventListener(eventName: string, listener: (event: Event) => void): void | ||
} | ||
declare const __non_webpack_require__: typeof require | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
declare const self: WorkerGlobalScope | ||
@@ -24,0 +32,0 @@ let tsNodeAvailable: boolean | undefined |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
262810
6405
7