Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: remove support for `fetch` from experimental scripting sandbox
jamesgeorge007e1f78b185a93
diff --git a/packages/hoppscotch-js-sandbox/src/cage-modules/default.ts b/packages/hoppscotch-js-sandbox/src/cage-modules/default.tsindex 4a4dc7ab7..4dcdd0608 100644--- a/packages/hoppscotch-js-sandbox/src/cage-modules/default.ts+++ b/packages/hoppscotch-js-sandbox/src/cage-modules/default.ts@@ -5,9 +5,8 @@ import {crypto,encoding,esmModuleLoader,- fetch,- urlPolyfill,timers,+ urlPolyfill,} from "faraday-cage/modules"type DefaultModulesConfig = {@@ -61,7 +60,6 @@ export const defaultModules = (config?: DefaultModulesConfig) => {}),esmModuleLoader,- fetch(),encoding(),timers(),]