diff --git a/.changeset/hip-bags-smile.md b/.changeset/hip-bags-smile.md deleted file mode 100644 index 471141c0f1390..0000000000000 --- a/.changeset/hip-bags-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@gradio/client": patch ---- - -Ensure semiver is bundled so CDN links work correctly. diff --git a/.changeset/nice-tools-wait.md b/.changeset/nice-tools-wait.md deleted file mode 100644 index bb6b954169135..0000000000000 --- a/.changeset/nice-tools-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@gradio/client": patch ---- - -Ensure all URLs returned by the client are complete URLs with the correct host instead of an absolute path relative to a server. diff --git a/client/js/CHANGELOG.md b/client/js/CHANGELOG.md index 58cd6e13e7c0f..45fe211577a7c 100644 --- a/client/js/CHANGELOG.md +++ b/client/js/CHANGELOG.md @@ -1,5 +1,13 @@ # @gradio/client +## 0.1.1 + +### Patch Changes + +- [#4201](https://github.com/gradio-app/gradio/pull/4201) [`da5b4ee1`](https://github.com/gradio-app/gradio/commit/da5b4ee11721175858ded96e5710225369097f74) Thanks [@pngwn](https://github.com/pngwn)! - Ensure semiver is bundled so CDN links work correctly. + +- [#4202](https://github.com/gradio-app/gradio/pull/4202) [`a26e9afd`](https://github.com/gradio-app/gradio/commit/a26e9afde319382993e6ddc77cc4e56337a31248) Thanks [@pngwn](https://github.com/pngwn)! - Ensure all URLs returned by the client are complete URLs with the correct host instead of an absolute path relative to a server. + ## 0.1.0 ### Minor Changes diff --git a/client/js/package.json b/client/js/package.json index 4cecbaf4224b3..c69bcc97ce888 100644 --- a/client/js/package.json +++ b/client/js/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/client", - "version": "0.1.0", + "version": "0.1.1", "description": "Gradio UI packages", "type": "module", "main": "dist/index.js", diff --git a/js/_spaces-test/package.json b/js/_spaces-test/package.json index b0a78ad96913c..de71410535eac 100644 --- a/js/_spaces-test/package.json +++ b/js/_spaces-test/package.json @@ -23,7 +23,7 @@ }, "type": "module", "dependencies": { - "@gradio/client": "workspace:^0.1.0", + "@gradio/client": "workspace:^0.1.1", "@gradio/form": "workspace:^0.0.1", "@gradio/theme": "workspace:^0.0.1" } diff --git a/js/app/package.json b/js/app/package.json index 65be91c02d9e1..7d8538a8bd683 100644 --- a/js/app/package.json +++ b/js/app/package.json @@ -22,7 +22,7 @@ "@gradio/chart": "workspace:^0.0.1", "@gradio/chatbot": "workspace:^0.0.1", "@gradio/code": "workspace:^0.0.1", - "@gradio/client": "workspace:^0.1.0", + "@gradio/client": "workspace:^0.1.1", "@gradio/file": "workspace:^0.0.1", "@gradio/form": "workspace:^0.0.1", "@gradio/gallery": "workspace:^0.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index be812b5874a76..d4ad1939a0332 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -117,7 +117,7 @@ importers: version: 4.7.4 vite: specifier: ^4.2.1 - version: 4.2.1(@types/node@17.0.14) + version: 4.2.1 vitest: specifier: ^0.29.8 version: 0.29.8(happy-dom@2.49.0)(playwright@1.27.1) @@ -154,7 +154,7 @@ importers: js/_spaces-test: dependencies: '@gradio/client': - specifier: workspace:^0.1.0 + specifier: workspace:^0.1.1 version: link:../../client/js '@gradio/form': specifier: workspace:^0.0.1 @@ -180,13 +180,13 @@ importers: version: 3.57.0 svelte-check: specifier: ^3.0.1 - version: 3.1.4(postcss@8.4.6)(svelte@3.57.0) + version: 3.1.4(svelte@3.57.0) typescript: specifier: ^5.0.0 version: 5.0.4 vite: specifier: ^4.3.0 - version: 4.3.5(@types/node@17.0.14) + version: 4.3.5 js/accordion: {} @@ -211,7 +211,7 @@ importers: specifier: workspace:^0.0.1 version: link:../chatbot '@gradio/client': - specifier: workspace:^0.1.0 + specifier: workspace:^0.1.1 version: link:../../client/js '@gradio/code': specifier: workspace:^0.0.1 @@ -1655,7 +1655,7 @@ packages: svelte: 3.57.0 tiny-glob: 0.2.9 undici: 5.22.0 - vite: 4.3.5(@types/node@17.0.14) + vite: 4.3.5 transitivePeerDependencies: - supports-color dev: true @@ -1701,7 +1701,7 @@ packages: magic-string: 0.26.1 svelte: 3.57.0 svelte-hmr: 0.14.11(svelte@3.57.0) - vite: 4.2.1(@types/node@17.0.14) + vite: 4.2.1 transitivePeerDependencies: - supports-color dev: false @@ -1719,7 +1719,7 @@ packages: magic-string: 0.30.0 svelte: 3.57.0 svelte-hmr: 0.15.1(svelte@3.57.0) - vite: 4.3.5(@types/node@17.0.14) + vite: 4.3.5 vitefu: 0.2.4(vite@4.3.5) transitivePeerDependencies: - supports-color @@ -4670,6 +4670,7 @@ packages: resolution: {integrity: sha512-fmsZYa9lpn69Ad5eDn7FMcnnSR+8R34W9qJEijxYhTbfOWzr22n1QxCMzXLK+ODyW2973V3Fux959iQoUxzUIA==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true + dev: false /nanoid@3.3.4: resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} @@ -5227,6 +5228,7 @@ packages: nanoid: 3.2.0 picocolors: 1.0.0 source-map-js: 1.0.2 + dev: false /preferred-pm@3.0.3: resolution: {integrity: sha512-+wZgbxNES/KlJs9q40F/1sfOd/j7f1O9JaHcW5Dsn3aUUOZg3L2bjpVUcKV2jvtElYfoTuQiNeMfQJ4kwUAhCQ==} @@ -6015,6 +6017,34 @@ packages: - sass - stylus - sugarss + dev: false + + /svelte-check@3.1.4(svelte@3.57.0): + resolution: {integrity: sha512-25Lb46ZS4IK/XpBMe4IBMrtYf23V8alqBX+szXoccb7uM0D2Wqq5rMRzYBONZnFVuU1bQG3R50lyIT5eRewv2g==} + hasBin: true + peerDependencies: + svelte: ^3.55.0 + dependencies: + '@jridgewell/trace-mapping': 0.3.17 + chokidar: 3.5.3 + fast-glob: 3.2.11 + import-fresh: 3.3.0 + picocolors: 1.0.0 + sade: 1.8.1 + svelte: 3.57.0 + svelte-preprocess: 5.0.3(svelte@3.57.0)(typescript@4.9.5) + typescript: 4.9.5 + transitivePeerDependencies: + - '@babel/core' + - coffeescript + - less + - postcss + - postcss-load-config + - pug + - sass + - stylus + - sugarss + dev: true /svelte-hmr@0.14.11(svelte@3.49.0): resolution: {integrity: sha512-R9CVfX6DXxW1Kn45Jtmx+yUe+sPhrbYSUp7TkzbW0jI5fVPn6lsNG9NEs5dFg5qRhFNAoVdRw5qQDLALNKhwbQ==} @@ -6259,6 +6289,54 @@ packages: strip-indent: 3.0.0 svelte: 3.57.0 typescript: 4.9.5 + dev: false + + /svelte-preprocess@5.0.3(svelte@3.57.0)(typescript@4.9.5): + resolution: {integrity: sha512-GrHF1rusdJVbOZOwgPWtpqmaexkydznKzy5qIC2FabgpFyKN57bjMUUUqPRfbBXK5igiEWn1uO/DXsa2vJ5VHA==} + engines: {node: '>= 14.10.0'} + requiresBuild: true + peerDependencies: + '@babel/core': ^7.10.2 + coffeescript: ^2.5.1 + less: ^3.11.3 || ^4.0.0 + postcss: ^7 || ^8 + postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 + pug: ^3.0.0 + sass: ^1.26.8 + stylus: ^0.55.0 + sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0 + svelte: ^3.23.0 + typescript: '>=3.9.5 || ^4.0.0 || ^5.0.0' + peerDependenciesMeta: + '@babel/core': + optional: true + coffeescript: + optional: true + less: + optional: true + postcss: + optional: true + postcss-load-config: + optional: true + pug: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + typescript: + optional: true + dependencies: + '@types/pug': 2.0.6 + detect-indent: 6.1.0 + magic-string: 0.27.0 + sorcery: 0.11.0 + strip-indent: 3.0.0 + svelte: 3.57.0 + typescript: 4.9.5 + dev: true /svelte-range-slider-pips@2.0.2: resolution: {integrity: sha512-VTWHOdwDyWbndGZnI0PQJY9DO7hgQlNubtCcCL6Wlypv5dU4vEsc4A1sX9TWMuvebEe4332SgsQQHzOdZ+guhQ==} @@ -7047,6 +7125,39 @@ packages: fsevents: 2.3.2 dev: true + /vite@4.2.1: + resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} + engines: {node: ^14.18.0 || >=16.0.0} + hasBin: true + peerDependencies: + '@types/node': '>= 14' + less: '*' + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + esbuild: 0.17.14 + postcss: 8.4.21 + resolve: 1.22.1 + rollup: 3.20.2 + optionalDependencies: + fsevents: 2.3.2 + dev: false + /vite@4.2.1(@types/node@17.0.14): resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} engines: {node: ^14.18.0 || >=16.0.0} @@ -7081,6 +7192,38 @@ packages: fsevents: 2.3.2 dev: false + /vite@4.3.5: + resolution: {integrity: sha512-0gEnL9wiRFxgz40o/i/eTBwm+NEbpUeTWhzKrZDSdKm6nplj+z4lKz8ANDgildxHm47Vg8EUia0aicKbawUVVA==} + engines: {node: ^14.18.0 || >=16.0.0} + hasBin: true + peerDependencies: + '@types/node': '>= 14' + less: '*' + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + esbuild: 0.17.14 + postcss: 8.4.23 + rollup: 3.21.6 + optionalDependencies: + fsevents: 2.3.2 + dev: true + /vite@4.3.5(@types/node@17.0.14): resolution: {integrity: sha512-0gEnL9wiRFxgz40o/i/eTBwm+NEbpUeTWhzKrZDSdKm6nplj+z4lKz8ANDgildxHm47Vg8EUia0aicKbawUVVA==} engines: {node: ^14.18.0 || >=16.0.0} @@ -7112,6 +7255,7 @@ packages: rollup: 3.21.6 optionalDependencies: fsevents: 2.3.2 + dev: false /vitefu@0.2.4(vite@4.3.5): resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==} @@ -7121,7 +7265,7 @@ packages: vite: optional: true dependencies: - vite: 4.3.5(@types/node@17.0.14) + vite: 4.3.5 dev: true /vitest@0.29.8(happy-dom@2.49.0)(playwright@1.27.1):