@jsdevs-sp/queue-hook
Advanced tools
Comparing version 0.0.5 to 0.0.6
export async function promise(item) { | ||
if (/^json$|^image$/.test(item.loader)) { | ||
if (item.customLoader) { | ||
return item.customLoader.get(item); | ||
} else if (/^json$|^image$/.test(item.loader)) { | ||
const loader = await import(`./loaders/${item.loader}`); | ||
@@ -4,0 +6,0 @@ return loader.get(item); |
{ | ||
"name": "@jsdevs-sp/queue-hook", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "jsdevs-sp", |
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
5773332
124
14