Adopt (most of) core to work with Web APIs URL / Request / Response
Refactor all plugins to adopt above convention
Updated all impacted documentation
TODOs
[x] Fix Windows compat - #1047
[x] Refactor Request.clone / Response.clone, as it seems to cause this issue
(node:81167) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. Use events.setMaxListeners() to increase limit
somewhat related, maybe we can "undo" this now - #1046
Related Issue
resolves #948 / #949
Summary of Changes
URL
/Request
/Response
TODOs
Request.clone
/Response.clone
, as it seems to cause this issuedevelop
commandResourceInterface
(extensions, lifecycle signatures, util methods)convert node modules lib to useURL
convert the graph lifecycle to use(maybe as part of https://github.com/ProjectEvergreen/greenwood/issues/946 ?)URL
how to handle- https://github.com/ProjectEvergreen/greenwood/issues/1049Response
already setting a defaultContent-Type
oftext/plain;charset=UTF-8
convert allfs
usage tofs.promises
+URL
Figure out consistent usage- added to https://github.com/ProjectEvergreen/greenwood/issues/823fs
and sync / async version for things like.map
,.filter
flesh out all remaining- https://github.com/ProjectEvergreen/greenwood/issues/1048Response
properties inmergeResponse
- tracking in the backlogContent-Type
vscontent-type
consistency ?refactor outresolveForRelativeUrl
from ResourceInterfacerefactor out find package.jsonremove unusedthis.extensions
refactor rollup.config.jsresolveId
to usethis.resolveRelativeUrl
from ResourceInterfaceconvert to Fastify, or something that can handle a native- added to BacklogResponse
object?<script>
tag not closing for inline + none optimizations, like for Google Analytics? (GFI) - https://github.com/ProjectEvergreen/greenwood/issues/1052