Skip to content

Commit e1f78b1

Browse files
chore: remove support for fetch from experimental scripting sandbox
To be revisited after addressing security implications.
1 parent 40c1c20 commit e1f78b1

File tree

1 file changed

+1
-3
lines changed
  • packages/hoppscotch-js-sandbox/src/cage-modules

1 file changed

+1
-3
lines changed

packages/hoppscotch-js-sandbox/src/cage-modules/default.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ import {
55
crypto,
66
encoding,
77
esmModuleLoader,
8-
fetch,
9-
urlPolyfill,
108
timers,
9+
urlPolyfill,
1110
} from "faraday-cage/modules"
1211

1312
type DefaultModulesConfig = {
@@ -61,7 +60,6 @@ export const defaultModules = (config?: DefaultModulesConfig) => {
6160
}),
6261

6362
esmModuleLoader,
64-
fetch(),
6563
encoding(),
6664
timers(),
6765
]

0 commit comments

Comments
 (0)