Remove ability for customers to use unprotected HTTP modules (#5727)

* Remove ability for customers to use unprotected HTTP modules, they should use secured dependencies instead

* Remove ability for customers to use unprotected HTTP modules

---------

Co-authored-by: yau-wd <[email protected]>
This commit is contained in:
christopherholland-workday
2026-02-10 22:20:28 +08:00
committed by GitHub
co-authored by yau-wd
parent 23ce86c2e3
commit b7e836cf14
+1 -15
View File
@@ -122,21 +122,7 @@ export const availableDependencies = [
const defaultAllowExternalDependencies = ['axios', 'moment', 'node-fetch']
export const defaultAllowBuiltInDep = [
'assert',
'buffer',
'crypto',
'events',
'http',
'https',
'net',
'path',
'querystring',
'timers',
'tls',
'url',
'zlib'
]
export const defaultAllowBuiltInDep = ['assert', 'buffer', 'crypto', 'events', 'path', 'querystring', 'timers', 'url', 'zlib']
/**
* Get base classes of components