vercel 32.7.1 → 32.7.2
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/index.js +10 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -194842,8 +194842,11 @@ async function list3(client2, argv2, args2, contextName) {
|
|
194842
194842
|
}
|
194843
194843
|
const start = Date.now();
|
194844
194844
|
output2.spinner(`Fetching projects in ${import_chalk91.default.bold(contextName)}`);
|
194845
|
+
let projectsUrl = `/v4/projects/?limit=20`;
|
194845
194846
|
const deprecated = argv2["--deprecated"] || false;
|
194846
|
-
|
194847
|
+
if (deprecated) {
|
194848
|
+
projectsUrl += `&deprecated=${deprecated}`;
|
194849
|
+
}
|
194847
194850
|
const next = argv2["--next"] || false;
|
194848
194851
|
if (next) {
|
194849
194852
|
projectsUrl += `&until=${next}`;
|
@@ -194857,15 +194860,12 @@ async function list3(client2, argv2, args2, contextName) {
|
|
194857
194860
|
output2.stopSpinner();
|
194858
194861
|
const elapsed2 = (0, import_ms19.default)(Date.now() - start);
|
194859
194862
|
if (deprecated) {
|
194860
|
-
const
|
194861
|
-
|
194862
|
-
|
194863
|
-
|
194864
|
-
|
194865
|
-
|
194866
|
-
projectList = projectList.filter(
|
194867
|
-
(project) => project.nodeVersion && upcomingDeprecationVersionsList.includes(project.nodeVersion)
|
194868
|
-
);
|
194863
|
+
const upcomingDeprecationVersionsList = [];
|
194864
|
+
for (const nodeVersion of import_build_utils18.NODE_VERSIONS) {
|
194865
|
+
if (nodeVersion.discontinueDate && nodeVersion.discontinueDate.valueOf() > Date.now()) {
|
194866
|
+
upcomingDeprecationVersionsList.push(nodeVersion.range);
|
194867
|
+
}
|
194868
|
+
}
|
194869
194869
|
output2.warn(
|
194870
194870
|
`The following Node.js versions will be deprecated soon: ${upcomingDeprecationVersionsList.join(
|
194871
194871
|
", "
|