@lightningjs/threadx
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -10,3 +10,3 @@ /** | ||
*/ | ||
export declare const resolvedGlobal: Window & typeof globalThis; | ||
export declare const resolvedGlobal: any; | ||
export declare function assertTruthy(condition: unknown, message?: string): asserts condition; |
@@ -26,3 +26,3 @@ /* | ||
*/ | ||
export const resolvedGlobal = self; | ||
export const resolvedGlobal = typeof self === 'undefined' ? globalThis : self; | ||
export function assertTruthy(condition, message) { | ||
@@ -29,0 +29,0 @@ if (!condition) { |
{ | ||
"name": "@lightningjs/threadx", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "A web browser-based JavaScript library that helps manage the communcation of data between one or more web worker threads.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -27,3 +27,4 @@ /* | ||
*/ | ||
export const resolvedGlobal = self; | ||
export const resolvedGlobal: any = | ||
typeof self === 'undefined' ? globalThis : self; | ||
@@ -30,0 +31,0 @@ export function assertTruthy( |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
172097
3403
1