[ci] update lockfile (#5686)

* [ci] update lockfile

* Fix build errors from new TypeScript version

* Updated lockfile

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
This commit is contained in:
Fred K. Bot 2023-01-03 09:18:32 -08:00 committed by GitHub
parent fb0334a15f
commit 5007bc7881
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2914 additions and 3265 deletions

View file

@ -50,6 +50,7 @@ function createAPIContext({
});
},
url: new URL(request.url),
// @ts-ignore
get clientAddress() {
if (!(clientAddressSymbol in request)) {
if (adapterName) {

View file

@ -135,7 +135,7 @@ export function resolveServerUrls({
// Node < v18
((typeof networkInterface.family === 'string' && networkInterface.family === 'IPv4') ||
// Node >= v18
(typeof networkInterface.family === 'number' && networkInterface.family === 4))
(typeof networkInterface.family === 'number' && (networkInterface as any).family === 4))
);
for (let { address: ipv4Address } of ipv4Networks) {
if (ipv4Address.includes('127.0.0.1')) {

View file

@ -169,8 +169,8 @@ export function createResult(args: CreateResultArgs): SSRResult {
const astroSlots = new Slots(result, slots, args.logging);
const Astro: AstroGlobal = {
// @ts-expect-error set prototype
__proto__: astroGlobal,
// @ts-ignore
get clientAddress() {
if (!(clientAddressSymbol in request)) {
if (args.adapterName) {

File diff suppressed because it is too large Load diff