Socket
Socket
Sign inDemoInstall

@gradio/utils

Package Overview
Dependencies
2
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0 to 0.4.1

6

CHANGELOG.md
# @gradio/utils
## 0.4.1
### Fixes
- [#8179](https://github.com/gradio-app/gradio/pull/8179) [`6a218b4`](https://github.com/gradio-app/gradio/commit/6a218b4148095aaa0c58d8c20973ba01c8764fc2) - rework upload to be a class method + pass client into each component. Thanks @pngwn!
## 0.4.0

@@ -4,0 +10,0 @@

2

package.json
{
"name": "@gradio/utils",
"version": "0.4.0",
"version": "0.4.1",
"description": "Gradio UI packages",

@@ -5,0 +5,0 @@ "type": "module",

import type { ActionReturn } from "svelte/action";
import type { Client } from "@gradio/client";
export interface SelectData {

@@ -184,2 +185,3 @@ index: number | [number, number];

max_file_size: number | null;
client: Client;

@@ -194,3 +196,4 @@ constructor(

max_file_size: number | null,
i18n: I18nFormatter = (x: string): string => x
i18n: I18nFormatter = (x: string): string => x,
client: Client
) {

@@ -206,2 +209,3 @@ this.#id = id;

this.autoscroll = autoscroll;
this.client = client;
}

@@ -208,0 +212,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc