From fe0d1dc4f4fa48d24a65b8ec93ea096168801ad6 Mon Sep 17 00:00:00 2001 From: Prasanth Date: Wed, 25 Dec 2024 15:52:13 +0530 Subject: [PATCH] pyodide to 0.26.4 and dothttp-req-wasm to 0.0.43 --- src/worker/worker.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/worker/worker.ts b/src/worker/worker.ts index b62c646..75656bc 100644 --- a/src/worker/worker.ts +++ b/src/worker/worker.ts @@ -1,6 +1,6 @@ // @ts-ignore // self.languagePluginUrl = 'https://cdn.jsdelivr.net/pyodide/v0.23.4/full/'; -importScripts('https://cdn.jsdelivr.net/pyodide/v0.23.4/full/pyodide.js'); +importScripts('https://cdn.jsdelivr.net/pyodide/v0.26.4/full/pyodide.js'); import { getContent, formatJson, KIND } from "../utils/utils"; const loadCode = `from dothttp import Config, HttpDefBase @@ -83,7 +83,7 @@ async function loadPyodideAndPackages() { // @ts-ignore await self.pyodide.loadPackage(['micropip']); // @ts-ignore - await self.pyodide.runPython(`import micropip;micropip.install(['dothttp-req-wasm==0.0.42', 'setuptools'])`); + await self.pyodide.runPython(`import micropip;micropip.install(['dothttp-req-wasm==0.0.43', 'setuptools'])`); // @ts-ignore await self.pyodide.runPython(loadCode); self.postMessage(