Closed pi0 closed 7 months ago
This PR adds a new deno preset suitable to extend nodeless with supported modules.
deno
nodeless
Note: For ⚠️ partial supported modules, using this preset means disabling unenv support for them!
Support status for Node v20.10.0 vs Deno v1.38.5 (local pnpm run test:deno)
pnpm run test:deno
scheduler
CallTracker
lookupService
getDefaultResultOrder
cp
statfs
lchmod
lchown
lutimes
constants
win32
posix
_makeLong
CompressionStream
DecompressionStream
isExternal
tracingChannel
_forkChild
triggerAsyncId
executionAsyncResource
asyncWrapProviders
Performance
PerformanceMark
PerformanceMeasure
PerformanceObserverEntryList
PerformanceResourceTiming
createHistogram
version
_events
_eventsCount
_maxListeners
SCHED_NONE
SCHED_RR
disconnect
context
createTask
transcode
isUtf8
isAscii
INSPECT_MAX_BYTES
resolveObjectURL
File
Cipher
Decipher
subtle
getRandomValues
_stack
createDomain
active
addAbortListener
getMaxListeners
usingDomains
captureRejections
EventEmitterAsyncResource
init
_debug
isBuiltin
syncBuiltinESMExports
runMain
findSourceMap
register
SourceMap
isDestroyed
isDisturbed
isErrored
isReadable
isWritable
destroy
compose
setDefaultHighWaterMark
getDefaultHighWaterMark
promises
_unrefActive
unenroll
enroll
_createSocketHandle
_connectionListener
validateHeaderName
validateHeaderValue
setMaxIdleHTTPParsers
maxHeaderSize
_errnoException
_exceptionWithHostPort
debug
getSystemErrorMap
transferableAbortSignal
transferableAbortController
aborted
parseArgs
MIMEType
MIMEParams
_setSimultaneousAccepts
BlockList
SocketAddress
getDefaultAutoSelectFamily
setDefaultAutoSelectFamily
getDefaultAutoSelectFamilyAttemptTimeout
setDefaultAutoSelectFamilyAttemptTimeout
CLIENT_RENEG_LIMIT
CLIENT_RENEG_WINDOW
convertALPNProtocols
SecureContext
machine
(need to iterate and try)
This PR adds a new
deno
preset suitable to extendnodeless
with supported modules.Note: For ⚠️ partial supported modules, using this preset means disabling unenv support for them!
Support status for Node v20.10.0 vs Deno v1.38.5 (local
pnpm run test:deno
)scheduler
CallTracker
lookupService
,getDefaultResultOrder
cp
,statfs
,lchmod
,lchown
,lutimes
,constants
win32
,posix
,_makeLong
win32
,posix
,_makeLong
CompressionStream
,DecompressionStream
isExternal
tracingChannel
_forkChild
triggerAsyncId
,executionAsyncResource
,asyncWrapProviders
Performance
,PerformanceMark
,PerformanceMeasure
,PerformanceObserverEntryList
,PerformanceResourceTiming
,createHistogram
version
_events
,_eventsCount
,_maxListeners
,SCHED_NONE
,SCHED_RR
,disconnect
context
,createTask
CallTracker
transcode
,isUtf8
,isAscii
,INSPECT_MAX_BYTES
,resolveObjectURL
,File
Cipher
,Decipher
,subtle
,getRandomValues
_stack
,createDomain
,active
addAbortListener
,getMaxListeners
,usingDomains
,captureRejections
,EventEmitterAsyncResource
,init
_debug
,isBuiltin
,syncBuiltinESMExports
,runMain
,findSourceMap
,register
,SourceMap
isDestroyed
,isDisturbed
,isErrored
,isReadable
,isWritable
,destroy
,compose
,setDefaultHighWaterMark
,getDefaultHighWaterMark
,promises
_unrefActive
,active
,unenroll
,enroll
_createSocketHandle
_connectionListener
,validateHeaderName
,validateHeaderValue
,setMaxIdleHTTPParsers
,maxHeaderSize
_makeLong
_errnoException
,_exceptionWithHostPort
,debug
,getSystemErrorMap
,transferableAbortSignal
,transferableAbortController
,aborted
,parseArgs
,MIMEType
,MIMEParams
lookupService
,getDefaultResultOrder
_setSimultaneousAccepts
,BlockList
,SocketAddress
,getDefaultAutoSelectFamily
,setDefaultAutoSelectFamily
,getDefaultAutoSelectFamilyAttemptTimeout
,setDefaultAutoSelectFamilyAttemptTimeout
_errnoException
,_exceptionWithHostPort
,debug
,getSystemErrorMap
,transferableAbortSignal
,transferableAbortController
,aborted
,parseArgs
,MIMEType
,MIMEParams
CLIENT_RENEG_LIMIT
,CLIENT_RENEG_WINDOW
,convertALPNProtocols
,SecureContext
machine