[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:
parent
fb0334a15f
commit
5007bc7881
4 changed files with 2914 additions and 3265 deletions
|
@ -50,6 +50,7 @@ function createAPIContext({
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
url: new URL(request.url),
|
url: new URL(request.url),
|
||||||
|
// @ts-ignore
|
||||||
get clientAddress() {
|
get clientAddress() {
|
||||||
if (!(clientAddressSymbol in request)) {
|
if (!(clientAddressSymbol in request)) {
|
||||||
if (adapterName) {
|
if (adapterName) {
|
||||||
|
|
|
@ -135,7 +135,7 @@ export function resolveServerUrls({
|
||||||
// Node < v18
|
// Node < v18
|
||||||
((typeof networkInterface.family === 'string' && networkInterface.family === 'IPv4') ||
|
((typeof networkInterface.family === 'string' && networkInterface.family === 'IPv4') ||
|
||||||
// Node >= v18
|
// Node >= v18
|
||||||
(typeof networkInterface.family === 'number' && networkInterface.family === 4))
|
(typeof networkInterface.family === 'number' && (networkInterface as any).family === 4))
|
||||||
);
|
);
|
||||||
for (let { address: ipv4Address } of ipv4Networks) {
|
for (let { address: ipv4Address } of ipv4Networks) {
|
||||||
if (ipv4Address.includes('127.0.0.1')) {
|
if (ipv4Address.includes('127.0.0.1')) {
|
||||||
|
|
|
@ -169,8 +169,8 @@ export function createResult(args: CreateResultArgs): SSRResult {
|
||||||
const astroSlots = new Slots(result, slots, args.logging);
|
const astroSlots = new Slots(result, slots, args.logging);
|
||||||
|
|
||||||
const Astro: AstroGlobal = {
|
const Astro: AstroGlobal = {
|
||||||
// @ts-expect-error set prototype
|
|
||||||
__proto__: astroGlobal,
|
__proto__: astroGlobal,
|
||||||
|
// @ts-ignore
|
||||||
get clientAddress() {
|
get clientAddress() {
|
||||||
if (!(clientAddressSymbol in request)) {
|
if (!(clientAddressSymbol in request)) {
|
||||||
if (args.adapterName) {
|
if (args.adapterName) {
|
||||||
|
|
6174
pnpm-lock.yaml
generated
6174
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue