netlify-cli 19.0.1-rc.1 → 19.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/proxy.d.ts.map +1 -1
- package/dist/utils/proxy.js +20 -52
- package/dist/utils/run-build.d.ts.map +1 -1
- package/dist/utils/run-build.js +0 -1
- package/dist/utils/types.d.ts +0 -2
- package/dist/utils/types.d.ts.map +1 -1
- package/functions-templates/javascript/scheduled-function/package.json +1 -1
- package/functions-templates/typescript/hello-world/package-lock.json +15 -46
- package/functions-templates/typescript/hello-world/package.json +1 -1
- package/functions-templates/typescript/scheduled-function/package.json +1 -1
- package/npm-shrinkwrap.json +11238 -28389
- package/package.json +5 -3
- package/scripts/prepare-for-publish.js +34 -48
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../src/utils/proxy.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../src/utils/proxy.ts"],"names":[],"mappings":"AA0BA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAkB,MAAM,sBAAsB,CAAA;AAkB/D,OAAO,EAAqB,cAAc,EAAE,MAAM,YAAY,CAAA;AAoyB9D,eAAO,MAAM,WAAW,aAAuB,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC,WAGpF,CAAA;AAID,eAAO,MAAM,UAAU,oQAsBpB;IAAE,OAAO,EAAE,WAAW,CAAC;IAAC,QAAQ,EAAE,cAAc,CAAC;IAAC,oBAAoB,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,oBA4G9G,CAAA"}
|
package/dist/utils/proxy.js
CHANGED
|
@@ -4,11 +4,9 @@ import { readFile } from 'fs/promises';
|
|
|
4
4
|
import http from 'http';
|
|
5
5
|
import https from 'https';
|
|
6
6
|
import { isIPv6 } from 'net';
|
|
7
|
-
import { Socket } from 'node:net';
|
|
8
7
|
import { Readable } from 'node:stream';
|
|
9
8
|
import path from 'path';
|
|
10
9
|
import process from 'process';
|
|
11
|
-
import url from 'url';
|
|
12
10
|
import util from 'util';
|
|
13
11
|
import zlib from 'zlib';
|
|
14
12
|
import contentType from 'content-type';
|
|
@@ -20,8 +18,8 @@ import httpProxy from 'http-proxy';
|
|
|
20
18
|
import { createProxyMiddleware } from 'http-proxy-middleware';
|
|
21
19
|
import { jwtDecode } from 'jwt-decode';
|
|
22
20
|
import { locatePath } from 'locate-path';
|
|
23
|
-
import throttle from 'lodash/throttle.js';
|
|
24
21
|
import pFilter from 'p-filter';
|
|
22
|
+
import throttle from 'lodash/throttle.js';
|
|
25
23
|
import { handleProxyRequest, initializeProxy as initializeEdgeFunctionsProxy, isEdgeFunctionsRequest, } from '../lib/edge-functions/proxy.js';
|
|
26
24
|
import { fileExistsAsync, isFileAsync } from '../lib/fs.js';
|
|
27
25
|
import { getFormHandler } from '../lib/functions/form-submissions-handler.js';
|
|
@@ -390,30 +388,11 @@ const initializeProxy = async function ({ config, configPath, distDir, env, host
|
|
|
390
388
|
delete req.headers.expect;
|
|
391
389
|
}
|
|
392
390
|
});
|
|
393
|
-
proxy.on('error', (
|
|
394
|
-
// @ts-expect-error TS(2339) FIXME: Property '
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
// got econnrefused while detectTarget set to true -> try to switch between current ipVer and other (4 to 6 and vice versa)
|
|
399
|
-
// proxyUrl is parsed in http-proxy using url, parsing the same here. Difference between it and
|
|
400
|
-
// URL that hostname not includes [] symbols when using url.parse
|
|
401
|
-
// eslint-disable-next-line n/no-deprecated-api
|
|
402
|
-
const targetUrl = typeof proxyUrl === 'string' ? url.parse(proxyUrl) : proxyUrl;
|
|
403
|
-
const isCurrentHost = targetUrl.hostname === options.targetHostname;
|
|
404
|
-
if (targetUrl.hostname && isCurrentHost) {
|
|
405
|
-
const newHost = isIPv6(targetUrl.hostname) ? '127.0.0.1' : '::1';
|
|
406
|
-
options.target = `http://${isIPv6(newHost) ? `[${newHost}]` : newHost}:${targetUrl.port}`;
|
|
407
|
-
options.targetHostname = newHost;
|
|
408
|
-
options.isChangingTarget = true;
|
|
409
|
-
return proxy.web(req, res, options);
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
if (res instanceof http.ServerResponse) {
|
|
413
|
-
res.writeHead(500, {
|
|
414
|
-
'Content-Type': 'text/plain',
|
|
415
|
-
});
|
|
416
|
-
}
|
|
391
|
+
proxy.on('error', (_, req, res) => {
|
|
392
|
+
// @ts-expect-error TS(2339) FIXME: Property 'writeHead' does not exist on type 'Socke... Remove this comment to see the full error message
|
|
393
|
+
res.writeHead(500, {
|
|
394
|
+
'Content-Type': 'text/plain',
|
|
395
|
+
});
|
|
417
396
|
const message = isEdgeFunctionsRequest(req)
|
|
418
397
|
? 'There was an error with an Edge Function. Please check the terminal for more details.'
|
|
419
398
|
: 'Could not proxy request.';
|
|
@@ -443,19 +422,6 @@ const initializeProxy = async function ({ config, configPath, distDir, env, host
|
|
|
443
422
|
if (requestID) {
|
|
444
423
|
res.setHeader(NFRequestID, requestID);
|
|
445
424
|
}
|
|
446
|
-
// @ts-expect-error TS(2339) FIXME: Property 'proxyOptions' does not exist on type 'In... Remove this comment to see the full error message
|
|
447
|
-
const options = req.proxyOptions;
|
|
448
|
-
if (options.isChangingTarget) {
|
|
449
|
-
// got a response after switching the ipVer for host (and its not an error since we will be in on('error') handler) - let's remember this host now
|
|
450
|
-
// options are not exported in ts for the proxy:
|
|
451
|
-
// @ts-expect-error TS(2339) FIXME: Property 'options' does not exist on type 'In...
|
|
452
|
-
proxy.options.target.host = options.targetHostname;
|
|
453
|
-
options.changeSettings?.({
|
|
454
|
-
frameworkHost: options.targetHostname,
|
|
455
|
-
detectFrameworkHost: false,
|
|
456
|
-
});
|
|
457
|
-
console.log(`${NETLIFYDEVLOG} Switched host to ${options.targetHostname}`);
|
|
458
|
-
}
|
|
459
425
|
if (proxyRes.statusCode === 404 || proxyRes.statusCode === 403) {
|
|
460
426
|
// If a request for `/path` has failed, we'll a few variations like
|
|
461
427
|
// `/path/index.html` to mimic the CDN behavior.
|
|
@@ -469,7 +435,8 @@ const initializeProxy = async function ({ config, configPath, distDir, env, host
|
|
|
469
435
|
// The request has failed but we might still have a matching redirect
|
|
470
436
|
// rule (without `force`) that should kick in. This is how we mimic the
|
|
471
437
|
// file shadowing behavior from the CDN.
|
|
472
|
-
|
|
438
|
+
// @ts-expect-error TS(2339) FIXME: Property 'proxyOptions' does not exist on type 'In... Remove this comment to see the full error message
|
|
439
|
+
if (req.proxyOptions && req.proxyOptions.match) {
|
|
473
440
|
return serveRedirect({
|
|
474
441
|
// We don't want to match functions at this point because any redirects
|
|
475
442
|
// to functions will have already been processed, so we don't supply a
|
|
@@ -479,14 +446,17 @@ const initializeProxy = async function ({ config, configPath, distDir, env, host
|
|
|
479
446
|
res,
|
|
480
447
|
proxy: handlers,
|
|
481
448
|
imageProxy,
|
|
482
|
-
|
|
483
|
-
|
|
449
|
+
// @ts-expect-error TS(2339) FIXME: Property 'proxyOptions' does not exist on type 'In... Remove this comment to see the full error message
|
|
450
|
+
match: req.proxyOptions.match,
|
|
451
|
+
// @ts-expect-error TS(2339) FIXME: Property 'proxyOptions' does not exist on type 'In... Remove this comment to see the full error message
|
|
452
|
+
options: req.proxyOptions,
|
|
484
453
|
siteInfo,
|
|
485
454
|
env,
|
|
486
455
|
});
|
|
487
456
|
}
|
|
488
457
|
}
|
|
489
|
-
|
|
458
|
+
// @ts-expect-error TS(2339) FIXME: Property 'proxyOptions' does not exist on type 'In... Remove this comment to see the full error message
|
|
459
|
+
if (req.proxyOptions.staticFile && isRedirect({ status: proxyRes.statusCode }) && proxyRes.headers.location) {
|
|
490
460
|
req.url = proxyRes.headers.location;
|
|
491
461
|
return serveRedirect({
|
|
492
462
|
// We don't want to match functions at this point because any redirects
|
|
@@ -498,7 +468,8 @@ const initializeProxy = async function ({ config, configPath, distDir, env, host
|
|
|
498
468
|
proxy: handlers,
|
|
499
469
|
imageProxy,
|
|
500
470
|
match: null,
|
|
501
|
-
|
|
471
|
+
// @ts-expect-error TS(2339) FIXME: Property 'proxyOptions' does not exist on type 'In... Remove this comment to see the full error message
|
|
472
|
+
options: req.proxyOptions,
|
|
502
473
|
siteInfo,
|
|
503
474
|
env,
|
|
504
475
|
});
|
|
@@ -522,7 +493,8 @@ const initializeProxy = async function ({ config, configPath, distDir, env, host
|
|
|
522
493
|
// @ts-expect-error TS(2345) FIXME: Argument of type 'unknown' is not assignable to pa... Remove this comment to see the full error message
|
|
523
494
|
res.setHeader(key, val);
|
|
524
495
|
});
|
|
525
|
-
|
|
496
|
+
// @ts-expect-error TS(2339) FIXME: Property 'proxyOptions' does not exist on type 'In... Remove this comment to see the full error message
|
|
497
|
+
res.writeHead(req.proxyOptions.status || proxyRes.statusCode, proxyRes.headers);
|
|
526
498
|
proxyRes.on('data', function onData(data) {
|
|
527
499
|
res.write(data);
|
|
528
500
|
});
|
|
@@ -537,7 +509,8 @@ const initializeProxy = async function ({ config, configPath, distDir, env, host
|
|
|
537
509
|
proxyRes.on('end', async function onEnd() {
|
|
538
510
|
// @ts-expect-error TS(7005) FIXME: Variable 'responseData' implicitly has an 'any[]' ... Remove this comment to see the full error message
|
|
539
511
|
let responseBody = Buffer.concat(responseData);
|
|
540
|
-
|
|
512
|
+
// @ts-expect-error TS(2339) FIXME: Property 'proxyOptions' does not exist on type 'In... Remove this comment to see the full error message
|
|
513
|
+
let responseStatus = req.proxyOptions.status || proxyRes.statusCode;
|
|
541
514
|
// `req[shouldGenerateETag]` may contain a function that determines
|
|
542
515
|
// whether the response should have an ETag header.
|
|
543
516
|
if (
|
|
@@ -636,16 +609,11 @@ const onRequest = async ({ addonsUrls, api, edgeFunctionsProxy, env, functionsRe
|
|
|
636
609
|
match,
|
|
637
610
|
addonsUrls,
|
|
638
611
|
target: `http://${settings.frameworkHost && isIPv6(settings.frameworkHost) ? `[${settings.frameworkHost}]` : settings.frameworkHost}:${settings.frameworkPort}`,
|
|
639
|
-
detectTarget: settings.detectFrameworkHost,
|
|
640
|
-
targetHostname: settings.frameworkHost,
|
|
641
612
|
publicFolder: settings.dist,
|
|
642
613
|
functionsServer,
|
|
643
614
|
functionsPort: settings.functionsPort,
|
|
644
615
|
jwtRolePath: settings.jwtRolePath,
|
|
645
616
|
framework: settings.framework,
|
|
646
|
-
changeSettings(newSettings) {
|
|
647
|
-
Object.assign(settings, newSettings);
|
|
648
|
-
},
|
|
649
617
|
};
|
|
650
618
|
if (match) {
|
|
651
619
|
// We don't want to generate an ETag for 3xx redirects.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-build.d.ts","sourceRoot":"","sources":["../../src/utils/run-build.ts"],"names":[],"mappings":"AAKA,OAAO,WAAW,MAAM,6BAA6B,CAAA;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAS/C,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAqC3C,eAAO,MAAM,eAAe,mDAMzB;IACD,OAAO,EAAE,WAAW,CAAA;IAEpB,OAAO,EAAE,QAAQ,CAAA;IACjB,QAAQ,EAAE,cAAc,CAAA;IACxB,GAAG,EAAE,MAAM,CAAC,UAAU,CAAA;IACtB,QAAQ,EAAE,OAAO,GAAG,KAAK,CAAA;CAC1B;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"run-build.d.ts","sourceRoot":"","sources":["../../src/utils/run-build.ts"],"names":[],"mappings":"AAKA,OAAO,WAAW,MAAM,6BAA6B,CAAA;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAS/C,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAqC3C,eAAO,MAAM,eAAe,mDAMzB;IACD,OAAO,EAAE,WAAW,CAAA;IAEpB,OAAO,EAAE,QAAQ,CAAA;IACjB,QAAQ,EAAE,cAAc,CAAA;IACxB,GAAG,EAAE,MAAM,CAAC,UAAU,CAAA;IACtB,QAAQ,EAAE,OAAO,GAAG,KAAK,CAAA;CAC1B;;;;;;;;;EA6GA,CAAA;AAED,KAAK,kBAAkB,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAA;AAEjF,eAAO,MAAM,cAAc,YAAa,kBAAkB;;;;;;;;;EAAqD,CAAA;AAE/G,eAAO,MAAM,gBAAgB,YAAa,kBAAkB;;;;;;;;;EAAuD,CAAA"}
|
package/dist/utils/run-build.js
CHANGED
|
@@ -77,7 +77,6 @@ export const runNetlifyBuild = async ({ command, env = {}, options, settings, ti
|
|
|
77
77
|
cwd,
|
|
78
78
|
});
|
|
79
79
|
settings.frameworkHost = ipVersion === 6 ? '::1' : '127.0.0.1';
|
|
80
|
-
settings.detectFrameworkHost = options.skipWaitPort;
|
|
81
80
|
};
|
|
82
81
|
if (timeline === 'build') {
|
|
83
82
|
// Start by cleaning the internal directory, as it may have artifacts left
|
package/dist/utils/types.d.ts
CHANGED
|
@@ -29,8 +29,6 @@ export type BaseServerSettings = {
|
|
|
29
29
|
frameworkPort?: number;
|
|
30
30
|
/** The host where a proxy can listen to it */
|
|
31
31
|
frameworkHost?: '127.0.0.1' | '::1';
|
|
32
|
-
/** Try both v4 and v6 IPs */
|
|
33
|
-
detectFrameworkHost?: boolean;
|
|
34
32
|
functions?: string;
|
|
35
33
|
/** The framework name ('Create React App') */
|
|
36
34
|
framework?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/utils/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAEtC,OAAO,EAAE,KAAK,EAA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;IACzB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,KAAK,wBAAwB,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,GAAG,iBAAiB,CAAA;AACtF,KAAK,yBAAyB,GAAG,SAAS,GAAG,QAAQ,GAAG,YAAY,GAAG,SAAS,GAAG,UAAU,GAAG,IAAI,CAAA;AAEpG,MAAM,MAAM,oBAAoB,GAAG,MAAM,CACvC,MAAM,EACN;IAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAAE,CAC7F,CAAA"}
|
|
@@ -9,38 +9,26 @@
|
|
|
9
9
|
"version": "1.0.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@netlify/functions": "^3.0.
|
|
12
|
+
"@netlify/functions": "^3.0.1",
|
|
13
13
|
"@types/node": "^22.0.0",
|
|
14
14
|
"typescript": "^4.0.0"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"node_modules/@netlify/functions": {
|
|
18
|
-
"version": "3.0.
|
|
19
|
-
"resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-3.0.
|
|
20
|
-
"integrity": "sha512-
|
|
18
|
+
"version": "3.0.1",
|
|
19
|
+
"resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-3.0.1.tgz",
|
|
20
|
+
"integrity": "sha512-KqVvGatPnn3lw80vXsFbYV3H2S9FI9TQHneFVR6BBvfHWiqTvs8NwUoBpnUWgqPKKeUMuynycDabeSi9CW2WWw==",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@netlify/serverless-functions-api": "1.
|
|
22
|
+
"@netlify/serverless-functions-api": "1.35.0"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=18.0.0"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
"node_modules/@netlify/node-cookies": {
|
|
29
|
-
"version": "0.1.0",
|
|
30
|
-
"resolved": "https://registry.npmjs.org/@netlify/node-cookies/-/node-cookies-0.1.0.tgz",
|
|
31
|
-
"integrity": "sha512-OAs1xG+FfLX0LoRASpqzVntVV/RpYkgpI0VrUnw2u0Q1qiZUzcPffxRK8HF3gc4GjuhG5ahOEMJ9bswBiZPq0g==",
|
|
32
|
-
"engines": {
|
|
33
|
-
"node": "^14.16.0 || >=16.0.0"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
28
|
"node_modules/@netlify/serverless-functions-api": {
|
|
37
|
-
"version": "1.
|
|
38
|
-
"resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.
|
|
39
|
-
"integrity": "sha512-
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"@netlify/node-cookies": "^0.1.0",
|
|
42
|
-
"urlpattern-polyfill": "8.0.2"
|
|
43
|
-
},
|
|
29
|
+
"version": "1.35.0",
|
|
30
|
+
"resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.35.0.tgz",
|
|
31
|
+
"integrity": "sha512-BH9eF3s7bUbqkcEUMR7dne/iCXSpZD10KVkGcs53eDrON5pKxsMdXvrdAx/q0HD24vJgHXGXObGSr5sjPllGEA==",
|
|
44
32
|
"engines": {
|
|
45
33
|
"node": ">=18.0.0"
|
|
46
34
|
}
|
|
@@ -69,35 +57,21 @@
|
|
|
69
57
|
"version": "6.20.0",
|
|
70
58
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
|
|
71
59
|
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="
|
|
72
|
-
},
|
|
73
|
-
"node_modules/urlpattern-polyfill": {
|
|
74
|
-
"version": "8.0.2",
|
|
75
|
-
"resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-8.0.2.tgz",
|
|
76
|
-
"integrity": "sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ=="
|
|
77
60
|
}
|
|
78
61
|
},
|
|
79
62
|
"dependencies": {
|
|
80
63
|
"@netlify/functions": {
|
|
81
|
-
"version": "3.0.
|
|
82
|
-
"resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-3.0.
|
|
83
|
-
"integrity": "sha512-
|
|
64
|
+
"version": "3.0.1",
|
|
65
|
+
"resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-3.0.1.tgz",
|
|
66
|
+
"integrity": "sha512-KqVvGatPnn3lw80vXsFbYV3H2S9FI9TQHneFVR6BBvfHWiqTvs8NwUoBpnUWgqPKKeUMuynycDabeSi9CW2WWw==",
|
|
84
67
|
"requires": {
|
|
85
|
-
"@netlify/serverless-functions-api": "1.
|
|
68
|
+
"@netlify/serverless-functions-api": "1.35.0"
|
|
86
69
|
}
|
|
87
70
|
},
|
|
88
|
-
"@netlify/node-cookies": {
|
|
89
|
-
"version": "0.1.0",
|
|
90
|
-
"resolved": "https://registry.npmjs.org/@netlify/node-cookies/-/node-cookies-0.1.0.tgz",
|
|
91
|
-
"integrity": "sha512-OAs1xG+FfLX0LoRASpqzVntVV/RpYkgpI0VrUnw2u0Q1qiZUzcPffxRK8HF3gc4GjuhG5ahOEMJ9bswBiZPq0g=="
|
|
92
|
-
},
|
|
93
71
|
"@netlify/serverless-functions-api": {
|
|
94
|
-
"version": "1.
|
|
95
|
-
"resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.
|
|
96
|
-
"integrity": "sha512-
|
|
97
|
-
"requires": {
|
|
98
|
-
"@netlify/node-cookies": "^0.1.0",
|
|
99
|
-
"urlpattern-polyfill": "8.0.2"
|
|
100
|
-
}
|
|
72
|
+
"version": "1.35.0",
|
|
73
|
+
"resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.35.0.tgz",
|
|
74
|
+
"integrity": "sha512-BH9eF3s7bUbqkcEUMR7dne/iCXSpZD10KVkGcs53eDrON5pKxsMdXvrdAx/q0HD24vJgHXGXObGSr5sjPllGEA=="
|
|
101
75
|
},
|
|
102
76
|
"@types/node": {
|
|
103
77
|
"version": "22.10.7",
|
|
@@ -116,11 +90,6 @@
|
|
|
116
90
|
"version": "6.20.0",
|
|
117
91
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
|
|
118
92
|
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="
|
|
119
|
-
},
|
|
120
|
-
"urlpattern-polyfill": {
|
|
121
|
-
"version": "8.0.2",
|
|
122
|
-
"resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-8.0.2.tgz",
|
|
123
|
-
"integrity": "sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ=="
|
|
124
93
|
}
|
|
125
94
|
}
|
|
126
95
|
}
|