@zintrust/workers 0.5.6 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zintrust/workers",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Worker orchestration and background job management for ZinTrust.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -1104,8 +1104,8 @@ const setCachedProcessor = (key: string, entry: CachedProcessor, maxSize: number
1104
1104
  };
1105
1105
 
1106
1106
  const isAllowedRemoteHost = (host: string): boolean => {
1107
- const allowlist = (getProcessorSpecConfig().remoteAllowlist as readonly string[]).map(
1108
- (value: string) => value.toLowerCase()
1107
+ const allowlist = getProcessorSpecConfig().remoteAllowlist.map((value: string) =>
1108
+ value.toLowerCase()
1109
1109
  );
1110
1110
  return allowlist.includes(host.toLowerCase());
1111
1111
  };