Comparing version 2.7.1 to 2.7.2
@@ -11,3 +11,3 @@ /* IMPORT */ | ||
this.terminateTimeout = options.autoterminate ?? 60000; | ||
this.env = options.env || {}; | ||
this.env = { ...globalThis.process?.env, ...options.env }; | ||
this.name = options.name ?? 'WorkTank-Worker'; | ||
@@ -14,0 +14,0 @@ this.size = options.size ?? 1; |
@@ -5,3 +5,3 @@ { | ||
"description": "A simple isomorphic library for executing functions inside WebWorkers or Node Threads pools.", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"type": "module", | ||
@@ -8,0 +8,0 @@ "main": "dist/index.js", |
@@ -34,3 +34,3 @@ | ||
this.terminateTimeout = options.autoterminate ?? 60000; | ||
this.env = options.env || {}; | ||
this.env = { ...globalThis.process?.env, ...options.env }; | ||
this.name = options.name ?? 'WorkTank-Worker'; | ||
@@ -37,0 +37,0 @@ this.size = options.size ?? 1; |
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
39839