From d2b56a4c0457c1d5f30a9bbef2572049e47de312 Mon Sep 17 00:00:00 2001 From: pngwn Date: Tue, 22 Oct 2024 16:43:29 +0100 Subject: [PATCH] more fix (#9792) * more fix * add changeset * bump deps --------- Co-authored-by: gradio-pr-bot --- .changeset/dark-meals-stick.md | 6 ++++ js/sanitize/package.json | 4 +-- package.json | 4 +-- pnpm-lock.yaml | 65 +++++++++++++++++++++++++++++----- 4 files changed, 67 insertions(+), 12 deletions(-) create mode 100644 .changeset/dark-meals-stick.md diff --git a/.changeset/dark-meals-stick.md b/.changeset/dark-meals-stick.md new file mode 100644 index 0000000000..521ba4c1eb --- /dev/null +++ b/.changeset/dark-meals-stick.md @@ -0,0 +1,6 @@ +--- +"@gradio/sanitize": patch +"gradio": patch +--- + +feat:more fix diff --git a/js/sanitize/package.json b/js/sanitize/package.json index 339aec1da6..0515b54879 100644 --- a/js/sanitize/package.json +++ b/js/sanitize/package.json @@ -23,11 +23,11 @@ ".": { "types": "./dist/index.d.ts", "browser": { - "development": "./browser.ts", + "gradio": "./browser.ts", "default": "./dist/browser.js" }, "default": { - "development": "./server.ts", + "gradio": "./server.ts", "default": "./dist/server.js" } }, diff --git a/package.json b/package.json index 605a293f27..8f85664efb 100644 --- a/package.json +++ b/package.json @@ -81,14 +81,14 @@ "sirv": "^2.0.4", "sirv-cli": "^2.0.2", "svelte": "^4.2.15", - "svelte-check": "^3.7.0", + "svelte-check": "^4.0.5", "svelte-eslint-parser": "^0.36.0", "svelte-i18n": "^4.0.0", "svelte-preprocess": "^6.0.3", "tailwindcss": "^3.4.3", "tinyspy": "^3.0.0", "typescript": "^5.5.4", - "typescript-svelte-plugin": "^0.3.40", + "typescript-svelte-plugin": "^0.3.42", "vite": "^5.2.11", "vite-plugin-turbosnap": "1.0.3", "vitest": "^1.5.3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 57a47c9ffe..fc1fe8b617 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -158,8 +158,8 @@ importers: specifier: ^4.2.15 version: 4.2.15 svelte-check: - specifier: ^3.7.0 - version: 3.7.0(@babel/core@7.24.5)(coffeescript@2.7.0)(postcss-load-config@4.0.2(postcss@8.4.38))(postcss@8.4.38)(pug@3.0.2)(sass@1.66.1)(sugarss@4.0.1(postcss@8.4.38))(svelte@4.2.15) + specifier: ^4.0.5 + version: 4.0.5(svelte@4.2.15)(typescript@5.5.4) svelte-eslint-parser: specifier: ^0.36.0 version: 0.36.0(svelte@4.2.15) @@ -179,8 +179,8 @@ importers: specifier: ^5.5.4 version: 5.5.4 typescript-svelte-plugin: - specifier: ^0.3.40 - version: 0.3.40(svelte@4.2.15)(typescript@5.5.4) + specifier: ^0.3.42 + version: 0.3.42(svelte@4.2.15)(typescript@5.5.4) vite: specifier: ^5.2.11 version: 5.2.11(@types/node@20.12.8)(lightningcss@1.24.1)(sass@1.66.1)(stylus@0.63.0)(sugarss@4.0.1(postcss@8.4.38)) @@ -4023,6 +4023,9 @@ packages: '@jridgewell/sourcemap-codec@1.4.15': resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + '@jridgewell/sourcemap-codec@1.5.0': + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} @@ -5828,6 +5831,10 @@ packages: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} engines: {node: '>= 8.10.0'} + chokidar@4.0.1: + resolution: {integrity: sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==} + engines: {node: '>= 14.16.0'} + chownr@1.1.4: resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} @@ -6919,6 +6926,14 @@ packages: fastq@1.15.0: resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} + fdir@6.4.2: + resolution: {integrity: sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + fetch-event-stream@0.1.5: resolution: {integrity: sha512-V1PWovkspxQfssq/NnxoEyQo1DV+MRK/laPuPblIZmSjMN8P5u46OhlFQznSr9p/t0Sp8Uc6SbM3yCMfr0KU8g==} @@ -8993,6 +9008,10 @@ packages: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} + readdirp@4.0.2: + resolution: {integrity: sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==} + engines: {node: '>= 14.16.0'} + recast@0.23.6: resolution: {integrity: sha512-9FHoNjX1yjuesMwuthAmPKabxYQdOgihFYmT5ebXfYGBcnqXZf3WOVz+5foEZ8Y83P4ZY6yQD5GMmtV+pgCCAQ==} engines: {node: '>= 4'} @@ -9500,6 +9519,14 @@ packages: peerDependencies: svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0 + svelte-check@4.0.5: + resolution: {integrity: sha512-icBTBZ3ibBaywbXUat3cK6hB5Du+Kq9Z8CRuyLmm64XIe2/r+lQcbuBx/IQgsbrC+kT2jQ0weVpZSSRIPwB6jQ==} + engines: {node: '>= 18.0.0'} + hasBin: true + peerDependencies: + svelte: ^4.0.0 || ^5.0.0-next.0 + typescript: '>=5.0.0' + svelte-eslint-parser@0.36.0: resolution: {integrity: sha512-/6YmUSr0FAVxW8dXNdIMydBnddPMHzaHirAZ7RrT21XYdgGGZMh0LQG6CZsvAFS4r2Y4ItUuCQc8TQ3urB30mQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -9913,8 +9940,8 @@ packages: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} - typescript-svelte-plugin@0.3.40: - resolution: {integrity: sha512-/5k/DktoxpiUp4QDRVODCYenb91sD+z4Qt4nHk2ycCAk6dUaBvlqfOdd8TRXWb+xUBWov12HsgfV68tLeI2V7g==} + typescript-svelte-plugin@0.3.42: + resolution: {integrity: sha512-6lizcRAR6N2cMAutfVgt4m5aGbk9NCOhX4EK/Jv4HGb3norG6a65mZapCowbbtq8vM6IDEu2VCf4uF6vv+x2lw==} typescript@5.4.3: resolution: {integrity: sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==} @@ -12183,6 +12210,8 @@ snapshots: '@jridgewell/sourcemap-codec@1.4.15': {} + '@jridgewell/sourcemap-codec@1.5.0': {} + '@jridgewell/trace-mapping@0.3.25': dependencies: '@jridgewell/resolve-uri': 3.1.2 @@ -14598,6 +14627,10 @@ snapshots: optionalDependencies: fsevents: 2.3.3 + chokidar@4.0.1: + dependencies: + readdirp: 4.0.2 + chownr@1.1.4: {} chownr@2.0.0: {} @@ -15892,6 +15925,8 @@ snapshots: dependencies: reusify: 1.0.4 + fdir@6.4.2: {} + fetch-event-stream@0.1.5: {} fetch-retry@5.0.6: {} @@ -18058,6 +18093,8 @@ snapshots: dependencies: picomatch: 2.3.1 + readdirp@4.0.2: {} + recast@0.23.6: dependencies: ast-types: 0.16.1 @@ -18690,6 +18727,18 @@ snapshots: - stylus - sugarss + svelte-check@4.0.5(svelte@4.2.15)(typescript@5.5.4): + dependencies: + '@jridgewell/trace-mapping': 0.3.25 + chokidar: 4.0.1 + fdir: 6.4.2 + picocolors: 1.0.0 + sade: 1.8.1 + svelte: 4.2.15 + typescript: 5.5.4 + transitivePeerDependencies: + - picomatch + svelte-eslint-parser@0.36.0(svelte@4.2.15): dependencies: eslint-scope: 7.2.2 @@ -19100,9 +19149,9 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript-svelte-plugin@0.3.40(svelte@4.2.15)(typescript@5.5.4): + typescript-svelte-plugin@0.3.42(svelte@4.2.15)(typescript@5.5.4): dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 svelte2tsx: 0.7.7(svelte@4.2.15)(typescript@5.5.4) transitivePeerDependencies: - svelte