@gradio/utils
Advanced tools
Comparing version 0.5.1 to 0.5.2
# @gradio/utils | ||
## 0.5.2 | ||
### Fixes | ||
- [#8927](https://github.com/gradio-app/gradio/pull/8927) [`223688b`](https://github.com/gradio-app/gradio/commit/223688b70a7a3cf4daa92ae77f8fca7b537cc2b4) - Fix `Could not resolve "virtual:component-loader"` in gradio/utils package. Thanks @benzler! | ||
## 0.5.1 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@gradio/utils", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Gradio UI packages", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -237,6 +237,10 @@ import type { ActionReturn } from "svelte/action"; | ||
if (!virtual_component_loader) { | ||
import("virtual:component-loader").then((module) => { | ||
this._load_component = module.load_component; | ||
virtual_component_loader = module.load_component; | ||
}); | ||
import("virtual:component-loader") | ||
.then((module) => { | ||
this._load_component = module.load_component; | ||
virtual_component_loader = module.load_component; | ||
}) | ||
.catch((e) => { | ||
console.error("Error loading virtual component loader", e); | ||
}); | ||
} else { | ||
@@ -243,0 +247,0 @@ this._load_component = virtual_component_loader; |
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
25500
237